/* ==========================================================================
   AmpShift.ai — marketing site styles
   Modernized refresh of the brand identity:
   deep navy → indigo/purple → teal, geometric sans (Jost / Century Gothic).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (sampled from logo + app) */
  --navy-950: #0a0820;
  --navy-900: #0e0b26;
  --navy-850: #14102f;
  --navy-800: #1a1540;
  --navy-700: #241c57;
  --indigo:   #4b3fb0;
  --purple:   #7b73e6;
  --purple-bright: #9990ec;
  --teal:     #5f9d97;
  --teal-bright: #7bb3ac;

  /* Text on DARK sections (brightened for readability) */
  --text:     #eeedfa; /* headings */
  --text-dim: #cbc8e6; /* body — clearly readable on navy */
  --text-mut: #9d9ac4; /* muted */
  /* Text on LIGHT sections */
  --ink:      #14112e; /* headings / strong */
  --ink-dim:  #474465; /* body (~8:1 on white) */
  --ink-mut:  #6c6890; /* muted / placeholders */
  --accent-on-light: #5a4fc4; /* accent that stays legible on white */
  --light-bg: #ffffff; /* light section background */
  --white:    #ffffff;

  --card:     rgba(255, 255, 255, 0.035);
  --card-brd: rgba(255, 255, 255, 0.09);
  --card-brd-hover: rgba(123, 115, 230, 0.40);

  /* Restrained, mostly mono-indigo — no rainbow */
  --grad-brand: linear-gradient(120deg, #6f66d4 0%, #574fad 100%);
  --grad-text:  linear-gradient(100deg, #ffffff 0%, #c4bef0 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --maxw:      1180px;
  --gutter:    24px;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px -10px rgba(108, 92, 246, 0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Jost", "Century Gothic", "Futura", "Avenir Next", system-ui, -apple-system,
          "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--navy-900);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.2px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
::selection { background: rgba(108, 92, 246, 0.4); color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 18px;
  font-weight: 500;
}
.section-title { font-size: clamp(30px, 4.4vw, 50px); max-width: 18ch; }
.section-lead { color: var(--text-dim); font-size: clamp(17px, 1.6vw, 20px); max-width: 60ch; margin-top: 20px; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.center { text-align: center; }
.center .section-title, .center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 500; letter-spacing: 0.2px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px -8px rgba(108,92,246,0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(108,92,246,0.75); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--card-brd); color: var(--text); }
.btn-ghost:hover { border-color: var(--card-brd-hover); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 8, 32, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav nav { margin-left: auto; }            /* push the menu to the right edge */
/* Wordmark matches the original site: Futura LT Book — single weight, no bold.
   Real Futura renders on Apple devices; Jost (a Futura revival) is the web fallback. */
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: "Futura", "Jost", "Century Gothic", "Avenir Next", sans-serif;
  font-size: 20px; font-weight: 400; letter-spacing: normal; color: #fff;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(108,92,246,0.8); }
.nav-links { display: flex; align-items: center; gap: 38px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text-dim); font-size: 19px; position: relative; transition: color 0.2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 160px; padding-bottom: 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 80% 2%, rgba(95,157,151,0.06), transparent 60%),
    radial-gradient(820px 620px at 10% 14%, rgba(111,102,212,0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 55%, var(--navy-900) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); letter-spacing: -0.03em; }
.hero-sub { color: var(--text-dim); font-size: clamp(18px, 1.9vw, 22px); margin-top: 24px; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-note { margin-top: 22px; color: var(--text-mut); font-size: 15px; display: flex; align-items: center; gap: 9px; }
.hero-note svg { width: 18px; height: 18px; color: var(--teal-bright); flex: none; }

/* store badges — hidden on desktop (QR is used there); shown on mobile via media query */
.stores { display: none; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px; border-radius: 14px; transition: transform 0.25s var(--ease), border-color 0.25s;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--card-brd-hover); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .sb-small { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #cfcde6; }
.store-badge .sb-big { font-size: 17px; font-weight: 500; color: #fff; }
/* OS-aware: on mobile show only the badge for the visitor's platform (set by JS) */
body[data-os="ios"] .store-badge--android { display: none; }
body[data-os="android"] .store-badge--ios { display: none; }
.qr-row { display: flex; gap: 28px; margin-top: 30px; }
.qr { display: flex; align-items: center; gap: 14px; color: var(--text-mut); font-size: 14px; }
.qr img { width: 150px; height: 150px; border-radius: 16px; background: #fff; padding: 9px; box-shadow: var(--shadow-soft); }

/* hero device cluster */
.hero-devices { position: relative; min-height: 540px; }
.device {
  position: absolute; background: #0b0a18;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.06);
  /* Promote to its own GPU layer so rounded corners stay smooth under rotation */
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  will-change: transform;
}
.device img {
  display: block; width: 100%;
  /* clip on a compositing layer → crisp, smooth inner corners (no jaggies) */
  transform: translateZ(0);
}
.device.phone { width: 244px; border-radius: 40px; padding: 9px; }
.device.phone img { border-radius: 31px; }      /* = outer(40) − padding(9) */
.device.tablet { width: 360px; border-radius: 30px; padding: 9px; }
.device.tablet img { border-radius: 21px; }      /* = outer(30) − padding(9) */
.device--a { top: 18px; left: 8%; z-index: 3; transform: rotate(-3deg); }
.device--b { top: 78px; right: 2%; z-index: 2; transform: rotate(3.5deg); }
.device--c { bottom: -6px; left: 36%; z-index: 1; transform: rotate(2deg); opacity: 0.97; }
.hero-glow { position: absolute; inset: 8% 6%; z-index: 0; background: var(--grad-brand); filter: blur(90px); opacity: 0.11; border-radius: 50%; }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.015); }
.trust .container { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; padding-block: 26px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 14.5px; letter-spacing: 0.04em; }
.trust-item svg { width: 20px; height: 20px; color: var(--teal-bright); }

/* ---------- Intro band ---------- */
.intro { background: var(--light-bg); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.intro h2 { font-size: clamp(28px, 3.8vw, 44px); }
.intro p { color: var(--text-dim); font-size: 19px; }

/* ---------- Feature cards ---------- */
.features { background: var(--navy-900); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-brand); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.055); }
.card:hover::before { opacity: 0.7; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123,115,230,0.16), rgba(123,115,230,0.05));
  border: 1px solid rgba(123,115,230,0.24); margin-bottom: 22px;
}
.card-icon svg { width: 27px; height: 27px; color: var(--purple-bright); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 16px; }

/* ---------- Security ---------- */
.security { background: linear-gradient(180deg, var(--navy-850), var(--navy-900)); }
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 52px; }
.sec-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 36px; display: flex; gap: 22px; align-items: flex-start;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.sec-card:hover { transform: translateY(-4px); border-color: var(--card-brd-hover); }
.sec-card .badge {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123,115,230,0.14), rgba(123,115,230,0.05));
  border: 1px solid rgba(123,115,230,0.24);
}
.sec-card .badge svg { width: 28px; height: 28px; color: var(--teal-bright); }
.sec-card h3 { font-size: 20px; margin-bottom: 8px; }
.sec-card p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- How it works ---------- */
.how { background: var(--light-bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--card-brd); background: var(--card); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 15px; font-weight: 600; color: var(--purple-bright); letter-spacing: 0.1em;
}
.step h3 { font-size: 20px; margin: 14px 0 10px; }
.step p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- Story ---------- */
.story { background: var(--light-bg); }
.story-wrap {
  border: 1px solid var(--card-brd); border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 64px); background:
    radial-gradient(600px 300px at 100% 0%, rgba(111,102,212,0.10), transparent 60%),
    rgba(255,255,255,0.025);
}
.story h2 { font-size: clamp(28px, 3.8vw, 44px); max-width: 22ch; }
.story p { color: var(--text-dim); font-size: 18px; margin-top: 22px; max-width: 76ch; }

