/* ==========================================================================
   AAKRI website: tokens, layout system and shared components.

   Mobile first. Breakpoints:
   - base   (< 768px)     the "Mobile" design files
   - md     (768–1023px)  tablet: the mobile layout with wider gutters
   - lg     (>= 1024px)   the desktop design files

   Desktop designs are drawn on a 1920px canvas. Layout sizes are written as
   calc(N * var(--u)), where --u is 1px at 1920px wide and shrinks in
   proportion below that. Text never follows it all the way down: every font
   size is max(<mobile size>, calc(<desktop size> * var(--u))), i.e. a clamp
   between the mobile and desktop sizes, with unitless line heights.
   ========================================================================== */

:root {
  /* ── Design tokens: the only place colours are defined ── */
  --bg-header:      #0E100E;                    /* top navigation bar: same as the page */
  --bg-default:     #0E100E;                    /* page background (solid, all sections) */
  --bg-paper:       #181818;                    /* cards and sections on the page */
  --bg-elevated:    #242424;                    /* menus, modals, dropdowns */
  --text-primary:   #FFFFFF;                    /* headings and main text */
  --text-secondary: #B3B3B3;                    /* paragraphs, subtitles, small labels */
  --text-disabled:  rgba(255, 255, 255, 0.5);   /* placeholders, inactive */
  --divider:        rgba(255, 255, 255, 0.08);  /* borders and dividers */
  --primary:        #9FE12B;                    /* actions only: buttons, links, icons */
  --primary-hover:  #B6EC58;
  --on-primary:     #0B0D0A;                    /* text on lime */
  --error:          #FF8A7A;                    /* form errors (always shown with a text message) */
  --error-soft:     #FFC2B9;                    /* text inside error alerts */
  /* Channel versions, for tints: rgba(var(--primary-rgb), 0.12) */
  --primary-rgb: 159, 225, 43;
  --bg-rgb: 14, 16, 14;
  --error-rgb: 255, 138, 122;

  /* Older names, kept as aliases so every existing rule follows the tokens above. */
  --bg: var(--bg-default);
  --bg-2: var(--bg-default);
  --surface: var(--bg-paper);
  --surface-why: var(--bg-paper);
  --surface-why-2: var(--bg-default);
  --border: var(--divider);
  --border-why: var(--divider);
  --text: var(--text-primary);
  --text-dim: var(--text-secondary);
  --text-dim-2: var(--text-secondary);
  --text-soft: var(--text-secondary);
  --text-grey: var(--text-secondary);
  --lime: var(--primary);
  --lime-hover: var(--primary-hover);
  --lime-btn: var(--primary);
  --lime-btn-hover: var(--primary-hover);
  --on-lime: var(--on-primary);
  --on-lime-btn: var(--on-primary);
  --link: var(--primary);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --u: 1px;
  --gutter: 20px;
  --maxw: 1200px;
  --header-h: 64px;

  /* ── Rhythm: one scale for section spacing, headings, subtitles and corners ── */
  --section-y: 72px;                                  /* space above each section */
  --fs-h2: clamp(28px, 7.4vw, 40px);                  /* section headings */
  --fs-sub: 15px;                                     /* section subtitles */
  --radius-card: 18px;                                /* photos and cards */
  --radius-item: 12px;                                /* list items (FAQ) */
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --fs-h2: 44px; --fs-sub: 17px; }
}
@media (min-width: 1024px) {
  :root {
    --u: min(1px, calc(100vw / 1920)); --header-h: 0px;
    /* Page edge: the 1920 design's 222px side margins, centring a 1476px column on wider screens. */
    --edge: max(32px, calc(222 * var(--u)), calc((100vw - 1476px) / 2));
    --section-y: max(96px, calc(140 * var(--u)));
    --fs-h2: max(32px, calc(54 * var(--u)));
    --fs-sub: max(15px, calc(19 * var(--u)));
    --radius-card: max(18px, calc(24 * var(--u)));
    --radius-item: max(12px, calc(16 * var(--u)));
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--bg-default); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p { margin: 0; }
p { color: var(--text-secondary); }
/* Film grain over the whole page (fixed, never blocks clicks): keeps gradients from banding. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: var(--lime); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.lime { color: inherit; } /* highlighted headline words stay white: green is for actions */
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  min-height: 44px; display: inline-flex; align-items: center;
  padding: 0 16px; border-radius: 999px; background: var(--lime); color: var(--on-lime);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Content container: 1200px max, 20px / 32px gutters below lg. */
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* Show/hide by layout */
@media (max-width: 1023.98px) { .d-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

/* Enlarge a small control's tap area to 44px without changing how it looks. */
.tap { position: relative; }
.tap::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; min-width: 44px; transform: translateY(-50%); }

/* Reveal on scroll (only hidden when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease-out, transform 600ms ease-out; transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Infinite marquee: the track holds two identical halves and slides by -50% */
.marquee { display: flex; width: max-content; animation: marquee var(--marquee-dur, 40s) linear infinite; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; }
  .btn-arrow, .btn-arrow__icon { transition: none; }
  .btn-arrow:hover, .btn-arrow:hover .btn-arrow__icon { transform: none !important; }
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--lime-btn); color: var(--on-lime-btn);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: background-color 200ms ease;
}
.btn-pill:hover { background: var(--lime-btn-hover); color: var(--on-lime-btn); }
/* Secondary action: outlined pill, white text. Pairs with .btn-pill. */
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: transparent; color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.btn-secondary:hover { border-color: var(--text-primary); background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
@media (min-width: 1024px) {
  .btn-pill { min-height: max(44px, calc(50 * var(--u))); padding: 0 max(20px, calc(25 * var(--u))); font-size: max(14px, calc(17 * var(--u))); }
}

.btn-arrow {
  min-height: 52px; padding: 0 6px 0 24px; border-radius: 999px;
  background: var(--lime); color: var(--on-lime);
  font-size: 15px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 14px;
  transition: transform 200ms ease;
}
.btn-arrow:hover { color: var(--on-lime); }
.btn-arrow__icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--on-lime); color: var(--lime); flex: none;
  display: flex; align-items: center; justify-content: center; transition: transform 200ms ease;
}
.btn-arrow__icon svg { width: 16px; height: 16px; }
@media (min-width: 1024px) {
  .btn-arrow { min-height: max(48px, calc(56 * var(--u))); padding: 0 calc(8 * var(--u)) 0 max(22px, calc(28 * var(--u))); font-size: max(15px, calc(16 * var(--u))); gap: calc(16 * var(--u)); }
  .btn-arrow:hover { transform: translateY(-2px); }
  .btn-arrow:hover .btn-arrow__icon { transform: rotate(-45deg); }
  .btn-arrow__icon { width: max(36px, calc(40 * var(--u))); height: max(36px, calc(40 * var(--u))); }
  .btn-arrow__icon svg { width: max(16px, calc(18 * var(--u))); height: max(16px, calc(18 * var(--u))); }
}

