/* SaveMyDoc — savemydoc.app
   Brand: royal navy #1A237E · indigo-pastel #DBE2F6 · white cards
   Type: Inter (variable, self-hosted) */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #0b0f2e;
  --navy-900: #111741;
  --navy-800: #161d54;
  --navy-700: #1a237e;
  --navy-600: #2833a5;
  --blue-500: #3d7bff;
  --indigo-100: #dbe2f6;
  --indigo-50: #f2f5fc;
  --ink: #14183c;
  --ink-soft: #4a5072;
  --white: #ffffff;
  --green: #2fb463;
  --orange: #f08c00;
  --purple: #a855f7;
  --red: #ef4458;
  --teal: #12a5bf;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-card: 0 2px 6px rgba(20, 24, 60, 0.05), 0 22px 60px rgba(20, 24, 60, 0.10);
  --shadow-device: 0 30px 80px rgba(8, 12, 46, 0.45), 0 10px 28px rgba(8, 12, 46, 0.30);
  --maxw: 1160px;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keep fixed-nav from hiding anchored section headings on jump */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #3d7bff33; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--white); color: var(--navy-700);
  padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: var(--ink);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav.on-dark { color: var(--white); }
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(20, 24, 60, 0.08);
  color: var(--ink);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
  color: inherit;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: inherit; font-weight: 550; font-size: 15px; opacity: 0.85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  background: var(--blue-500); color: var(--white) !important;
  padding: 9px 18px; border-radius: 100px; font-weight: 650; font-size: 14.5px;
  opacity: 1 !important;
  box-shadow: 0 6px 18px rgba(61, 123, 255, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(61, 123, 255, 0.45); text-decoration: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 72% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(90% 70% at 8% 6%, #eef2fc 0%, transparent 60%),
    linear-gradient(180deg, #f4f7fd 0%, #e6ecf9 62%, var(--indigo-100) 100%);
  color: var(--ink);
  padding: calc(var(--nav-h) + 72px) 0 0;
}
.hero::after {
  /* soft grain-free aurora sweep — gentle colour wash on light */
  content: ""; position: absolute; inset: -40% -20%;
  background:
    radial-gradient(38% 30% at 25% 35%, rgba(18, 165, 191, 0.10), transparent 70%),
    radial-gradient(32% 26% at 78% 22%, rgba(168, 85, 247, 0.09), transparent 70%),
    radial-gradient(30% 26% at 60% 70%, rgba(61, 123, 255, 0.12), transparent 70%);
  animation: aurora 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: start;
}
.hero-grid > * { min-width: 0; }
.hero-copy { padding: 72px 0 96px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy-600);
  border: 1px solid rgba(26, 35, 126, 0.18);
  background: rgba(255, 255, 255, 0.6);
  padding: 8px 16px; border-radius: 100px; margin-bottom: 26px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #6ee7a0;
  box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(110, 231, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 160, 0); }
}
h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.03; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55;
  color: var(--ink-soft); max-width: 34em; margin-bottom: 34px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--navy-700); color: var(--white);
  box-shadow: 0 14px 34px rgba(26, 35, 126, 0.28);
}
.btn-primary:hover { box-shadow: 0 20px 44px rgba(26, 35, 126, 0.38); }
.btn-ghost {
  color: var(--ink); border: 1.5px solid rgba(20, 24, 60, 0.22);
  background: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: rgba(20, 24, 60, 0.4); }
.store-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 16px; }

/* ----- Launch-notify form ----- */
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.notify-form input[type="email"] {
  flex: 1 1 230px; min-width: 0;
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid rgba(20, 24, 60, 0.22);
  background: rgba(255, 255, 255, 0.9);
}
.notify-form input[type="email"]::placeholder { color: var(--ink-soft); opacity: 0.7; }
.notify-form input[type="email"]:focus {
  outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: transparent;
}
.notify-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.notify-form .btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form { flex-direction: column; align-items: stretch; max-width: 560px; }
.contact-form textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid rgba(20, 24, 60, 0.22);
  background: rgba(255, 255, 255, 0.9);
  resize: vertical; min-height: 120px;
}
.contact-form textarea:focus {
  outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: transparent;
}
.contact-form .btn { align-self: flex-start; }
.notify-msg { font-size: 14.5px; font-weight: 600; margin-top: 12px; }
.notify-msg.ok { color: var(--green); }
.notify-msg.err { color: var(--red); }
.final-cta .notify-msg { text-align: center; }
@media (max-width: 640px) {
  .notify-form { width: 100%; }
  .notify-form input[type="email"] { flex-basis: 100%; }
}

