/* ==========================================================================
   GUARDIAN HALO+ — product site design system

   Vivid, lively, modern. The earlier "warm cozy" brief has been retired at the
   client's request: the grounds are now a clean near-white with a faintly cool
   cast, the ink is a near-black, and contrast is high — that crispness is what
   reads as modern. Colour is not decoration spread thinly across the page; it
   arrives in a few large, saturated fields and then gets out of the way.

   Two things did NOT change, because they are facts rather than taste:
   - the six alert pastels are the exact hexes the app paints, so a parent
     meets the same colours in both places. The site never SAYS this; it just
     does it, and familiarity accumulates on its own.
   - #AACC03 is 1.85:1 on white, so it can be a fill but never type. What did
     change is how far the fill is pushed: the brand lime is now the primary
     button, carrying near-black text at 9.97:1.
   ========================================================================== */

:root{
  /* grounds — clean, faintly cool, high key */
  --cream:#FBFCFE;     /* the page ground (name kept; no longer cream)        */
  --blush:#FFEFF8;
  --peach:#FFF0E0;
  --sky:#E7F3FF;
  --lilac:#EFEAFF;
  --card:#FFFFFF;
  --card-2:#F1F5FA;

  /* ink — near-black, cool. every value is AA or better on every ground */
  --ink:#14131A;      /* 18.0:1 on the ground — headings */
  --ink-2:#3A3845;    /* 11.2:1 — sub-headings           */
  --ink-3:#55525F;    /*  7.4:1 — body copy              */
  --ink-4:#6A6776;    /*  5.4:1 on the ground, 4.9:1 on the coolest tint — meta,
                         15px floor. Checked against EVERY ground above, not
                         just white: it failed on the sky and lime tints at 4.4 */
  --line:#E2E8F1;
  --line-2:#CED8E5;

  /* brand — "Lime Pop" (2026-10-27, chosen by Julia over a forest green and an
     evergreen-and-lime option). The old scheme used the lime only as a button
     and a barely-there #F2F8D6 tint everywhere else, and read washed out. Now
     the brand lime shows at strength: tiles are solid lime with a deep-green
     glyph, section bands carry a lime wash you can actually see.
     Measured on the #FCFCFD ground. */
  /* "Aurora" (2026-11-10, chosen by Julia over a solid-lime and a dark-band option, after she
     found Lime Pop's pale wash still not vivid and asked for something more modern). The lime is
     brighter and cleaner, and it no longer sits flat: bands, tiles, chips and the main button
     run lime -> mint -> sky. The flat tokens below stay as the single-colour fallbacks and for
     borders and strokes; anything that is a FIELD of colour takes one of the --aurora gradients. */
  --primary:#C0EE2A;      /* the lime: strokes, app squares in drawings, fallbacks */
  --primary-h:#AEDF16;
  --primary-fg:#0F1F14;   /* text that sits ON the lime or the button gradient   */
  --primary-t:#D4F78C;    /* flat fallback for tiles and chips                   */
  --primary-wash:#E6FAC8; /* flat fallback for section bands                     */
  --primary-t2:#8FDDA8;   /* borders, big numerals: mint                         */
  --primary-ink:#145A3A;  /* the green AS text                                   */
  --primary-shadow:rgba(60,200,150,.5);
  --aurora:linear-gradient(115deg,#E2FBA0 0%,#BDF5D2 50%,#B3E7FF 100%);  /* whole-section bands  */
  --aurora-soft:linear-gradient(120deg,#E8FBB4,#CDF6E2);                 /* small panels         */
  --aurora-a:#C6F432; --aurora-b:#5FE3C0; --aurora-c:#8AD4FF;            /* the three at full strength: lime, mint, sky.
                                                                          SVG gradients take these as their stops */
  --aurora-tile:linear-gradient(135deg,var(--aurora-a),var(--aurora-b)); /* step and article numbers */
  --aurora-ring:linear-gradient(135deg,var(--aurora-a),var(--aurora-b) 55%,var(--aurora-c)); /* the rule as a ring around an icon */
  --aurora-btn:linear-gradient(120deg,#C6F432,#7BE8B0);                  /* main button          */
  --aurora-chip:linear-gradient(120deg,#DDF9A6,#C4F4DE);                 /* chips, active states */
  --aurora-rule:linear-gradient(90deg,var(--aurora-a),var(--aurora-b),var(--aurora-c));  /* accent rules */
  --tile-ink:#0E3B2B;     /* glyphs and numerals ON --aurora-tile                */

  /* kept so older rules that ask for the raw brand lime still resolve */
  --lime:#C0EE2A;
  /* the APP's lime, for anything that reprints an app screen (CarPlay mocks,
     the Confirm dialog). It follows the app, never the site palette. */
  --app-lime:#AACC03; --app-lime-fg:#14131A;
  --lime-h:#AEDF16;
  --lime-ink:#145A3A;
  --lime-t:#D4F78C;
  --terra:#C9503C;
  --danger:#D6221A;

  /* the six AI alert colours
     pastel = exact hex the app uses (badge ring / dot / legend)
     soft   = pastel 55% toward white (the light thrown from the ceiling)
     wash   = pastel 80% toward white (chip + section wash)
     ink    = deep sibling, pushed for saturation, AA on white AND on its wash */
  --motion:#FFCCF7;   --motion-soft:#FFE8FB;   --motion-wash:#FFF5FD;   --motion-ink:#B0138F;
  --fast:#AADEFF;     --fast-soft:#D9F0FF;     --fast-wash:#EEF8FF;     --fast-ink:#0B5FD0;
  --face:#FFC2B8;     --face-soft:#FFE4DF;     --face-wash:#FFF3F1;     --face-ink:#B8331F;
  --onboard:#FFF59B;  --onboard-soft:#FFFAD2;  --onboard-wash:#FFFDEB;  --onboard-ink:#7A6200;
  --lost:#FF6961;     --lost-soft:#FFBCB8;     --lost-wash:#FFE1DF;     --lost-ink:#C4190F;
  --occluded:#FFB04A; --occluded-soft:#FFDBAE; --occluded-wash:#FFEFDB; --occluded-ink:#9A5400;

  /* the app's three seat positions. These say WHERE, not WHAT, so they are NOT
     alert colours and must never appear in the Trip Log rail, in a .beat-tag or
     in an alert chip. Reusing --occluded for a seat divider would tell a parent
     who has learned that amber means "something is over your child's face" that
     an untroubled bench is in trouble.
     Sampled from the app: Left #0A84FF, Center #AACC03, Right #FF8556.
     Fills are fill-only (lime is 1.80:1 on the ground); type takes the -ink,
     measured 7.42 / 6.96 / 5.97 on the page ground and >=5.59 on every tint. */
  --zone-l:#2E86FF;  --zone-l-ink:#0B4FB0;
  --zone-c:#AACC03;  --zone-c-ink:#41610F;
  --zone-r:#FF7A55;  --zone-r-ink:#B0381F;
  /* the candidate-frame green the app actually draws (--ai-green in the
     prototype). It is a state, not a brand colour. */
  --det-green:#30D158;

  /* shape + depth — shadows are neutral-cool and tighter than before, so
     surfaces read as crisp rather than soft */
  --r-xs:10px; --r-sm:14px; --r:20px; --r-lg:28px; --r-xl:36px; --pill:999px;
  --sh-1:0 1px 2px rgba(20,19,26,.06), 0 6px 16px -10px rgba(20,19,26,.16);
  --sh-2:0 2px 6px rgba(20,19,26,.07), 0 18px 40px -22px rgba(20,19,26,.24);
  --sh-3:0 4px 10px rgba(20,19,26,.06), 0 40px 80px -36px rgba(20,19,26,.32);

  --wrap:1180px;
  --gut:clamp(20px, 5vw, 56px);

  --display:"Fredoka","Nunito Sans",-apple-system,"Segoe UI",system-ui,sans-serif;
  --body:"Nunito Sans",-apple-system,"Segoe UI",Roboto,"Noto Sans TC",system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,"Cascadia Mono",Consolas,monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-padding-top:92px}

/* Lenis drives scrolling from JS. `scroll-behavior:smooth` would fight its RAF
   loop, so it is deliberately absent above; these three rules are Lenis's own
   requirements. If JS fails the page falls back to plain native scrolling. */
html.lenis, html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}
body{
  margin:0; background:var(--cream); color:var(--ink-3);
  font:400 17px/1.65 var(--body); -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{max-width:100%; height:auto; display:block}
a{color:var(--primary-ink); text-decoration:none}
a:hover{text-decoration:underline; text-underline-offset:3px}
h1,h2,h3,h4{font-family:var(--display); color:var(--ink); margin:0; line-height:1.14; letter-spacing:-.015em; font-weight:600; text-wrap:balance}
p,li{text-wrap:pretty}
p{margin:0}
ul{margin:0; padding:0; list-style:none}
:focus-visible{outline:3px solid var(--primary-ink); outline-offset:3px; border-radius:6px}

.wrap{width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gut)}
.skip{position:absolute; left:-9999px; top:0; background:var(--card); color:var(--ink); padding:12px 18px; border-radius:0 0 var(--r-sm) 0; z-index:300; font-weight:700}
/* :focus-visible, not :focus: the back-to-top button moves focus here (totop.js) so keyboard users
   land at the top, and a mouse click on that button must not make the link appear (2026-11-10) */
.skip:focus-visible{left:0}

/* ---- type helpers ---- */
.eyebrow{font:700 13px/1 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-4); display:flex; align-items:center; gap:10px}
.eyebrow::before{content:""; width:22px; height:2px; border-radius:2px; background:currentColor; opacity:.55; flex:none}
.h1{font-size:clamp(36px,5.4vw,60px); letter-spacing:-.03em}
.h2{font-size:clamp(29px,4.2vw,45px); letter-spacing:-.025em}
.h3{font-size:clamp(23px,2.6vw,31px); letter-spacing:-.02em}
.h4{font-size:clamp(18px,1.5vw,21px)}
.lede{font-size:clamp(17px,1.5vw,20px); color:var(--ink-3); line-height:1.62}
/* A lede can open on its claim, set a step above the explanation that follows
   it: <span class="lede-lead"> inside the lede string (Julia, 2026-10-29). */
.lede-lead{display:block; margin-bottom:8px; font:600 1.2em/1.45 var(--display); color:var(--ink); letter-spacing:-.01em}
/* zh headings and ledes break after punctuation or a space, never inside a word
   like 麥｜克風 or 自｜動; anywhere is the fallback for a clause too long for a
   narrow phone */
:lang(zh) :is(h1,h2,h3,.lede,figcaption){word-break:keep-all; overflow-wrap:anywhere}
.small{font-size:15px; color:var(--ink-4)}
.mono{font-family:var(--mono); font-size:.87em}
/* an alert's app name quoted in body copy (「寶寶遺留車內」) stays on one line */
.nw{white-space:nowrap}

/* ---- buttons ---- */
.btn{display:inline-flex; align-items:center; gap:10px; border:0; cursor:pointer; font:700 16px/1 var(--body); padding:16px 26px; border-radius:var(--pill); text-decoration:none!important; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease}
.btn .ic{width:19px; height:19px}
.btn-p{background:var(--aurora-btn); color:var(--primary-fg); box-shadow:0 12px 28px -12px var(--primary-shadow)}
.btn-p:hover{filter:saturate(1.15) brightness(.97); transform:translateY(-2px)}
.btn-s{background:var(--card); color:var(--ink); box-shadow:var(--sh-1); border:1.5px solid var(--line)}
.btn-s:hover{transform:translateY(-2px); box-shadow:var(--sh-2); border-color:var(--primary-t2)}

/* ---- chips ---- */
.chip{display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:var(--pill); font:700 14px/1 var(--body); white-space:nowrap; background:var(--e-wash,var(--card)); color:var(--e-ink,var(--ink-2)); border:1.5px solid var(--e-pastel,var(--line))}
.chip .dot{width:9px; height:9px; border-radius:50%; background:var(--e-pastel,var(--lime)); flex:none}
.chip .ic{width:16px; height:16px}

/* Icon scale (2026-10-27). Every sprite symbol is framed so its drawing fills
   84% of the box, so one rule sizes them all: inside a tile the box is ~58% of
   the tile (44->26, 38->22, 42->24, 48->28); beside text it is ~1.2x the font
   size. Before this the app's exports drew 24 units inside 44 of padding and
   read half the size of the 24-unit icons next to them. */
.ic{width:1em; height:1em; fill:currentColor; flex:none}

/* ==========================================================================
   HEADER
   ========================================================================== */
/* the header is sticky, so it occupies flow space: anything that wants to be
   exactly one viewport tall has to subtract it */
:root{--hdr-h:72px}
.hdr{position:sticky; top:0; z-index:100; background:color-mix(in srgb, var(--cream) 86%, transparent); backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid transparent; transition:border-color .25s ease, box-shadow .25s ease}
.hdr.stuck{border-bottom-color:var(--line); box-shadow:0 10px 26px -24px rgba(20,19,26,.55)}
.hdr-in{display:flex; align-items:center; gap:clamp(12px,3vw,36px); height:var(--hdr-h)}
.brand{display:flex; align-items:center; gap:11px; flex:none}
.brand .mark{width:34px; height:34px; border-radius:9px; box-shadow:var(--sh-1)}
.brand .word{height:16px; width:auto}
.nav{display:flex; gap:clamp(2px,1vw,14px); margin-left:auto; align-items:center}
.nav a{font:700 15px/1 var(--body); color:var(--ink-2); padding:9px 11px; border-radius:var(--pill); white-space:nowrap; transition:background .18s ease, color .18s ease; text-decoration:none!important}
/* hover is a neutral tint: the old pink did not belong next to the aurora chips */
.nav a:hover{background:var(--card-2); color:var(--ink)}
.nav a.on{color:var(--primary-ink); background:var(--aurora-chip)}
.hdr .btn{padding:12px 20px; font-size:15px; flex:none}
.burger{display:none; flex:none; margin-left:auto; background:var(--card); border:1.5px solid var(--line); border-radius:var(--pill); width:44px; height:44px; align-items:center; justify-content:center; cursor:pointer}
.burger i{display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; position:relative}
.burger i::before,.burger i::after{content:""; position:absolute; left:0; width:18px; height:2px; background:var(--ink); border-radius:2px}
.burger i::before{top:-6px} .burger i::after{top:6px}
@media (max-width:1120px){
  .nav{position:fixed; inset:var(--hdr-h) 0 auto; background:var(--cream); flex-direction:column; align-items:stretch; padding:14px var(--gut) 26px; gap:4px; border-bottom:1px solid var(--line); box-shadow:var(--sh-2); display:none}
  .nav.open{display:flex}
  .nav a{padding:14px 12px; font-size:17px}
  .burger{display:flex}
  .hdr .btn-p{display:none}
}
/* just above the burger the full nav is at its tightest. With five links
   (2026-10-28) Spanish ran the CTA up to 64px off the right edge between 1121
   and ~1280px, so in this band the links give up a little padding, the header
   gaps tighten and the language button shows only its globe, as on phones */
@media (min-width:1121px) and (max-width:1300px){
  .hdr-in{gap:20px}
  .nav a{padding-inline:8px}
}

/* ==========================================================================
   PARKED — styling for content that no longer has a page
   --------------------------------------------------------------------------
   The home page was rewritten as a single scrolled narrative, which dropped
   the 25 feature cards, the 14-row spec table, the 10 FAQ items and the app
   tour. Their rules below are kept ON PURPOSE: that content is still wanted,
   it just needs its own pages (alerts / answers / specs / app). Deleting the
   CSS now would only mean writing it again.

   Roughly 77 class names in this file are currently unreferenced by any built
   page for that reason. Regenerate the list with:
     grep -o 'class="[^"]*"' */*.html   vs.   the selectors here
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{position:relative; padding:clamp(40px,6vw,86px) 0 clamp(50px,7vw,92px); overflow:hidden}
.hero::before{
  content:""; position:absolute; inset:-30% -14% auto; height:150%; z-index:0; pointer-events:none;
  background:
    radial-gradient(46% 42% at 80% 18%, rgba(198,244,50,.45), transparent 70%),
    radial-gradient(40% 40% at 14% 4%,  rgba(125,232,200,.40), transparent 70%),
    radial-gradient(44% 40% at 64% 84%, rgba(179,231,255,.55), transparent 72%);
}
.hero > .wrap{position:relative; z-index:1}
.hero-grid{display:grid; grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr); gap:clamp(28px,5vw,60px); align-items:center}
.hero h1{margin:18px 0 0}
.hero h1 .em{color:var(--primary-ink)}
.hero .lede{margin:20px 0 0; max-width:42ch}
.hero-cta{display:flex; flex-wrap:wrap; gap:12px; margin-top:32px}
.hero-trust{display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:30px; padding-top:24px; border-top:1px solid var(--line)}
.hero-trust li{display:flex; align-items:center; gap:9px; font:700 14.5px/1.3 var(--body); color:var(--ink-2)}
.hero-trust .ic{width:20px; height:20px; color:var(--primary-ink)}

/* --------------------------------------------------------------------------
   The hero CTA carries the RAW brand green as a fill, with dark ink on it
   (7.14:1) — the app's own pairing. --primary-ink is deliberately not
   overridden here, so the headline accent and the trust icons stay Halo Green
   (6.70:1) instead of dropping to an olive that is no longer the brand.
   -------------------------------------------------------------------------- */
.hero{
  --primary:var(--lime);
  --primary-h:var(--lime-h);
  --primary-fg:var(--ink);
  --primary-shadow:rgba(60,200,150,.55);
}
/* the halo — the site signature motif */
.halo{position:relative; display:grid; place-items:center; aspect-ratio:1/.94}
.halo-ring{position:absolute; border-radius:50%; border:1.5px solid var(--line); inset:2%}
.halo-ring.r2{inset:11%; border-color:#F6E2F2}
.halo-ring.r3{inset:21%; border-color:#EAE4F8; border-style:dashed}
.halo-glow{
  position:absolute; inset:8%; border-radius:50%; opacity:.5; filter:blur(18px);
  background:
    radial-gradient(circle at 50% 42%, #fff 34%, rgba(255,255,255,.5) 56%, transparent 72%),
    conic-gradient(from 200deg, var(--motion), var(--face), var(--occluded), var(--onboard), var(--fast), var(--lime), var(--motion));
}
.halo-dev{position:relative; width:86%; filter:drop-shadow(0 32px 42px rgba(20,19,26,.22))}
.halo-dot{position:absolute; width:clamp(36px,3.6vw,46px); aspect-ratio:1; border-radius:50%; background:var(--card); border:2.5px solid var(--d); display:grid; place-items:center; box-shadow:var(--sh-2); color:var(--di)}
.halo-dot .ic{width:56%; height:56%}
.halo-dot::after{content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid var(--d); opacity:0; animation:haloPulse 3.8s ease-out var(--delay,0s) infinite}
@keyframes haloPulse{0%{transform:scale(.9); opacity:.7} 70%,100%{transform:scale(1.55); opacity:0}}
.hero-inset{position:absolute; right:-4%; bottom:-2%; width:36%; max-width:196px; border-radius:var(--r); overflow:hidden; box-shadow:var(--sh-3); border:5px solid var(--card); background:var(--card); margin:0}
.hero-inset img{width:100%; aspect-ratio:16/11; object-fit:cover; object-position:50% 16%}
.hero-inset figcaption{position:absolute; inset:auto 7px 7px; background:rgba(58,44,52,.76); color:#fff; font:700 11.5px/1.3 var(--body); padding:6px 9px; border-radius:8px; backdrop-filter:blur(6px)}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero .lede{max-width:52ch}
  .halo{order:-1; max-width:500px; margin-inline:auto; width:100%}
  /* the inset is too small at this size to carry a caption legibly */
  .hero-inset{width:42%}
  .hero-inset figcaption{display:none}
}

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.strip{background:var(--card); border-block:1px solid var(--line); padding:clamp(26px,3.4vw,40px) 0}
.strip-in{display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,3vw,34px)}
.stat b{display:block; font:600 clamp(29px,3.5vw,42px)/1 var(--display); color:var(--ink); letter-spacing:-.03em}
.stat b .u{font-size:.55em; letter-spacing:0; color:var(--ink-4); margin-left:3px}
.stat span{display:block; margin-top:9px; font-size:15px; color:var(--ink-4); line-height:1.45}
@media (max-width:760px){.strip-in{grid-template-columns:repeat(2,1fr); gap:26px}}

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.sec{padding:clamp(58px,8vw,110px) 0; position:relative}
.sec-head{max-width:64ch}
.sec-head h2{margin:16px 0 0}
.sec-head .lede{margin-top:18px}
.sec-head.mid{margin-inline:auto; text-align:center}
.sec-head.mid .eyebrow{justify-content:center}
.bg-blush{background:var(--blush)} .bg-peach{background:var(--peach)}
.bg-sky{background:var(--sky)} .bg-lilac{background:var(--lilac)} .bg-card{background:var(--card)}

/* ==========================================================================
   ALERT LEGEND (scroll-spy rail)
   ========================================================================== */
.legend{display:flex; flex-wrap:wrap; gap:9px; margin-top:34px}
.palette-line{margin-top:22px; font:600 14.5px/1.8 var(--body); color:var(--ink-4)}
.palette-line b{font-family:var(--mono); font-weight:600; font-size:13.5px; color:var(--ink-2); background:var(--card-2); border:1px solid var(--line); border-radius:6px; padding:2px 6px; margin-right:3px}
.legend a{
  display:inline-flex; align-items:center; gap:9px; padding:9px 15px 9px 12px; border-radius:var(--pill);
  background:var(--card); border:1.5px solid var(--line); color:var(--ink-2);
  font:700 14.5px/1 var(--body); text-decoration:none!important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.legend a .sw{width:14px; height:14px; border-radius:50%; background:var(--e-pastel); box-shadow:0 0 0 3px var(--e-wash); flex:none}
.legend a:hover{transform:translateY(-2px); box-shadow:var(--sh-1); border-color:var(--e-pastel)}
.legend a.on{background:var(--e-wash); border-color:var(--e-pastel); color:var(--e-ink)}

/* ==========================================================================
   THE SIX AI ALERT BLOCKS
   ========================================================================== */
.alert-blk{padding:clamp(46px,6vw,84px) 0; position:relative; background:var(--e-wash)}
.alert-blk + .alert-blk{border-top:1px solid rgba(0,0,0,.035)}
.alert-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); gap:clamp(28px,4.4vw,64px); align-items:center}
.alert-blk.flip .alert-grid > .alert-media{order:-1}

.alert-no{font:700 13px/1 var(--body); letter-spacing:.16em; text-transform:uppercase; color:var(--e-ink); opacity:.72}
.alert-badge{
  position:relative; width:86px; height:86px; border-radius:50%; background:var(--card);
  border:3px solid var(--e-pastel); display:grid; place-items:center; color:var(--e-ink);
  box-shadow:var(--sh-2); margin:20px 0 22px;
}
.alert-badge .ic{width:52%; height:52%}
.alert-badge::after{content:""; position:absolute; inset:-10px; border-radius:50%; border:2.5px solid var(--e-pastel); opacity:0; animation:haloPulse 3.2s ease-out infinite}
.alert-blk h3{margin:0}
.alert-blk .sub{margin-top:14px; font-size:clamp(16.5px,1.4vw,18.5px); color:var(--ink-3); line-height:1.6; max-width:46ch}
.alert-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:18px}

/* the one place a dark surface is allowed: a miniature of the app screen,
   so the exact in-app string is quoted verbatim and reads as "the app" */
.app-quote{
  margin-top:24px; background:#292929; border-radius:var(--r); padding:15px 17px;
  box-shadow:var(--sh-2); border:1px solid rgba(255,255,255,.07); max-width:420px;
}
/* the label that says "this is the app" gets the app's own brand green —
   on #292929 that is 7.86 : 1, which is the surface lime was designed for */
.app-quote .qh{font:700 11px/1 var(--body); letter-spacing:.16em; text-transform:uppercase; color:var(--lime); display:flex; align-items:center; gap:8px}
.app-quote .qh::after{content:""; flex:1; height:1px; background:rgba(255,255,255,.12)}
.app-quote .qm{margin-top:11px; font:700 clamp(17px,1.6vw,20px)/1.3 var(--body); color:#fff; letter-spacing:-.01em}
.app-quote .qr{display:flex; align-items:center; gap:8px; margin-top:12px; flex-wrap:wrap}
.app-quote .qp{display:inline-flex; align-items:center; gap:7px; padding:6px 13px; border-radius:var(--pill); font:700 13.5px/1 var(--body); color:var(--e-pastel); border:1.5px solid var(--e-pastel); background:rgba(255,255,255,.05)}
.app-quote .qs{margin-left:auto; font:700 13px/1 var(--body); color:#8f8f8f; letter-spacing:.04em}

.does{margin-top:26px; display:grid; gap:11px}
.does li{display:flex; gap:12px; align-items:flex-start; font-size:16px; color:var(--ink-3); line-height:1.5}
.does li .n{
  flex:none; width:24px; height:24px; border-radius:50%; background:var(--card); border:1.5px solid var(--e-pastel);
  color:var(--e-ink); font:700 12.5px/1 var(--body); display:grid; place-items:center; margin-top:2px;
}
.does li b{color:var(--ink); font-weight:700}

.tune{margin-top:24px; padding-top:20px; border-top:1px dashed var(--e-pastel); display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center}
.tune .tl{font:700 13px/1 var(--body); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-4)}
.tune .tv{display:inline-flex; align-items:center; gap:7px; font:600 14.5px/1 var(--body); color:var(--ink-2); background:var(--card); border:1px solid var(--line); border-radius:var(--pill); padding:7px 13px}
.tune .tv b{color:var(--e-ink)}

/* scenario photo slot */
.alert-media{position:relative}
.shot{
  position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--card);
  box-shadow:var(--sh-3); border:6px solid var(--card); margin:0;
}
.shot > img{width:100%; aspect-ratio:16/10; object-fit:cover; display:block; background:var(--e-wash)}
.shot figcaption{
  position:absolute; inset:auto 12px 12px; display:flex; align-items:center; gap:9px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-radius:var(--pill);
  padding:8px 14px; font:700 13.5px/1.2 var(--body); color:var(--ink-2); box-shadow:var(--sh-1);
  max-width:calc(100% - 24px);
}
.shot figcaption .sw{width:11px; height:11px; border-radius:50%; background:var(--e-pastel); flex:none}
/* the pane badge the app draws over the live view, echoed onto the photo */
.pane-badge{
  position:absolute; top:16px; left:16px; width:clamp(58px,6vw,76px); aspect-ratio:1; border-radius:50%;
  background:rgba(41,41,41,.62); backdrop-filter:blur(10px); border:3px solid var(--e-pastel);
  display:grid; place-items:center; color:var(--e-pastel); box-shadow:0 6px 18px rgba(0,0,0,.35);
}
.pane-badge.tr{left:auto; right:16px}
.pane-badge.bl{top:auto; bottom:16px}
.pane-badge.br{top:auto; bottom:16px; left:auto; right:16px}
.pane-badge .ic{width:60%; height:60%}
.pane-badge::after{content:""; position:absolute; inset:-8px; border-radius:50%; border:2px solid var(--e-pastel); opacity:0; animation:haloPulse 3.2s ease-out .4s infinite}
@media (max-width:900px){
  .alert-grid{grid-template-columns:1fr}
  .alert-blk.flip .alert-grid > .alert-media{order:0}
  .alert-badge{width:72px; height:72px; margin:16px 0 18px}
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.fgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(268px,1fr)); gap:16px; margin-top:44px}
.fcard{
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:26px 24px 24px;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; position:relative; overflow:hidden;
}
.fcard::before{content:""; position:absolute; inset:auto auto 0 0; width:100%; height:3px; background:var(--fc,var(--primary-t2)); opacity:0; transition:opacity .2s ease}
.fcard:hover{transform:translateY(-3px); box-shadow:var(--sh-2); border-color:var(--fc,var(--primary-t2))}
.fcard:hover::before{opacity:1}
.fcard .fi{width:46px; height:46px; border-radius:14px; background:var(--fw,var(--primary-t)); color:var(--fk,var(--primary)); display:grid; place-items:center; margin-bottom:18px}
.fcard .fi .ic{width:25px; height:25px}
.fcard h4{margin:0 0 9px}
.fcard p{font-size:15.5px; line-height:1.58; color:var(--ink-3)}
.fcard .tag{display:inline-block; margin-top:14px; font:700 12px/1 var(--body); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-4)}

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,3vw,34px); margin-top:48px; counter-reset:s}
.step{position:relative; padding-top:8px}
.step::before{
  counter-increment:s; content:counter(s,decimal-leading-zero);
  font:600 clamp(46px,5vw,64px)/1 var(--display); color:var(--primary-t2); letter-spacing:-.04em; display:block; margin-bottom:12px;
}
.step h4{margin:0 0 10px}
.step p{font-size:16px; line-height:1.6}
@media (max-width:860px){.steps{grid-template-columns:1fr; gap:30px}}