.icon-chip {
  border-radius: 50%; background: rgba(var(--primary-rgb), 0.12); color: var(--lime);
  display: flex; align-items: center; justify-content: center; flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  min-height: 64px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-header);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
@media (max-width: 1023.98px) {
  .site-header { transition: transform 300ms var(--ease-out); }
  body.header-hidden { --header-h: 0px; }
  body.header-hidden .site-header { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.site-header__logo { display: flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
/* Header CTA: outlined pill, white text (filled lime is kept for in-page actions). */
.btn-header {
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: transparent; color: var(--text-primary); border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; font-weight: 500; text-decoration: none;
  display: flex; align-items: center; white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.btn-header:hover { color: var(--text-primary); border-color: var(--text-primary); background: rgba(255, 255, 255, 0.06); }
/* Phones and tablets: an icon-only round button, the same size as the menu button beside it. */
.btn-header__icon { width: 20px; height: 20px; flex: none; }
@media (max-width: 1023.98px) {
  .btn-header { width: 44px; height: 44px; padding: 0; justify-content: center; border-color: var(--divider); }
  .btn-header__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1024px) { .btn-header__icon { display: none; } }
.menu-btn {
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--divider); border-radius: 22px;
  background: transparent; cursor: pointer; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { width: 18px; height: 2px; border-radius: 1px; background: var(--text); }
.menu-btn--close { color: var(--text); font-size: 22px; line-height: 1; }

@media (min-width: 1024px) {
  .site-header {
    position: absolute; left: 0; right: 0; top: 0; z-index: 30;
    min-height: calc(93 * var(--u)); padding: 0 var(--edge);
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px;
    background: var(--bg-header); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0;
  }
  .site-header__logo { min-height: 0; }
  .site-header__logo img { height: max(30px, calc(52 * var(--u))); }
  .site-header__nav { display: flex; align-items: center; gap: max(18px, calc(32 * var(--u))); white-space: nowrap; }
  .site-header__nav a { font-size: max(14px, calc(18 * var(--u))); font-weight: 400; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 150ms ease; }
  .site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: #FFFFFF; }
  .site-header__actions { justify-content: flex-end; }
  .btn-header {
    min-height: max(40px, calc(55 * var(--u))); padding: 0 max(18px, calc(28 * var(--u))); border-radius: 999px;
    font-size: max(14px, calc(18 * var(--u))); font-weight: 400;
  }
  .menu-btn { display: none; }
}

/* Mobile menu (full screen, body scroll locked while open) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg-elevated); overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__bar img { height: 34px; width: auto; }
.mobile-menu__nav { margin-top: 24px; display: flex; flex-direction: column; }
.mobile-menu__nav a {
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-size: 28px; font-weight: 600; color: var(--text); text-decoration: none;
}
.mobile-menu__nav a[aria-current="page"] { color: var(--lime); }
.mobile-menu__cta {
  margin-top: auto; min-height: 56px; border-radius: 28px;
  background: var(--lime); color: var(--on-lime);
  font-size: 17px; font-weight: 600; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu__cta:hover { color: var(--on-lime); }
body.menu-open { overflow: hidden; }

/* ---------- Get the App modal (partials/_app_modal.html) ----------
   Phones: a sheet from the bottom edge. Desktop: a centred card. */
.app-modal {
  margin: auto auto 0; padding: 0; border: 0; width: 100%; max-width: 100%; max-height: 100%;
  background: transparent; color: var(--text); overflow: visible;
}
.app-modal::backdrop { background: rgba(var(--bg-rgb), 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.app-modal__panel {
  position: relative; padding: 40px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0; border: 1px solid var(--border); border-bottom: 0;
  background: var(--bg-elevated); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* Soft lime glow behind the app icon. */
.app-modal__panel::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 280px; height: 160px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--primary-rgb), 0.16), transparent); pointer-events: none;
}
.app-modal__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1px solid var(--divider); background: transparent; color: var(--text-secondary); cursor: pointer;
  display: grid; place-items: center; transition: color 150ms ease, border-color 150ms ease;
}
.app-modal__close:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.app-modal__close svg { width: 18px; height: 18px; }
.app-modal__panel:focus { outline: none; }
.app-modal__logo { position: relative; height: 40px; width: auto; }
.app-modal__title { position: relative; margin-top: 20px; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.app-modal__text { margin-top: 10px; max-width: 340px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); text-wrap: pretty; }
.app-modal .store-btns { margin-top: 28px; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.app-modal .store-btn { min-height: 56px; padding: 6px 10px; border-radius: 14px; }
@media (max-width: 339.98px) { .app-modal .store-btns { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 640px) {
  .app-modal { margin: auto; width: calc(100% - 48px); max-width: 460px; }
  .app-modal__panel { padding: 48px 40px 40px; border-radius: 24px; border-bottom: 1px solid var(--border); }
  .app-modal__title { font-size: 28px; }
}
/* Open animation: slide up on phones, fade and scale on desktop. */
.app-modal[open] .app-modal__panel { animation: app-modal-in 320ms var(--ease-out); }
.app-modal[open]::backdrop { animation: app-modal-fade 240ms ease-out; }
@keyframes app-modal-in { from { transform: translateY(100%); } }
@keyframes app-modal-fade { from { opacity: 0; } }
@media (min-width: 640px) {
  @keyframes app-modal-in { from { opacity: 0; transform: translateY(12px) scale(0.97); } }
}
@media (prefers-reduced-motion: reduce) {
  .app-modal[open] .app-modal__panel, .app-modal[open]::backdrop { animation: none; }
}
body.modal-open { overflow: hidden; }

/* ---------- Store buttons ---------- */
.store-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.store-btn {
  min-height: 54px; padding: 6px 10px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06);
  color: var(--text); text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.store-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.store-btn__icon { width: 22px; height: 22px; flex: none; }
.store-btn__icon--play { width: 20px; }
.store-btn__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.store-btn__text span:first-child { font-size: 10px; font-weight: 500; }
.store-btn__text span:last-child { font-size: 16px; font-weight: 600; margin-top: 3px; }
@media (max-width: 339.98px) { .store-btns { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) {
  .store-btns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: max(12px, calc(16 * var(--u))); }
  .store-btn {
    min-height: max(48px, calc(60 * var(--u))); padding: 0 max(16px, calc(24 * var(--u))) 0 max(14px, calc(20 * var(--u)));
    border-radius: max(12px, calc(16 * var(--u))); gap: max(10px, calc(12 * var(--u))); flex-shrink: 0;
  }
  .store-btn__icon { width: max(22px, calc(26 * var(--u))); height: max(22px, calc(26 * var(--u))); }
  .store-btn__icon--play { width: max(20px, calc(24 * var(--u))); }
  .store-btn__text span:first-child { font-size: max(10px, calc(12 * var(--u))); }
  .store-btn__text span:last-child { font-size: max(16px, calc(20 * var(--u))); margin-top: calc(4 * var(--u)); }
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--divider); border-radius: var(--radius-item); background: var(--bg-default);
  padding: 16px; cursor: pointer;
}
.faq-item__q {
  width: 100%; min-height: 44px; margin: -10px 0; padding: 10px 0; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; gap: 14px;
  font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--text);
}
.faq-item__icon {
  width: 16px; height: 16px; flex: none; margin-top: 4px;
  color: var(--lime); stroke-width: 1.8;
  transition: transform 200ms ease;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease-out);
  padding-left: 30px;
}
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; }
.faq-item__a > div { overflow: hidden; }
.faq-item__a p { padding-top: 10px; font-size: 14px; line-height: 1.57; font-weight: 500; color: var(--text-soft); }
@media (min-width: 1024px) {
  .faq-list { gap: calc(17 * var(--u)); }
  .faq-item { background: var(--bg-2); padding: calc(17 * var(--u)) calc(20 * var(--u)) calc(17 * var(--u)) calc(16 * var(--u)); }
  .faq-item__q { min-height: 0; margin: 0; padding: 0; gap: calc(22 * var(--u)); font-size: max(16px, calc(20 * var(--u))); line-height: 1.5; font-weight: 500; }
  .faq-item__icon { width: max(16px, calc(18 * var(--u))); height: max(16px, calc(18 * var(--u))); margin-top: 0.3em; color: var(--text); stroke-width: 1.6; }
  .faq-item__a { padding-left: calc(max(16px, calc(18 * var(--u))) + 22 * var(--u)); }
  .faq-item__a p { padding-top: calc(12 * var(--u)); font-size: max(14px, calc(18 * var(--u))); line-height: 1.556; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item__a, .faq-item__icon { transition: none; }
}

/* ---------- Closing CTA banner (service pages) ---------- */
.cta-banner {
  border-radius: 24px; background: var(--surface); border: 1px solid var(--border);
  padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.cta-banner h2 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--text-primary); text-wrap: balance; }