.hero-device {
  position: relative; align-self: end; display: flex; justify-content: center;
}
.hero-device .glow {
  position: absolute; inset: 6% -10% -20% -10%;
  background: radial-gradient(50% 45% at 50% 45%, rgba(61, 123, 255, 0.22), transparent 70%);
  filter: blur(12px);
}
.device {
  position: relative;
  width: min(380px, 82vw);
  background: #0a0d24;
  padding: 12px; border-radius: 52px;
  box-shadow: var(--shadow-device), inset 0 0 0 2px rgba(255, 255, 255, 0.10);
}
.device img { border-radius: 42px; }

/* Platform-true camera cutouts — screenshots come straight off the simulator/
   emulator, which never draws the hardware cutout; without it the frames read
   as fake. Default frame = iPhone (Dynamic Island). */
.device::before {
  content: ""; position: absolute; z-index: 2;
  /* Positions are tuned to the current 736×1600 / 720×1600 captures, whose
     status bars leave the cutout gap empty — retune if capture devices change. */
  top: calc(12px + 1.55%); left: 50%; transform: translateX(-50%);
  width: 27%; aspect-ratio: 3.1 / 1; border-radius: 100px;
  background: #050609;
}
.device.android { border-radius: 44px; }
.device.android img { border-radius: 34px; }
.device.android::before {
  /* centered punch-hole selfie camera (Pixel-style) */
  width: 4.6%; aspect-ratio: 1; border-radius: 50%;
  top: calc(12px + 1.15%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.07);
}
.hero-device .device {
  animation: float 7s ease-in-out infinite;
  margin-bottom: -140px; /* bleeds into the strip below */
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0.0001deg); }
  50% { transform: translateY(-14px); }
}

/* ---------- Trust strip ---------- */

.strip {
  position: relative; z-index: 3;
  background: var(--indigo-100);
  color: var(--ink);
  border-top: 1px solid rgba(20, 24, 60, 0.06);
  padding: 26px 0;
}
.strip-inner {
  display: flex; flex-wrap: wrap; gap: 14px 46px; justify-content: center;
  font-weight: 650; font-size: 15.5px; letter-spacing: 0.01em;
}
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner .k { color: var(--green); }

/* ---------- Sections ---------- */