/* ==========================================================================
   PRIVACY BAND
   ========================================================================== */
.privacy{position:relative; overflow:hidden; background:linear-gradient(150deg,#F5F1FF 0%,#EEF3FC 46%,#FFF6F9 100%)}
.privacy::before{content:""; position:absolute; inset:auto -10% -55% 40%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(201,198,255,.6),transparent 66%)}
.privacy .wrap{position:relative}
.priv-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.86fr); gap:clamp(28px,5vw,64px); align-items:center}
.priv-list{display:grid; gap:14px; margin-top:30px}
.priv-list li{display:flex; gap:13px; align-items:flex-start; font-size:16.5px; line-height:1.55; color:var(--ink-3)}
.priv-list .ic{width:22px; height:22px; color:var(--primary-ink); flex:none; margin-top:2px}
.priv-list b{color:var(--ink)}
.priv-card{background:var(--card); border-radius:var(--r-lg); padding:30px 28px; box-shadow:var(--sh-2); border:1px solid var(--line)}
.priv-card h4{margin:0 0 6px; font-size:19px}
.priv-card .no{display:flex; gap:11px; align-items:flex-start; padding:13px 0; border-bottom:1px dashed var(--line); font-size:15.5px; line-height:1.5}
.priv-card .no:last-child{border-bottom:0; padding-bottom:0}
.priv-card .no .x{flex:none; width:22px; height:22px; border-radius:50%; background:#FFE1DF; color:var(--lost-ink); display:grid; place-items:center; font:700 13px/1 var(--body); margin-top:1px}
@media (max-width:900px){.priv-grid{grid-template-columns:1fr}}

/* ==========================================================================
   APP TOUR
   ========================================================================== */
.tour{display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(14px,2.4vw,28px); margin-top:48px}
.phone{margin:0}
.phone .bezel{
  border-radius:34px; background:linear-gradient(160deg,#FFFFFF,#FDEFF6); padding:9px;
  box-shadow:var(--sh-3); border:1px solid var(--line); position:relative;
}
.phone img{border-radius:26px; width:100%; display:block}
.phone figcaption{margin-top:16px; text-align:center}
.phone figcaption b{display:block; font:700 15.5px/1.3 var(--body); color:var(--ink)}
.phone figcaption span{display:block; margin-top:4px; font-size:14px; color:var(--ink-4); line-height:1.45}
@media (max-width:900px){.tour{grid-template-columns:repeat(2,1fr); gap:24px}}
@media (max-width:520px){.tour{grid-template-columns:1fr; max-width:280px; margin-inline:auto}}

/* ==========================================================================
   SPEC TABLE
   ========================================================================== */
.spec{margin-top:44px; background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-1)}
.spec-row{display:grid; grid-template-columns:minmax(180px,.42fr) minmax(0,1fr); gap:0; border-bottom:1px solid var(--line)}
.spec-row:last-child{border-bottom:0}
.spec-row dt{padding:17px 24px; font:700 15px/1.45 var(--body); color:var(--ink); background:var(--card-2); border-right:1px solid var(--line)}
.spec-row dd{margin:0; padding:17px 24px; font-size:16px; line-height:1.55; color:var(--ink-3)}
.spec-row dd .mono{color:var(--ink-2)}
@media (max-width:700px){
  .spec-row{grid-template-columns:1fr}
  .spec-row dt{border-right:0; border-bottom:1px solid var(--line); padding-bottom:12px}
  .spec-row dd{padding-top:12px}
}
.spec-note{margin-top:16px; font-size:14.5px; color:var(--ink-4); line-height:1.55}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq{margin-top:44px; max-width:900px}
.faq details{background:var(--card); border:1px solid var(--line); border-radius:var(--r); margin-bottom:12px; overflow:hidden; transition:box-shadow .2s ease, border-color .2s ease}
.faq details[open]{box-shadow:var(--sh-2); border-color:var(--primary-t2)}
.faq summary{cursor:pointer; list-style:none; padding:20px 56px 20px 24px; font:700 clamp(16.5px,1.5vw,18.5px)/1.4 var(--body); color:var(--ink); position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:""; position:absolute; right:24px; top:50%; width:11px; height:11px; margin-top:-7px; border-right:2.5px solid var(--primary-ink); border-bottom:2.5px solid var(--primary-ink); transform:rotate(45deg); transition:transform .22s ease}
.faq details[open] summary::after{transform:rotate(-135deg); margin-top:-3px}
.faq .a{padding:0 24px 22px; font-size:16.5px; line-height:1.66; color:var(--ink-3)}
.faq .a p + p{margin-top:12px}

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
/* The page closes on a solid near-black field. After a whole page of light it
   lands like a chord change, and it is the one place the alert colours get to
   sit at full strength against something dark, exactly as they do in the app. */
.cta{position:relative; overflow:hidden; background:var(--ink); text-align:center; color:#CFCDD8}
.cta::before{content:""; position:absolute; inset:-55% 20% auto -25%; aspect-ratio:1; border-radius:50%;
             background:radial-gradient(circle,rgba(150,240,130,.22),transparent 68%)}
.cta h2,.cta .h2{color:#fff}
.cta .lede{color:#CFCDD8}
.cta .btn-s{background:transparent; border-color:rgba(255,255,255,.28); color:#fff}
.cta .btn-s:hover{background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.5)}
.cta .wrap{position:relative}
.cta h2{max-width:22ch; margin-inline:auto}
.cta .lede{max-width:56ch; margin:20px auto 0}
.cta-btns{display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:34px}
.cta-halo{display:flex; justify-content:center; gap:10px; margin-bottom:26px}
.cta-halo i{width:13px; height:13px; border-radius:50%; display:block}

.ftr{background:var(--card); border-top:1px solid var(--line); padding:clamp(44px,5vw,64px) 0 34px}
.ftr-grid{display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:clamp(24px,4vw,48px)}
.ftr h5{font:700 12.5px/1 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-4); margin:0 0 16px}
.ftr li{margin-bottom:10px; font-size:15.5px}
.ftr li a{color:var(--ink-3)}
.ftr li a:hover{color:var(--primary-ink)}
.ftr .about{font-size:15.5px; line-height:1.6; max-width:34ch; margin-top:16px; color:var(--ink-3)}
/* trademark credit, on any page that sets tmCredit (car, automakers); was in help.css until 2026-11-11, so only the car page got it */
.ftr .tm{margin:30px 0 0; font-size:15px; line-height:1.55; color:var(--ink-4)}
.ftr-btm{margin-top:40px; padding-top:24px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; font-size:14.5px; color:var(--ink-4)}
@media (max-width:860px){.ftr-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.ftr-grid{grid-template-columns:1fr}}

/* ---- honest-note callout (used inside alert blocks + reach box) ---- */
.note{
  margin-top:22px; display:flex; gap:12px; align-items:flex-start;
  background:var(--card); border:1px solid var(--line); border-left:4px solid var(--e-pastel,var(--primary-t2));
  border-radius:var(--r-sm); padding:14px 16px; font-size:15px; line-height:1.55; color:var(--ink-3); max-width:52ch;
}
.note .ic{width:19px; height:19px; color:var(--e-ink,var(--primary-ink)); flex:none; margin-top:2px}
.note b{color:var(--ink)}

/* ==========================================================================
   WHY A CEILING CAMERA
   ========================================================================== */
.why-grid{display:grid; grid-template-columns:minmax(0,.94fr) minmax(0,1fr); gap:clamp(28px,5vw,64px); align-items:center; margin-top:8px}
.why-shot{margin:0; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-3); border:6px solid var(--card); position:relative}
.why-shot img{width:100%; aspect-ratio:4/3.4; object-fit:cover; object-position:50% 18%}
.why-shot figcaption{z-index:2}
.why-shot figcaption{position:absolute; inset:auto 12px 12px; background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border-radius:var(--pill); padding:9px 15px; font:700 13.5px/1.3 var(--body); color:var(--ink-2); box-shadow:var(--sh-1)}
.why-list{display:grid; gap:22px; margin-top:32px}
.why-list li{display:grid; grid-template-columns:46px 1fr; gap:16px; align-items:start}
.why-list .wi{width:46px; height:46px; display:grid; place-items:center}
.why-list .wi .ic{width:24px; height:24px}
.why-list b{display:block; font:700 17.5px/1.35 var(--body); color:var(--ink); margin-bottom:5px}
.why-list p{font-size:16px; line-height:1.58}
@media (max-width:900px){.why-grid{grid-template-columns:1fr} .why-media{order:-1}}
/* the same rows, laid out two-up when they fill a chapter on their own (#privacy) */
.why-list.why-cols{grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(28px,5vw,64px); row-gap:28px; margin-top:clamp(34px,6vh,56px)}
@media (max-width:900px){.why-list.why-cols{grid-template-columns:1fr}}

/* ==========================================================================
   FEATURE GROUPS
   ========================================================================== */
.grp{margin-top:clamp(44px,5vw,68px)}
.grp-h{display:flex; align-items:baseline; gap:14px; padding-bottom:14px; border-bottom:2px solid var(--line)}
.grp-h h3{font-size:clamp(21px,2vw,25px); margin:0}
.grp-h span{font:700 13px/1 var(--body); letter-spacing:.12em; text-transform:uppercase; color:var(--ink-4); margin-left:auto; white-space:nowrap}
.grp .fgrid{margin-top:20px}

/* ==========================================================================
   HOW ALERTS REACH YOU (integrity box)
   ========================================================================== */
/* trust page "straight answers" (2026-11-10): an open two-column block instead of a card holding cards.
   The question sits on the left and stays in view; the answers are plain rows under one strong rule. */
.answers{margin-top:44px; display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.3fr); gap:clamp(28px,5.5vw,84px); align-items:start}
.answers-hd{position:sticky; top:112px}
.answers-hd .eyebrow{margin-bottom:14px}
.answers .answers-hd :is(h2,h3){margin:0 0 14px; font-size:clamp(24px,2.8vw,36px); line-height:1.14; letter-spacing:-.02em}
.answers-lede{margin:0; font-size:16.5px; line-height:1.6; color:var(--ink-3); max-width:46ch}
.answers-list{list-style:none; margin:0; padding:0; border-top:3px solid var(--primary); border-image:var(--aurora-rule) 1}
.answer{display:grid; grid-template-columns:46px minmax(0,1fr); column-gap:20px; padding:24px 0 26px; border-bottom:1px solid var(--line-2)}
.answer-ic{grid-row:1 / span 2; width:46px; height:46px; display:grid; place-items:center}
.answer-ic .ic{width:23px; height:23px}
/* ---- icon rings (2026-11-10, Julia: the gradient-filled rounded squares looked dull; use the gradient
   LINE where icons are). Every icon holder is now a thin ring drawn with the aurora rule, open in the
   middle, with the glyph inside in the readable green. The ring is a ::before so the glyph is not
   masked: gradient background, then a mask that keeps only the padding-wide rim. */
.why-list .wi, .answer-ic, .reach-item .ri, .manual-list .mi, .fact-ic, .chooser-list .go{position:relative; border-radius:50%; color:var(--primary-ink)}
.why-list .wi::before, .answer-ic::before, .reach-item .ri::before, .manual-list .mi::before, .fact-ic::before, .chooser-list .go::before{
  content:""; position:absolute; inset:0; border-radius:50%; padding:2.5px; pointer-events:none;
  background:var(--aurora-ring);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite:exclude;
}
.answer b{display:block; font:700 18px/1.3 var(--body); color:var(--ink); margin:1px 0 7px}
.answer p{margin:0; font-size:16px; line-height:1.6; color:var(--ink-3)}
/* a row that is a link (support page): the whole row is the target */
.answer-link{text-decoration:none!important; color:inherit; padding-block:18px; align-items:center; transition:background .18s ease}
.answer-link b{margin:0 0 2px; transition:color .18s ease}
.answer-link .answer-ic{transition:transform .18s ease}
.answer-link:hover b, .answer-link:focus-visible b{color:var(--primary-ink)}
.answer-link:hover .answer-ic, .answer-link:focus-visible .answer-ic{transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){ .answer-link .answer-ic{transition:none} }
/* zh page titles top out at 40px, so the block heading steps down further to stay clearly below them */
:lang(zh) .answers .answers-hd :is(h2,h3){letter-spacing:0; font-size:clamp(20px,2.3vw,28px); line-height:1.25}
@media (max-width:860px){
  .answers{grid-template-columns:1fr; gap:26px}
  .answers-hd{position:static}
  .answer{grid-template-columns:40px minmax(0,1fr); column-gap:14px; padding:20px 0 22px}
  .answer-ic{width:40px; height:40px}
  .answer-ic .ic{width:20px; height:20px}
}
.reach-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; margin-top:28px}
/* four cards: auto-fit made that 3 + 1. Two by two keeps rows even, and four
   across would leave Chinese at ~14 characters a line. */
