/* ByteSized marketing site.
   Shares the app's "midnight editorial / aurora" identity: ink background,
   soft colour glows, frosted glass, Lora for display type, Inter for UI.
   Dark-first on purpose — the app is dark-only, so the site matches rather
   than promising a light theme that doesn't exist. */

:root {
  --ink: #070709;
  --ink-2: #0b0b10;
  --surface: #14141a;
  --glass-fill: rgba(255, 255, 255, 0.045);
  --glass-top: rgba(255, 255, 255, 0.09);
  --hairline: rgba(255, 255, 255, 0.11);
  --hairline-hi: rgba(255, 255, 255, 0.20);

  --text-hi: #f4f4f6;
  --text-mid: rgba(255, 255, 255, 0.70);
  --text-low: rgba(255, 255, 255, 0.44);

  --green: #00e676;
  --green-lite: #4dffa6;
  --cyan: #00b8d4;
  --blue: #2979ff;
  --violet: #7c4dff;
  --amber: #ffb65c;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
  --radius: 22px;
  --radius-lg: 30px;

  /* Fluid spacing so sections breathe on desktop without crushing on phones. */
  --gap-section: clamp(72px, 9vw, 132px);
  --pad-x: clamp(20px, 4vw, 32px);

  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-deep: 0 40px 100px rgba(0, 0, 0, 0.6);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Sticky header would otherwise cover the top of anchored sections. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* `clip`, not `hidden`, and deliberately not on <html>. `overflow-x: hidden`
     turns the element into a scroll container, and a scroll-container ancestor
     silently breaks `position: sticky` on the header — it scrolls away instead
     of sticking. `clip` trims the aurora's horizontal bleed without creating
     one. Orb positions below stay inside the viewport anyway, so browsers too
     old for `clip` still don't get a sideways scrollbar. */
  overflow-x: clip;
}

/* The page-wide colour wash. Fixed so it reads as one continuous field
   rather than scrolling away with the content. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 12% 0%, rgba(0, 230, 118, 0.09), transparent 62%),
    radial-gradient(900px 700px at 88% 26%, rgba(41, 121, 255, 0.075), transparent 62%),
    radial-gradient(1000px 800px at 50% 100%, rgba(124, 77, 255, 0.07), transparent 62%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--text-hi); margin: 0; font-weight: 600; }
p { margin: 0; }

::selection { background: rgba(0, 230, 118, 0.28); color: #fff; }

/* Keyboard users get a visible ring; mouse users don't. */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  background: var(--green);
  color: #06210f;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

/* The headline's second line, in the same italic serif the section titles
   use. One accent device across the page instead of three. */
.hero h1 em { font-style: italic; color: var(--green-lite); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 15px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out),
              background-color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--green-lite), var(--green));
  color: #06210f;
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.26);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(0, 230, 118, 0.36); }

.btn-ghost {
  background: var(--glass-fill);
  color: var(--text-hi);
  border-color: var(--hairline);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--hairline-hi); background: var(--glass-top); }

.btn-small { padding: 10px 17px; font-size: 13px; border-radius: 12px; }

/* Google Play button — dark pill with the Play mark, matching store convention. */
.btn-play {
  background: #ffffff;
  color: #0d0d10;
  padding: 11px 24px 11px 18px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.12);
}
.btn-play:hover { box-shadow: 0 16px 40px rgba(255, 255, 255, 0.2); }
.play-mark { width: 26px; height: 26px; flex: 0 0 auto; }
.play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.1px;
}
.play-text small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: .62;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease-out), border-color .25s var(--ease-out),
              backdrop-filter .25s var(--ease-out);
}
/* Transparent over the hero, frosted once you start scrolling — set by script.js. */
.nav.scrolled {
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--hairline);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 15px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text-hi);
  font-size: 17px;
  letter-spacing: -0.2px;
}
.brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
  transition: color .18s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease-out);
}
.nav-links a:hover { color: var(--text-hi); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text-hi); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- layout ---------- */
section { max-width: var(--max); margin: 0 auto; padding: var(--gap-section) var(--pad-x); }
.section-title {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.5px;
}
.section-title em { font-style: italic; color: var(--green-lite); }
.section-sub {
  text-align: center;
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 16px;
  color: var(--text-mid);
}
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 76px);
  padding-bottom: clamp(60px, 8vw, 96px);
  overflow: visible;
}
/* Right edge pinned to 0 (and orb-2 with it) so nothing extends past the
   viewport's right side, which is the only direction that would add
   scrollable width. Leftward bleed costs nothing. */
