/* ==========================================================================
   Diagnostix360 — "Signal" design system  (v11)
   Static site for Cloudflare Pages. No frameworks, no external requests.

   v11 changes
   -----------
   1. Real self-hosted webfonts (Space Grotesk / Inter / IBM Plex Mono, OFL).
   2. Screenshot components rebuilt: every screenshot is shown WHOLE.
      No fixed pixel heights, no object-fit:cover cropping.
   3. Numbered section spine so the page has a readable structure.
   4. Dead rules removed.
   ========================================================================== */

/* ---------- 1. Fonts ---------------------------------------------------- */

@font-face{font-family:'Space Grotesk';src:url('/assets/fonts/space-grotesk-latin-600.685bbbf69f.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;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:'Space Grotesk';src:url('/assets/fonts/space-grotesk-latin-700.35f8aec56c.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;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';src:url('/assets/fonts/inter-latin-400.8909904ab6.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;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';src:url('/assets/fonts/inter-latin-500.f3779f1efc.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;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';src:url('/assets/fonts/inter-latin-600.f9a06e79cd.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap;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:'IBM Plex Mono';src:url('/assets/fonts/ibm-plex-mono-latin-500.01d2854474.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap;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}

/* ---------- 2. Tokens --------------------------------------------------- */

:root{
  /* Graphite ink instead of the old blue-black navy: neutral, instrument-like. */
  --ink:#10161C; --ink-soft:#3C4750; --muted:#5D6B78;
  --paper:#FFFFFF; --canvas:#EDEFEC; --line:#D6DAD6; --line-soft:#E6E9E5;

  /* Primary is a deep instrument blue. The old bright teal now survives only
     as the semantic "good" family, so brand colour never competes with a
     diagnostic result. --trace is reserved for dark surfaces only. */
  --signal:#12467E; --signal-mid:#2E7DD1; --signal-wash:#E8EDF4;
  --trace:#00A5C4;

  /* Back-compat aliases: existing markup still references the teal names. */
  --teal:var(--signal); --teal-deep:var(--signal); --teal-wash:var(--signal-wash);

  --good:#2C7A4B; --good-wash:#E6EFE8;
  --watch:#8A5C12; --watch-wash:#F5EEDF;
  --issue:#B23A2B; --issue-wash:#F5E5E2;
  --slate:#3C566F; --slate-wash:#E9EDF1; --violet:#4C4A7A;

  /* Space Grotesk is now the wordmark face only. Headings run on Inter 600,
     which reads institutional rather than startup. */
  --mark:'Space Grotesk',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --disp:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:'Inter',system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  /* Squared geometry. Shadows are gone from flat surfaces; only genuinely
     lifted things (nav, lightbox, floating proof cards) keep one. */
  --wrap:1120px; --r:4px;
  --shadow:0 1px 2px rgba(16,22,28,.05);
  --nav-h:66px; --sec-pad:54px;

  /* screenshot aspect ratios — taken from the source files, never guessed */
  --phone-ratio:720/1280;
  --page-ratio:900/1272;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);color:var(--ink);background:var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.6}
a{color:var(--teal-deep);text-decoration:none}
img,svg{display:block;max-width:100%}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}

h1,h2,h3,h4,.foot-h{font-family:var(--disp);letter-spacing:-.021em;line-height:1.15;color:var(--ink)}
h2{font-size:clamp(25px,3.7vw,36px);font-weight:600}
h3{font-size:19px;font-weight:600}
p{color:var(--ink-soft)}
.lead{font-size:clamp(16px,2.2vw,18.5px);color:var(--ink-soft);line-height:1.68;max-width:68ch}

/* The eyebrow is no longer a tracked-out all-caps label. It is sentence case
   with a short leading rule, read as a scale gradation rather than a shout. */
.eyebrow{display:inline-flex;align-items:center;gap:9px;font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--signal)}
.eyebrow::before{content:"";width:16px;height:1px;background:currentColor;flex-shrink:0;opacity:.65}
.eyebrow-on-dark{color:#7FD4E8}
.secnum .eyebrow::before{display:none}

/* ---------- 3. Section spine -------------------------------------------
   Every homepage section carries a number. This is what turns a long stack
   of cards into something a visitor can navigate and re-find.
   ----------------------------------------------------------------------- */

section{padding:var(--sec-pad) 0;scroll-margin-top:calc(var(--nav-h) + 14px - var(--sec-pad))}
.alt{background:var(--canvas)}

.sec-head{max-width:700px;margin-bottom:30px}
.sec-head h2{margin:10px 0 12px}
.sec-head-centered{margin-left:auto;margin-right:auto}

.secnum{display:flex;align-items:center;gap:12px}
.secnum .n{
  font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.02em;
  color:var(--signal);background:transparent;
  border:1px solid var(--line);border-radius:2px;
  padding:4px 8px;line-height:1;flex-shrink:0;
}
.secnum .rule{height:1px;background:var(--line);flex:1;max-width:70px}
.alt .secnum .rule{background:#DCE4EF}

/* ---------- 4. Navigation ----------------------------------------------- */

.nav{position:sticky;top:0;z-index:50;background:rgba(16,22,28,.95);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,165,196,.28)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--nav-h)}
.brand{display:flex;align-items:center;gap:11px}
.brand .logo{width:34px;height:34px;border-radius:3px;background:var(--signal);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.brand .logo.app-logo{background:none;overflow:hidden}
.brand .logo.app-logo img{width:100%;height:100%;object-fit:contain}
.brand b{font-family:var(--mark);font-weight:700;font-size:18px;color:#fff;letter-spacing:-.02em}
.navlinks{display:flex;align-items:center;gap:18px}
.navlinks a{color:#B6BFC7;font-size:13.5px;font-weight:500;white-space:nowrap;padding-bottom:2px;border-bottom:1px solid transparent}
.navlinks a:hover{color:#fff;border-bottom-color:var(--trace)}
.navtoggle{display:none;background:none;border:0;color:#fff;font-size:24px;cursor:pointer;line-height:1}

.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--body);font-weight:600;font-size:14px;padding:11px 18px;border-radius:3px;border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.btn-primary{background:var(--signal);color:#fff}
.btn-primary:hover{background:#0E3A69}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.3)}
.btn-ghost:hover{border-color:var(--trace);color:#fff}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#242E37}
.btn-outline-soft{border-color:#C3C8C3;color:var(--ink);background:#fff}
.btn-outline-soft:hover{border-color:var(--signal);color:var(--signal)}
.btn-lg{padding:14px 24px;font-size:15px;border-radius:3px}

@media(max-width:980px){
  .navlinks{position:fixed;inset:var(--nav-h) 0 auto 0;background:var(--ink);flex-direction:column;align-items:stretch;gap:0;padding:10px 22px 20px;border-bottom:1px solid rgba(255,255,255,.08);display:none;max-height:calc(100vh - var(--nav-h));overflow-y:auto}
  .navlinks.open{display:flex}
  .navlinks a{padding:13px 0;border-bottom:1px solid rgba(255,255,255,.06)}
  .navlinks .btn,.navlinks .play-badge-link{margin-top:14px;align-self:flex-start}
  .navtoggle{display:block}
}

/* ---------- 5. Hero ------------------------------------------------------ */

/* One bold move, spent here: a faint measurement grid over flat graphite,
   closed by a cyan baseline rule. No gradient washes anywhere else. */
.hero{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 68px),
    linear-gradient(180deg,#151C23,#0D1319);
  color:#fff;padding:40px 0 56px;overflow:hidden;
  border-bottom:1px solid rgba(0,165,196,.4);
}
.hero .grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.hero h1{color:#fff;font-size:clamp(32px,5.2vw,52px);font-weight:600;letter-spacing:-.026em}
/* Marked rather than recoloured: a measurement underline, not a highlight word.
   text-decoration (not box-shadow) so it clears descenders and wraps cleanly. */
.hero h1 .hl{color:#fff;text-decoration:underline;text-decoration-color:var(--trace);text-decoration-thickness:3px;text-underline-offset:.16em}
.hero .lead{color:#AAB4BD;margin:16px 0 24px;max-width:520px}
.hero .cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero .trust{display:flex;flex-wrap:wrap;gap:9px 22px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-family:var(--mono);font-size:12px;color:#8C97A1}
.hero .trust span{display:flex;align-items:center;gap:9px}
.hero .trust i{width:2px;height:12px;border-radius:0;background:var(--trace);display:inline-block;flex-shrink:0}

/* ---------- 6. Screenshot components ------------------------------------
   THE FIX. Previously .shot img /    screenshot was scaled up to fill the box and then clipped — up to 46% of
   the screen was cut off, and the three treatments disagreed with each other.

   Now the container carries the *source aspect ratio* and the image is
   contained inside it. Nothing is ever cropped or stretched. Scale is
   controlled by one variable, --dw, so every screenshot on the site is
   sized by the same rule.
   ----------------------------------------------------------------------- */

.device{
  position:relative;
  width:100%;
  max-width:var(--dw,300px);
  margin-inline:auto;
  aspect-ratio:var(--ratio,var(--phone-ratio));
  border:8px solid #0A0E12;
  border-radius:34px;
  background:#0A0E12;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(16,22,28,.22);
}
.device::before{
  content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:76px;height:14px;background:#05080F;border-radius:0 0 12px 12px;z-index:2;
}
.device img,.device picture{width:100%;height:100%;display:block}
.device img{object-fit:contain;border-radius:26px}

/* A report page rendered as a sheet of paper, again at its true ratio. */
.paper{
  width:100%;
  max-width:var(--pw,330px);
  margin-inline:auto;
  aspect-ratio:var(--ratio,var(--page-ratio));
  background:#fff;
  border:1px solid var(--line);
  border-radius:2px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(16,22,28,.10);
}
.paper img,.paper picture{width:100%;height:100%;display:block}
.paper img{object-fit:contain}

/* zoomable wrapper */
.zoom{display:block;cursor:zoom-in;border:0;background:none;padding:0;width:100%}
.zoom:focus-visible{outline:3px solid var(--signal-mid);outline-offset:6px;border-radius:4px}

/* hero device */
.hero-device{--dw:330px;max-width:330px;margin:0 auto}
.hero-device figcaption{color:#8C97A1;font-size:12.5px;line-height:1.5;text-align:center;margin-top:14px}

/* two phones side by side */
.phone-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start;--dw:280px}
.phone-pair figcaption{text-align:center;font-size:12.5px;color:var(--muted);margin-top:11px;line-height:1.5}

/* one centred phone with a caption */
.shot-single{--dw:300px;max-width:340px;margin-left:auto;margin-right:auto}
.shot-single figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:14px;line-height:1.55}

/* gallery of app screenshots */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 24px;--dw:252px}
.gallery figure{display:flex;flex-direction:column}
.gallery figcaption{margin-top:16px;text-align:center;font-size:13px;color:var(--ink-soft);line-height:1.55}
.gallery figcaption b{display:block;font-family:var(--disp);font-weight:600;color:var(--ink);font-size:14.5px;margin-bottom:5px;letter-spacing:-.01em}
.shot-fine{text-align:center;font-family:var(--mono);font-size:11.5px;color:var(--muted);margin-top:34px}

/* report previews */
.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px 24px;align-items:start;--pw:300px}
.report-grid figcaption{margin-top:18px;text-align:center}
.report-grid figcaption b{display:block;color:var(--ink);font-family:var(--disp);font-weight:600;font-size:16px;margin-bottom:6px}
.report-grid figcaption span{display:block;color:var(--ink-soft);font-size:13.5px;line-height:1.55}

/* legacy .shot / .shot-wide kept for the guide and support pages,
   rebuilt on the same uncropped basis */
.shot{--dw:250px}
.shot figcaption{margin-top:15px;font-size:13px;color:var(--ink-soft);line-height:1.5;text-align:center}
.shot figcaption b{display:block;font-family:var(--disp);font-weight:600;color:var(--ink);font-size:14px;margin-bottom:4px}
.shot-wide{--dw:300px;max-width:340px;margin-left:auto;margin-right:auto}
.shot-wide figcaption{font-size:13px;color:var(--muted);text-align:center;margin-top:14px}

/* ---------- 7. Lightbox -------------------------------------------------- */

.lightbox{position:fixed;inset:0;z-index:200;background:rgba(10,14,18,.94);display:none;align-items:center;justify-content:center;padding:28px}
.lightbox.open{display:flex}
.lightbox img{max-width:min(94vw,760px);max-height:91vh;width:auto;height:auto;border-radius:4px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lightbox .lb-close{position:absolute;top:18px;right:20px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:22px;line-height:1;width:44px;height:44px;border-radius:3px;cursor:pointer}
.lightbox .lb-close:hover{background:rgba(255,255,255,.18)}
.lightbox .lb-cap{position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#AAB4BD;font-size:13px;padding:0 24px}

/* ---------- 8. Cards, lists, steps --------------------------------------- */

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

/* Flat panels with a ruled top edge rather than floating shadowed cards.
   No hover-lift: nothing on this page pretends to be a physical object. */
.card{background:var(--paper);border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:var(--r);padding:24px;transition:border-color .15s}
.card:hover{border-color:#BFC5BF;border-top-color:var(--signal)}
.card .ico{width:38px;height:38px;border-radius:2px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;font-size:17px;font-weight:600}
.card h3{font-size:17px;margin-bottom:7px}
.card p{font-size:14px}
.tint-teal{background:var(--signal-wash);color:var(--signal)}
.tint-blue{background:var(--slate-wash);color:var(--slate)}
.tint-amber{background:var(--watch-wash);color:var(--watch)}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{position:relative;padding-top:6px}
.step .n{font-family:var(--mono);font-weight:500;font-size:14px;width:32px;height:32px;border-radius:2px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:13px}
.step h3{font-size:16px;margin-bottom:6px}
.step p{font-size:13.5px}

.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.checklist{list-style:none;display:flex;flex-direction:column;gap:17px}
.checklist li{display:flex;gap:13px;align-items:flex-start}
.checklist .ck{flex-shrink:0;width:24px;height:24px;border-radius:2px;background:var(--signal-wash);color:var(--signal);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600}
.checklist h3{font-size:15px;margin-bottom:2px}
.checklist p{font-size:13.5px}

/* ---------- 9. Path diagram ---------------------------------------------- */

.path-visual{background:#141A20;border:1px solid rgba(0,165,196,.22);border-radius:4px;padding:28px;overflow:hidden}
.path-visual svg{width:100%;height:auto}
.path-visual figcaption{color:#8C97A1;font-size:12.5px;text-align:center;margin-top:16px;line-height:1.6}
.path-node{fill:#1D252D;stroke:#46545F;stroke-width:2}
.path-node.active{fill:#3A2321;stroke:#D9705F}
.path-line{stroke:#5A6874;stroke-width:5;stroke-linecap:butt}
.path-line.active{stroke:#D9705F}
.path-label{fill:#F2F4F5;font-family:var(--disp);font-weight:600;font-size:16px;text-anchor:middle}
.path-sub{fill:#98A3AD;font-family:var(--body);font-weight:500;font-size:11px;text-anchor:middle}
.path-flag{fill:#D9705F;font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.04em;text-anchor:middle}
.path-kicker{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:#7FD4E8;margin-bottom:16px}
@media(max-width:760px){
  .path-visual{padding:20px 14px;overflow-x:auto}
  .path-visual svg{min-width:760px}
}

/* ---------- 10. Privacy card, notices ------------------------------------ */

.privacy-card{background:#151C23;color:#fff;border-radius:4px;padding:30px;border:1px solid rgba(0,165,196,.24)}
.privacy-card h3{color:#fff;font-size:22px;margin:10px 0}
.privacy-card p{color:#AAB4BD}
.privacy-row{display:flex;justify-content:space-between;gap:18px;border-top:1px solid rgba(255,255,255,.1);padding:13px 0;font-size:13px;color:#96A1AB}
.privacy-row b{color:#E3E7EA;text-align:right;font-weight:500;font-family:var(--mono);font-size:12.5px;line-height:1.55}
.privacy-card .small-note{font-size:11.5px;color:#7C868F;margin-top:14px}

.notice-strong{background:var(--watch-wash);border:1px solid #DEC79A;border-left:3px solid var(--watch);border-radius:2px;padding:18px 20px;color:#63430F;margin:18px 0}
.notice-strong strong{color:#4D340B}
.privacy-banner{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start;background:var(--signal-wash);border:1px solid #C3CFDE;border-left:3px solid var(--signal);border-radius:2px;padding:20px;margin:20px 0}
.privacy-banner .shield{font-size:26px;line-height:1}
.callout-box{background:var(--canvas);border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:2px;padding:17px 19px;color:var(--ink-soft);font-size:14.5px}
.legal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}
.legal-grid>div{border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:19px;background:#fff}
.legal-grid b{display:block;font-family:var(--disp);font-weight:600;color:var(--ink);margin-bottom:6px}
.legal-grid p{font-size:14px;margin:0}
.small-note{font-size:13px;color:var(--muted);line-height:1.65;margin-top:12px}
.small-note a{text-decoration:underline}

/* ---------- 11. FAQ, CTA band, footer ------------------------------------ */

.faq-list{max-width:820px;margin:0 auto}
.qa{border-bottom:1px solid var(--line)}
.qa summary{cursor:pointer;list-style:none;padding:20px 0;font-family:var(--disp);font-weight:600;font-size:17px;letter-spacing:-.015em;display:flex;justify-content:space-between;gap:16px;align-items:center}
.qa summary::-webkit-details-marker{display:none}
.qa summary .plus{color:var(--signal);font-size:20px;transition:transform .2s;font-weight:400;flex-shrink:0}
.qa[open] summary .plus{transform:rotate(45deg)}
.qa p{padding:0 0 20px;font-size:15px}

.ctaband{text-align:center}
.ctaband .box{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 68px),
    #151C23;
  border:1px solid rgba(0,165,196,.28);border-radius:4px;padding:56px 30px;color:#fff
}
.ctaband h2{color:#fff}
.ctaband p{color:#AAB4BD;max-width:560px;margin:14px auto 28px}
.ctaband .cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;align-items:center}

footer{background:var(--ink);color:#98A3AD;padding:56px 0 30px;font-size:14px;border-top:1px solid rgba(0,165,196,.28)}
footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;margin-bottom:34px}
footer .foot-h{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:#7FD4E8;margin-bottom:14px}
footer a{color:#AAB4BD;display:block;padding:5px 0;overflow-wrap:anywhere}
footer a:hover{color:#fff}
footer .brand b{color:#fff}
.footer-brand{margin-bottom:14px}
.footer-copy{color:#8C97A1;font-size:13.5px;max-width:300px}
footer .fine{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:12.5px;color:#7C868F}
.fine a{color:#8C97A1;display:inline;text-decoration:none}
.fine a:hover{color:#fff}
.legal-line{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;margin-top:6px;font-size:11.5px;line-height:1.7;color:#7C868F;max-width:1000px}
.legal-line a{display:inline;color:#AAB4BD;text-decoration:underline}
.legal-line+.fine{border-top:0;padding-top:12px}

/* ---------- 12. Play badge ----------------------------------------------- */

.play-badge-link{display:inline-flex;align-items:center;line-height:0;border-radius:3px;transition:filter .15s}
.play-badge-link:hover{filter:brightness(1.06)}
.play-badge-link:focus-visible{outline:3px solid var(--signal-mid);outline-offset:3px}
.play-badge{display:block;width:204px;height:auto}
.ctaband .play-badge{width:190px}
.navlinks .play-badge{width:128px}
@media(max-width:760px){.play-badge{width:186px}}

/* ---------- 13. Document pages -------------------------------------------- */

.page-hero{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 68px),
    linear-gradient(180deg,#151C23,#0D1319);
  padding:38px 0 44px;color:#fff;border-bottom:1px solid rgba(0,165,196,.4)
}
.page-hero h1{color:#fff;font-size:clamp(30px,5vw,44px);margin:12px 0 12px;max-width:820px;font-weight:600}
.page-hero .lead{color:#AAB4BD;max-width:760px}
.page-hero .meta{font-family:var(--mono);font-size:12px;color:#8C97A1;margin-top:16px}

.doc{max-width:820px;margin:0 auto;padding:60px 0}
.doc .eyebrow{margin-bottom:10px}
.doc h1{font-size:clamp(28px,4vw,40px);margin-bottom:8px}
.doc .updated{font-family:var(--mono);font-size:12px;color:var(--muted);margin-bottom:30px}
.doc h2{font-size:22px;margin:34px 0 10px}
.doc h3{font-size:17px;margin:22px 0 8px}
.doc p,.doc li{color:var(--ink-soft);font-size:15.5px;margin-bottom:12px}
.doc ul,.doc ol{padding-left:22px;margin-bottom:14px}
.doc li{margin-bottom:7px}
.doc a{text-decoration:underline}
.doc code{font-family:var(--mono);font-size:.92em;background:var(--canvas);border:1px solid var(--line);padding:1px 5px;border-radius:2px}
.doc .plain-table-note{font-size:13.5px;color:var(--muted);margin-top:10px}

.legal-doc{max-width:860px;margin:0 auto}
.legal-doc h2{font-size:23px;margin:36px 0 10px;scroll-margin-top:calc(var(--nav-h) + 20px)}
.legal-doc h3{font-size:17px;margin:22px 0 8px}
.legal-doc p,.legal-doc li{color:var(--ink-soft);font-size:15.5px}
.legal-doc p{margin-bottom:12px}
.legal-doc ul,.legal-doc ol{padding-left:24px;margin:12px 0 18px}
.legal-doc li{margin:7px 0}
.legal-doc a{text-decoration:underline}
.legal-doc figure{margin-top:16px}
.guide-doc h2{scroll-margin-top:calc(var(--nav-h) + 20px)}

.toc{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;background:var(--canvas);border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:2px;padding:19px 21px;margin:24px 0 34px}
.toc strong{grid-column:1/-1;font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--ink-soft)}
.toc a{font-size:14px;text-decoration:none;color:var(--signal)}
.toc.card{display:block;margin:0}
.toc.card h2{font-size:22px;margin:0 0 14px}
.toc-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.toc-links a{font-size:14px;color:var(--signal);text-decoration:none}

.data-table{width:100%;border-collapse:collapse;margin:16px 0 26px;font-size:13.5px}
.data-table th,.data-table td{border:1px solid var(--line);padding:11px 12px;text-align:left;vertical-align:top}
.data-table th{background:var(--canvas);font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--ink)}

.crumb{font-family:var(--mono);font-size:12px;color:var(--muted);margin-bottom:26px}
.crumb a{color:var(--signal)}

/* ---------- 14. Utilities, a11y, responsive ------------------------------- */

/* .cta was only ever flexed inside .hero / .ctaband / .article-cta, so button
   pairs on other pages rendered touching. One base rule fixes every instance. */
.cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}

/* Breadcrumbs sit on dark heroes as well as light pages; the primary blue is
   unreadable on graphite, so dark contexts take the cyan. */
.page-hero .crumb{color:#8C97A1}
.page-hero .crumb a,.provider-hero .crumb a{color:#7FD4E8}

.center{text-align:center}
.mt-s{margin-top:10px}.mt-m{margin-top:20px}.mt-l{margin-top:34px}
.skip-link{position:absolute;left:-9999px;top:8px;z-index:9999;background:#fff;color:var(--ink);border:1px solid var(--signal);padding:10px 14px;border-radius:3px;font-weight:600}
.skip-link:focus{left:12px}

a:focus-visible,.btn:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid var(--signal-mid);outline-offset:2px;border-radius:2px}

@media(max-width:900px){
  .hero{padding:32px 0 46px}
  .hero .grid,.split{grid-template-columns:1fr;gap:34px}
  .grid-3,.steps{grid-template-columns:repeat(2,1fr)}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .report-grid{grid-template-columns:repeat(2,1fr)}
  .legal-grid{grid-template-columns:1fr}
  footer .cols{grid-template-columns:1fr 1fr}
  .phone-pair{max-width:620px;margin:0 auto}
  .hero-device{--dw:300px;max-width:300px}
}
@media(max-width:640px){
  :root{--sec-pad:42px}
  .hero{padding:26px 0 40px}
  .grid-3,.grid-2,.steps{grid-template-columns:1fr}
  .gallery,.report-grid{grid-template-columns:1fr;gap:38px}
  .gallery{--dw:230px}
  .report-grid{--pw:280px}
  .phone-pair{grid-template-columns:1fr 1fr;gap:14px;--dw:150px}
  .hero-device{--dw:270px;max-width:270px}
  .toc,.toc-links{grid-template-columns:1fr}
  .toc strong{grid-column:auto}
  .data-table{display:block;overflow-x:auto}
  .page-hero{padding:30px 0 36px}
  .legal-doc p,.legal-doc li{font-size:15px}
  .privacy-row{flex-direction:column;gap:3px}
  .privacy-row b{text-align:left}
  footer .cols{grid-template-columns:1fr;gap:22px}
}

@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
  .card:hover,.play-badge-link:hover,.report-preview:hover,.problem-link:hover,.acard:hover{transform:none}
}

/* ---------- 15. v11 markup helpers ---------------------------------------- */
.device,.paper{display:block}
.steps-2col{grid-template-columns:1fr 1fr}
.subhead{max-width:700px;margin-bottom:22px}
.subhead h3{font-size:19px;margin-bottom:8px}
.subhead p{font-size:14.5px;color:var(--muted)}
.hero .cta .btn-ghost{align-self:center}
@media(max-width:900px){.steps-2col{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.steps-2col{grid-template-columns:1fr}}

/* legacy .faq container used by the support page */
.faq{max-width:820px;margin:0 auto}
.faq details{border-bottom:1px solid var(--line)}
.faq details summary{cursor:pointer;list-style:none;padding:20px 0;font-family:var(--disp);font-weight:600;font-size:17px}
.faq details summary::-webkit-details-marker{display:none}
.faq details p{padding:0 0 20px;font-size:15px}

/* ---------- 16. ISP / support-desk section (in relief) ------------------- */


/* raised outcome cards */
.relief-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rcard{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.13);
  border-top:2px solid var(--trace);
  border-radius:2px;padding:24px;
  transition:border-color .15s;
}
.rcard:hover{border-color:rgba(0,165,196,.5);border-top-color:var(--trace)}
.rcard h3{font-size:16.5px;margin-bottom:8px;color:#fff}
.rcard p{font-size:13.5px;color:#98A3AD;line-height:1.6}
.rcard .rk{
  display:inline-block;font-family:var(--mono);font-weight:500;font-size:12px;
  letter-spacing:.01em;color:#7FD4E8;
  background:transparent;border:0;padding:0;margin-bottom:11px;
}


/* consent note */
.relief-note{
  margin-top:32px;border-radius:2px;padding:22px 24px;
  background:rgba(0,165,196,.06);
  border:1px solid rgba(0,165,196,.2);
  border-left:3px solid var(--trace);
}
.relief-note b{display:block;font-family:var(--disp);font-weight:600;color:#EAF6F9;font-size:15px;margin-bottom:7px}
.relief-note p{font-size:13.5px;color:#A3AEB7;margin:0}
.relief-note a{color:#7FD4E8;text-decoration:underline}

.relief-caveat{
  margin-top:20px;font-size:12.5px;line-height:1.7;color:#7C868F;
  border-top:1px solid rgba(255,255,255,.1);padding-top:18px;max-width:820px;
}
.relief-caveat a{color:#98A3AD;text-decoration:underline}

@media(max-width:900px){
  .relief-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .relief-grid{grid-template-columns:1fr}
}

/* ---------- 17. Article pages -------------------------------------------- */

.article-hero{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 68px),
    linear-gradient(180deg,#151C23,#0D1319);
  color:#fff;padding:34px 0 40px;border-bottom:1px solid rgba(0,165,196,.4)
}
.article-hero .crumb{color:#8C97A1;margin-bottom:14px}
.article-hero .crumb a{color:#7FD4E8}
.article-hero h1{color:#fff;font-size:clamp(28px,4.6vw,41px);margin:8px 0 14px;max-width:900px;line-height:1.13;font-weight:600}
.article-hero .standfirst{color:#AAB4BD;font-size:clamp(15px,2vw,17.5px);line-height:1.68;max-width:70ch}
.article-hero .byline{font-family:var(--mono);font-size:12px;letter-spacing:.01em;color:#7C868F;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;gap:6px 20px}

.article{max-width:760px;margin:0 auto;padding:40px 0 60px}
.article h2{font-size:clamp(22px,3vw,29px);margin:44px 0 12px;scroll-margin-top:calc(var(--nav-h) + 16px)}
.article h3{font-size:18px;margin:26px 0 8px}
.article p{font-size:16.5px;line-height:1.72;margin-bottom:16px}
.article ul,.article ol{padding-left:24px;margin:0 0 18px}
.article li{font-size:16.5px;line-height:1.7;color:var(--ink-soft);margin-bottom:9px}
.article a{text-decoration:underline;text-underline-offset:2px}
.article strong{color:var(--ink);font-weight:600}
.article>figure{margin:28px 0}

/* answer-first box — the block Google is most likely to lift */
.answer{background:var(--signal-wash);border:1px solid #C3CFDE;border-left:3px solid var(--signal);border-radius:2px;padding:20px 22px;margin:0 0 30px}
.answer b{display:block;font-family:var(--disp);font-weight:600;font-size:15px;color:var(--signal);margin-bottom:7px}
.answer p{font-size:16px;margin:0;color:var(--ink)}

/* jump-to chips: was a cramped inline row */
.jump{border:1px solid var(--line);background:var(--canvas);border-radius:2px;padding:16px 18px;margin:0 0 34px}
.jump strong{display:block;font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--ink-soft);margin-bottom:11px}
.jump ol{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.jump li{margin:0}
.jump a{display:inline-block;font-size:13.5px;font-weight:500;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:2px;padding:7px 13px;text-decoration:none;transition:border-color .15s,color .15s}
.jump a:hover{border-color:var(--signal);color:var(--signal)}
.jump a .jn{font-family:var(--mono);font-size:11px;color:var(--muted);margin-right:6px}

/* key takeaways */
.takeaways{background:#151C23;color:#fff;border-radius:4px;padding:26px 28px;margin:34px 0;border:1px solid rgba(0,165,196,.26)}
.takeaways h2{color:#fff;font-size:19px!important;margin:0 0 14px!important}
.takeaways p{color:#D3D8DC;font-size:16px;line-height:1.75;margin:0}
.takeaways p + p{margin-top:12px}
.takeaways strong{color:#fff}
.takeaways ul{list-style:none;padding:0;margin:0}
.takeaways li{display:flex;gap:13px;align-items:flex-start;color:#D3D8DC;font-size:15px;line-height:1.6;margin-bottom:11px}
.takeaways li:last-child{margin-bottom:0}
/* A gradation mark, not the ubiquitous arrow bullet. */
.takeaways li::before{content:"";width:2px;height:15px;margin-top:5px;background:var(--trace);flex-shrink:0}

/* symptom comparison table — strong featured-snippet candidate */
.symptoms{width:100%;border-collapse:collapse;margin:22px 0 30px;font-size:14.5px}
.symptoms th,.symptoms td{border:1px solid var(--line);padding:12px 13px;text-align:left;vertical-align:top}
.symptoms thead th{background:var(--ink);color:#fff;font-family:var(--mono);font-weight:500;font-size:13px;letter-spacing:.01em}
.symptoms tbody th{background:var(--canvas);font-family:var(--disp);font-weight:600;color:var(--ink);white-space:nowrap}
.symptoms td{color:var(--ink-soft)}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* article figures */
.fig{margin:30px 0}
.fig figcaption{margin-top:14px;font-size:13.5px;color:var(--muted);line-height:1.6;text-align:center;max-width:560px;margin-inline:auto}
.fig-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0;--dw:260px}
.fig-pair figcaption{margin-top:12px;font-size:13px;color:var(--muted);text-align:center;line-height:1.55}

/* step list */
.numbered{list-style:none;padding:0;counter-reset:s}
.numbered li{counter-increment:s;position:relative;padding-left:44px;margin-bottom:16px}
.numbered li::before{content:counter(s);position:absolute;left:0;top:1px;width:28px;height:28px;border-radius:2px;background:var(--signal-wash);color:var(--signal);font-family:var(--mono);font-weight:500;font-size:13px;display:flex;align-items:center;justify-content:center}

/* article CTA + related */
.article-cta{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 68px),
    #151C23;
  border:1px solid rgba(0,165,196,.28);border-radius:4px;padding:32px;color:#fff;margin:44px 0 0;text-align:center
}
.article-cta h2{color:#fff;font-size:23px!important;margin:0 0 10px!important}
.article-cta p{color:#AAB4BD;font-size:15px;max-width:520px;margin:0 auto 22px}
.article-cta .cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;align-items:center}
.disclaimer{font-size:12.5px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:18px;margin-top:36px}
.disclaimer a{text-decoration:underline}

.related{border-top:1px solid var(--line);margin-top:34px;padding-top:28px}
.related h2{font-size:18px!important;margin:0 0 16px!important}
.card-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.acard{display:block;border:1px solid var(--line);border-left:2px solid var(--signal);border-radius:2px;padding:20px;text-decoration:none!important;transition:border-color .15s,background .15s;background:#fff}
.acard:hover{border-color:#BFC5BF;border-left-color:var(--signal);background:var(--canvas)}
.acard .tag{font-family:var(--mono);font-size:12px;letter-spacing:.01em;color:var(--signal)}
.acard b{display:block;font-family:var(--disp);font-weight:600;font-size:16px;color:var(--ink);margin:8px 0 6px;line-height:1.3}
.acard span{display:block;font-size:13.5px;color:var(--ink-soft);line-height:1.55}

@media(max-width:640px){
  .article{padding:28px 0 44px}
  .article p,.article li{font-size:16px}
  .fig-pair{grid-template-columns:1fr 1fr;gap:12px;--dw:150px}
  .card-list{grid-template-columns:1fr}
  .takeaways,.article-cta{padding:22px 20px}
  .symptoms{font-size:13.5px}
}

.report-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1060px;margin-inline:auto;gap:34px 42px;--pw:470px}
.report-grid-2 .paper{border-color:var(--line);box-shadow:0 12px 30px rgba(16,22,28,.12)}
.report-grid-2 .zoom{position:relative;border-radius:2px}
.report-grid-2 .zoom::after{content:"Open larger preview";position:absolute;left:50%;bottom:14px;transform:translateX(-50%);white-space:nowrap;background:rgba(16,22,28,.92);color:#fff;border:1px solid rgba(0,165,196,.4);border-radius:2px;padding:7px 11px;font-family:var(--mono);font-size:11px;letter-spacing:.01em;opacity:0;transition:opacity .16s;pointer-events:none}
.report-grid-2 .zoom:hover::after,.report-grid-2 .zoom:focus-visible::after{opacity:1}
.report-grid-2 figcaption{max-width:440px;margin-left:auto;margin-right:auto}
.report-grid-2 figcaption span{font-size:14px}
.report-size-note{text-align:center;color:var(--muted);font-size:12.5px;line-height:1.5;margin:18px auto 0}
@media(max-width:640px){.report-grid-2{grid-template-columns:1fr;--pw:360px;gap:40px}.report-grid-2 .zoom::after{opacity:1;bottom:12px;font-size:9px}.report-size-note{font-size:12px}}

/* ---------- 18. Contained relief panel ----------------------------------
   The provider/support material used to be a full-bleed dark section, which
   made it the loudest block on the page and implied the whole product was
   aimed at ISPs. It is now a contained panel inside an ordinary section:
   still visually distinct, no longer dominant.
   ----------------------------------------------------------------------- */
.relief-panel{
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 68px),
    #151C23;
  color:#fff;border-radius:4px;padding:32px;margin-top:34px;
  border:1px solid rgba(0,165,196,.26);
}
.relief-panel h3{color:#fff;font-size:20px;margin-bottom:8px}
.relief-panel>p{color:#A3AEB7;font-size:14.5px;max-width:640px;margin-bottom:22px}
.relief-panel .eyebrow{color:#7FD4E8}
.relief-panel .rcard{padding:20px}
.relief-panel .rcard h3{font-size:15.5px}
@media(max-width:640px){.relief-panel{padding:22px 20px}}

/* ---------- 19. Escalation flow strip (provider section) ----------------- */
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:30px}
.flow-step{background:#fff;border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:20px 18px 19px;position:relative}
.flow-step .fn{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--signal);display:block;margin-bottom:10px}
.flow-step b{display:block;font-family:var(--disp);font-weight:600;font-size:14px;color:var(--ink);margin-bottom:7px;line-height:1.35}
.flow-step span{display:block;font-size:13px;color:var(--ink-soft);line-height:1.55}
.flow-step::after{content:"";position:absolute;top:50%;right:-15px;width:15px;height:1px;background:var(--line)}
.flow-step:last-child::after{display:none}
.flow-head{font-family:var(--mono);font-weight:500;font-size:12px;letter-spacing:.01em;color:var(--muted);margin-top:32px}
@media(max-width:980px){.flow{grid-template-columns:repeat(2,1fr)}.flow-step::after{display:none}}
@media(max-width:640px){.flow{grid-template-columns:1fr;gap:12px}.flow-step{padding:19px 18px}}

/* ---------- 20. Screenshot ratio modifiers -------------------------------
   These were inline style attributes carrying --ratio / --dw. Under a strict
   `style-src 'self'` CSP the browser blocks style attributes outright (hashes
   do not apply to them without 'unsafe-hashes'), so the ratios silently never
   applied and figures rendered at the wrong proportions. They are classes now,
   which keeps the CSP strict and the sizing reliable.
   ----------------------------------------------------------------------- */
.r-clean{--ratio:720/1280}    /* clean 1080x1920 app captures  */
.r-device{--ratio:690/1339}   /* real device captures, system UI removed */
.r-doc{--ratio:900/1272}      /* report pages, A4-proportioned */
.w-article{--dw:290px}
.w-doc{--pw:400px}


/* ---------- 21. User-centred entry points + methodology ----------------- */
.problem-links{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:-4px 0 28px}
.problem-link{position:relative;display:block;border:1px solid var(--line);border-left:2px solid var(--signal);border-radius:2px;padding:20px 52px 20px 20px;background:#fff;transition:border-color .16s,background .16s;text-decoration:none}
.problem-link:hover{border-color:#BFC5BF;border-left-color:var(--signal);background:var(--canvas)}
.problem-link .problem-kicker{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.01em;color:var(--signal);margin-bottom:6px}
.problem-link b{display:block;font-family:var(--disp);font-size:17px;font-weight:600;color:var(--ink);line-height:1.3;margin-bottom:5px}
.problem-link span:not(.problem-kicker){display:block;font-size:13.5px;line-height:1.55;color:var(--ink-soft)}
.problem-link i{position:absolute;right:20px;top:50%;transform:translateY(-50%);font-style:normal;width:26px;height:26px;border-radius:2px;background:var(--signal-wash);color:var(--signal);display:flex;align-items:center;justify-content:center;font-weight:600;transition:background .16s,color .16s}
.problem-link:hover i{background:var(--signal);color:#fff}
.article-hero .byline a{color:#AAB4BD;text-decoration:none;border-bottom:1px solid rgba(170,180,189,.4)}
.article-hero .byline a:hover{color:#fff;border-bottom-color:#fff}
.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px}
.method-item{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;padding:18px 0;border-top:1px solid var(--line)}
.method-item>b{font-family:var(--mono);font-size:12px;letter-spacing:.01em;color:var(--signal);background:var(--signal-wash);border-radius:2px;padding:6px 8px;text-align:center}
.method-item h3{font-size:16px;margin:1px 0 5px}
.method-item p{font-size:13.5px;line-height:1.6}
.about-contact{display:flex;align-items:center;justify-content:space-between;gap:32px;border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:26px 28px;background:#fff}
.about-contact>div{max-width:720px}
.about-contact h2{font-size:clamp(24px,3.5vw,32px)}
.about-contact p{margin-top:8px}
.about-contact a:not(.btn){text-decoration:underline}
@media(max-width:760px){.problem-links,.method-grid{grid-template-columns:1fr}.about-contact{align-items:flex-start;flex-direction:column}.problem-link{padding-right:48px}}

/* v14 — current product layout/content refinements */
.hero-device{--dw:310px}
#live-test .shot-single{--dw:286px}
.guide-doc .shot-wide{--dw:300px}
.privacy-banner strong{font-family:var(--disp);font-weight:600}
@media(min-width:900px){#live-test .split{grid-template-columns:1.08fr .92fr}}
@media(max-width:720px){.gallery{grid-template-columns:repeat(2,1fr);gap:26px 14px}.report-grid{grid-template-columns:1fr}.hero-device{--dw:270px}}
/* Audience strip: the ISP card is the priority surface, so it carries the
   cyan instrument rule; the consumer card stays neutral. */
.audience-strip{padding:34px 0;background:#10161C}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.audience-card{padding:28px;border:1px solid rgba(255,255,255,.14);border-top:2px solid rgba(255,255,255,.3);border-radius:4px;background:#181F26;color:#E8EBED}
.audience-card h2{margin:.45rem 0 .55rem;font-size:clamp(1.3rem,2.2vw,1.85rem);font-weight:600}
.audience-card p{color:#A3AEB7;margin:0}
.audience-card.isp{border-top-color:var(--trace);border-color:rgba(0,165,196,.3)}
.text-link{display:inline-block;margin-top:14px;font-weight:600;color:#7FD4E8;border-bottom:1px solid rgba(127,212,232,.4);padding-bottom:2px}
.text-link:hover{border-bottom-color:#7FD4E8}

/* Operational benefit panels: ruled, not shadowed. */
.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.benefit{padding:22px;border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;background:#fff}
.benefit b{display:block;font-family:var(--disp);font-weight:600;font-size:1.05rem;letter-spacing:-.015em;color:var(--ink);margin-bottom:7px}
.benefit p{margin:0;color:var(--ink-soft);line-height:1.55}
.impact-note{margin-top:20px;padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--signal);background:var(--canvas);border-radius:2px;color:var(--ink-soft);line-height:1.55}

.mini-points{display:grid;gap:0;margin-top:22px;border-top:1px solid var(--line)}
.mini-points span{padding:12px 2px;border-bottom:1px solid var(--line);background:none;font-family:var(--mono);font-size:13.5px;font-weight:500;color:var(--ink)}

.video-demo{margin:0;max-width:480px;justify-self:center}
.video-demo video{display:block;width:100%;max-height:620px;object-fit:contain;border-radius:4px;background:#0A0E12;border:1px solid rgba(0,165,196,.3)}
.video-demo figcaption{font-size:.86rem;color:var(--muted);margin-top:10px;text-align:center}
.provider-hero h1{max-width:980px}
.provider-hero p{max-width:850px}
@media(max-width:850px){.audience-grid,.benefit-grid{grid-template-columns:1fr}.video-demo{max-width:390px}}


/* ---------- v18 conversion + visual storytelling ----------------------- */
/* ---------- v18 conversion + storytelling surfaces ---------------------- */

/* Hero proof cards keep their shadow: they are the one deliberately
   physical element on the page, standing in for real artefacts. */
.v18-hero{padding-top:54px}
.v18-hero .grid{grid-template-columns:1.02fr .98fr;gap:48px}
.hero-proof{position:relative;min-height:570px;max-width:510px;margin-left:auto}
.hero-proof figure{margin:0}
.hero-proof-result{position:absolute;right:0;top:0;width:54%;border:7px solid #0A0E12;border-radius:28px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.4);transform:rotate(1.3deg);z-index:2}
.hero-proof-result img{width:100%}
.hero-proof-report{position:absolute;left:0;bottom:0;width:63%;background:#fff;border-radius:3px;padding:9px;box-shadow:0 24px 60px rgba(0,0,0,.32);transform:rotate(-1.5deg)}
.hero-proof-report img{width:100%;border-radius:2px}
.hero-proof-report figcaption{color:var(--muted);text-align:center;font-family:var(--mono);font-size:11.5px;padding:7px 0 2px}

.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.story-card{border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;overflow:hidden;background:#fff}
.story-card figure{background:#10161C;display:flex;justify-content:center;padding:18px 18px 0}
.story-card figure img{max-height:390px;width:auto;border-radius:14px 14px 0 0}
.story-card>div{padding:20px}
.story-n{font-family:var(--mono);font-size:12px;color:var(--signal);letter-spacing:.01em}
.story-card h3{font-size:18px;margin:6px 0 6px}
.story-card p{font-size:14px}
.smart-video{cursor:pointer}

.report-lead-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:center}
.report-preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:end}
.report-preview{display:block;background:#fff;border:1px solid var(--line);border-radius:2px;padding:10px;transition:border-color .16s,background .16s}
.report-preview:hover{border-color:var(--signal);background:var(--canvas)}
.report-preview img{width:100%;border-radius:1px}
.report-preview span{display:block;text-align:center;color:var(--ink);font-family:var(--disp);font-weight:600;padding:10px 4px 2px}

.provider-home-panel{
  display:grid;grid-template-columns:1.15fr .85fr;gap:38px;align-items:center;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 68px),
    #151C23;
  border:1px solid rgba(0,165,196,.28);border-radius:4px;padding:38px;color:#fff
}
.provider-home-panel h2{color:#fff;margin:10px 0 12px}
.provider-home-panel p{color:#AAB4BD}
.provider-home-panel figure{background:#fff;border-radius:3px;padding:8px;transform:none}
.provider-home-panel figure img{border-radius:2px}

.benefit-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.benefit-chips span{border:1px solid rgba(0,165,196,.34);background:transparent;color:#CFE9F0;border-radius:2px;padding:7px 11px;font-family:var(--mono);font-size:12.5px}

.trust-compact{display:flex;align-items:center;justify-content:space-between;gap:40px}
.trust-compact>div:first-child{max-width:760px}

.interest-panel{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:34px;background:#fff}
.interest-panel h2{margin:8px 0}

/* Forms read as instrument input: squared, high-contrast, no rounding. */
.lead-form{display:grid;gap:14px}
.lead-form label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--ink)}
.lead-form input[type=email],.lead-form input[type=text],.lead-form textarea{width:100%;border:1px solid #B9BFB9;border-radius:2px;padding:11px 12px;font:inherit;color:var(--ink);background:#fff}
.lead-form input:focus,.lead-form textarea:focus{outline:3px solid rgba(46,125,209,.2);outline-offset:0;border-color:var(--signal)}
.consent-row{display:flex!important;align-items:flex-start;gap:9px!important;font-weight:400!important;color:var(--ink-soft)!important}
.consent-row input{margin-top:5px}
.form-status{font-size:13px;min-height:20px;font-family:var(--mono)}
.form-status.success{color:var(--good)}
.form-status.error{color:var(--issue)}
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.compact-form{max-width:470px}

.final-cta-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}
.final-cta-inner h2{margin:7px 0}
.final-cta-inner .play-badge{width:190px}

.provider-hero-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:46px;align-items:center}
.provider-report-hero{background:#fff;border-radius:3px;padding:8px;box-shadow:0 22px 52px rgba(0,0,0,.34);transform:rotate(1deg)}
.provider-report-hero img{border-radius:2px}
.provider-hero-proof{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:20px;color:#A3AEB7;font-family:var(--mono);font-size:12.5px}
.provider-hero-proof span:before{content:'';display:inline-block;width:2px;height:11px;background:var(--trace);margin-right:9px;vertical-align:-1px}

.provider-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.provider-flow>div{background:#fff;border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:22px}
.provider-flow span{font-family:var(--mono);color:var(--signal);font-size:12px}
.provider-flow h3{font-size:16px;margin:8px 0}
.provider-flow p{font-size:13.5px}

.pilot-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:start}
.pilot-steps{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}
.pilot-steps>div{border-top:2px solid var(--signal);padding:15px 8px 8px 0}
.pilot-steps b{font-family:var(--disp);font-weight:600;font-size:15px}
.pilot-steps p{font-size:13px;margin-top:5px}
.pilot-form-card{border:1px solid var(--line);border-top:2px solid var(--signal);border-radius:2px;padding:28px;background:#fff}
.pilot-form-card h3{font-size:23px}
.pilot-form-card>p{font-size:14px;margin:8px 0 20px}
.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.boundary-card{max-width:900px;border:1px solid var(--line);border-left:3px solid var(--signal);background:#fff;border-radius:2px;padding:26px 28px}
.boundary-card h2{font-size:27px;margin:7px 0 10px}
@media(max-width:900px){.v18-hero .grid,.report-lead-grid,.provider-home-panel,.interest-panel,.provider-hero-grid,.pilot-grid{grid-template-columns:1fr}.hero-proof{min-height:520px;margin:10px auto 0;width:min(100%,480px)}.provider-home-panel figure{max-width:430px;margin:auto}.provider-report-hero{max-width:430px;margin:auto}.provider-flow{grid-template-columns:1fr 1fr}.trust-compact,.final-cta-inner{align-items:flex-start;flex-direction:column}.story-grid{grid-template-columns:1fr 1fr}.interest-panel{gap:26px}}
@media(max-width:640px){.story-grid,.provider-flow,.pilot-steps,.form-two,.report-preview-pair{grid-template-columns:1fr}.hero-proof{min-height:450px}.hero-proof-result{width:58%}.hero-proof-report{width:67%}.provider-home-panel{padding:25px 20px}.interest-panel{padding:25px 20px}.pilot-form-card{padding:22px 18px}.report-lead-grid{gap:30px}.story-card figure img{max-height:440px}.final-cta-inner .play-badge{width:170px}}

/* v18.2 deployment fixes ------------------------------------------------- */
/* Absolutely-positioned proof cards do not contribute intrinsic width.
   Explicit width prevents the hero visual from collapsing in desktop grid. */
.hero-proof{width:100%}
/* Global heading/paragraph colors are intentionally dark, so explicitly
   restore readable text on dark commercial panels. */
.audience-card h2{color:#F2F4F5}
.audience-card p{color:#A3AEB7}
.v18-provider-hero p{color:#AAB4BD}
@media(max-width:900px){.hero-proof{width:min(100%,480px)}}

/* ========================================================================
   v18.4 — layout stabilization / professional alignment pass
   Goal: one alignment system across every page, predictable media sizing,
   balanced hero compositions, and clean responsive behavior.
   ======================================================================== */

:root{
  --wrap:1180px;
  --sec-pad:64px;
}

/* Every top-level content region uses the same geometry. */
.wrap{
  width:min(100%,var(--wrap));
  margin-inline:auto;
  padding-inline:28px;
}

/* Prevent grid children from forcing columns wider than intended. */
.hero .grid,
.split,
.audience-grid,
.story-grid,
.report-lead-grid,
.report-preview-pair,
.provider-home-panel,
.interest-panel,
.provider-hero-grid,
.provider-flow,
.pilot-grid,
.pilot-steps,
.form-two,
.benefit-grid{
  min-width:0;
}
.hero .grid>*,
.split>*,
.audience-grid>*,
.story-grid>*,
.report-lead-grid>*,
.report-preview-pair>*,
.provider-home-panel>*,
.interest-panel>*,
.provider-hero-grid>*,
.provider-flow>*,
.pilot-grid>*,
.pilot-steps>*,
.form-two>*,
.benefit-grid>*{
  min-width:0;
}

/* Navigation follows the exact same left/right alignment as the page. */
.nav .wrap{padding-inline:28px}
.navlinks{gap:20px}
.navlinks a{font-size:13px}

/* Consistent section rhythm and heading alignment. */
section{padding:64px 0}
.sec-head{max-width:760px;margin-bottom:34px}
.sec-head h2{max-width:720px}

/* ---------------- Homepage hero ---------------------------------------- */
.v18-hero{padding:58px 0 62px}
.v18-hero .grid{
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
  gap:64px;
  align-items:center;
}
.v18-hero .grid>div:first-child{max-width:590px}
.v18-hero h1{
  max-width:590px;
  font-size:clamp(40px,4.6vw,60px);
  line-height:1.02;
}
.v18-hero .lead{max-width:560px;font-size:18px;line-height:1.65}
.v18-hero .cta{margin-top:4px}
.v18-hero .trust{max-width:600px;row-gap:10px}

/* The proof composition is now a bounded canvas instead of free-floating
   absolute cards. This keeps it centered and prevents captions/clipping. */
.hero-proof{
  width:100%;
  max-width:500px;
  height:520px;
  min-height:0;
  margin:0 auto;
  position:relative;
}
.hero-proof-result{
  width:50%;
  right:0;
  top:0;
  border-width:6px;
  border-radius:26px;
  transform:rotate(.7deg);
}
.hero-proof-report{
  width:61%;
  left:0;
  bottom:8px;
  padding:8px;
  border-radius:15px;
  transform:rotate(-.7deg);
}
.hero-proof-report figcaption{
  white-space:normal;
  line-height:1.3;
  padding:8px 4px 3px;
}

/* Audience cards: equal height, cleaner vertical alignment. */
.audience-strip{padding:38px 0}
.audience-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.audience-card{height:100%;display:flex;flex-direction:column;padding:30px}
.audience-card .text-link{margin-top:auto;padding-top:16px}

/* Story / feature grids stay visually level. */
.story-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.story-card{height:100%;display:flex;flex-direction:column}
.story-card figure{min-height:360px;align-items:flex-end}
.story-card figure img{max-height:360px;max-width:100%;object-fit:contain}
.story-card>div{flex:1}

.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.split>div{max-width:560px}

/* Reports: center the visual block, equal preview cards, no loose edges. */
.report-lead-grid{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:64px;
  align-items:center;
}
.report-lead-grid>div:first-child{max-width:540px}
.report-preview-pair{gap:20px;align-items:stretch}
.report-preview{height:100%;display:flex;flex-direction:column;justify-content:space-between}
.report-preview img{width:100%;height:auto;object-fit:contain}

/* Live Test visual should not float at a different size than other screens. */
#live-test .split{grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:64px}
#live-test .shot-single{max-width:420px;width:100%;justify-self:center}
#live-test .device{--dw:320px}

/* Provider panel on homepage. */
.provider-home-panel{
  grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);
  gap:52px;
  padding:42px;
  align-items:center;
}
.provider-home-panel>div{max-width:610px}
.provider-home-panel figure{
  width:100%;
  max-width:420px;
  margin-inline:auto;
  transform:none;
}

/* Trust and interest panels align with other content instead of appearing
   narrower/wider at random. */
.trust-compact{gap:54px}
.interest-panel{grid-template-columns:minmax(0,1fr) minmax(380px,.92fr);gap:56px;padding:38px}
.interest-panel>div:first-child{max-width:560px}
.compact-form{width:100%;max-width:470px;justify-self:end}

/* ---------------- ISP page hero ---------------------------------------- */
.v18-provider-hero{padding:54px 0 58px}
.provider-hero-grid{
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);
  gap:68px;
  align-items:center;
}
.provider-hero-grid>div:first-child{max-width:670px}
.provider-hero-grid h1{
  max-width:660px;
  font-size:clamp(38px,4.4vw,58px);
  line-height:1.04;
}
.v18-provider-hero .lead,
.v18-provider-hero p{max-width:620px}
.provider-report-hero{
  width:100%;
  max-width:390px;
  margin-inline:auto;
  transform:none;
  padding:9px;
  border-radius:18px;
}
.provider-report-hero img{width:100%;height:auto;object-fit:contain}
.provider-hero-proof{max-width:650px;row-gap:10px}

/* ISP business sections. */
.provider-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.benefit{height:100%;padding:24px}
.provider-flow{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.provider-flow>div{height:100%}

.pilot-grid{
  grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);
  gap:64px;
  align-items:start;
}
.pilot-grid>div:first-child{max-width:610px}
.pilot-form-card{width:100%;max-width:500px;justify-self:end;padding:30px}
.form-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.boundary-card{max-width:940px;margin-inline:auto}

/* Footer uses same page width and column rhythm. */
.footer .wrap{padding-inline:28px}

/* ---------------- Tablet ------------------------------------------------ */
@media(max-width:1020px){
  :root{--sec-pad:56px}
  .wrap,.nav .wrap,.footer .wrap{padding-inline:24px}
  section{padding:56px 0}
  .v18-hero .grid,
  .provider-hero-grid,
  .report-lead-grid,
  .provider-home-panel,
  .interest-panel,
  .pilot-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  .v18-hero .grid>div:first-child,
  .provider-hero-grid>div:first-child,
  .report-lead-grid>div:first-child,
  .provider-home-panel>div,
  .interest-panel>div:first-child,
  .pilot-grid>div:first-child{
    max-width:760px;
  }
  .hero-proof{max-width:470px;height:500px;margin:8px auto 0}
  .provider-report-hero{max-width:420px}
  .provider-home-panel figure{max-width:460px}
  .compact-form,.pilot-form-card{max-width:620px;justify-self:start}
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .provider-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  .split,#live-test .split{grid-template-columns:1fr;gap:38px}
  .split>div{max-width:760px}
}

/* ---------------- Mobile ------------------------------------------------ */
@media(max-width:680px){
  :root{--nav-h:60px;--sec-pad:44px}
  .wrap,.nav .wrap,.footer .wrap{padding-inline:18px}
  section{padding:44px 0}
  .nav .wrap{height:60px}
  .brand b{font-size:16px}
  .brand .logo{width:31px;height:31px}

  .v18-hero{padding:38px 0 44px}
  .v18-hero .grid{gap:30px}
  .v18-hero h1{font-size:clamp(36px,11vw,48px);line-height:1.04}
  .v18-hero .lead{font-size:16px}
  .hero .cta{align-items:stretch}
  .hero .cta .btn,.hero .cta .play-badge-link{max-width:100%}
  .hero-proof{height:410px;max-width:390px}
  .hero-proof-result{width:53%;border-width:5px;border-radius:22px}
  .hero-proof-report{width:64%;bottom:6px}

  .audience-grid,.story-grid,.provider-flow,.provider-benefits,
  .pilot-steps,.form-two,.report-preview-pair{grid-template-columns:1fr}
  .audience-card{padding:24px}
  .story-card figure{min-height:0;padding:16px 16px 0}
  .story-card figure img{max-height:420px}

  .provider-home-panel,.interest-panel{padding:24px 20px;border-radius:20px}
  .provider-home-panel{gap:30px}
  .provider-home-panel figure{max-width:360px}

  .v18-provider-hero{padding:38px 0 44px}
  .provider-hero-grid{gap:30px}
  .provider-hero-grid h1{font-size:clamp(34px,10vw,46px)}
  .provider-report-hero{max-width:350px}
  .provider-hero-proof{display:grid;gap:7px}

  .pilot-form-card{padding:24px 18px}
  .final-cta-inner{gap:20px}
  .final-cta-inner .play-badge{width:165px}
}

/* Very small screens: remove decorative overlap instead of squeezing it. */
@media(max-width:430px){
  .hero-proof{height:auto;display:grid;gap:16px;max-width:330px}
  .hero-proof-result,.hero-proof-report{
    position:relative;inset:auto;width:100%;transform:none;
  }
  .hero-proof-result{max-width:245px;justify-self:center}
  .hero-proof-report{max-width:300px;justify-self:center}
  .provider-report-hero{max-width:310px}
  .btn-lg{padding:13px 18px}
}

/* ========================================================================
   v20 — audience subdivisions
   The site now has two front doors: the consumer product at / and the
   ISP/support offering at /for-providers/. They share one visual system
   on purpose (an ISP must believe this is the same app their customers
   install); the separation lives in navigation, not in styling.
   ======================================================================== */

/* Marks which subdivision you are currently in. */
.brand-tag{
  font-family:var(--mono);font-size:11px;line-height:1.4;color:#7FD4E8;
  border:1px solid rgba(0,165,196,.42);border-radius:2px;
  padding:2px 7px;margin-left:11px;white-space:nowrap;
}

/* The cross-audience link is deliberately quieter than primary navigation:
   it is an exit, not a destination. */
.nav-aside{color:#8C97A1;padding-left:21px;position:relative}
.nav-aside::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:15px;background:rgba(255,255,255,.2)}
.nav-aside:hover{color:#fff}
.navlinks .btn{padding:9px 15px;font-size:13px}
.navlinks .btn-primary:hover{background:#0E3A69;border-color:transparent}

@media(max-width:980px){
  .nav-aside{padding-left:0}
  .nav-aside::before{display:none}
  .navlinks .btn{margin-top:16px;align-self:flex-start;padding:11px 18px;font-size:14px}
  .brand-tag{margin-left:9px}
}

/* Compact cross-link band. Replaces the full ISP panel that used to sit on
   the homepage repeating the ISP page's own H1 verbatim. */
.provider-band{
  display:flex;align-items:center;justify-content:space-between;gap:40px;
  border:1px solid var(--line);border-left:3px solid var(--signal);
  background:#fff;border-radius:2px;padding:30px 34px;
}
.provider-band>div{max-width:640px;min-width:0}
.provider-band h2{font-size:clamp(20px,2.5vw,26px);margin:11px 0 8px}
.provider-band p{font-size:15px;margin:0}
.provider-band .btn{flex-shrink:0}
@media(max-width:820px){
  .provider-band{flex-direction:column;align-items:flex-start;gap:22px;padding:26px 22px}
}

/* Pilot page: what happens after the form is submitted. */
.next-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:8px}
.next-steps>div{border-top:2px solid var(--signal);padding:16px 10px 4px 0}
.next-steps b{display:block;font-family:var(--disp);font-weight:600;font-size:15px;margin-bottom:6px}
.next-steps p{font-size:13.5px;margin:0}
@media(max-width:760px){.next-steps{grid-template-columns:1fr;gap:6px}}


/* v20.1 — small iOS capture without adding another homepage section */
.ctaband .ios-note{margin:18px auto 0;font-size:13px;line-height:1.55;color:#AAB4BD}
.ctaband .ios-note a{color:#7FD4E8;font-weight:600;border-bottom:1px solid rgba(127,212,232,.45)}
.ctaband .ios-note a:hover{border-bottom-color:#7FD4E8}
.ios-page-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:64px;align-items:start}
.ios-page-grid>div:first-child{max-width:620px}
.ios-form-card{width:100%;max-width:500px;justify-self:end}
@media(max-width:900px){.ios-page-grid{grid-template-columns:1fr;gap:36px}.ios-form-card{justify-self:start;max-width:620px}}

/* ================================================================
   v20.3 product media refresh
   - no overlapping hero images
   - stronger report presentation
   - site-wide full-screen media viewer
   ================================================================ */

/* Homepage hero: clean product board instead of layered overlap */
.v18-hero .grid{
  grid-template-columns:minmax(0,.88fr) minmax(540px,1.12fr);
  gap:54px;
  align-items:center;
}
.hero-showcase{
  display:grid;
  grid-template-columns:minmax(270px,.95fr) minmax(210px,.72fr);
  gap:18px;
  align-items:start;
  width:100%;
  max-width:660px;
  margin-left:auto;
}
.hero-media-card{
  margin:0;
  min-width:0;
  border:1px solid rgba(127,212,232,.22);
  background:linear-gradient(180deg,rgba(18,34,52,.98),rgba(8,20,33,.98));
  box-shadow:0 20px 46px rgba(0,0,0,.28);
  border-radius:16px;
  overflow:hidden;
}
.hero-media-card .media-zoom{
  appearance:none;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-in;
}
.hero-media-card picture,
.hero-media-card img{display:block;width:100%}
.hero-live-card img{
  max-height:590px;
  object-fit:contain;
  background:#07111d;
}
.hero-report-stack{display:grid;gap:18px}
.report-card-small img{
  aspect-ratio:1 / 1.414;
  object-fit:cover;
  object-position:top center;
  background:#eef4f8;
}
.hero-media-card figcaption{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:12px 14px 10px;
  color:#d9e5ee;
  border-top:1px solid rgba(255,255,255,.07);
}
.hero-media-card figcaption strong{font-size:14px;color:#fff}
.hero-media-card figcaption span{font-size:12px;color:#93a7b7;line-height:1.45}
.media-link{
  display:block;
  padding:10px 14px 12px;
  color:#72e4ee;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}
.media-link:hover{text-decoration:underline}

/* Report sample cards */
.report-preview-pair{align-items:stretch}
.report-preview-card{
  margin:0;
  display:flex;
  min-width:0;
  flex-direction:column;
  border:1px solid #d7e0e8;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 28px rgba(10,24,40,.08);
}
.report-preview-card img{
  width:100%;
  aspect-ratio:1 / 1.414;
  object-fit:cover;
  object-position:top center;
  cursor:zoom-in;
  background:#f3f6f9;
}
.report-preview-card figcaption{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:13px 14px 8px;
  color:#233043;
}
.report-preview-card figcaption b{font-size:14px}
.report-preview-card figcaption span{font-size:11px;color:#6b7a88;text-align:right}
.report-preview-card>a{
  margin:0 14px 14px;
  color:#087b8b;
  font-weight:700;
  font-size:12px;
  text-decoration:none;
}
.report-preview-card>a:hover{text-decoration:underline}

/* Selected technical pages */
.technical-preview-block{
  margin-top:44px;
  padding-top:34px;
  border-top:1px solid #d8e2e9;
}
.technical-preview-head{
  display:grid;
  grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);
  gap:36px;
  align-items:start;
  margin-bottom:24px;
}
.technical-preview-head h3{margin:8px 0 0;font-size:24px}
.technical-preview-head p{margin:0;color:#5e6d7a;line-height:1.68}
.technical-page-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.preview-page-card{
  margin:0;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #d8e2e9;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(10,24,40,.07);
}
.preview-page-card img{
  display:block;
  width:100%;
  aspect-ratio:1 / 1.414;
  object-fit:cover;
  object-position:top center;
  cursor:zoom-in;
  background:#f5f7f9;
}
.preview-page-card figcaption{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:10px 11px 12px;
}
.preview-page-card figcaption b{font-size:12.5px;color:#223044}
.preview-page-card figcaption span{font-size:11px;color:#758390}

/* Any meaningful product image can be inspected full-screen */
main img[data-zoomable="true"]{cursor:zoom-in}
main img[data-zoomable="true"]:focus{outline:3px solid rgba(0,212,230,.45);outline-offset:3px}

/* Full-screen viewer */
.lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:54px 76px 66px;
  background:rgba(2,7,13,.94);
  backdrop-filter:blur(10px);
}
.lightbox.open{display:flex}
.lightbox img{
  display:block;
  max-width:94vw;
  max-height:86vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:4px;
  box-shadow:0 22px 80px rgba(0,0,0,.52);
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next{
  position:absolute;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  background:rgba(10,23,38,.86);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:.18s ease;
}
.lightbox .lb-close{top:18px;right:20px;width:46px;height:46px;border-radius:50%;font-size:25px}
.lightbox .lb-prev,.lightbox .lb-next{top:50%;transform:translateY(-50%);width:48px;height:64px;border-radius:9px;font-size:28px}
.lightbox .lb-prev{left:18px}.lightbox .lb-next{right:18px}
.lightbox .lb-close:hover,.lightbox .lb-prev:hover,.lightbox .lb-next:hover{background:rgba(20,54,75,.96);border-color:rgba(0,212,230,.55)}
.lightbox .lb-cap{
  position:absolute;
  left:70px;
  right:70px;
  bottom:20px;
  margin:0;
  text-align:center;
  color:#b9c7d2;
  font-size:12.5px;
  line-height:1.5;
}
.lightbox .lb-prev[hidden],.lightbox .lb-next[hidden]{display:none}

/* Live Test screenshot presentation */
.shot-single .device img{max-height:720px;object-fit:contain}

@media(max-width:1120px){
  .v18-hero .grid{grid-template-columns:1fr;gap:38px}
  .v18-hero .grid>div:first-child{max-width:720px}
  .hero-showcase{max-width:720px;margin:0 auto}
}
@media(max-width:900px){
  .technical-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .technical-preview-head{grid-template-columns:1fr;gap:14px}
}
@media(max-width:720px){
  .hero-showcase{grid-template-columns:1fr;max-width:470px}
  .hero-live-card{max-width:360px;margin:0 auto}
  .hero-report-stack{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lightbox{padding:56px 18px 70px}
  .lightbox .lb-prev,.lightbox .lb-next{width:40px;height:54px;opacity:.9}
  .lightbox .lb-prev{left:7px}.lightbox .lb-next{right:7px}
  .lightbox .lb-cap{left:18px;right:18px}
}
@media(max-width:520px){
  .hero-report-stack{grid-template-columns:1fr}
  .report-card-small{max-width:320px;margin:0 auto}
  .technical-page-grid{grid-template-columns:1fr}
  .preview-page-card{max-width:360px;margin:0 auto}
}


/* ================================================================
   v20.4 — simplified homepage hero
   One clear product visual, no layered/competing report cards.
   ================================================================ */

/* Remove the old measurement underline from the homepage headline. */
.hero h1 .hl{
  color:var(--trace);
  text-decoration:none;
}

/* A calmer, two-column hero. The visual is deliberately narrower than
   the copy so the headline remains the first thing the eye sees. */
.v18-hero{
  padding:64px 0 68px;
}
.v18-hero .grid{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);
  gap:72px;
  align-items:center;
}
.v18-hero .grid>div:first-child{
  max-width:620px;
}
.v18-hero h1{
  max-width:610px;
  font-size:clamp(42px,4.65vw,62px);
  line-height:1.025;
  letter-spacing:-.03em;
}
.v18-hero .lead{
  max-width:565px;
  font-size:18px;
  line-height:1.65;
}
.v18-hero .trust{
  max-width:590px;
}

.hero-primary-visual{
  width:100%;
  max-width:410px;
  margin-left:auto;
}
.hero-phone-card{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(78,221,230,.28);
  border-radius:20px;
  background:linear-gradient(180deg,#0b1723 0%,#0a131d 100%);
  box-shadow:0 22px 60px rgba(0,0,0,.30);
}
.hero-phone-card .media-zoom{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:0;
  background:#07111b;
  cursor:zoom-in;
}
.hero-phone-card picture,
.hero-phone-card img{
  display:block;
  width:100%;
}
.hero-phone-card img{
  max-height:600px;
  object-fit:contain;
  object-position:center top;
  background:#07111b;
}
.hero-phone-card figcaption{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:17px 18px 19px;
  border-top:1px solid rgba(255,255,255,.08);
}
.hero-phone-card figcaption strong{
  color:#fff;
  font-size:15px;
  font-weight:700;
}
.hero-phone-card figcaption span{
  color:#98a7b5;
  font-size:13px;
  line-height:1.5;
}

@media(max-width:1020px){
  .v18-hero .grid{
    grid-template-columns:1fr;
    gap:40px;
  }
  .v18-hero .grid>div:first-child{
    max-width:760px;
  }
  .hero-primary-visual{
    max-width:390px;
    margin:0 auto;
  }
}
@media(max-width:640px){
  .v18-hero{
    padding:40px 0 46px;
  }
  .v18-hero h1{
    font-size:clamp(37px,11vw,49px);
    line-height:1.04;
  }
  .v18-hero .lead{
    font-size:16px;
  }
  .hero-primary-visual{
    max-width:350px;
  }
  .hero-phone-card{
    border-radius:16px;
  }
}