section { padding: 104px 0; }
.section-light { background: var(--white); }
.section-tint { background: var(--indigo-50); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.k-blue { color: #2456c4; background: #3d7bff1a; }
.k-green { color: #1d7a43; background: #2fb4631c; }
.k-orange { color: #a35d00; background: #f08c001f; }
.k-purple { color: #7527ba; background: #a855f71c; }
.k-red { color: #c22743; background: #ef44581a; }
.k-teal { color: #0c7f94; background: #12a5bf1c; }

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.lead { font-size: 18px; color: var(--ink-soft); max-width: 36em; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature.flip .f-media { order: 2; }
.f-copy .lead { margin-bottom: 26px; }
.f-list { list-style: none; display: grid; gap: 14px; }
.f-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 16px; color: var(--ink); font-weight: 480;
}
.f-list li strong { font-weight: 680; }
.f-list .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; display: grid; place-items: center;
  background: #2fb46322; color: #1d7a43; font-size: 12.5px; font-weight: 800;
}
.f-media { display: flex; justify-content: center; position: relative; }
.f-media .device { width: min(340px, 78vw); }
.f-media::before {
  content: ""; position: absolute; width: 130%; aspect-ratio: 1;
  border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--halo, #3d7bff14) 0%, transparent 62%);
}
.f-media .device { z-index: 1; }

/* Two staggered phones — overview behind, detail in front */
.f-media.duo { padding: 0 60px 56px 0; }
.f-media.duo .device { width: min(300px, 64vw); }
.f-media.duo .device-front {
  position: absolute; z-index: 2;
  width: min(240px, 52vw);
  right: 0; bottom: -56px;
  transform: rotate(2.5deg);
}

/* ---------- Feature sections (alternating full-width) ---------- */

.features-intro { padding-bottom: 24px; }
.intro-center { max-width: 660px; margin: 0 auto; text-align: center; }
.intro-center .lead { margin-left: auto; margin-right: auto; }

.feature-band { padding-top: 68px; padding-bottom: 68px; }
.feature-band h2 em { font-style: normal; color: var(--blue-500); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 4px 0 24px; }
.chip {
  display: inline-flex; align-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: rgba(20, 24, 60, 0.045);
  border: 1px solid rgba(20, 24, 60, 0.08);
  padding: 6px 13px; border-radius: 100px;
}
.section-tint .chip { background: rgba(255, 255, 255, 0.6); }

/* ---------- Paper receipt (Receipts feature) ----------
   A realistic thermal-paper slip tucked behind the phone — the "before"
   that the parsed screen next to it is the proof of. Decorative only. */

.paper-receipt {
  position: absolute; z-index: 0;
  left: max(-30px, -6%); bottom: 4%;
  width: 196px;
  transform: rotate(-7deg);
  background:
    linear-gradient(178deg, #ffffff 0%, #fbfaf6 55%, #f4f2ea 100%);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 18px 44px rgba(20, 24, 60, 0.20), 0 4px 12px rgba(20, 24, 60, 0.10);
  padding: 18px 16px 8px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10.5px; line-height: 1.7; color: #3b4050;
  letter-spacing: 0.01em;
}
.paper-receipt::after {
  /* torn zig-zag bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px;
  background:
    linear-gradient(-45deg, transparent 5.66px, #f4f2ea 0) 0 0 / 16px 8px repeat-x,
    linear-gradient(45deg, transparent 5.66px, #f4f2ea 0) 8px 0 / 16px 8px repeat-x;
}
.paper-receipt strong {
  display: block; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; margin-bottom: 2px;
}
.paper-receipt .pr-sub { display: block; text-align: center; opacity: 0.75; font-size: 9.5px; }
.paper-receipt .pr-rule {
  display: block; border-top: 1.5px dashed rgba(59, 64, 80, 0.35); margin: 8px 0;
}
.paper-receipt .pr-row { display: flex; justify-content: space-between; gap: 10px; }
.paper-receipt .pr-row i { font-style: normal; }
.paper-receipt .pr-total { font-weight: 700; font-size: 11.5px; }
.paper-receipt .pr-barcode {
  display: block; height: 26px; margin: 10px 6px 4px;
  background: repeating-linear-gradient(90deg,
    #2c3040 0 2px, transparent 2px 4px, #2c3040 4px 5px, transparent 5px 9px,
    #2c3040 9px 12px, transparent 12px 14px);
  opacity: 0.85;
}

/* ---------- Platforms (iOS + Android) ---------- */

.platform-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3.5vw, 44px); margin-top: 56px; justify-items: center;
}
.platform-row figure { margin: 0; text-align: center; }
.platform-row .device { width: min(258px, 70vw); }
.platform-row figcaption { margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.os-line {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.os-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 650; color: var(--ink);
  background: var(--white); border: 1px solid rgba(20, 24, 60, 0.10);
  border-radius: 100px; padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(20, 24, 60, 0.06);
}

/* ---------- Coming soon band ---------- */

.soon-band {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, #fff7ec 0%, #fdeede 100%);
  border: 1.5px dashed rgba(240, 140, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
}
.soon-copy .lead { margin-bottom: 24px; }
.soon-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 0 rgba(240, 140, 0, 0.5);
  animation: soonpulse 2.4s ease-out infinite;
}
@keyframes soonpulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 140, 0, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(240, 140, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 140, 0, 0); }
}
.btn-sm { padding: 11px 20px; font-size: 15px; }
.soon-art {
  position: relative; height: 190px;
  display: grid; place-items: center;
}
.soon-ticket {
  position: absolute;
  width: 150px; height: 78px; border-radius: 16px;
  background: var(--white); box-shadow: 0 16px 40px rgba(160, 93, 0, 0.18);
  border: 1px solid rgba(240, 140, 0, 0.18);
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--orange);
}
.soon-ticket::before, .soon-ticket::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  background: #fdeede; top: 50%; transform: translateY(-50%);
}
.soon-ticket::before { left: -8px; }
.soon-ticket::after { right: -8px; }
.soon-ticket span { position: relative; }
.soon-ticket   { transform: rotate(-8deg) translate(-42px, -26px); z-index: 3; }
.soon-ticket.t2 { transform: rotate(5deg) translate(46px, 2px); z-index: 2; opacity: 0.92; font-size: 16px; }
.soon-ticket.t3 { transform: rotate(-3deg) translate(-8px, 40px); z-index: 1; opacity: 0.85; font-size: 16px; }

/* ---------- Nav toggle (hamburger) ---------- */

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.22s ease, opacity 0.18s ease;
}
.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); }