.aurora { position: absolute; inset: -10% 0 0 -14%; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.orb-1 { width: 46vw; height: 46vw; left: -6%;  top: -6%;  background: rgba(0, 230, 118, 0.30); animation: drift1 22s ease-in-out infinite; }
.orb-2 { width: 42vw; height: 42vw; right: 0;    top: 4%;   background: rgba(41, 121, 255, 0.26); animation: drift2 26s ease-in-out infinite; }
.orb-3 { width: 40vw; height: 40vw; left: 28%;  bottom: -18%; background: rgba(124, 77, 255, 0.22); animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%, 5%, 0) scale(1.1); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-7%, 7%, 0) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(4%, -6%, 0) scale(1.12); } }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 230, 118, 0.10);
  border: 1px solid rgba(0, 230, 118, 0.30);
  color: var(--green-lite);
  border-radius: 100px;
  padding: 7px 15px 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2px;
  margin-bottom: 22px;
}
.badge-live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.14);
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 66px);
  line-height: 1.06;
  letter-spacing: -1.4px;
  font-weight: 600;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-mid);
  max-width: 520px;
  margin-top: 22px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; align-items: center; }
.hero-ctas.center { justify-content: center; }

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--text-low);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

/* ---------- phone frames ---------- */
.phone {
  position: relative;
  border-radius: 34px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.08));
  box-shadow: var(--shadow-deep);
}
.phone img {
  border-radius: 27px;
  width: 100%;
  height: auto;
  /* Matches the exported screenshots, so the frame holds its full height
     before the image arrives instead of popping the layout on load. */
  aspect-ratio: 620 / 1327;
  background: #000;
}
/* The glow pooled under the device — sells the "lit screen" look. */
.phone::after {
  content: '';
  position: absolute;
  inset: auto 8% -6% 8%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 230, 118, 0.35), transparent);
  filter: blur(26px);
  z-index: -1;
}

.hero-device { position: relative; display: flex; justify-content: center; }
/* Explicit width, not max-width: the frame must not depend on the image
   inside it having loaded, or it collapses to nothing until it does. */
.phone-hero {
  width: 310px;
  max-width: 100%;
}

/* Floating glass chips that "pop out" of the phone. */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 26, 0.82);
  border: 1px solid var(--hairline-hi);
  backdrop-filter: blur(14px);
  border-radius: 15px;
  padding: 11px 15px;
  box-shadow: var(--shadow-soft);
  font-size: 12.5px;
  white-space: nowrap;
}
/* Sit mostly clear of the frame — far enough left that the chip reads as
   popping out of the phone rather than obscuring the sentence behind it. */
.chip-word { left: -11%; top: 24%; }
.chip-streak { right: -8%; bottom: 18%; }
.chip-k { color: var(--green); font-weight: 700; font-size: 14px; }
.chip-v { color: var(--text-low); }
.chip-v strong { color: var(--text-hi); }
.chip-icon { width: 15px; height: 15px; color: var(--amber); flex: 0 0 auto; }

/* ---------- proof strip ---------- */
.strip { padding-top: 0; padding-bottom: 0; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: rgba(11, 11, 16, 0.86);
  padding: 26px 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  letter-spacing: -0.3px;
  color: var(--text-hi);
  line-height: 1.2;
}
.stat span { display: block; font-size: 12.5px; color: var(--text-low); margin-top: 6px; }

/* ---------- how it works ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 54px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.step:hover { border-color: var(--hairline-hi); transform: translateY(-3px); }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.28);
  margin-bottom: 18px;
}
.step h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14.5px; }

/* ---------- showcase ---------- */
.showcase { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.show-row {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.show-row.reversed .show-copy { order: 2; }
.show-row.reversed .show-device { order: 1; }
.show-copy h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
.show-copy p { font-size: 16px; max-width: 480px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: var(--text-mid);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.13);
  border: 1px solid rgba(0, 230, 118, 0.35);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 5px; height: 8px;
  border: solid var(--green);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.show-device { display: flex; justify-content: center; }
.show-device .phone { width: 288px; max-width: 100%; }

/* Two overlapping phones for the personalisation row. Width has to be
   explicit: these are absolutely positioned, so they can't take their size
   from a child that is itself sized at 100% of the parent — that circular
   dependency collapses the frame to nothing. */
.show-device.dual { position: relative; min-height: 460px; align-items: center; }
.show-device.dual .phone { position: absolute; width: 232px; max-width: 48%; }
.dual .phone-back  { transform: translateX(-26%) rotate(-6deg); opacity: .82; }
.dual .phone-front { transform: translateX(24%) rotate(5deg); z-index: 2; }

/* ---------- feature grid ---------- */
.feature-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
/* Each card lights up in its own accent on hover. */
.feature-card::before {
  content: '';
  position: absolute;
  inset: -40% 40% 60% -40%;
  background: radial-gradient(closest-side, var(--c), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.feature-card:hover::before { opacity: .10; }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-family: var(--sans); font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

/* ---------- languages ---------- */
.lang-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.lang-list li {
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 9px 17px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}
.lang-list .lang-more {
  background: transparent;
  border-style: dashed;
  border-color: rgba(0, 230, 118, 0.35);
  color: var(--green-lite);
}

.lang-note {
  text-align: center;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--text-mid);
}
.lang-note span { display: block; font-size: 13px; color: var(--text-low); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 44px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 0 22px;
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out);
}
.faq-item[open] { border-color: var(--hairline-hi); background: var(--glass-top); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 34px 19px 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-hi);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Chevron built from two borders so there's no icon dependency. */
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px; top: 26px;
  width: 8px; height: 8px;
  border: solid var(--text-low);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
  transition: transform .25s var(--ease-out), border-color .2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(-135deg); border-color: var(--green); }
.faq-item p { padding: 0 0 20px; font-size: 14.5px; max-width: 66ch; }
.faq-item a { color: var(--cyan); font-weight: 600; }

/* ---------- security ---------- */
.security-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.security-item {
  display: flex;
  gap: 16px;
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .25s var(--ease-out);
}
.security-item:hover { border-color: var(--hairline-hi); }
.security-icon { flex: 0 0 auto; color: var(--green); }
.security-icon svg { width: 22px; height: 22px; }
.security-item h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 700; margin-bottom: 7px; }
.security-item p { font-size: 14px; }
.security-links { text-align: center; margin-top: 34px; font-size: 14.5px; }
.security-links a { color: var(--cyan); font-weight: 600; border-bottom: 1px solid rgba(0,184,212,0.35); }