.cta-banner p { max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--text-dim); }
.cta-banner .btn-pill { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-default); border-top: 1px solid var(--divider); }
.site-footer__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 40px var(--gutter);
  display: flex; flex-direction: column; gap: 28px;
}
.site-footer__brand { order: 1; display: flex; flex-direction: column; gap: 28px; }
.site-footer__brand img { height: 44px; width: auto; align-self: flex-start; }
.site-footer__brand p { font-size: 14px; line-height: 1.64; font-weight: 500; color: var(--text-soft); }
.site-footer__brand p span { color: var(--text); font-weight: 600; }
.site-footer__office { display: flex; flex-direction: column; gap: 8px; }
.site-footer__label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.site-footer__contact { list-style: none; margin: -10px 0; padding: 0; display: flex; flex-direction: column; }
.site-footer__contact a {
  min-height: 44px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none;
}
.site-footer__contact a:hover { color: var(--lime); }
.site-footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--lime); }
.site-footer__cta { display: none; }
/* Mobile: one left-aligned column (Privacy Policy, Terms & Conditions, Refund Policy). */
.site-footer__links { order: 3; display: flex; flex-direction: column; align-items: flex-start; margin-block: -12px; }
.site-footer__links a {
  min-height: 44px; display: flex; align-items: center;
  font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: color 150ms ease;
}
.site-footer__links a:hover { color: var(--lime); }
.site-footer__rule { order: 4; height: 1px; background: var(--divider); }
.site-footer__bottom { display: contents; }
.site-footer__copy { order: 5; font-size: 13px; font-weight: 500; color: var(--text-soft); }