.reach-grid.is-pairs{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:680px){.reach-grid.is-pairs{grid-template-columns:1fr}}
.reach-item{padding:20px 20px 18px; border-radius:var(--r); background:var(--card-2); border:1px solid var(--line)}
.reach-item .ri{width:42px; height:42px; display:grid; place-items:center; margin-bottom:14px}
.reach-item .ri .ic{width:21px; height:21px}
.reach-item b{display:block; font:700 16px/1.35 var(--body); color:var(--ink); margin-bottom:7px}
.reach-item p{font-size:15px; line-height:1.55}

/* ==========================================================================
   MOTION / PRINT
   ========================================================================== */
/* NOTE: this covers CSS animations and transitions only. GSAP writes inline
   transform/opacity frame by frame — neither an animation nor a transition —
   so it is untouched by this block. Reduced motion for the scroll work is
   handled in motion.js via gsap.matchMedia(). */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important; transition-duration:.01ms!important}
}
@media print{.hdr,.hero-cta,.cta-btns,.burger{display:none}}

/* ==========================================================================
   LANGUAGE SWITCHER (header)
   ========================================================================== */
.langsw{position:relative; flex:none}
.langsw-btn{
  display:inline-flex; align-items:center; gap:8px; cursor:pointer;
  background:var(--card); border:1.5px solid var(--line); border-radius:var(--pill);
  padding:10px 14px; font:700 14.5px/1 var(--body); color:var(--ink-2);
  transition:border-color .18s ease, box-shadow .18s ease;
}
.langsw-btn:hover{border-color:var(--primary-t2); box-shadow:var(--sh-1)}
.langsw-btn .ic{width:16px; height:16px; color:var(--primary-ink)}
.langsw-btn::after{
  content:""; width:7px; height:7px; margin-left:2px;
  border-right:2px solid var(--ink-4); border-bottom:2px solid var(--ink-4);
  transform:rotate(45deg) translateY(-2px); transition:transform .2s ease;
}
.langsw-btn[aria-expanded="true"]::after{transform:rotate(-135deg) translateY(-1px)}
.langsw ul{
  position:absolute; right:0; top:calc(100% + 10px); min-width:196px; z-index:120;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r);
  box-shadow:var(--sh-2); padding:7px; display:none;
}
.langsw ul.open{display:block}
.langsw ul a{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--r-xs);
  font:600 15px/1.3 var(--body); color:var(--ink-2); text-decoration:none!important;
}
.langsw ul a:hover{background:var(--card-2); color:var(--ink)}
.langsw ul a[aria-current="true"]{background:var(--aurora-chip); color:var(--primary-ink); font-weight:700}
.langsw ul .soon{display:flex; align-items:center; gap:10px; padding:10px 12px; font:600 15px/1.3 var(--body); color:var(--ink-4); cursor:default}
.langsw ul .tag{margin-left:auto; font:700 11px/1 var(--body); letter-spacing:.1em; text-transform:uppercase; color:var(--ink-4)}
@media (max-width:1120px){
  /* The logo anchors the left edge. `order:-1` used to put the language
     switcher ahead of it, and because the burger also carried margin-left:auto
     the two of them split the free space and stranded the brand mid-header.
     One auto margin, applied to the first item of the right-hand group. */
  .langsw{order:1; margin-left:auto}
  .burger{order:2; margin-left:0}
  .langsw-btn{padding:10px 12px}
  .langsw-btn .label{display:none}
}
@media (min-width:1121px) and (max-width:1300px){
  .langsw-btn{padding:10px 12px}
  .langsw-btn .label{display:none}
}
/* Spanish has the longest labels: above 1300px, where the header content is
   capped at 1068px wide, it still ran the CTA 37px into the right gutter.
   English joined it on 2026-10-29 when "Detection" became "AI monitoring" */
