/* iDrive Copilot — teaser site */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #07090c;
  --bg-2: #0c1016;
  --surface: #111720;
  --surface-2: #161e29;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2fa;
  --muted: #9aa6b8;
  --faint: #7d8899;
  --accent: #5ad0ff;
  --accent-2: #1c8fd6;
  --accent-ink: #04121b;
  --ok: #4fd38b;
  --up: #f2b84b;
  --no: #6b7686;
  --bad: #ff7a6b;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
  --gutter: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --mark-body: #eef2fa;
  --mark-visor: #0a0e13;
  --mark-eyes: var(--accent);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 650; }
h2 { font-size: clamp(30px, 4.2vw, 46px); max-width: 20ch; text-wrap: balance; }
h3, h4 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* Logo mark (symbol instances read these custom properties) */
.mark__body { fill: var(--mark-body); }
.mark__cap, .mark__eyes { fill: var(--mark-eyes); }
.mark__visor { fill: var(--mark-visor); }
.mark__eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.08); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 0 0 0 rgba(90, 208, 255, 0);
}
.btn:hover { text-decoration: none; background: #7cdaff; box-shadow: 0 8px 28px -8px rgba(90, 208, 255, .55); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--small { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--wide { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 12, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 30px; height: 26px; }
.brand__name { white-space: nowrap; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.brand__name b { font-weight: 700; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 15px; white-space: nowrap; }
.nav__links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(28, 143, 214, .22), transparent 70%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  padding: 6px 14px 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.02);
  margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(242,184,75,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,184,75,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(242,184,75,0); } }
h1 { font-size: clamp(36px, 4.8vw, 58px); text-wrap: balance; font-weight: 680; letter-spacing: -0.035em; line-height: 1.04; }
.accent { color: var(--accent); }
.lead { margin-top: 22px; font-size: 19px; color: #c6cfdc; max-width: 34em; }
.lead--quiet { margin-top: 12px; color: var(--muted); font-size: 17px; }

.quick { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 480px; }
.quick input { grid-column: 1; }
.quick__note, .quick .form-status { grid-column: 1 / -1; }
.quick__note { font-size: 13px; color: var(--faint); }
.quick__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

input[type="email"], input[type="text"], input[type="search"], select {
  width: 100%; height: 48px; padding: 0 16px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 12px;
  font: 400 16px/1 var(--font);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: var(--faint); }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(90, 208, 255, .18); }
select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa6b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.form-status { font-size: 14px; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--bad); }

