/* Horizon AirMap — site de présentation. Sombre par défaut (comme l'application), clair si le système le demande. */
:root {
  --bg: #0a111e; --bg-2: #0e1727; --surface: #121d31; --surface-2: #17243c;
  --line: #22314f; --line-2: #2c3e61;
  --text: #e9eef7; --muted: #9aa8bf; --faint: #6c7b95;
  --accent: #2f80ff; --accent-d: #1f66d9; --accent-t: #7fb0ff; --teal: #13c296;
  --ok: #3ad29f; --no: #ff7a85;
  --grid: rgba(127, 176, 255, .055);
  --shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  --r: 12px;
  --wrap: 1180px;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  /* dBm scale used by the app's heat maps: strong (-30) on the left, weak (-90) on the right */
  --heat: linear-gradient(90deg, #0f8a5c 0%, #1fb36b 22%, #7ccf3a 42%, #f2d026 60%, #f08a24 78%, #e8424e 100%);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fb; --bg-2: #eef2f8; --surface: #ffffff; --surface-2: #f7f9fc;
    --line: #dfe5ef; --line-2: #cfd8e6;
    --text: #0f1b2d; --muted: #56657c; --faint: #8592a6;
    --accent-t: #1f66d9; --ok: #0f8a5c; --no: #c8323c;
    --grid: rgba(31, 102, 217, .06);
    --shadow: 0 20px 50px rgba(15, 27, 45, .14), 0 2px 6px rgba(15, 27, 45, .06);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f5f7fb; --bg-2: #eef2f8; --surface: #ffffff; --surface-2: #f7f9fc;
  --line: #dfe5ef; --line-2: #cfd8e6;
  --text: #0f1b2d; --muted: #56657c; --faint: #8592a6;
  --accent-t: #1f66d9; --ok: #0f8a5c; --no: #c8323c;
  --grid: rgba(31, 102, 217, .06);
  --shadow: 0 20px 50px rgba(15, 27, 45, .14), 0 2px 6px rgba(15, 27, 45, .06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); font-stretch: 100%; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-t); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.6vw, 58px); font-weight: 760; font-stretch: 88%; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 720; font-stretch: 90%; letter-spacing: -.02em; }
h3 { font-size: 22px; font-weight: 680; font-stretch: 95%; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 16px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-t); outline-offset: 2px; }