@media (min-width:1301px){
  :lang(es) .hdr-in, :lang(en) .hdr-in{gap:24px}
  :lang(es) .nav a, :lang(en) .nav a{padding-inline:9px}
}
/* logo, language button and menu button need 318px in one row. Below 360px
   there is less than that (280px on a 320px phone): the menu button was
   squeezed and the page scrolled sideways. Each piece gives up a little. */
@media (max-width:359px){
  .hdr-in{gap:10px}
  .brand{gap:8px}
  .brand .mark{width:30px; height:30px; border-radius:8px}
  .brand .word{height:13px}
  .langsw-btn{padding:10px; gap:6px}
}

/* ==========================================================================
   GET THE APP
   ========================================================================== */
/* on the aurora band the meta grey drops to 4.2:1 at the sky end, so meta text and rules take
   the next step down while they sit on it */
.dl{position:relative; overflow:hidden; background:var(--aurora); --ink-4:var(--ink-3); --line:rgba(20,60,50,.16)}
.dl::before{content:""; position:absolute; inset:-45% -10% auto 55%; aspect-ratio:1; border-radius:50%;
            background:radial-gradient(circle,rgba(255,255,255,.7),transparent 66%)}
.dl .wrap{position:relative}
.dl-grid{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.78fr); gap:clamp(30px,5vw,64px); align-items:center}
.dl-head{display:flex; align-items:center; gap:18px; margin-bottom:8px}
.dl-head img{width:76px; height:76px; border-radius:19px; box-shadow:var(--sh-2); flex:none}
.dl-head b{display:block; font:600 clamp(22px,2.2vw,27px)/1.2 var(--display); color:var(--ink); letter-spacing:-.02em}
.dl-head span{display:block; margin-top:5px; font-size:15px; color:var(--ink-4)}
.stores{display:flex; flex-wrap:wrap; gap:12px; margin-top:28px}
.store-btn{
  display:inline-flex; align-items:center; gap:13px; text-decoration:none!important;
  background:var(--ink); color:#fff; border-radius:16px; padding:13px 22px 13px 17px;
  box-shadow:0 12px 26px -14px rgba(58,44,52,.75);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.store-btn:hover{background:#2C2029; transform:translateY(-2px); box-shadow:0 18px 32px -14px rgba(58,44,52,.6)}
.store-btn .glyph{width:34px; height:34px; border-radius:10px; background:rgba(255,255,255,.13); display:grid; place-items:center; flex:none}
.store-btn .glyph .ic{width:20px; height:20px; color:var(--lime)}   /* 7.14 : 1 on --ink */
.store-btn span{display:block; font:700 11px/1 var(--body); letter-spacing:.13em; text-transform:uppercase; opacity:.68}
.store-btn b{display:block; margin-top:5px; font:700 17px/1 var(--body); letter-spacing:-.01em}
.dl-req{display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:26px; padding-top:22px; border-top:1px solid var(--line)}
.dl-req li{display:flex; align-items:center; gap:9px; font:600 14.5px/1.35 var(--body); color:var(--ink-2)}
.dl-req .ic{width:18px; height:18px; color:var(--primary-ink); flex:none}
.dl-phones{display:flex; justify-content:center; gap:clamp(10px,2vw,18px)}
.dl-phones .phone{max-width:200px; flex:1}
.dl-phones .phone:nth-child(2){margin-top:34px}
.dl-note{margin:14px 0 0; text-align:center; font-size:13.5px; color:var(--ink-4)}
@media (max-width:900px){
  .dl-grid{grid-template-columns:1fr}
  .dl-phones{max-width:420px; margin-inline:auto}
}

/* ==========================================================================
   LEGAL PAGE (terms / privacy)
   ========================================================================== */
.legal-hd{padding:clamp(40px,6vw,72px) 0 clamp(26px,3vw,38px); background:var(--aurora-soft); border-bottom:1px solid var(--line)}
.legal-hd h1{margin:16px 0 0; font-size:clamp(32px,4.6vw,50px); letter-spacing:-.028em}
.legal-hd .lede{margin-top:18px; max-width:62ch}
.legal-meta{display:flex; flex-wrap:wrap; gap:8px 12px; margin-top:26px}
.legal-meta span{
  display:inline-flex; align-items:center; gap:8px; background:var(--card);
  border:1px solid var(--line); border-radius:var(--pill); padding:8px 15px;
  font:600 14px/1 var(--body); color:var(--ink-2);
}
.legal-meta .ic{width:16px; height:16px; color:var(--primary-ink)}
/* padding-block, not the shorthand: this sits on a .wrap, and "padding:X 0 Y"
   wiped the side gutter, so every legal page ran edge to edge below --wrap */
.legal-body{display:grid; grid-template-columns:minmax(0,232px) minmax(0,1fr); gap:clamp(28px,5vw,68px); padding-block:clamp(40px,5vw,72px) clamp(56px,7vw,96px); align-items:start}
.legal-toc{position:sticky; top:96px}
.legal-toc h2{font:700 12.5px/1 var(--body); letter-spacing:.14em; text-transform:uppercase; color:var(--ink-4); margin:0 0 14px}
.legal-toc ol{counter-reset:lt; display:grid; gap:2px; list-style:none; margin:0; padding:0}
.legal-toc a{
  display:block; padding:8px 12px; border-radius:var(--r-xs); font-size:15px; color:var(--ink-3);
  text-decoration:none!important; transition:background .16s ease, color .16s ease;
}
.legal-toc a b{color:var(--ink-4); font-variant-numeric:tabular-nums; font-weight:700; margin-right:8px}
.legal-toc a:hover{background:var(--card-2); color:var(--ink)}
.legal-toc a.on{background:var(--aurora-chip); color:var(--primary-ink); font-weight:700}
.legal-art{max-width:70ch}
.legal-art > section{padding-bottom:34px; margin-bottom:34px; border-bottom:1px solid var(--line)}
.legal-art > section:last-child{border-bottom:0; margin-bottom:0}
.legal-art h2{font-size:clamp(21px,2vw,26px); margin:0 0 14px}
.legal-art h3{font-size:18px; margin:24px 0 10px}
.legal-art p{margin-bottom:14px}
.legal-art p:last-child{margin-bottom:0}
.legal-art ul{display:grid; gap:10px; margin:14px 0}
.legal-art ul li{display:flex; gap:12px; align-items:flex-start}
.legal-art ul li::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--primary-t2); flex:none; margin-top:10px}
.legal-art .num{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:11px;
  background:var(--aurora-tile); color:var(--tile-ink); font:700 15px/1 var(--body);
  margin-bottom:14px; font-variant-numeric:tabular-nums;
}
/* a clause whose final wording still needs legal sign-off */
.pending{
  display:flex; gap:12px; align-items:flex-start; margin:16px 0 0;
  background:var(--onboard-wash); border:1px solid var(--onboard); border-radius:var(--r-sm);
  padding:14px 16px; font-size:15px; line-height:1.55; color:var(--onboard-ink);
}
.pending .ic{width:19px; height:19px; flex:none; margin-top:2px}
.pending b{color:var(--ink)}
@media (max-width:860px){
  /* minmax(0,…), not 1fr: a bare 1fr track grows to its widest table, which
     made the privacy page 542px wide on every phone. The tables scroll in
     their own .legal-table-wrap instead. */
  .legal-body{grid-template-columns:minmax(0,1fr)}
  .legal-toc{position:static}
  .legal-toc ol{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
}

/* ==========================================================================
   UNTRANSLATED-LOCALE NOTICE
   ========================================================================== */
.draft-note{
  background:var(--onboard-wash); border-bottom:1px solid var(--onboard);
  color:var(--onboard-ink); font:600 14.5px/1.5 var(--body);
}
.draft-note .wrap{display:flex; gap:11px; align-items:flex-start; padding-block:12px}
.draft-note .ic{width:18px; height:18px; flex:none; margin-top:2px}

/* ==========================================================================
   LANGUAGE CHOOSER (root index)
   ========================================================================== */
.chooser{min-height:100vh; display:grid; place-items:center; padding:40px var(--gut); position:relative; overflow:hidden}
.chooser::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:
    /* aurora (2026-11-10): lime top right, mint top left, sky below, the same three as the rest of the site */
    radial-gradient(46% 40% at 80% 14%, rgba(198,244,50,.48), transparent 70%),
    radial-gradient(42% 38% at 12% 6%, rgba(95,227,192,.36), transparent 70%),
    radial-gradient(50% 42% at 56% 92%, rgba(138,212,255,.42), transparent 72%);
}
.chooser-card{position:relative; z-index:1; width:100%; max-width:520px; text-align:center}
.chooser-card > img{width:82px; height:82px; border-radius:21px; box-shadow:var(--sh-2); margin:0 auto 26px}
.chooser-card h1{font-size:clamp(28px,4vw,38px); letter-spacing:-.028em}
.chooser-card > p{margin-top:14px; color:var(--ink-3)}
.chooser-list{display:grid; gap:10px; margin-top:34px; text-align:left}
.chooser-list a{
  display:flex; align-items:center; gap:14px; border:1.5px solid transparent;
  /* white fill, line-coloured border; on hover the border turns into the aurora line */
  background:linear-gradient(var(--card),var(--card)) padding-box, linear-gradient(var(--line),var(--line)) border-box;
  border-radius:var(--r); padding:17px 20px; text-decoration:none!important;
  transition:transform .18s ease, box-shadow .18s ease;
}
.chooser-list a:hover, .chooser-list a:focus-visible{transform:translateY(-2px); box-shadow:var(--sh-2);
  background:linear-gradient(var(--card),var(--card)) padding-box, var(--aurora-ring) border-box}