@media (min-width: 1024px) {
  .site-footer__inner {
    max-width: none; width: auto; margin: 0 var(--edge); min-height: calc(536 * var(--u));
    padding: calc(84 * var(--u)) 0 calc(40 * var(--u));
    display: grid; grid-template-columns: minmax(0, calc(807 * var(--u))) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto; gap: 0 24px;
    grid-template-areas: "brand cta" ". ." "rule rule" "bottom bottom";
  }
  .site-footer__bottom {
    grid-area: bottom; margin-top: calc(37 * var(--u));
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  }
  .site-footer__bottom > * { order: 0; }
  .site-footer__brand { grid-area: brand; max-width: max(300px, calc(520 * var(--u))); gap: calc(24 * var(--u)); padding-top: calc(4 * var(--u)); }
  .site-footer__brand img { height: max(40px, calc(60 * var(--u))); }
  .site-footer__brand p { font-size: max(14px, calc(17 * var(--u))); line-height: 1.647; }
  .site-footer__label { font-size: max(13px, calc(14 * var(--u))); }
  .site-footer__contact a { min-height: 36px; font-size: max(14px, calc(17 * var(--u))); }
  .site-footer__contact { margin: -6px 0 0; padding-bottom: calc(40 * var(--u)); }
  .site-footer__cta { grid-area: cta; display: block; max-width: calc(530 * var(--u)); padding-bottom: 40px; }
  .site-footer__cta p { font-size: max(22px, calc(30 * var(--u))); line-height: 1.433; font-weight: 600; color: var(--text); }
  .site-footer__cta .btn-pill { margin-top: calc(44 * var(--u)); }
  .site-footer__rule { grid-area: rule; }
  .site-footer__copy { font-size: max(13px, calc(15 * var(--u))); letter-spacing: calc(0.3 * var(--u)); white-space: nowrap; }
  .site-footer__links {
    margin: 0;
    display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 8px max(18px, calc(32 * var(--u)));
  }
  .site-footer__links a { min-height: 0; font-size: max(13px, calc(15 * var(--u))); letter-spacing: calc(0.3 * var(--u)); white-space: nowrap; }
}