.eyebrow { color: var(--accent-t); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.tag { display: inline-block; color: var(--teal); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.note, .fine { color: var(--faint); font-size: 13.5px; }
.fine a { color: var(--muted); }
.center { text-align: center; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font: 600 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(47, 128, 255, .35); }
.btn-primary:hover { background: var(--accent-d); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--accent-t); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 17px; font-stretch: 95%; white-space: nowrap; }
.brand b, .brand-foot b { font-weight: 760; }
.brand sup { font-size: 10px; color: var(--muted); margin-left: 1px; }
.logo-bg { fill: var(--accent); }
.logo-a, .logo-b { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.logo-a { opacity: .55; }
.logo-dot { fill: #fff; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--text); background: var(--surface); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .2s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: block; }
  .hide-sm { display: none; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s .18s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .18s, transform .18s; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
}

/* ---------------------------------------------------------------- login popover */
.login { position: relative; }
#login-btn svg { width: 15px; height: 15px; }
#login-btn.in { border-color: var(--teal); color: var(--teal); }
.login-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); padding: 20px; z-index: 60; }
.login-pop::before { content: ''; position: absolute; top: -6px; right: 28px; width: 10px; height: 10px; background: var(--surface); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); transform: rotate(45deg); }
.pop-title { font-weight: 700; font-size: 17px; margin: 0 0 2px; }
.pop-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; }
.login-pop label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 5px; }
.login-pop input { width: 100%; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 15px var(--sans); }
.login-pop input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 128, 255, .22); }
#lg-otp { font-family: var(--mono); font-size: 22px; letter-spacing: .2em; text-align: center; height: 52px; }
.login-pop .btn { margin-top: 16px; height: 42px; }
.pop-err { margin: 12px 0 0; padding: 9px 11px; border-radius: 8px; background: color-mix(in srgb, var(--no) 14%, transparent); color: var(--no); font-size: 13.5px; }
.pop-foot { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 600px) { .login-pop { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; } .login-pop::before { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 720px; height: 720px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(47, 128, 255, .22), transparent 62%); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 14ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 0; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.hero-facts div { padding: 16px 18px 0 0; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--faint); font-size: 12.5px; }
.hero-facts dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; white-space: nowrap; }
.hero-shot { margin: 0; }
.window { border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window-bar span { margin-left: 10px; color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scale { margin: 14px 4px 0; }
.scale-bar { display: block; height: 6px; border-radius: 3px; background: var(--heat); }
.scale-labels { display: flex; justify-content: space-between; margin-top: 6px; color: var(--faint); font-size: 11.5px; }
.scale-labels b { font-weight: 400; }
@media (max-width: 920px) {
  .hero { padding-top: 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { max-width: 18ch; }
}
@media (max-width: 600px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .hero-facts dd { margin: 0; font-size: 16px; }
}

/* zoomable screenshots */
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.zoom img { width: 100%; }

/* ---------------------------------------------------------------- flow */
.flow { padding: 40px 0 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.steps li { padding: 24px 22px; position: relative; }
.steps li + li { border-left: 1px solid var(--line); }
.steps h3 { font-size: 18px; margin: 12px 0 6px; }
.steps p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-t); font-size: 13px; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .steps li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------------------------------------------------------------- sections */
.features, .msp, .compare, .pricing, .download, .faq { padding: 96px 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
@media (max-width: 600px) { .features, .msp, .compare, .pricing, .download, .faq { padding: 64px 0; } .sec-head { margin-bottom: 36px; } }

.feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; padding-top: 0; }
.feat.flip .feat-copy { order: 2; }
.feat-copy p { color: var(--muted); }
.feat-copy h3 { font-size: clamp(22px, 2.3vw, 28px); }
.feat-media { margin: 0; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.feat-media.panel-shot { max-width: 380px; justify-self: center; }
.feat-media img.narrow { max-width: 460px; margin: 0 auto; }
.feat-media.duo { position: relative; overflow: visible; border: 0; background: none; box-shadow: none; padding-bottom: 48px; }
.feat-media.duo > .zoom:first-child { border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); }
.feat-media.duo .over { position: absolute; width: 38%; right: -12px; bottom: 0; border-radius: 10px; border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); }
.feat-media.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border: 0; background: none; box-shadow: none; overflow: visible; }
.feat-media.pages .zoom { border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #fff; }
.feat-media.pages .zoom:nth-child(2) { transform: translateY(18px); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.kpi-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0 12px; }
.kpi-row > div { flex: 1 1 200px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); position: relative; overflow: hidden; }
.kpi-row > div::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--heat); opacity: .9; }
.kpi-big { display: block; font-size: 24px; font-weight: 600; color: var(--text); }
.kpi-row span:not(.kpi-big) { font-size: 13.5px; color: var(--muted); }
@media (max-width: 920px) {
  .feat { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
  .feat.flip .feat-copy { order: 0; }
  .feat-media.duo .over { right: 8px; width: 42%; }
}

.grid-feats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.grid-feats li { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.grid-feats b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.grid-feats span { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 920px) { .grid-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .grid-feats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- MSP */
.msp { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.msp-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; align-items: start; }
.msp-main { margin: 0; }
.msp-main .zoom { border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); }
.msp-main figcaption { margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.msp-main figcaption b { color: var(--text); }
.msp-list > div { padding: 20px 0; border-top: 1px solid var(--line); }
.msp-list > div:first-child { border-top: 0; padding-top: 0; }
.msp-list h3 { font-size: 18px; margin-bottom: 6px; }
.msp-list p { color: var(--muted); font-size: 15px; margin: 0; }
.console-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; margin-top: 72px; }
.console-row figure { margin: 0; border-radius: var(--r); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--shadow); }
.console-row h3 { font-size: clamp(22px, 2.3vw, 28px); }
.console-row p { color: var(--muted); }
@media (max-width: 920px) { .msp-grid, .console-row { grid-template-columns: minmax(0, 1fr); gap: 28px; } .console-row { margin-top: 48px; } }

/* gallery of secondary screenshots */
.gallery { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery li { margin: 0; }
.gallery .zoom { border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; background: var(--surface); }
.gallery .zoom img { height: 100%; object-fit: cover; object-position: top left; transition: transform .3s; }
.gallery .zoom:hover img { transform: scale(1.03); }
.gallery span { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- comparison */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 14px; font-weight: 700; position: sticky; top: 0; background: var(--surface-2); vertical-align: bottom; }
.cmp tbody th { font-weight: 500; color: var(--muted); width: 22%; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp .us { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.cmp thead .us { color: var(--accent-t); background: color-mix(in srgb, var(--accent) 16%, var(--surface-2)); box-shadow: inset 0 3px 0 var(--accent); }
.cmp td.yes::before, .cmp td.no::before { display: inline-block; width: 18px; font-weight: 700; }
.cmp td.yes::before { content: '✓'; color: var(--ok); }
.cmp td.no::before { content: '–'; color: var(--no); }
.cmp td.no { color: var(--muted); }
.cmp .price td { font-size: 13.5px; color: var(--muted); }
.cmp .price b { display: block; font-size: 17px; color: var(--text); margin-bottom: 2px; }
.cmp th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp thead th:first-child { background: var(--surface-2); z-index: 2; }
.compare .fine { margin-top: 18px; max-width: 900px; }
.table-hint { display: none; margin: 0 0 10px; color: var(--faint); font-size: 13px; }
@media (max-width: 900px) { .table-hint { display: block; } }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 28px; margin: 0; padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 24px; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: 15px; }
.plan-price { margin: 8px 0 6px; color: var(--muted); }
.plan-price .mono { font-size: 34px; font-weight: 600; color: var(--text); letter-spacing: -.02em; }
.plan-price small { display: block; font-size: 13.5px; color: var(--faint); }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.download { border-top: 1px solid var(--line); }
.dls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.dl:hover, .dl:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.dl-os { font-size: 20px; font-weight: 600; }
.dl-os::after { content: " ↓"; color: var(--accent-t); }
.dl-meta { color: var(--muted); font-size: 13px; }
@media (max-width: 920px) { .dls { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------------------------------------------------------------- FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 8px; top: 27px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.qa details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.qa p { color: var(--muted); margin: -6px 0 22px; max-width: 70ch; }
@media (max-width: 920px) { .faq-in { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ---------------------------------------------------------------- final + footer */
.final { padding: 88px 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 120% at 50% 120%, rgba(47, 128, 255, .18), transparent 70%); }
.final-in { text-align: center; }
.final h2 { max-width: 22ch; margin: 0 auto; }
.final .cta-row { justify-content: center; }
.final-tel { color: var(--muted); font-size: 15px; padding: 0 8px; }
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.brand-foot { color: var(--text); font-size: 17px; margin-bottom: 6px; }
.foot nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; align-content: start; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; margin: 8px 0 0; }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 48px 24px; background: rgba(4, 8, 16, .88); backdrop-filter: blur(4px); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255, 255, 255, .2); }
body.lb-open { overflow: hidden; }