.chooser-list b{display:block; font:700 17px/1.25 var(--body); color:var(--ink)}
.chooser-list span{display:block; margin-top:3px; font-size:14.5px; color:var(--ink-4)}
.chooser-list small{display:block; margin-top:4px; font-size:14.5px; color:var(--ink-3)}
.chooser-list .go{margin-left:auto; width:38px; height:38px; flex:none; color:var(--primary-ink); display:grid; place-items:center}
.chooser-list .go .ic{width:18px; height:18px}
.chooser-foot{position:relative; z-index:1; margin-top:30px; font-size:14.5px; color:var(--ink-3); text-align:center}

/* ==========================================================================
   CJK TYPOGRAPHY
   Han glyphs are full-width and dense: at the same pixel size they read
   perceptually much larger than Latin, and a display line that carries ten
   English words carries four or five characters. So every display size steps
   down, the negative tracking that tightens Latin is removed (it crowds
   full-width glyphs instead), and the leading opens up because stacked Han
   has no ascender/descender gaps to breathe in.

   Lines break only after punctuation or a space, so a two character word is
   never split across a line; `anywhere` is the fallback for a clause too long
   for a narrow phone, and `line-break: strict` keeps closing punctuation from
   ever starting one. (This used to be `word-break: auto-phrase`, but Chrome's
   phrase segmenter only knows Japanese: on zh it fell back to breaking
   between any two Han characters -- 警｜示, 看顧｜整排 -- and, being later in
   the file, it overrode the keep-all rule near the top.)
   ========================================================================== */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .h2, :lang(zh) .lede,