/* ---------- Temporary pages ---------- */
.coming-soon {
  min-height: 70vh; padding: 120px var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center;
}
.coming-soon h1 { font-size: 38px; font-weight: 600; }
.coming-soon p { color: var(--text-dim); }

/* ───────────── Download marquee ───────────── */
.download { margin-top: 72px; padding: 40px 0; background: var(--bg-2); }
.download__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.download__track { --marquee-dur: 30s; align-items: center; }
.download__half { display: flex; align-items: center; gap: 32px; padding-right: 32px; flex: none; }
.download__word { font-size: clamp(40px, 12vw, 64px); line-height: 1.33; font-weight: 600; color: var(--lime); letter-spacing: -0.5px; white-space: nowrap; }
.download__viewport { display: block; text-decoration: none; }
.download__word--alt { color: var(--text); }
.download__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--lime); flex: none; }

@media (min-width: 1024px) {
  .download { margin-top: 0; min-height: calc(360 * var(--u)); padding: calc(95 * var(--u)) 0 48px; }
  .download__viewport {
    width: calc(1324 * var(--u)); margin: 0 auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  }
  .download__track { --marquee-dur: 22s; }
  .download__half { gap: calc(62 * var(--u)); padding-right: calc(62 * var(--u)); }
  .download__word { font-size: max(48px, calc(90 * var(--u))); line-height: 1.222; letter-spacing: calc(-0.5 * var(--u)); }
  .download__dot { width: max(14px, calc(25 * var(--u))); height: max(14px, calc(25 * var(--u))); }
}
