/* ============ Focus + skip link ============ */

:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 1000; padding: 12px 18px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* ============ Buttons (thegridwaves style) ============ */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; font: 600 15px var(--font); white-space: nowrap; text-decoration: none;
}

/* Pill + circle: the circle grows to fill the button on hover */
.btn-arrow {
  height: 54px; padding-inline: 26px 64px; border-radius: 999px; overflow: hidden;
  background: var(--ink); color: #fff;
}
.btn-arrow .btn-label { position: relative; z-index: 1; transition: opacity .25s, transform .45s var(--ease-io); }
.btn-arrow .btn-circle {
  position: absolute; z-index: 2; top: 6px; bottom: 6px; inset-inline-end: 6px; width: 42px;
  display: grid; place-items: center; border-radius: 999px; background: #fff; color: var(--ink); font-size: 18px;
  transition: width .5s var(--ease-io), background-color .35s;
}
.btn-arrow:hover .btn-circle, .btn-arrow:focus-visible .btn-circle { width: calc(100% - 12px); background: var(--orange); }
.btn-arrow:hover .btn-label, .btn-arrow:focus-visible .btn-label { opacity: 0; transform: translateX(14px); }
.btn-sm { height: 48px; padding-inline: 22px 56px; font-size: 14px; }
.btn-sm .btn-circle { width: 36px; }

/* Solid + sliding arrow */
.btn-slide {
  height: 46px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px;
  gap: 0; transition: background-color .35s, color .35s;
}
.btn-slide .ic { width: 0; opacity: 0; transform: translateX(8px); transition: width .4s var(--ease-io), margin .4s var(--ease-io), opacity .3s, transform .4s var(--ease-io); }
.btn-slide:hover, .btn-slide:focus-visible { background: var(--orange); color: var(--ink); }
.btn-slide:hover .ic, .btn-slide:focus-visible .ic { width: 1.1em; margin-inline-start: 10px; opacity: 1; transform: none; }

.btn-submit {
  width: 100%; height: 52px; margin-top: 12px; border-radius: 14px; gap: 0;
  background: var(--orange); color: var(--ink); font-size: 16px; transition: background-color .3s, color .3s;
}
.btn-submit .ic { width: 0; opacity: 0; transition: width .4s var(--ease-io), margin .4s var(--ease-io), opacity .3s; }
.btn-submit:hover, .btn-submit:focus-visible { background: #fff; }
.btn-submit:hover .ic, .btn-submit:focus-visible .ic { width: 1.1em; margin-inline-start: 10px; opacity: 1; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }

.text-link {
  position: relative; font-weight: 600; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease-io);
}
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.link-btn { padding: 0; border: 0; background: none; cursor: pointer; text-align: start; font: inherit; }

/* ============ Full-screen menu ============ */