:lang(zh) .seven li, :lang(zh) .beat-copy .sub{
  word-break:keep-all; overflow-wrap:anywhere; line-break:strict; letter-spacing:0;
}

/* Phones (Julia, iPhone screenshots, 2026-11-11). A zh column there is only ~17-19 characters
   wide, and breaking only after punctuation left a third to a half of many lines empty. So
   left-aligned running text wraps like ordinary Chinese on a phone and fills its lines (a word
   may now split across two lines). Display lines and centred text keep their phrase breaks:
   short lines are what they are for, and centred text has no ragged edge to look empty. */
@media (max-width:700px){
  :lang(zh) :is(.lede, .beat-copy .sub, figcaption, .seven li, .setup-p, .choose-p){word-break:normal}
  :lang(zh) :is(.lede-lead, .cta .lede, .fov figcaption, .panes2 figcaption){word-break:keep-all}
}

/* Safari and every iPhone browser (WebKit). Two things differ from Chrome there:
   1. word-break:keep-all breaks ONLY at spaces, never after 「，」「。」. A zh lede wrapped after
      "Guardian Halo+" and after "Physical", leaving most of those lines empty, and a heading
      with no space in it could only be cut at the edge of the screen.
   2. text-wrap:pretty re-rags the whole paragraph (Chrome only tidies the last lines), which
      ends CJK lines two or three characters early.
   So in WebKit zh text wraps like ordinary Chinese at every width, running text uses plain
   wrapping, and display lines are balanced instead. Both queries are true only in Apple's
   WebKit; !important because the keep-all rules also live in drive.css and help.css. */
