/* PulseID public website — "Daylight" (PulseID Redesign, Round 2 canvas).
   Server-rendered by src/views/site/*.eta. Class names follow the design canvas
   so the two can be compared side by side. Desktop values are the canvas's;
   the media queries at the bottom are the phone/tablet layouts the canvas
   does not draw. */

:root {
  --bg: #ffffff; --bg2: #f3f3f1; --ink: #15171a; --body: #474c54; --mute: #676c75;
  --line: #e2e1de; --blue: #0369a1; --sky: #0ea5e9; --navy: #0f172a;
  --go: #15803d; --rev: #c2410c; --no: #c81e1e;
  --gutter: 24px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid #0284c7; outline-offset: 2px;
}
button { font: inherit; cursor: pointer; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lnk { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.a-in { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------------- nav */
.a-nav { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 20; }
.a-nav .a-in { height: 68px; display: flex; align-items: center; gap: 40px; }
.a-brand { display: flex; align-items: center; flex: none; }
.a-brand img { height: 32px; width: auto; }
.a-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--body); }
.a-links > a:hover, .a-drop summary:hover { color: var(--ink); }
.a-links [aria-current="page"] { color: var(--ink); font-weight: 600; }
.a-drop { position: relative; }
.a-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.a-drop summary::-webkit-details-marker { display: none; }
.a-drop summary .i { width: 14px; height: 14px; transition: transform .15s; }
.a-drop[open] summary .i { transform: rotate(180deg); }
.a-drop-menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px rgba(15,23,42,.10); padding: 8px; display: grid; }
details:not([open]) > .a-drop-menu, details:not([open]) > .a-menu-panel { display: none; }
.a-drop-menu a { padding: 9px 12px; border-radius: 5px; color: var(--ink); }
.a-drop-menu a:hover { background: var(--bg2); }
.a-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.a-tel { font-weight: 600; white-space: nowrap; }
.a-menu { display: none; }