/* ---------- Pricing ---------- */
.pricing { background: var(--navy-900); }
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg);
  padding: 40px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.price-card.featured { border-color: rgba(123,115,230,0.40); background:
  radial-gradient(500px 300px at 50% -10%, rgba(111,102,212,0.13), transparent 60%), rgba(255,255,255,0.035); }
.price-tag-pill {
  position: absolute; top: 22px; right: 22px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--grad-brand); padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 22px; }
.price-amt { font-size: 52px; font-weight: 500; margin: 18px 0 4px; letter-spacing: -0.02em; }
.price-amt span { font-size: 18px; color: var(--text-mut); font-weight: 400; }
.price-card .desc { color: var(--text-dim); margin-bottom: 24px; }
.price-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.price-list li { display: flex; gap: 12px; color: var(--text-dim); font-size: 15.5px; }
.price-list svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; margin-top: 2px; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-foot { text-align: center; color: var(--text-mut); margin-top: 34px; font-size: 15.5px; }
.price-foot a { color: var(--purple-bright); }

/* ---------- Contact ---------- */
.contact { background: var(--light-bg); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 3.8vw, 44px); }
.contact-info p { color: var(--text-dim); margin-top: 18px; font-size: 17px; }
.contact-meta { margin-top: 30px; display: grid; gap: 16px; }
.contact-meta a { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-size: 16px; }
.contact-meta svg { width: 20px; height: 20px; color: var(--purple-bright); }
.form { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.25); border: 1px solid var(--card-brd); color: #fff;
  font-family: inherit; font-size: 15.5px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,246,0.22);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; }