@supports (font:-apple-system-body) or (-webkit-touch-callout:none){
  :lang(zh){word-break:normal!important}
  :is(p,li):where(:lang(zh)){text-wrap:wrap}
  :lang(zh) .lede-lead{text-wrap:balance}
}

:lang(zh) .drive-hero h1{font-size:clamp(31px,min(5.6vw,8vh),80px); line-height:1.12; max-width:15ch}
:lang(zh) .drive-hero .lede{font-size:clamp(16px,1.35vw,18px); line-height:1.75; max-width:34em}
/* Measures elsewhere are in ch, the width of "0" -- about half a CJK glyph --
   so a Latin-tuned 60ch is only ~31 Chinese characters. The hero lede was cut
   to 30ch (~18 a line) and broke after every few words with half its column
   empty. Chinese reads comfortably at 30-40 a line, so zh measures are set in
   em, where 1em is one character. */
:lang(zh) .ch-lead{max-width:44em}
:lang(zh) .ch h2, :lang(zh) .page-hd h1{font-size:clamp(25px,3.3vw,40px); line-height:1.22}
:lang(zh) .beat-copy h3{font-size:clamp(22px,2.6vw,33px); line-height:1.26}
:lang(zh) .beat-copy .sub{font-size:clamp(15.5px,1.25vw,17px); line-height:1.78}
:lang(zh) .seven li{font-size:clamp(17px,1.95vw,24px); line-height:1.58}
:lang(zh) .toast-name{font-size:clamp(16px,4.2cqw,23px); letter-spacing:0}
:lang(zh) .h2{line-height:1.2}
:lang(zh) .acts-copy h3{font-size:clamp(20px,2.4vw,30px); line-height:1.24}