/* ---------- final CTA ---------- */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 60px);
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(0, 230, 118, 0.12), transparent 70%),
    linear-gradient(180deg, var(--glass-top), var(--glass-fill));
}
.cta-card h2 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.8px; }
.cta-card > p { max-width: 480px; margin: 16px auto 0; font-size: 16px; }
.cta-note { margin-top: 22px; font-size: 12.5px; color: var(--text-low); }

/* ---------- legal / prose pages ---------- */
.legal { max-width: 780px; padding-top: clamp(90px, 12vw, 130px); }
.legal h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -1px; margin-bottom: 10px; }
.legal .legal-updated { font-size: 13px; color: var(--text-low); margin-bottom: 44px; }
.legal h2 { font-size: 20px; font-family: var(--sans); font-weight: 700; margin: 42px 0 14px; }
.legal p { font-size: 15.5px; line-height: 1.78; margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15.5px; line-height: 1.78; margin-bottom: 9px; }
.legal a { color: var(--cyan); font-weight: 600; }
.legal strong { color: var(--text-hi); }

/* ---------- footer ---------- */
/* No top margin: the preceding section already ends with a full
   --gap-section of padding, and stacking both left a dead band of empty
   page between the final CTA and the footer. */
.footer { border-top: 1px solid var(--hairline); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--pad-x) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--text-hi); font-size: 17px;
  margin-bottom: 14px;
}
.footer-about p { font-size: 14px; color: var(--text-low); max-width: 280px; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--text-low);
  margin-bottom: 16px;
}
.footer-col a, .footer-col .soon {
  display: block;
  font-size: 14px;
  color: var(--text-mid);
  padding: 5px 0;
  transition: color .18s var(--ease-out);
}
.footer-col a:hover { color: var(--green); }
.footer-col .soon { color: var(--text-low); }
.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad-x) 40px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--text-low);
}

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 620px;
  margin: 0 auto;
  background: rgba(16, 16, 21, 0.94);
  border: 1px solid var(--hairline-hi);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: var(--shadow-deep);
  z-index: 200;
  backdrop-filter: blur(16px);
  display: none;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.cookie-banner.visible { display: block; }
.cookie-banner.shown { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 13.5px; margin: 0 0 14px; color: var(--text-mid); }
.cookie-banner a { color: var(--cyan); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- scroll reveal ----------
   Gated behind the `js` class that script.js sets on <html>. If scripting is
   blocked or the file fails to load, none of this applies and the content is
   simply visible — a marketing page must never be able to render blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-device { margin-top: 44px; }

  .show-row { grid-template-columns: 1fr; text-align: center; }
  .show-row.reversed .show-copy,
  .show-row.reversed .show-device { order: initial; }
  .show-copy p { margin-left: auto; margin-right: auto; }
  .ticks { justify-items: center; }
  .ticks li { text-align: left; }

  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(9, 9, 12, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hairline);
    padding: 6px var(--pad-x) 18px;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 0; border-top: 1px solid var(--hairline); font-size: 15.5px; }
  .nav-links a:first-child { border-top: none; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .hero-ctas .btn { width: 100%; }
  .float-chip { display: none; } /* too cramped beside a phone this size */
  .show-device.dual { min-height: 400px; }
  .show-device.dual .phone { max-width: 190px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn { flex: 1; }
}

@media (max-width: 400px) {
  .strip-inner { grid-template-columns: 1fr; }
}

/* Anyone who's asked their OS to calm animations down gets a static page —
   every decorative motion here is optional by design. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
