/* Midnightly — site styles. System fonts, no frameworks, light + dark. */

:root {
  color-scheme: light dark;
  --gold: #F0D7A1;
  --gold-deep: #72541B;
  --navy: #0B1630;
  --night-0: #050915;
  --night-1: #0B1630;
  --night-ink: #EEF0F5;
  --night-muted: #B8C0D0;
  --night-line: rgba(238, 240, 245, .12);

  --bg: #F7F4EE;
  --bg-2: #EFEADF;
  --surface: #FFFFFF;
  --ink: #0E1A33;
  --muted: #465068;
  --line: rgba(14, 26, 51, .12);
  --accent: #72541B;
  --accent-ink: #FFFFFF;
  --accent-bg: #0B1630;
  --chip: rgba(114, 84, 27, .09);
  --stage: radial-gradient(120% 90% at 50% 0%, #FFFDF8 0%, #F1EBDD 60%, #E9E1CF 100%);
  --shadow-lg: 0 40px 80px -30px rgba(14, 26, 51, .35), 0 18px 36px -18px rgba(14, 26, 51, .25);
  --radius: 22px;
  --wrap: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070B17;
    --bg-2: #0B1225;
    --surface: #0F1830;
    --ink: #EEF0F5;
    --muted: #AEB7CA;
    --line: rgba(238, 240, 245, .11);
    --accent: #F0D7A1;
    --accent-ink: #0B1630;
    --accent-bg: #F0D7A1;
    --chip: rgba(240, 215, 161, .1);
    --stage: radial-gradient(120% 90% at 50% 0%, #17244A 0%, #0D1530 55%, #0A1024 100%);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 18px 36px -18px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #E2B861; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; background: var(--chip); padding: .1em .35em; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 10px; font-weight: 650; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 40em; }

/* ---------- Night surfaces (header, hero, mastheads, CTA) ---------- */
.night {
  --ink: var(--night-ink);
  --muted: var(--night-muted);
  --line: var(--night-line);
  --accent: var(--gold);
  color: var(--night-ink);
  background:
    radial-gradient(60% 70% at 78% 12%, rgba(240, 215, 161, .16) 0%, rgba(240, 215, 161, 0) 60%),
    radial-gradient(80% 60% at 10% 0%, #16244A 0%, rgba(22, 36, 74, 0) 70%),
    linear-gradient(180deg, var(--night-1) 0%, var(--night-0) 100%);
  position: relative;
  isolation: isolate;
}
.night a:not(.button):not(.appstore):not(.brand) { color: var(--gold); }
.stars::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 16% 62%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 23% 34%, #F6E7C4 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 46% 48%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 24%, #F6E7C4 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 74%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 66% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 56%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 79% 30%, #F6E7C4 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 70%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 16%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 96% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 92%, #fff 50%, transparent 51%),
    radial-gradient(1.1px 1.1px at 27% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 12% 40%, #F6E7C4 50%, transparent 51%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 48, .94);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(238, 240, 245, .08);
  color: var(--night-ink);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--night-ink); text-decoration: none; font-family: var(--font-display);
  font-weight: 650; font-size: 1.14rem; letter-spacing: -.02em;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(240, 215, 161, .18); }
.navlinks { display: flex; gap: .25rem; margin-left: auto; }
.navlinks a {
  color: var(--night-muted); text-decoration: none; font-size: .92rem; font-weight: 500;
  padding: .45rem .75rem; border-radius: 999px; transition: color .15s, background .15s;
}
.navlinks a:hover, .navlinks a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-cta {
  background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 650; font-size: .9rem;
  padding: .5rem 1rem; border-radius: 999px; white-space: nowrap;
}
.nav-cta:hover { background: #fff; }

/* ---------- Buttons & App Store badge ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent-bg); color: var(--accent-ink);
  font: 600 1rem/1 var(--font); text-decoration: none;
  padding: .95rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.button.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px currentColor; }
.night .button { background: var(--gold); color: var(--navy); }
.night .button.ghost { background: transparent; color: var(--gold); }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \2192"; }
.text-link:hover { text-decoration: underline; }

.appstore {
  display: inline-flex; align-items: center; gap: .55rem;
  height: 54px; padding: 0 1.15rem 0 .95rem;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; box-shadow: inset 0 0 0 1px #A6A6A6;
  transition: transform .15s ease, box-shadow .15s ease;
}
.appstore:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #c9c9c9, 0 12px 28px -12px rgba(0, 0, 0, .7); }
.appstore svg { width: 26px; height: 32px; fill: #fff; flex: none; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.appstore small { font-size: .68rem; font-weight: 500; letter-spacing: .01em; }
.appstore b { font-size: 1.42rem; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }

/* ---------- Device frames ---------- */
.device {
  position: relative; margin: 0;
  width: var(--w, 300px);
  padding: calc(var(--w, 300px) * .034);
  border-radius: calc(var(--w, 300px) * .165);
  background: linear-gradient(145deg, #2B2F38 0%, #0B0C10 40%, #1A1C22 100%);
  box-shadow:
    inset 0 0 0 1.5px #4A4F5B,
    inset 0 0 0 4px #0A0B0E,
    var(--shadow-lg);
}
.device img {
  display: block; width: 100%; height: auto;
  border-radius: calc(var(--w, 300px) * .132);
  background: #F7F4EE;
}
.device::after { /* Dynamic Island */
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(var(--w, 300px) * .055);
  width: 30%; height: calc(var(--w, 300px) * .085);
  background: #000; border-radius: 999px;
}
.device--ipad {
  padding: calc(var(--w) * .028);
  border-radius: calc(var(--w) * .06);
}
.device--ipad img { border-radius: calc(var(--w) * .036); }
.device--ipad::after { display: none; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { padding-bottom: clamp(48px, 8vw, 110px); }
.hero-icon { width: 84px; height: 84px; border-radius: 19px; margin-bottom: 1.6rem; box-shadow: 0 0 0 1px rgba(240, 215, 161, .22), 0 18px 50px -10px rgba(240, 215, 161, .35); }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--night-muted); margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.cta-note { font-size: .9rem; color: var(--night-muted); margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.trust li {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; color: var(--night-ink);
  padding: .4rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(238, 240, 245, .1);
}
.trust svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.hero-visual { position: relative; height: clamp(560px, 50vw, 680px); align-self: end; }
.hero-visual::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(240, 215, 161, .28), rgba(240, 215, 161, 0) 70%);
  z-index: -1;
}
.hero-visual .device { position: absolute; bottom: -150px; }
.hero-visual .device--front { --w: clamp(260px, 25vw, 340px); right: 2%; z-index: 2; }
.hero-visual .device--back { --w: clamp(230px, 22vw, 296px); left: -2%; bottom: -70px; transform: rotate(-7deg); }

/* ---------- Fact strip ---------- */
.facts { border-bottom: 1px solid var(--line); background: var(--bg); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.facts span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 1.1rem; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 150px); }
.feature--flip .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 1.1rem; }
.feature-copy .lead { margin-bottom: 1.6rem; }
.stage {
  position: relative; border-radius: 32px; background: var(--stage);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; justify-content: center; align-items: flex-start;
  padding: clamp(36px, 5vw, 56px) 1rem 0; overflow: hidden;
  height: clamp(500px, 50vw, 620px);
}
.stage .device { --w: clamp(240px, 23vw, 290px); }
.stage--pair .device:first-child { transform: translateX(-24%) translateY(46px) rotate(-4deg); position: absolute; --w: clamp(210px, 20vw, 250px); opacity: .95; }
.stage--pair .device:last-child { transform: translateX(22%); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2rem; color: var(--muted); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23B08A42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--accent); background: var(--chip); padding: .3rem .7rem; border-radius: 999px; }
.note {
  border-radius: 16px; padding: 1rem 1.2rem; background: var(--chip); color: var(--ink);
  font-size: .95rem; margin-bottom: 1.6rem; border: 1px solid var(--line);
}
.note strong { color: var(--ink); }

/* Showcase: iPad + iPhone */
.showcase { position: relative; display: flex; justify-content: center; padding-bottom: 20px; }
.showcase .device--ipad { --w: min(600px, 80vw); }
.showcase .device--phone { --w: clamp(150px, 19vw, 240px); position: absolute; right: max(0px, calc(50% - 420px)); bottom: -10px; }
.showcase::before {
  content: ""; position: absolute; inset: 10% 5% -5%; z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 215, 161, .35), transparent 75%);
}