/* Hero visual: a head-unit display */
.hero__visual { position: relative; perspective: 1400px; }
.screen {
  position: relative; aspect-ratio: 8 / 3.4; border-radius: 22px; padding: 10px;
  background: linear-gradient(160deg, #1b222d, #0a0d12 60%);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.05);
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.screen__glass {
  position: relative; height: 100%; border-radius: 14px; overflow: hidden;
  display: grid; grid-template-columns: 34% 1fr; align-items: center; gap: 4%; padding: 0 7% 0 5%;
  background:
    radial-gradient(90% 120% at 15% 50%, rgba(28,143,214,.26), transparent 60%),
    linear-gradient(180deg, #0d1622, #05080c);
}
.screen__glass::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 38%);
  pointer-events: none;
}
.screen__brand { display: grid; justify-items: center; gap: 10px; }
.screen__mark { width: 78%; max-width: 130px; filter: drop-shadow(0 0 24px rgba(90, 208, 255, .35)); }
.screen__title { font-size: clamp(13px, 1.3vw, 16px); font-weight: 600; letter-spacing: .06em; color: var(--text); }
.boot { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(6px, 1vw, 11px); }
.boot li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-bottom: clamp(6px, 1vw, 11px); border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: clamp(11px, 1.05vw, 14px); color: var(--muted);
  opacity: 0; animation: bootIn .5s ease-out forwards;
}
.boot li:last-child { border-bottom: 0; padding-bottom: 0; }
.boot li:nth-child(1) { animation-delay: .4s; }
.boot li:nth-child(2) { animation-delay: .9s; }
.boot li:nth-child(3) { animation-delay: 1.4s; }
.boot li:nth-child(4) { animation-delay: 1.9s; }
.boot b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.boot__ok { color: var(--ok); }
.boot__ok::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fd38b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.boot__lock { color: var(--bad); font-size: .82em; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(255,122,107,.5); border-radius: 5px; padding: 2px 6px; }
@keyframes bootIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.screen__bar { position: absolute; left: 5%; right: 5%; bottom: 0; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.screen__bar span { display: block; width: 30%; height: 100%; background: var(--accent); animation: load 2.6s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

/* Store buttons: disabled until launch, then replaced by the official badges */
.stores { margin-top: 32px; display: flex; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 176px; height: 54px; padding: 0 18px 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: #0b0f15; color: var(--text);
  font: inherit; text-align: left; cursor: not-allowed; opacity: .9;
}
.store svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.store b { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }

/* Sections */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section__lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 40em; }
.section__lead b, .card p b, .steps p b, details p b { color: var(--text); font-weight: 650; }

/* Never seen before */
.firsts { position: relative; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, rgba(28,143,214,.20), transparent 70%), var(--bg); text-align: center; }
.firsts .kicker { color: var(--bad); }
.firsts__title { font-size: clamp(40px, 7vw, 84px); max-width: none; letter-spacing: -0.04em; line-height: 1.0; }
.firsts__lead { margin: 22px auto 0; font-size: 19px; color: #c6cfdc; max-width: 36em; }
.files { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.file {
  position: relative; overflow: hidden; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
  display: grid; gap: 12px;
}
.file::after {
  content: "CLASSIFIED"; position: absolute; right: -8px; top: 58px; transform: rotate(-12deg);
  padding: 4px 12px; border: 2px solid rgba(255,122,107,.55); border-radius: 6px;
  color: rgba(255,122,107,.7); font: 800 13px/1 var(--font); letter-spacing: .2em;
}
.file__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.file__tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.file__no { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.redact {
  height: 14px; width: 92%; border-radius: 4px;
  background: linear-gradient(90deg, #1d2633 0%, #1d2633 40%, #2a3646 50%, #1d2633 60%, #1d2633 100%);
  background-size: 300% 100%; animation: sheen 3.2s ease-in-out infinite;
}
.redact--title { height: 26px; width: 72%; margin-bottom: 6px; background-color: #222d3b; }
.redact--b { width: 58%; } .redact--c { width: 80%; }
.redact--short { width: 54%; } .redact--mid { width: 70%; }
@keyframes sheen { 0% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.file__foot { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.file__foot svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.firsts__cta { margin-top: 44px; display: grid; justify-items: center; gap: 18px; }
.firsts__cta p { color: var(--muted); font-size: 17px; }
.firsts__cta b { color: var(--text); font-weight: 600; }
.hl { color: var(--text); font-weight: 600; background: linear-gradient(transparent 64%, rgba(90,208,255,.22) 64%, rgba(90,208,255,.22) 92%, transparent 92%); padding: 0 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Problem */
.problem { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.versus { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.versus__col { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.versus__col h3 { font-size: 15px; letter-spacing: .02em; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.versus__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.versus__col li { position: relative; padding-left: 32px; color: #c6cfdc; }
.versus__col li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.versus__col--bad li::before { background-color: rgba(255,122,107,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a6b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.versus__col--good { border-color: rgba(90,208,255,.28); background: linear-gradient(180deg, rgba(90,208,255,.06), var(--surface) 60%); }
.versus__col--good h3 { color: var(--accent); }
.versus__col--good li { color: var(--text); }
.versus__col li b { color: var(--text); font-weight: 650; }
.truth { margin-top: 40px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; max-width: 34em; }
.versus__col--good li::before { background-color: rgba(90,208,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ad0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Safety cards */
.safety { margin-top: 96px; padding-top: 80px; border-top: 1px solid var(--line); }
.safety__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 650; max-width: 20ch; text-wrap: balance; }
.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card__icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(90,208,255,.1); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* Process */
.process { background: var(--bg-2); }
.process__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 4px; }
.steps__n { font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 2px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Compatibility */
.compat { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.compat .facts { flex-direction: column; margin: 0; }
.compat .facts li { padding: 18px 24px; }
.tested { margin-top: 28px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); border: 1px solid rgba(79,211,139,.3); background: rgba(79,211,139,.06); }
.tested svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(79,211,139,.12); fill: none; stroke: var(--ok); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tested p { color: var(--muted); font-size: 16px; }
.tested b { color: var(--text); font-weight: 650; }
.tested a { font-weight: 600; }

.models { margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.models summary { font-size: 16px; font-weight: 600; color: var(--muted); }
.models summary span { font-weight: 400; color: var(--faint); margin-left: 6px; font-size: 14px; }
.models[open] summary { color: var(--text); }
.models__body { padding-bottom: 28px; display: grid; gap: 18px; }
.models__how { color: var(--muted); font-size: 15px; max-width: 52em; }
.models__how b { color: var(--text); font-weight: 600; }
.models__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.models__list li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.models__name { font-weight: 600; }
.models__list code { background: none; border: 0; padding: 0; color: var(--faint); font-size: 12.5px; text-align: right; }
.models__when { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; }
.models__no { color: var(--muted); font-size: 14px; max-width: 60em; }
.models__no b { color: var(--text); font-weight: 600; }
.fineprint { font-size: 13px; color: var(--faint); }

/* Notify */
.notify { background: radial-gradient(80% 120% at 0% 0%, rgba(28,143,214,.16), transparent 60%), var(--bg-2); }
.notify__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.signup { padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 16px; box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; color: var(--muted); }
.req { font-size: 12px; color: var(--faint); margin-left: 4px; }
.field-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.beta {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer;
  padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(90,208,255,.3); background: rgba(90,208,255,.06);
  font-size: 14.5px; color: var(--muted); transition: border-color .15s ease, background .15s ease;
}
.beta:hover { border-color: rgba(90,208,255,.55); }
.beta:has(input:checked) { border-color: var(--accent); background: rgba(90,208,255,.12); }
.beta b { color: var(--text); font-weight: 600; }
.beta input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* FAQ */
.faq > details { max-width: 820px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand--footer .brand__mark { width: 26px; height: 22px; }
.footer__legal { font-size: 13px; color: var(--faint); max-width: 60em; }
.footer a { color: var(--muted); font-size: 14px; }

/* Hero highlights */
.callout {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,122,107,.12), rgba(90,208,255,.08));
  border: 1px solid rgba(255,122,107,.35); color: var(--text); font-weight: 550; font-size: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.callout:hover { text-decoration: none; border-color: rgba(255,122,107,.7); transform: translateX(2px); }
.callout__tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--bad); color: #1a0705; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.callout__arrow { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.proof { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: #c6cfdc; }
.proof li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(79,211,139,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fd38b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }


/* Known features */
.known { margin-top: 64px; text-align: left; }
.known__title { text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 650; letter-spacing: -0.02em; }
.known__grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.known__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.known__item svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(90,208,255,.1); fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.known__item h3 { margin-bottom: 6px; }
.known__item p { color: var(--muted); font-size: 15.5px; }
.known__item p b { color: var(--text); font-weight: 600; }
.known__item--wide { grid-column: 1 / -1; border-color: rgba(90,208,255,.28); background: linear-gradient(90deg, rgba(90,208,255,.07), var(--surface) 70%); }

/* Compatibility facts */
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.facts li { display: grid; gap: 2px; padding: 14px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.facts b { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* Subscriber perks */
.perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { position: relative; padding-left: 34px; color: var(--muted); font-size: 17px; }
.perks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(90,208,255,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ad0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.perks b { color: var(--text); font-weight: 600; }
.perks + .section__lead { margin-top: 26px; font-size: 16px; }

/* Nav active link */
.nav__links a.is-active { color: var(--text); }
.nav__links a { position: relative; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -21px; height: 2px; background: var(--accent); border-radius: 2px; }

/* Responsive (widest first, so narrower rules win) */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 96px; }
  .hero__grid, .process__grid, .notify__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 560px; margin-top: 20px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .known__grid { grid-template-columns: 1fr; }
  .compat { grid-template-columns: 1fr; gap: 28px; }
  .models__list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* Nav: a second, scrollable row once the links no longer fit beside the logo */
  html { scroll-padding-top: 116px; }
  .nav__inner { flex-wrap: wrap; height: auto; padding-top: 12px; row-gap: 6px; }
  .nav .btn--small { margin-left: auto; }
  .nav__links {
    display: flex; order: 3; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px; gap: 22px; overflow-x: auto; scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { padding-bottom: 6px; }
  .nav__links a.is-active::after { bottom: 4px; }

  /* Classified files: one compact row each */
  .files { margin-top: 36px; gap: 10px; grid-template-columns: 1fr; }
  .file { grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 16px; }
  .file__head { margin: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
  .file__tag { font-size: 10.5px; }
  .file .redact--title { margin: 0; height: 18px; width: calc(100% - 130px); }
  .file .redact:not(.redact--title), .file__foot { display: none; }
  .file::after { top: 50%; right: 10px; transform: translateY(-50%) rotate(-8deg); font-size: 10.5px; padding: 3px 8px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .lead { font-size: 17px; }
  .callout { font-size: 14.5px; }
  .quick { grid-template-columns: 1fr; }
  .quick .btn { width: 100%; }

  /* Hero screen: no tilt, and let it grow to fit the checklist */
  .screen { transform: none; aspect-ratio: auto; }
  .screen__glass { grid-template-columns: 26% 1fr; gap: 16px; padding: 20px 16px 22px; }
  .screen__title { font-size: 12px; }
  .boot li { font-size: 12.5px; }
  .stores { margin-top: 24px; gap: 10px; }
  .store { flex: 1 1 0; min-width: 0; padding: 0 12px; height: 52px; }
  .store b { font-size: 15.5px; }

  .firsts__lead { font-size: 17px; }
  .known { margin-top: 48px; }
  .safety { margin-top: 64px; padding-top: 56px; }
  .versus, .cards { grid-template-columns: 1fr; }
  .versus__col, .card, .signup { padding: 22px; }

  /* Safety cards: icon beside the text instead of above it */
  .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start; }
  .card__icon { grid-row: span 2; margin: 0; }
  .card h4 { margin-bottom: 4px; }

  .facts li { flex: none; padding: 12px 16px; }
  .compat .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .compat .facts li { padding: 12px 14px; align-content: start; }
  .compat .facts b { font-size: 16px; line-height: 1.25; }
  .compat .facts span { font-size: 12.5px; line-height: 1.35; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .boot li { opacity: 1; }
}