/* ---------- Everything strip ---------- */

.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(20, 24, 60, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(20,24,60,.06), 0 30px 70px rgba(20,24,60,.14); }
.card .ic {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 18px; font-size: 24px;
}
.card h3 { font-size: 19px; font-weight: 750; letter-spacing: -0.015em; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Privacy (dark) ---------- */

.privacy-section {
  background:
    radial-gradient(80% 60% at 80% 0%, #1d2a75 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}
.privacy-section h2 { color: var(--white); }
.privacy-top {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.privacy-device { margin: 0; display: flex; flex-direction: column; align-items: center; }
.privacy-device .device {
  width: min(280px, 70vw);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.privacy-device figcaption {
  margin-top: 18px; font-size: 14.5px; font-weight: 600;
  color: rgba(255, 255, 255, 0.66); text-align: center;
}
.privacy-section .lead { color: rgba(255, 255, 255, 0.78); }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.p-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg); padding: 30px 28px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.p-card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(110, 231, 160, 0.14); color: #6ee7a0; font-size: 22px; margin-bottom: 16px;
}
.p-card h3 { font-size: 18px; font-weight: 720; margin-bottom: 8px; }
.p-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.privacy-link { margin-top: 40px; font-size: 15.5px; }
.privacy-link a { color: #9db4ff; font-weight: 650; }

/* ---------- Pricing ---------- */

.pricing-box {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px;
}
.price-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px;
  border: 1px solid rgba(20, 24, 60, 0.07); box-shadow: var(--shadow-card);
}
.price-card.pro { border: 2px solid var(--blue-500); position: relative; }
.price-card .tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--blue-500); color: var(--white);
  font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 100px;
}
.price-card h3 { font-size: 22px; font-weight: 780; margin-bottom: 4px; }
.price-card .p-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 20px; }
.price-card ul { list-style: none; display: grid; gap: 11px; }
.price-card li { display: flex; gap: 11px; font-size: 15px; align-items: flex-start; }
.price-card li .tick {
  flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center;
  background: #2fb46322; color: #1d7a43; font-size: 11.5px; font-weight: 800;
}

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin-top: 44px; }
.faq details {
  border-bottom: 1px solid rgba(20, 24, 60, 0.10);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 17px; font-weight: 650; padding: 18px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 500; color: var(--blue-500);
  transition: transform 0.2s ease; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 20px; color: var(--ink-soft); font-size: 15.5px; max-width: 62ch; }

/* ---------- Final CTA ---------- */

.final-cta {
  background:
    radial-gradient(100% 120% at 50% 0%, #2b38a8 0%, var(--navy-800) 55%, var(--navy-950) 100%);
  color: var(--white); text-align: center;
}
.final-cta h2 { color: var(--white); }
.final-cta .lead { margin: 0 auto 34px; color: rgba(255, 255, 255, 0.8); }
.final-cta .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

footer {
  background: var(--navy-950); color: rgba(255, 255, 255, 0.62);
  padding: 56px 0 40px; font-size: 14px;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; align-items: center; gap: 11px; color: var(--white); font-weight: 750; font-size: 17px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: rgba(255, 255, 255, 0.72); font-weight: 550; }
.foot-links a:hover { color: var(--white); }
.foot-legal { width: 100%; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.10); font-size: 13px; }