/* Verified stat */
.stat-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.3rem; margin-bottom: 1.8rem;
  border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.stat-card b { font-family: var(--font-display); font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.stat-card span { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.stat-card span strong { color: var(--ink); display: block; }

/* Rules chips */
.rule-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.rule-chips li { font-size: .85rem; font-weight: 550; padding: .45rem .8rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }

/* ---------- Privacy ---------- */
.privacy-band { padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.privacy-band h2 { color: #fff; }
.privacy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-card {
  padding: 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(238, 240, 245, .1);
}
.p-card svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 1.1rem; }
.p-card h3 { color: #fff; margin-bottom: .45rem; }
.p-card p { color: var(--night-muted); font-size: .95rem; margin: 0; }
.privacy-foot { margin-top: 2.2rem; color: var(--night-muted); font-size: .95rem; }

/* ---------- Everything else grid ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mini {
  padding: 1.35rem; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.mini svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: .8rem; }
.mini h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.mini p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.plan h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.plan .price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: .9rem 0 .2rem; color: var(--ink); }
.plan .price small { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan .term { font-size: .88rem; color: var(--muted); margin-bottom: 1.2rem; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .5rem; font-size: .9rem; color: var(--muted); }
.plan ul li { position: relative; padding-left: 1.4rem; line-height: 1.45; }
.plan ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: .8rem; height: .8rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23B08A42' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan .plan-cta { margin-top: auto; }
.plan .button { width: 100%; padding: .8rem 1rem; font-size: .95rem; }
.plan--featured {
  background: linear-gradient(180deg, #13214A 0%, #0B1630 100%);
  box-shadow: 0 0 0 1.5px var(--gold), 0 30px 60px -30px rgba(11, 22, 48, .7);
  --ink: #fff; --muted: var(--night-muted); color: #fff;
}
.plan--featured h3 { color: #fff; }
.plan--featured .button { background: var(--gold); color: var(--navy); }
.badge {
  position: absolute; top: -12px; left: 1.4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  background: var(--gold); color: var(--navy); padding: .3rem .7rem; border-radius: 999px;
}
.plans-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.plan--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: start; }
.plan--wide .price { margin-top: .5rem; }
.plan--wide .term { min-height: 0; }
.plan--wide ul { margin: .5rem 0 0; }
.plans-note { font-size: .88rem; color: var(--muted); margin: 1.5rem 0 0; text-align: center; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.compare caption { text-align: left; padding: 1rem 1.3rem 0; color: var(--muted); font-size: .85rem; }
.compare th, .compare td { padding: .95rem 1.3rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th, .compare thead td { border-top: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; padding-top: 1.1rem; }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody th { color: var(--ink); font-weight: 600; width: 24%; }
.compare td { color: var(--muted); }
.compare tbody td:nth-of-type(1) { color: var(--ink); font-weight: 500; background: var(--chip); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-right: 2.5rem; margin: -.3rem 0 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.cta-band img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 1.6rem; box-shadow: 0 0 0 1px rgba(240, 215, 161, .22), 0 20px 60px -10px rgba(240, 215, 161, .4); }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band .lead { margin: 0 auto 2rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Subpage masthead + prose ---------- */
.masthead { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.masthead h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 1rem; }
.masthead .lead, .masthead p { color: var(--night-muted); }
.masthead p:last-child { margin-bottom: 0; }
.prose { max-width: 760px; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); letter-spacing: -.025em; margin: 2.6rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--accent); }
.prose .faq { margin: 0; max-width: none; }
.prose section { margin-top: 2.6rem; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 2.5rem;
}
.contact-card p { margin: 0; }
.contact-card strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* Press */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 1.2rem 0 1rem; }
.press-grid a { display: block; text-decoration: none; color: var(--muted); font-size: .88rem; text-align: center; }
.press-grid img { display: block; width: 100%; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -24px rgba(0, 0, 0, .5); margin-bottom: .6rem; transition: transform .2s; }
.press-grid a:hover img { transform: translateY(-3px); }
.asset-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.asset-list li { margin: 0 !important; }
.asset-list a {
  display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 14px; text-decoration: none;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-weight: 550; font-size: .95rem;
}
.asset-list a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.asset-list .sw { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--navy); }
.asset-list .sw.light { background: #F7F4EE; box-shadow: inset 0 0 0 1px var(--line); }
.asset-list .sw img { width: 26px; height: 26px; }

/* ---------- Verifier ---------- */
.verify { display: grid; gap: .7rem; margin: 0 0 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.verify label { font-weight: 650; color: var(--ink); }
.verify textarea {
  width: 100%; font: .88rem/1.55 var(--mono); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; resize: vertical;
}
.verify textarea:focus-visible { outline: 3px solid #E2B861; outline-offset: 2px; }
.help { font-size: .88rem; color: var(--muted); margin: 0; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .3rem; }
.result { margin: 1rem 0 2rem; border-radius: 18px; }
.result:empty { display: none; }
.result.valid, .result.invalid, .result.unreadable, .result.unavailable { padding: 1.1rem 1.3rem; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.result.valid { box-shadow: inset 0 0 0 1.5px #3E9A6E; }
.result.invalid, .result.unreadable { box-shadow: inset 0 0 0 1.5px #C9604D; }
.result-head { font-weight: 650; color: var(--ink) !important; margin: 0 0 .6rem; }
.result dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; font-size: .9rem; }
.result dt { color: var(--muted); }
.result dd { margin: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: .85rem; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2.6rem; }
.two-col > section { margin: 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.two-col h2 { font-size: 1.25rem; margin: 0 0 .7rem; }
.two-col ul { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-0); color: var(--night-muted); padding: 64px 0 36px; font-size: .92rem; }
.site-footer a { color: var(--night-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--night-line); }
.foot-brand p { margin: .9rem 0 1.4rem; max-width: 30ch; }
.site-footer .brand { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.foot-cols h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin: 0 0 .9rem; font-weight: 650; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot-cols li { overflow-wrap: anywhere; }
.disclaimer { margin: 1.8rem 0 1rem; font-size: .88rem; max-width: 72ch; color: var(--night-ink); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-grid, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 32px); }
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .feature--flip .feature-copy { order: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { height: 560px; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-visual .device--front { --w: 270px; left: auto; right: 4%; }
  .hero-visual .device--back { --w: 236px; left: 2%; }
  .plans-2, .two-col { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 2rem; }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage { height: 560px; }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; gap: 0 1rem; min-height: 0; padding: .7rem 0 0; }
  .nav-cta { margin-left: auto; }
  .navlinks { order: 3; width: 100%; margin: .25rem 0 .35rem -.7rem; overflow-x: auto; scrollbar-width: none; }
  .navlinks::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 110px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .plans, .privacy-grid, .mini-grid, .asset-list { grid-template-columns: 1fr; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 1.2rem .9rem; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts strong { font-size: 1.25rem; }
  .hero-visual { height: 470px; }
  .hero-visual .device--front { --w: 224px; right: 0; }
  .hero-visual .device--back { --w: 196px; left: 0; bottom: -40px; }
  .stage { height: 500px; padding-top: 32px; }
  .stage .device { --w: 236px; }
  .stage--pair .device:first-child { --w: 196px; transform: translateX(-30%) translateY(46px) rotate(-4deg); }
  .stage--pair .device:last-child { transform: translateX(26%); }
  .showcase .device--phone { --w: 128px; right: -4px; bottom: -16px; }
  .showcase .device--ipad { --w: calc(100vw - 72px); margin-right: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:last-child { grid-column: 1 / -1; }
  .faq summary { font-size: 1rem; }
  .press-grid { gap: 12px; }
  .plan--wide { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