html.menu-open { overflow: hidden; }
.menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: #f8f6f3;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .75s var(--ease-io); }
.menu-inner {
  min-height: 100%; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  padding: calc(var(--promo-h) + var(--nav-h) + 40px) 40px 48px;
}
.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-links a {
  display: block; overflow: hidden; width: fit-content;
  font-size: clamp(44px, 8vw, 112px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
}
.menu-links a span {
  display: inline-block; transform: translateY(110%);
  transition: transform .8s var(--ease-io), color .3s;
}
.menu.open .menu-links a span { transform: none; }
.menu.open .menu-links a:nth-child(1) span { transition-delay: .18s, 0s; }
.menu.open .menu-links a:nth-child(2) span { transition-delay: .24s, 0s; }
.menu.open .menu-links a:nth-child(3) span { transition-delay: .30s, 0s; }
.menu.open .menu-links a:nth-child(4) span { transition-delay: .36s, 0s; }
.menu-links a:hover span, .menu-links a:focus-visible span { color: var(--orange); }

.menu-aside { display: flex; flex-direction: column; gap: 10px; min-width: 200px; font-size: 17px; opacity: 0; transform: translateY(20px); transition: opacity .5s .4s, transform .6s .4s var(--ease-out); }
.menu.open .menu-aside { opacity: 1; transform: none; }
.menu-aside a { width: fit-content; transition: color .25s; }
.menu-aside a:hover { color: var(--orange); }
.menu-label { margin-top: 14px; font-size: 13px; color: #a8a8a8; }

/* ============ Mouse-follow dot ============ */

.mouse-dot {
  position: fixed; top: 0; left: 0; z-index: 9999; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: var(--orange); mix-blend-mode: multiply; pointer-events: none;
  opacity: 0; transition: opacity .3s, width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out);
}
.mouse-dot.on { opacity: 1; }
.mouse-dot.hover { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
.mouse-dot.on-dark { mix-blend-mode: normal; }
html.menu-open .mouse-dot { mix-blend-mode: normal; }
html.a11y-cursor .mouse-dot, html.a11y-still .mouse-dot { display: none; }

/* ============ FAQ (futured.studio style) ============ */

:root { interpolate-size: allow-keywords; }
.faq { padding: 60px 0 120px; }
.faq-head { margin-bottom: 52px; }
.faq-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: #555; }
.faq-label span { color: var(--orange-text); margin-inline-end: 6px; }
.faq-head h2 { margin-top: 16px; font-size: clamp(36px, 4.4vw, 62px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.faq-list { border-top: 1px solid #e3e0d8; }
.faq-item { border-bottom: 1px solid #e3e0d8; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; line-height: 1.4; transition: color .2s; }
.faq-item summary:hover h3, .faq-item[open] h3 { color: var(--orange-text); }
.faq-icon { position: relative; flex: none; width: 18px; height: 18px; color: #6b6b66; transition: transform .3s var(--ease-io), color .2s; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; border-radius: 2px;
  background: currentColor; transform: translateY(-50%);
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--orange-text); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-io), content-visibility .4s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a p { max-width: 680px; padding-bottom: 32px; font-size: 16px; line-height: 1.75; color: #4f4f4f; }
.faq-more { margin-top: 34px; font-size: 16px; color: #4f4f4f; }

/* ============ Accessibility widget ============ */

.a11y-toggle {
  position: fixed; bottom: 20px; left: 20px; z-index: 900;
  display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--indigo); color: #fff; font-size: 28px; box-shadow: 0 10px 26px -8px rgba(79, 78, 230, .7);
  transition: transform .25s var(--ease-out);
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-panel {
  position: fixed; bottom: 88px; left: 20px; z-index: 901; width: min(340px, calc(100vw - 40px));
  max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 20px;
  border-radius: 20px; background: #fff; color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .35), 0 0 0 1px rgba(21, 21, 21, .06);
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-head h2 { font-size: 20px; font-weight: 700; }
.a11y-close {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: #f1f0ec; font-size: 18px;
}
.a11y-text { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #f6f5f2; margin-bottom: 10px; font-size: 15px; font-weight: 500; }
.a11y-text div { display: flex; align-items: center; gap: 8px; }
.a11y-text button {
  display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 1px rgba(21, 21, 21, .12); font-size: 20px;
}
.a11y-text output { min-width: 42px; text-align: center; font-weight: 700; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 84px; padding: 12px;
  border: 2px solid transparent; border-radius: 14px; cursor: pointer; text-align: start;
  background: #f6f5f2; font-size: 14px; font-weight: 500; line-height: 1.3;
}
.a11y-opt .ic { font-size: 22px; }
.a11y-opt[aria-pressed="true"] { border-color: var(--indigo); background: #ecebfd; }
.a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 14px; }
.a11y-foot a { text-decoration: underline; }
.a11y-reset { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 10px; cursor: pointer; background: var(--ink); color: #fff; font-weight: 600; }

/* Windows high contrast (forced colors) repaints backgrounds, so controls drawn only with a background color would vanish */
@media (forced-colors: active) {
  .cookie-pref input[role="switch"] { forced-color-adjust: none; border: 2px solid CanvasText; background: Canvas; }
  .cookie-pref input[role="switch"]::before { background: CanvasText; box-shadow: none; }
  .cookie-pref input[role="switch"]:checked { background: Highlight; }
  .cookie-pref input[role="switch"]:checked::before { background: HighlightText; }
  .faq-icon::before, .faq-icon::after, .mt-lines i { forced-color-adjust: none; background: CanvasText; }
}

/* Accessibility modes */
/* Bigger text: only elements that hold text themselves, so the zoom never multiplies through containers
   (the plans, the project rows, labels around their inputs). The headline keeps its size */
html.a11y-text-1 :where(p:not(.headline), .plan-feats li, .plans-all li, .legal li, .game-how li, label, .btn, .footer-col a, .menu-aside a, summary h3, .clients-group, .show-name, .pp-per, .pa-label) { zoom: 1.15; }
html.a11y-text-2 :where(p:not(.headline), .plan-feats li, .plans-all li, .legal li, .game-how li, label, .btn, .footer-col a, .menu-aside a, summary h3, .clients-group, .show-name, .pp-per, .pa-label) { zoom: 1.3; }
html.a11y-text-3 :where(p:not(.headline), .plan-feats li, .plans-all li, .legal li, .game-how li, label, .btn, .footer-col a, .menu-aside a, summary h3, .clients-group, .show-name, .pp-per, .pa-label) { zoom: 1.45; }
html.a11y-contrast { --muted: #3d3d3d; --text-2: #262626; filter: contrast(1.18); }
html.a11y-contrast :is(.hero-sub, .faq-a p, .faq-head p, .tagline, .plan-desc, .clients-label, .clients-group, .show-type) { color: #111 !important; }
/* ...except where that text sits on black */
html.a11y-contrast .plan-pro .plan-desc, html.a11y-contrast.menu-open .tagline { color: #fff !important; }
html.a11y-gray { filter: grayscale(1); }
html.a11y-contrast.a11y-gray { filter: grayscale(1) contrast(1.18); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn) { background-color: #fff6a8 !important; color: #111 !important; }
html.a11y-font, html.a11y-font * { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: normal !important; }
html.a11y-spacing p:not(.headline), html.a11y-spacing li { line-height: 2 !important; letter-spacing: .04em !important; word-spacing: .12em !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l7 19 2.6-7.7L20 11z' fill='%23111' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}

/* ============ Cookie banner (site style) ============ */

.cookie {
  position: fixed; bottom: 20px; right: 20px; z-index: 950;
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 112px);
  padding: 10px; padding-inline-start: 14px;
  border-radius: 22px; background: #fff; color: var(--ink);
  box-shadow: 0 24px 60px -24px rgba(21, 21, 21, .38), 0 0 0 1px rgba(21, 21, 21, .06);
  animation: cookie-in .7s var(--ease-out) both;
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.cookie-img { flex: none; width: 42px; height: 42px; animation: cookie-roll 1s var(--ease-out) .12s both; }
@keyframes cookie-roll { from { opacity: 0; transform: translateX(-30px) rotate(-200deg) scale(.5); } }
.cookie-text { max-width: 250px; font-size: 13.5px; line-height: 1.5; color: #4f4f4f; }
.cookie-text h2 { display: inline; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.cookie-text p { display: inline; }
.cookie-text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cookie-prefs { flex: 1 0 100%; display: flex; flex-direction: column; gap: 8px; }
.cookie-prefs[hidden] { display: none; }
.cookie-pref {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: 14px; background: #f6f5f2; font-size: 13.5px; line-height: 1.45; color: #4f4f4f;
}
.cookie-pref b { display: block; font-size: 14.5px; color: var(--ink); }
.cookie-pref label { cursor: pointer; }
.cookie-pref input[role="switch"] {
  appearance: none; -webkit-appearance: none; position: relative; flex: none; margin: 0;
  width: 46px; height: 28px; border-radius: 999px; background: #8c8a83; cursor: pointer; transition: background-color .25s;
}
.cookie-pref input[role="switch"]::before {
  content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: inset-inline-start .3s var(--ease-io);
}
.cookie-pref input[role="switch"]:checked { background: var(--orange); }
.cookie-pref input[role="switch"]:checked::before { inset-inline-start: 21px; }
.cookie-pref input[role="switch"]:disabled { opacity: .55; cursor: not-allowed; }

.cookie-actions { flex: none; display: flex; align-items: center; gap: 6px; }
.cookie-actions .btn { height: 42px; padding: 0 16px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { box-shadow: none; }
.cookie-custom { min-height: 42px; padding: 0 8px; font-size: 13.5px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Preferences open: a full card */
.cookie.is-open { flex-wrap: wrap; width: min(440px, calc(100vw - 24px)); max-width: none; gap: 12px; padding: 16px; }
.cookie.is-open .cookie-text { flex: 1; max-width: none; }
.cookie.is-open .cookie-actions { flex: 1 0 100%; flex-wrap: wrap; }
.cookie.is-open .cookie-actions .btn { flex: 1 1 0; height: 46px; }
.cookie.is-open .cookie-custom { flex: 1 0 100%; min-height: 36px; text-align: center; }

/* First visit: a choice is required (COOKIE_WALL in js/ui.js) */
html.cookie-wall { overflow: hidden; }
html.cookie-wall :is(.a11y-toggle, .a11y-panel) { z-index: 960; }
.cookie-scrim {
  position: fixed; inset: 0; z-index: 945;
  background: rgba(21, 21, 21, .45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  animation: scrim-in .5s ease both;
}
.cookie-scrim[hidden] { display: none; }
@keyframes scrim-in { from { opacity: 0; } }
.cookie:focus { outline: none; }
.cookie.is-wall {
  inset: 0; margin: auto; width: min(450px, calc(100vw - 24px)); height: fit-content; max-width: none;
  max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain;
  flex-wrap: wrap; align-items: flex-start; gap: 16px; padding: 24px; border-radius: 28px;
  animation: wall-in .6s var(--ease-out) both;
}
@keyframes wall-in { from { opacity: 0; transform: translateY(26px) scale(.94); } }
.cookie.is-wall .cookie-img { width: 64px; height: 64px; }
.cookie.is-wall .cookie-text { flex: 1; max-width: none; font-size: 14.5px; line-height: 1.6; }
.cookie.is-wall .cookie-text h2 { display: block; margin-bottom: 6px; font-size: 22px; letter-spacing: -.01em; }
.cookie.is-wall .cookie-actions { flex: 1 0 100%; flex-wrap: wrap; gap: 8px; }
.cookie.is-wall .cookie-actions .btn { flex: 1 1 0; height: 50px; font-size: 15px; }
.cookie.is-wall .cookie-custom { flex: 1 0 100%; min-height: 36px; text-align: center; font-size: 14px; }

/* ============ Lead form consent ============ */

.lf-plan { display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 14px; color: #fff; }
.lf-plan[hidden] { display: none; }
.lf-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.lf-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.lf-consent a, .lf-notice a { color: #fff; text-decoration: underline; }
.lf-notice { margin-top: 4px; font-size: 12px !important; line-height: 1.5 !important; color: rgba(255, 255, 255, .82) !important; max-width: 460px !important; }

/* ============ Lead sent: "well done" ============ */

.cta-photo.is-sent .cta-body > :not(.lead-success):not(.cta-icon) { display: none; }
.lead-success { margin-top: 18px; }
.lead-success[hidden] { display: none; }
.lead-success:focus { outline: none; }
.ls-check { width: 74px; height: 74px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ls-check circle { stroke: var(--orange); stroke-dasharray: 150; stroke-dashoffset: 150; animation: ls-draw .8s var(--ease-io) forwards; }
.ls-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ls-draw .45s var(--ease-out) .65s forwards; }
@keyframes ls-draw { to { stroke-dashoffset: 0; } }
.ls-title { margin-top: 14px; font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; animation: ls-pop .7s var(--ease-out) .5s both; }
.ls-text { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .9); animation: ls-up .6s var(--ease-out) .8s both; }
.lf-trap { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ls-wa { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); animation: ls-up .6s var(--ease-out) .95s both; }
.ls-wa a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ls-wa .ic { font-size: 18px; color: var(--lime); }
.ls-game { margin-top: 22px; animation: ls-up .6s var(--ease-out) 1.1s both; }
.ls-game p { margin: 0 0 14px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.ls-game .btn-arrow { background: #fff; color: var(--ink); }
.ls-game .btn-arrow .btn-circle { background: var(--ink); color: #fff; }
.lf-bonus { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px !important; color: #fff !important; }
.lf-bonus .ic { flex: none; font-size: 18px; color: var(--lime); }
@keyframes ls-pop { from { opacity: 0; transform: scale(.6) rotate(-4deg); } }
@keyframes ls-up { from { opacity: 0; transform: translateY(12px); } }
.confetti { position: fixed; inset: 0; z-index: 980; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; display: block; }

/* ============ Legal pages ============ */

.legal-nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(248, 246, 243, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(21, 21, 21, .08);
}
.legal { max-width: 780px; margin: 0 auto; padding: 60px 20px 120px; }
.legal .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--orange-text); }
.legal h1 { margin-top: 10px; font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.legal .updated { margin-top: 14px; font-size: 14px; color: #555; }
.legal h2 { margin-top: 44px; font-size: 24px; font-weight: 700; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { margin-top: 12px; font-size: 16.5px; line-height: 1.75; color: #2b2b2b; }
.legal ul { padding-inline-start: 22px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .box { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(21, 21, 21, .08); }
/* On narrow screens the table scrolls sideways inside its wrapper instead of being cut off */
.legal .table-wrap { margin-top: 16px; overflow-x: auto; overscroll-behavior-x: contain; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid rgba(21, 21, 21, .1); text-align: right; vertical-align: top; line-height: 1.55; overflow-wrap: anywhere; }
.legal th { font-weight: 700; background: #fff; }
.legal-footer { padding: 30px 20px 100px; text-align: center; font-size: 14px; color: #555; }
.legal-footer a { text-decoration: underline; margin: 0 8px; }

@media (max-width: 899px) {
  .nav-cta { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .menu-inner { grid-template-columns: 1fr; align-items: start; padding: calc(var(--promo-h) + var(--nav-h) + 30px) 20px 40px; }
  .cookie { right: 12px; left: 76px; bottom: 14px; max-width: none; flex-wrap: wrap; gap: 8px 10px; padding: 10px; }
  .cookie-img { width: 34px; height: 34px; }
  .cookie-text { flex: 1; max-width: none; font-size: 13px; }
  .cookie-text h2 { font-size: 13.5px; }
  .cookie-actions { flex: 1 0 100%; flex-wrap: wrap; }
  .cookie-actions .btn { flex: 1 1 0; height: 40px; padding: 0 10px; font-size: 13.5px; }
  .cookie-custom { min-height: 40px; padding: 0 4px; }
  .cookie.is-open { left: 12px; width: auto; max-height: calc(100dvh - 90px); overflow-y: auto; }
  .cookie.is-wall { inset: 0; width: min(450px, calc(100vw - 24px)); max-height: calc(100dvh - 150px); padding: 20px; gap: 14px; }
  .cookie.is-wall .cookie-img { width: 52px; height: 52px; }
  .cookie.is-wall .cookie-text { font-size: 14px; }
  .cookie.is-wall .cookie-text h2 { font-size: 20px; }
  .cookie.is-wall .cookie-actions .btn { height: 48px; font-size: 14.5px; }
  .a11y-toggle { bottom: 14px; left: 14px; width: 50px; height: 50px; }
  .a11y-panel { left: 12px; bottom: 76px; }
}