/* ------------------------------------------------- legal document blocks
   The privacy policy and the terms are quoted verbatim, so the styling has
   only one job: make a dense legal instrument readable. Definition lists for
   the "Heading: explanation" pattern the source uses throughout, real tables
   for the CCPA charts, and a scroll container so a five-column chart cannot
   blow out the page on a phone. */
.legal-note{
  display:flex; gap:12px; align-items:flex-start; margin:0 0 30px;
  padding:16px 18px; border-radius:var(--r-sm);
  background:var(--sky); border:1px solid var(--line-2);
}
.legal-note .ic{width:20px; height:20px; color:var(--fast-ink); flex:none; margin-top:2px}
.legal-note p{margin:0; font-size:15.5px; line-height:1.6; color:var(--ink-2)}
.legal-intro p{font-size:17.5px; line-height:1.72; color:var(--ink-2)}
.legal-intro{margin-bottom:38px}

.legal-art dl{margin:16px 0 18px}
.legal-art dt{
  font:700 16.5px/1.45 var(--body); color:var(--ink); margin-top:18px;
}
.legal-art dt:first-child{margin-top:0}
.legal-art dd{margin:6px 0 0; padding-left:16px; border-left:2px solid var(--line-2)}
.legal-caps{font-weight:700; color:var(--ink); letter-spacing:.02em}
.legal-callout{
  margin:18px 0; padding:16px 18px; border-radius:var(--r-sm);
  background:var(--onboard-wash); border:1px solid var(--onboard);
}
.legal-callout b{display:block; font:700 12.5px/1 var(--body); letter-spacing:.12em;
                 text-transform:uppercase; color:var(--onboard-ink); margin-bottom:9px}
.legal-callout p{margin:0; font-size:15.5px; line-height:1.62}

.legal-table-wrap{overflow-x:auto; margin:18px 0 22px; border:1px solid var(--line);
                  border-radius:var(--r-sm); background:var(--card)}
.legal-table-wrap:focus-visible{outline:3px solid var(--primary-ink); outline-offset:2px}
.legal-art table{border-collapse:collapse; width:100%; min-width:520px; font-size:14.5px}
.legal-art th,.legal-art td{padding:11px 14px; text-align:left; vertical-align:top;
                            border-bottom:1px solid var(--line)}
.legal-art th{
  font:700 11.5px/1.3 var(--body); letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-2); background:var(--card-2); position:sticky; top:0;
}
.legal-art tbody tr:last-child td{border-bottom:0}
/* only the two-column YES/NO charts get a rigid last column; in the wider
   charts the last column carries a full sentence and must wrap */
.legal-art table:not(:has(td:nth-child(3))) td:last-child{
  white-space:nowrap; font-weight:700; color:var(--ink-2); text-align:right;
}

/* two or three links (the other legal documents, and on Data Deletion the
   mail request), stacked so none wraps mid-label in the narrow TOC column */
.legal-x{display:grid; gap:12px; justify-items:start; margin-top:22px; padding-top:18px; border-top:1px solid var(--line)}
.legal-x a{display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px}
.legal-x .ic{width:16px; height:16px}
@media (max-width:860px){
  .legal-toc{position:static}
  .legal-art{max-width:none}
}

/* ==========================================================================
   BACK TO TOP
   Hidden until the top is genuinely far away. The class toggles `visibility`
   as well as opacity, so while hidden the button leaves the tab order and the
   accessibility tree on its own — no aria-hidden or tabindex bookkeeping to
   fall out of step. The glyph is the shared arrow, turned to point up.
   ========================================================================== */
.totop{
  position:fixed; z-index:70;
  right:clamp(16px,2.4vw,32px);
  bottom:calc(clamp(16px,3vh,28px) + env(safe-area-inset-bottom, 0px));
  width:52px; height:52px; border-radius:50%; padding:0;
  display:grid; place-items:center; cursor:pointer;
  background:var(--card); color:var(--ink);
  border:1.5px solid var(--line); box-shadow:var(--sh-2);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease,
             box-shadow .2s ease, border-color .2s ease;
}
.totop.on{opacity:1; visibility:visible; transform:none}
.totop:hover{box-shadow:var(--sh-3); border-color:var(--primary-t2)}
.totop:active{transform:translateY(1px)}
.totop:focus-visible{outline:3px solid var(--primary-ink); outline-offset:3px}
.totop .ic{width:22px; height:22px; transform:rotate(-90deg)}

/* ---------------------------------------------------------- entrance gate
   intro.js animates [data-intro] in on load. <head> puts .intro on <html>
   before first paint; intro.js removes it once every start state is set, so
   nothing flashes visible and then vanishes. If the script never arrives the
   animation below shows everything after 2.5 s anyway. */
html.intro [data-intro]{visibility:hidden; animation:intro-safety 0s 2.5s forwards}
@keyframes intro-safety{to{visibility:visible}}
@media (prefers-reduced-motion:reduce){html.intro [data-intro]{visibility:visible; animation:none}}

/* ------------------------------------------------ topic pages (2026-10-28)
   Detection and Trust moved off the home page into pages of their own. The
   page title is an h1 that reads like a chapter heading; the home page keeps
   a short doorway (.teaser) to each. */
.ch.page-hd{padding-top:clamp(40px,7vh,88px)}
.page-hd h1{font-size:clamp(30px,4.6vw,56px); letter-spacing:-.028em; margin:0; line-height:1.08}
/* Trust: headline and lede on the left, the 4:5 photo on the right; on
   phones the photo follows the lede (2026-10-28) */
.trust-hd{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.72fr); gap:clamp(32px,5vw,72px); align-items:center}
.trust-shot{margin:0; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--sh-2); background:var(--line); aspect-ratio:4/5}
.trust-shot img{display:block; width:100%; height:100%; object-fit:cover}
@media (max-width:900px){
  .trust-hd{grid-template-columns:minmax(0,1fr); gap:28px}
  .trust-shot{max-width:480px}
}
:lang(zh) .page-hd h1{letter-spacing:0}
/* For automakers (draft 2026-11-11): reuses the trust header, the why-list and the answers block.
   The photo is the fitted unit, shown whole rather than cropped to 4:5. */
.auto-shot{aspect-ratio:1200/1057}
.auto-facts{list-style:none; margin:24px 0 0; padding:0; display:grid; gap:10px}
.auto-facts li{display:flex; gap:10px; align-items:flex-start; font:600 16px/1.45 var(--body); color:var(--ink-2)}
.auto-facts .ic{flex:none; width:20px; height:20px; margin-top:1px; color:var(--primary-ink)}
.auto-hd-btn{margin:30px 0 0}
.ch.auto-sec{padding-block:clamp(56px,9vh,104px)}
.auto-h2{margin:0; font-size:clamp(26px,3.2vw,40px); line-height:1.14; letter-spacing:-.02em; max-width:24ch}
:lang(zh) .auto-h2{letter-spacing:0}
.teaser-key{margin-top:18px; font:700 clamp(17px,1.5vw,20px)/1.4 var(--body); color:var(--ink)}
.teaser .zchips{margin:16px 0 0}
.teaser-btn{margin-top:28px}
.ch.teaser{padding-block:clamp(56px,9vh,110px)}
.ch.trust-reach{padding-top:0}
.trust-legal{padding:0 0 clamp(72px,10vh,120px)}
.trust-legal p{font-size:15.5px; line-height:1.7; color:var(--ink-3)}
.trust-legal a{color:var(--primary-ink); font-weight:700}
.detect-bridge a{color:inherit; text-decoration:none; display:inline-flex; align-items:center; gap:10px}
.detect-bridge a .ic{width:.8em; height:.8em; color:var(--primary-ink)}
.detect-bridge a:hover{color:var(--primary-ink)}

/* support page (2026-10-28): app download, manuals, other help */
.ch.support-sec{padding-block:clamp(48px,8vh,96px) 0}
/* the header is only eyebrow + h1 since 2026-11-10 (lede removed); the manuals'
   own top padding is the gap, not that plus the chapter's full bottom padding */
.ch.support-hd{padding-bottom:0}
/* one hierarchy on this page (2026-11-10): the page title at the normal page-title size, the three
   blocks under it (manual, app, more help) one clear step down. Before, the title had been cut to two
   thirds because it matched the manual heading, which left that heading larger than the title. */
.ch.support-sec:last-of-type{padding-bottom:clamp(72px,10vh,120px)}
.support-sec .answers{margin-top:0}
.dl .h2{font-size:clamp(24px,2.8vw,36px)}
:lang(zh) .dl .h2{font-size:clamp(20px,2.3vw,28px); line-height:1.25}
/* manuals come first since 2026-11-10; they end with no bottom padding, so the
   download band needs its own gap above it */
#manuals + .dl{margin-top:clamp(48px,8vh,96px)}
.fit-more .btn{margin-top:18px}