/* ---------- Legal / support pages ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900));
  color: var(--white); padding: calc(var(--nav-h) + 64px) 0 56px;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); font-size: 16px; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 20px; font-size: 14px; }
.lang-switch a {
  display: inline-block; padding: 4px 0; color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid transparent; text-decoration: none;
}
.lang-switch a:hover { color: var(--white); border-bottom-color: rgba(255, 255, 255, 0.5); }
.lang-switch a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 2px; }
.lang-switch a[aria-current="page"] { color: var(--white); font-weight: 650; border-bottom-color: var(--white); }
.legal { max-width: 780px; padding: 64px 24px 96px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15.5px; color: #333955; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 8px; }
.legal .glance {
  background: var(--indigo-50); border-radius: var(--radius-md);
  padding: 22px 24px; margin: 22px 0;
}
.legal .glance li { margin: 6px 0; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 40px 0 12px; }
.support-card {
  background: var(--white); border: 1px solid rgba(20, 24, 60, 0.08);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-card);
}
.support-card h3 { font-size: 18px; margin-bottom: 8px; }
.support-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }

/* ---------- Reveal on scroll ----------
   Only hide when JS is confirmed (html.js). No JS or a failed script =
   everything visible. Never ship an invisible page. */

html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::after, .hero-device .device, .hero-badge .pulse, .soon-pulse { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .nav-cta, .nav-links { transition: none; }
}

/* ---------- Responsive ---------- */

/* Tablet / smaller desktop */
@media (max-width: 980px) {
  section { padding: 80px 0; }
  .feature-band { padding-top: 60px; padding-bottom: 60px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .f-media { order: 0; }
  .f-copy { text-align: center; max-width: 560px; margin: 0 auto; }
  .f-copy .kicker, .chips { justify-content: center; }
  .f-list { max-width: 480px; margin: 0 auto; }
  .f-list li { text-align: left; }
  .grid-cards, .privacy-grid { grid-template-columns: 1fr 1fr; }
  .privacy-top { grid-template-columns: 1fr; }
  .privacy-device { margin-top: 8px; }
}

/* Hamburger nav + hero stack */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; margin-left: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
    border: 1px solid rgba(20, 24, 60, 0.08);
    border-radius: 18px; padding: 12px;
    box-shadow: 0 24px 60px rgba(20, 24, 60, 0.18);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    color: var(--ink);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { color: var(--ink); opacity: 1; padding: 13px 14px; border-radius: 12px; font-size: 16px; font-weight: 600; }
  .nav-links a:not(.nav-cta):hover { background: rgba(20, 24, 60, 0.05); }
  .nav-cta { text-align: center; margin-top: 6px; box-shadow: none; }

  /* Mobile: the desktop hero reserves nav-h + 72px + 40px above the badge,
     which reads as a dead band on a phone — collapse it. */
  .hero { padding-top: calc(var(--nav-h) + 18px); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { padding: 16px 0 0; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-device .device { margin-bottom: -100px; }
  .pricing-box, .support-grid { grid-template-columns: 1fr; }

  .soon-band { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .soon-copy .kicker { justify-content: center; }
  .soon-copy .lead { margin-left: auto; margin-right: auto; }
  .soon-art { display: none; }
}

/* Phone */
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .feature-band { padding-top: 52px; padding-bottom: 52px; }
  .wrap { padding: 0 20px; }
  .grid-cards, .privacy-grid { grid-template-columns: 1fr; }
  .strip-inner { gap: 10px 24px; font-size: 14px; }
  .hero-badge { font-size: 11.5px; letter-spacing: 0.07em; padding: 7px 13px; }
  .btn { padding: 14px 20px; font-size: 15px; }
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
  .f-media .device { width: min(300px, 74vw); }
  .f-media.duo { padding: 0 34px 44px 0; }
  .f-media.duo .device { width: min(250px, 60vw); }
  .f-media.duo .device-front { width: min(196px, 48vw); bottom: -44px; }
  .paper-receipt { width: 150px; font-size: 8.5px; padding: 13px 12px 6px; left: -8px; }
  .paper-receipt strong { font-size: 10px; }
}

/* Platforms row collapses gracefully */
@media (max-width: 760px) {
  .platform-row { grid-template-columns: 1fr; gap: 44px; }
}