/* Honeypot — visually & a11y-hidden, but present in the DOM for bots to trip on */
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form-status.ok { color: var(--teal-bright); }
.form-status.err { color: #ff8b9a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.07); padding-block: 54px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--text-mut); font-size: 14.5px; margin-top: 16px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 16px; font-weight: 500; }
.footer-col a { display: block; color: var(--text-dim); font-size: 15px; margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--text-mut); font-size: 14px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 140px; }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.legal .updated { color: var(--text-mut); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 14px; color: #fff; }
.legal h3 { font-size: 19px; margin: 26px 0 10px; color: var(--text); }
.legal p, .legal li { color: var(--text-dim); font-size: 16.5px; margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--purple-bright); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--purple-bright); margin-bottom: 28px; text-decoration: none; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 11px 14px; border: 1px solid var(--card-brd); color: var(--text-dim); vertical-align: top; }
.legal th { background: rgba(255,255,255,0.04); color: var(--text); font-weight: 500; white-space: nowrap; }
.legal tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.legal hr { border: 0; border-top: 1px solid var(--card-brd); margin: 34px 0; }
.legal strong { color: var(--text); }

/* ==========================================================================
   LIGHT SECTIONS (alternating white/dark for readability)
   ========================================================================== */
.section--light { color: var(--ink-dim); }
.section--light .eyebrow { color: var(--accent-on-light); }
.section--light .section-title,
.section--light h2,
.section--light h3 { color: var(--ink); }
.section--light .section-lead,
.section--light p { color: var(--ink-dim); }
.section--light strong { color: var(--ink); }
.section--light .text-grad {
  background: linear-gradient(100deg, #5a4fc4 0%, #7a5ec8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* How-it-works steps on light */
.section--light .step {
  background: #fff; border-color: rgba(20,16,46,0.10);
  box-shadow: 0 16px 40px -26px rgba(20,16,46,0.45);
}
.section--light .step::before { color: var(--accent-on-light); }
.section--light .step h3 { color: var(--ink); }
.section--light .step p { color: var(--ink-dim); }

/* Story panel on light */
.section--light .story-wrap {
  border-color: rgba(20,16,46,0.10);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(108,92,246,0.06), transparent 60%),
    #fff;
  box-shadow: 0 24px 60px -34px rgba(20,16,46,0.4);
}

/* Contact block on light */
.section--light .contact-meta a { color: var(--ink); }
.section--light .contact-meta svg { color: var(--accent-on-light); }
.section--light .form {
  background: #fff; border-color: rgba(20,16,46,0.10);
  box-shadow: 0 24px 60px -34px rgba(20,16,46,0.4);
}
.section--light .field label { color: var(--ink-dim); }
.section--light .field input,
.section--light .field textarea {
  background: #fff; border-color: rgba(20,16,46,0.16); color: var(--ink);
}
.section--light .field input::placeholder,
.section--light .field textarea::placeholder { color: var(--ink-mut); }
.section--light .field input:focus,
.section--light .field textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,92,246,0.18);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-devices { min-height: 470px; margin-top: 20px; }
  .grid-3, .sec-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  /* On phones: show the OS-appropriate store badge, hide the (desktop-only) QR codes */
  .stores { display: flex; justify-content: center; margin-top: 30px; }
  .qr-row { display: none; }
  /* Large, centered, easily-tappable store badge on phones */
  .store-badge { padding: 20px 40px; border-radius: 20px; gap: 18px; }
  .store-badge svg { width: 46px; height: 46px; }
  .store-badge .sb-small { font-size: 14px; }
  .store-badge .sb-big { font-size: 27px; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: rgba(10,8,32,0.98); backdrop-filter: blur(14px); padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-header.open .nav-links li { width: 100%; }
  .site-header.open .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .device.phone { width: 200px; }
  .device.tablet { width: 280px; }
  .qr-row { flex-wrap: wrap; }
  .footer-cols { gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