/* ---------------- buttons */
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; border: 1px solid var(--ink); white-space: nowrap; }
.a-btn:hover { background: #2a2d32; }
.a-btn.lg { height: 50px; padding: 0 22px; font-size: 16px; }
.a-btn.ghost { background: transparent; color: var(--ink); border-color: #c9c8c4; }
.a-btn.ghost:hover { background: var(--bg2); }
.a-btn .i { width: 16px; height: 16px; }
.a-btn .play { fill: currentColor; stroke: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- home hero */
.a-hero { padding: 84px 0 0; }
.a-hero h1 { font-size: 70px; line-height: 1.0; letter-spacing: -.032em; font-weight: 700; margin: 0; max-width: 1000px; }
.a-hero-row { display: grid; grid-template-columns: 560px 1fr; gap: 80px; margin: 36px 0 56px; align-items: end; }
.a-hero-row p { margin: 0; font-size: 19px; line-height: 1.55; color: var(--body); }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--mute); }
.a-hero-img { background: #e3e5e9; }
.a-hero-img img { width: auto; max-width: 100%; height: auto; max-height: min(520px, 58vh); margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.a-stage-cap { max-width: calc(1120px + 2 * var(--gutter)); margin: 14px auto 0; padding: 0 var(--gutter); font-size: 14px; color: var(--mute); }

/* ---------------- sections */
.a-sec { padding: 120px 0; }
.a-sec.alt { background: var(--bg2); }
.a-sec.tight { padding-top: 40px; }
.a-sec.flush { padding-top: 24px; }
.a-h2 { font-size: 46px; line-height: 1.06; letter-spacing: -.025em; font-weight: 700; margin: 0 0 20px; }
.a-h2.narrow { max-width: 720px; }
.a-lede { font-size: 18px; color: var(--body); margin: 0; max-width: 34em; }
.a-shot { width: 360px; max-width: 100%; height: auto; border-radius: 10px; }

.a-outcomes { display: grid; grid-template-columns: 1fr 360px; gap: 96px; align-items: center; }
.a-olist { margin-top: 40px; border-top: 1px solid var(--line); }
.a-orow { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.a-orow h3 { margin: 0; font-size: 16px; font-weight: 600; }
.a-orow p { margin: 0; color: var(--body); font-size: 15.5px; }
.a-orow p span { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }

.a-split { display: grid; grid-template-columns: 560px 1fr; min-height: 680px; background: var(--bg2); }
.a-split-dev { background: #e4e6ea; overflow: hidden; }
.a-split-dev img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.a-split-txt { padding: 96px 72px 80px 64px; min-width: 0; }
.a-cmp { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 14.5px; }
.a-cmp-h { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.a-cmp-h b { font-weight: 600; }
.a-cmp-h span { color: var(--rev); font-weight: 600; font-size: 13.5px; }
.a-cmp-scroll { overflow-x: auto; position: relative; }
.a-cmp table { width: 100%; border-collapse: collapse; }
.a-cmp th { text-align: left; font-weight: 500; color: var(--mute); font-size: 12.5px; padding: 10px 14px 6px; }
.a-cmp td:first-child, .a-cmp th:first-child { padding-left: 18px; white-space: nowrap; }
.a-cmp td { padding: 9px 14px; border-top: 1px solid var(--line); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; white-space: nowrap; }
.a-cmp td:first-child { font-family: inherit; font-size: 14px; color: var(--body); }
.a-cmp td.x { color: var(--rev); font-weight: 600; }
.a-cmp td.ok { color: var(--go); }
.a-cmp .i { width: 15px; height: 15px; vertical-align: -3px; }
.a-cmp-note { margin: 14px 0 0; font-size: 14.5px; color: var(--mute); }

.a-guide { display: grid; grid-template-columns: 1fr 460px; gap: 88px; align-items: center; }
.a-guide-img { display: flex; justify-content: center; }

.a-mgr { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: start; }
.a-mgr ul { margin: 28px 0 0; padding: 0; list-style: none; font-size: 15.5px; color: var(--body); }
.a-mgr li { padding: 12px 0; border-top: 1px solid var(--line); }
.a-mgr li b { color: var(--ink); font-weight: 600; }
.a-mgr img { width: 100%; border-radius: 8px; }

.a-band { display: grid; grid-template-columns: 1fr 460px; background: #15171a; }
.a-band img { width: 100%; height: 560px; object-fit: cover; }
.a-band-txt { padding: 72px 64px; align-self: center; }
.a-band-txt .a-h2 { color: #fff; }
.a-band-txt .a-lede { color: #c9ccd2; }

/* ---------------- pricing */
.a-price-h { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.a-price-h p { margin: 0; color: var(--body); max-width: 30em; font-size: 16.5px; }
.a-price-wrap { overflow-x: auto; position: relative; }
table.a-price { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.a-price th, .a-price td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.a-price thead th { vertical-align: bottom; padding-bottom: 22px; border-bottom: 1px solid var(--ink); font-weight: 400; }
.a-price thead th:first-child { width: 280px; }
.a-price .pn { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.a-price .pn small { font-size: 12px; font-weight: 600; color: var(--mute); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.a-price .pp { font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 2px; }
.a-price .pu { color: var(--mute); font-size: 13.5px; }
.a-price tbody th { font-weight: 500; color: var(--body); }
.a-price td.no { color: #8a8e95; }
.a-price .rec { background: #f5f9fc; }
.a-price tfoot td { border-bottom: 0; padding-top: 22px; }
.a-price .soon { color: var(--mute); font-size: 14.5px; }
.a-ent { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; background: var(--bg2); border-radius: 8px; font-size: 15.5px; }
.a-ent b { font-weight: 600; }
.a-comp { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 72px var(--gutter); border-top: 1px solid var(--line); margin-top: 96px; }
.a-comp h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.015em; margin: 0; font-weight: 700; }
.a-comp p { margin: 0 0 14px; color: var(--body); font-size: 16px; }

/* ---------------- inner pages */
.w-hero { padding: 72px 0 56px; }
.w-hero.short { padding-bottom: 24px; }
.w-hero h1 { font-size: 56px; line-height: 1.02; letter-spacing: -.03em; font-weight: 700; margin: 0 0 18px; max-width: 900px; }
.w-hero p { font-size: 19px; color: var(--body); margin: 0; max-width: 40em; }
.w-hero .btns { margin-top: 28px; }
.w-hero .fine { margin-top: 14px; }
.w-crumb { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.w-crumb a { color: var(--blue); }
.w-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.w-split.top { align-items: start; }
.w-img { width: 100%; border-radius: 8px; }
.w-img.device { max-width: 420px; justify-self: center; }
.w-img.phone { max-width: 360px; justify-self: center; }
.w-pr { border-top: 1px solid var(--line); margin-top: 36px; }
.w-pr > div { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.w-pr h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; }
.w-pr h3 span { display: block; font-size: 13.5px; font-weight: 500; color: var(--mute); margin-bottom: 6px; }
.w-pr p { margin: 0; font-size: 16.5px; color: var(--body); }
.w-other { margin: 36px 0 0; font-size: 15.5px; color: var(--body); }
.w-types { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-top: 14px; }
.w-types a { font-size: 15px; font-weight: 500; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.w-cta { background: var(--navy); color: #fff; padding: 64px 0; }
.w-cta .a-in { display: flex; align-items: center; gap: 48px; }
.w-cta h2 { margin: 0; font-size: 36px; letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }
.w-cta p { margin: 6px 0 0; color: #c8ccd4; font-size: 16.5px; }
.w-cta .btns { margin-left: auto; flex: none; }
.w-cta .a-btn { background: #fff; color: var(--ink); border-color: #fff; }
.w-cta .a-btn.ghost { background: transparent; color: #fff; border-color: #4a5468; }
.w-cta .a-btn.ghost:hover { background: #1c2740; }
.w-faq { border-top: 1px solid var(--line); margin-top: 28px; }
.w-faq > div { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 56px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.w-faq.stack { border-top: 0; margin-top: 0; }
.w-faq.stack > div { grid-template-columns: 1fr; gap: 4px; }
.w-faq.stack > div:first-child { padding-top: 0; }
.w-faq h3 { margin: 0; font-size: 17px; font-weight: 600; }
.w-faq p { margin: 0; font-size: 16px; color: var(--body); }
.w-cmp { width: 100%; border-collapse: collapse; font-size: 16px; }
.w-cmp th, .w-cmp td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.w-cmp tbody th { font-weight: 500; color: var(--mute); width: 220px; }
.w-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.w-facts + .w-facts { border-top-color: var(--line); }
.w-facts > div { padding: 22px 28px 26px 0; }
.w-facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.w-facts > div:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.w-facts h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.w-facts p { margin: 0; font-size: 15.5px; color: var(--body); }
.w-dtable-wrap { overflow-x: auto; margin-top: 24px; }
.w-dtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.w-dtable th, .w-dtable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.w-dtable thead th { font-weight: 600; font-size: 13.5px; color: var(--mute); border-bottom: 1px solid var(--ink); }
.w-note { margin: 16px 0 0; color: var(--body); font-size: 15.5px; }
.w-list { margin: 0; padding-left: 20px; font-size: 16.5px; color: var(--body); line-height: 1.6; }
.w-list li + li { margin-top: 6px; }

/* ---------------- signup */
.w-signup { display: grid; grid-template-columns: 600px minmax(0, 1fr); min-height: calc(100vh - 69px); }
.w-signup-f { padding: 56px 80px 56px 120px; }
.w-signup-f h1 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 700; }
.w-signup-f > p { margin: 0 0 28px; color: var(--mute); font-size: 15.5px; }
.w-signup-side { background: #e4e6ea; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px; }
.w-signup-side img { width: 100%; max-width: 560px; }
.w-signup-side ol { margin: 28px 0 0; padding: 0 0 0 20px; font-size: 15.5px; color: var(--body); max-width: 440px; }
.w-signup-side li { margin-bottom: 8px; }
.w-signup-side li b { color: var(--ink); }
.f-err { margin: 0 0 18px; padding: 12px 14px; border-radius: 7px; background: #fdf0f0; color: #8f1414; font-size: 14.5px; }
.ad-f { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.ad-lbl { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; color: var(--ink); padding: 0; }
.ad-in { width: 100%; height: 42px; border: 1px solid #c4c3bf; border-radius: 7px; padding: 0 12px; font: 400 15px "Schibsted Grotesk", system-ui, sans-serif; color: var(--ink); background: #fff; }
select.ad-in { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23676c75' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 36px; }
.ad-in:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(2,132,199,.25); }
.ad-help { font-size: 13px; color: var(--mute); margin-top: 5px; }
.ad-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.w-plan label { position: relative; border: 1px solid #c4c3bf; border-radius: 8px; padding: 12px 14px; display: block; font-size: 14px; color: var(--body); cursor: pointer; }
.w-plan input { position: absolute; opacity: 0; pointer-events: none; }
.w-plan label:has(input:checked) { border: 2px solid var(--ink); padding: 11px 13px; }
.w-plan label:has(input:focus-visible) { outline: 2px solid #0284c7; outline-offset: 2px; }
.w-plan b { display: block; font-size: 15px; color: var(--ink); }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 20px; }
.f-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.f-check a, .f-alt a { color: var(--blue); font-weight: 600; }
.f-submit { width: 100%; }
.f-alt { margin: 18px 0 0; font-size: 14.5px; color: var(--mute); }

/* ---------------- long-form docs (guide, privacy, terms) */
.lg-wrap { display: grid; grid-template-columns: 260px minmax(0, 680px); gap: 72px; padding-top: 64px; padding-bottom: 96px; }
.lg-toc { align-self: start; position: sticky; top: 24px; font-size: 14px; padding-top: 8px; }
.lg-toc b { display: block; font-size: 13px; color: var(--mute); font-weight: 600; margin-bottom: 10px; }
.lg-toc a { display: block; padding: 5px 0; color: var(--body); }
.lg-toc a:hover { color: var(--ink); }
.lg-doc h1 { font-size: 44px; letter-spacing: -.025em; margin: 0 0 6px; font-weight: 700; line-height: 1.1; }
.lg-doc .upd { color: var(--mute); font-size: 14.5px; margin: 0 0 32px; }
.lg-doc h2 { font-size: 21px; font-weight: 700; margin: 40px 0 10px; letter-spacing: -.01em; scroll-margin-top: 24px; }
.lg-doc h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.lg-doc p, .lg-doc li { font-size: 16px; line-height: 1.65; color: var(--body); }
.lg-doc p { margin: 0 0 14px; }
.lg-doc ul, .lg-doc ol { margin: 0 0 14px; padding-left: 22px; }
.lg-doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lg-doc strong, .lg-doc b, .lg-doc .ui { color: var(--ink); font-weight: 600; }
.lg-doc code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px; background: var(--bg2); padding: 1px 5px; border-radius: 4px; }
.lg-doc .help { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------------- get the app, 404 */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; border-radius: 10px; background: var(--ink); color: #fff; }
.store small { display: block; font-size: 11.5px; opacity: .8; }
.store b { display: block; font-size: 19px; font-weight: 600; line-height: 1.1; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.w-hero p.small { font-size: 15px; margin-top: 28px; }
.w-hero p.small + p.small { margin-top: 10px; color: var(--mute); }
.w-hero p.small a { color: var(--blue); font-weight: 600; }
.nf { text-align: center; padding: 140px 0 160px; }
.nf h1 { font-size: 64px; margin: 0 0 10px; letter-spacing: -.03em; line-height: 1.05; }
.nf p { font-size: 18px; color: var(--body); margin: 0 0 28px; }
.nf .btns { justify-content: center; }
.nf p.small { font-size: 15px; margin-top: 28px; }
.nf p.small a { color: var(--blue); font-weight: 600; }

/* ---------------- demo video */
.vid { border: 0; padding: 0; background: #000; width: min(1100px, 94vw); border-radius: 8px; overflow: hidden; }
.vid::backdrop { background: rgba(9,10,12,.85); }
.vid video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.vid form { position: absolute; top: 10px; right: 10px; margin: 0; }
.vid button { background: rgba(21,23,26,.85); color: #fff; border: 1px solid #4a4d52; border-radius: 6px; height: 36px; padding: 0 14px; font-weight: 600; }

/* ---------------- footer */
.a-foot { background: var(--navy); color: #c8ccd4; padding: 64px 0 40px; font-size: 14.5px; }
.a-foot .a-brand img { height: 30px; }
.a-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.a-foot h2 { margin: 0 0 14px; font-size: 13px; color: #fff; font-weight: 600; }
.a-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.a-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.a-foot p { margin: 14px 0 0; max-width: 26em; }
.a-foot-bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid #263045; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #9aa2b1; font-size: 13px; }

/* ================================================================
   Narrower than the 1120px design
   ================================================================ */
@media (max-width: 1180px) {
  .a-hero h1 { font-size: 58px; }
  .a-hero-row { grid-template-columns: 1fr 1fr; gap: 48px; }
  .a-outcomes { gap: 56px; grid-template-columns: 1fr 300px; }
  .a-split { grid-template-columns: 44% minmax(0, 1fr); }
  .a-split-txt { padding: 72px 40px; }
  .a-guide { gap: 48px; grid-template-columns: 1fr 360px; }
  .a-mgr { gap: 48px; grid-template-columns: 340px 1fr; }
  .a-band { grid-template-columns: 1fr 400px; }
  .a-band-txt { padding: 56px 40px; }
  .w-pr > div { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
  .w-faq > div { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
  .w-signup { grid-template-columns: 1fr 1fr; }
  .w-signup-f { padding: 56px 48px; }
}

@media (max-width: 960px) {
  :root { --gutter: 20px; }
  .a-links, .a-right .a-tel, .a-right .signin { display: none; }
  .a-nav .a-in { gap: 16px; }
  .a-right { gap: 10px; }
  .a-menu { display: block; position: static; }
  .a-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; border: 1px solid #c9c8c4; }
  .a-menu summary::-webkit-details-marker { display: none; }
  .a-menu .i { width: 20px; height: 20px; }
  .a-menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(15,23,42,.10); padding: 8px var(--gutter) 20px; display: grid; }
  .a-menu-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .a-menu-panel b { display: block; padding: 16px 0 4px; font-size: 13px; color: var(--mute); font-weight: 600; }
  .a-menu-panel .sub { padding-left: 14px; }
  .a-menu-panel .tel { font-weight: 600; border-bottom: 0; }

  .a-hero { padding-top: 48px; }
  .a-hero h1 { font-size: 44px; line-height: 1.04; }
  .a-hero-row { grid-template-columns: 1fr; gap: 28px; margin: 24px 0 40px; }
  .a-hero-row p { font-size: 17.5px; }
  .a-sec { padding: 72px 0; }
  .a-sec.tight { padding-top: 24px; }
  .a-h2 { font-size: 34px; line-height: 1.1; }
  .a-lede { font-size: 17px; }
  .a-outcomes, .a-guide, .a-mgr, .w-split, .a-comp { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .a-outcomes .a-shot, .a-guide-img { justify-self: center; }
  .a-orow { grid-template-columns: 1fr; gap: 4px; }
  .a-split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .a-split-dev img { height: auto; max-height: 560px; object-fit: contain; }
  .a-split-txt { padding: 56px var(--gutter); }
  .a-band { grid-template-columns: minmax(0, 1fr); }
  .a-band img { height: 340px; }
  .a-band-txt { padding: 48px var(--gutter); }
  .a-price-h { flex-direction: column; align-items: start; gap: 12px; }
  .a-ent { flex-direction: column; align-items: start; }
  .a-comp { margin-top: 64px; padding-top: 56px; padding-bottom: 56px; }
  .a-comp h3 { font-size: 26px; }
  .w-hero { padding: 48px 0 40px; }
  .w-hero h1 { font-size: 40px; line-height: 1.05; }
  .w-hero p { font-size: 17.5px; }
  .w-pr > div, .w-faq > div { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .w-cta { padding: 48px 0; }
  .w-cta .a-in { flex-direction: column; align-items: start; gap: 24px; }
  .w-cta h2 { font-size: 28px; }
  .w-cta .btns { margin-left: 0; }
  .w-facts { grid-template-columns: 1fr; }
  .w-facts > div, .w-facts > div + div { padding: 18px 0; border-left: 0; }
  .w-facts > div + div { border-top: 1px solid var(--line); }
  .w-cmp tbody th { width: 38%; }
  .w-cmp th, .w-cmp td { padding: 14px 12px; }
  .w-signup { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .w-signup-f { padding: 40px var(--gutter); max-width: 560px; }
  .w-signup-side { padding: 40px var(--gutter); }
  .lg-wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 64px; }
  .lg-toc { position: static; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
  .lg-doc h1 { font-size: 34px; }
  .nf { padding: 80px 0 96px; }
  .nf h1 { font-size: 44px; }
  .a-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .a-foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .a-nav .a-in { height: 60px; }
  .a-brand img { height: 26px; }
  .a-nav .a-btn { height: 40px; padding: 0 12px; font-size: 14.5px; }
  .a-menu-panel { top: 100%; }
  .a-hero h1 { font-size: 36px; }
  .a-h2 { font-size: 29px; }
  .w-hero h1 { font-size: 34px; }
  .btns .a-btn.lg { width: 100%; }
  .ad-row2, .w-plan { grid-template-columns: 1fr; }
  .a-cmp-h { flex-direction: column; gap: 2px; }
  .store { width: 100%; }
  table.a-price { min-width: 600px; font-size: 14px; }
  .a-price th, .a-price td { padding: 12px 12px; }
  .a-price thead th:first-child, .a-price tbody th, .a-price tfoot td:first-child, .a-price thead td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; width: 128px; min-width: 128px; }
  .a-sec.alt .a-price tbody th { background: var(--bg2); }
  .a-price .pp { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Header: five links + phone + actions; keep every item on one line. */
.a-links a, .a-links summary, .a-right a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) {
  .a-nav .a-in { gap: 24px; }
  .a-links { gap: 18px; }
  .a-right .a-tel { display: none; }
}
