/* AroundBack — aroundbackapp.com
   Design language: dark plum ground, ember/orchid/amber aurora, jade for trust marks. */

:root {
  --bg: #150f12;     /* the app's Theme.color.base */
  --bg-2: #1b1218;
  --card: #211722;
  --card-2: #2a1e2b;
  --line: #3a2b38;
  --ink: #f5efe7;
  --muted: #b3a9b6;
  --faint: #8a8090;
  --ember: #ff6a55;
  --orchid: #c46bff;
  --amber: #ffb454;
  --jade: #4fd0a2;
  --gold: #ffdd6b;
  /* The boundary of an interactive control, which WCAG 1.4.11 requires to reach 3:1
     against what is next to it. --line (#3a2b38) manages 1.46:1 against the page and
     1.38:1 against a field's own fill, and the fill itself is only 1.06:1 from the
     page — so before this token the border was the ONLY thing marking where a field
     was, at half the required contrast. Measured: 3.57:1 on --bg, 3.38:1 on --bg-2. */
  --field-line: #7a6376;
  /* The app's frosted surfaces (Theme.surface.frost*), for cards and devices. */
  --frost-top: #3a2e38;
  --frost-bottom: #201820;
  --frost-edge: #f0c4a0;
  --rose: #ff8fb4;
  /* SF Rounded Heavy is the app's brand display face. Apple devices render it with
     no download; everything else falls back to the body stack. */
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.wrap { width: min(72rem, 92vw); margin-inline: auto; }
a { color: inherit; }
h1, h2, h3, h4 { letter-spacing: -.025em; text-wrap: balance; margin: 0; font-family: var(--display); }
img { max-width: 100%; }

/* ---- top nav ---- */
.nav { position: relative; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .2rem .4rem; font-size: .92rem; }
.nav-links a { color: var(--ink); text-decoration: none; padding: .45rem .75rem; border-radius: 10px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.05); }
.brandmark { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brandmark img { width: 1.8rem; height: 1.8rem; }
.nav .brandmark, footer .brandmark { font-size: 1.58rem; gap: 0; }
.nav .brandmark img, footer .brandmark img { width: 5.4rem; height: 5.4rem; margin-right: -0.4rem; }
/* Narrow screens: brand above, links in compact centred rows. Wrapping (not a
   sideways scroller) means no link, and never the current page, sits off-screen. */
@media (max-width: 52.5rem) {
  .nav .wrap { flex-direction: column; align-items: center; gap: .5rem; }
  .nav-links { justify-content: center; gap: .15rem .1rem; }
  .nav-links a { padding: .45rem .6rem; }
}
.nav-links a:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; }

/* ---- hero ---- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.aurora { position: absolute; inset: -30% -10% auto; height: 130%; z-index: 0; filter: blur(60px) saturate(1.2); opacity: .9; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.a1 { width: 46vw; height: 46vw; left: -6vw; top: -4vw; background: radial-gradient(circle, var(--ember), transparent 62%); }
.a2 { width: 40vw; height: 40vw; right: -4vw; top: 2vw; background: radial-gradient(circle, var(--orchid), transparent 62%); }
.a3 { width: 34vw; height: 34vw; left: 34vw; top: 10vw; background: radial-gradient(circle, var(--amber), transparent 66%); opacity: .5; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,3vw) scale(1.08)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,4vw) scale(1.12)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(3vw,-3vw) scale(.94)} }
/* The aurora drifts only with script (the Pause motion control needs it) and never
   under Reduce Motion. Without either, it rests as a still gradient. */
@media (prefers-reduced-motion: no-preference) {
  .js .a1 { animation: drift1 22s ease-in-out infinite; }
  .js .a2 { animation: drift2 27s ease-in-out infinite; }
  .js .a3 { animation: drift3 31s ease-in-out infinite; }
}
/* A page with no Pause motion control keeps its aurora still. */
.aurora.still span { animation: none !important; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 850; line-height: .98; }
h1 .grad {
  background: linear-gradient(100deg, var(--ember) 8%, var(--gold) 40%, var(--orchid) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--muted); max-width: 40rem; margin: 1.5rem auto 0; line-height: 1.5; }
.lead b { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2.3rem; }
.badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-radius: 14px;
  font-weight: 650; text-decoration: none; border: 1px solid transparent; transition: transform .16s ease, box-shadow .16s ease;
}
.badge:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; }
.badge.primary { background: var(--ember); color: #1a0d0a; box-shadow: 0 10px 30px -12px var(--ember); }
.badge.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--ember); }
.badge.ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.badge.ghost:hover { border-color: var(--orchid); transform: translateY(-2px); }
.badge .sm { font-size: .72rem; font-weight: 500; color: rgba(26,13,10,.85); display: block; line-height: 1; }
.badge.primary .big { font-size: 1.02rem; line-height: 1.15; }
.trustrow { display: flex; flex-wrap: wrap; gap: 1.1rem 1.6rem; justify-content: center; margin-top: 2.6rem; color: var(--faint); font-size: .86rem; }
.trustrow span { display: inline-flex; align-items: center; gap: .45rem; }
.trustrow b { color: var(--jade); font-weight: 700; }

/* ---- shared section ---- */
section { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ember); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); font-weight: 800; margin-top: .5rem; }
.section-lead { color: var(--muted); max-width: 44rem; margin-top: .8rem; font-size: 1.06rem; }
.center { text-align: center; margin-inline: auto; }
.center .section-lead { margin-inline: auto; }
.band { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---- pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1rem; margin-top: 2.6rem; }
.pillar { background: linear-gradient(180deg, color-mix(in srgb, var(--frost-top) 55%, var(--card)), var(--bg-2)); border: 1px solid color-mix(in srgb, var(--frost-edge) 10%, var(--line)); border-radius: 20px; padding: 1.7rem; display: flex; flex-direction: column; }
.pillar .ic { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; }
.pillar.p1 .ic { background: color-mix(in srgb, var(--ember) 18%, transparent); }
.pillar.p2 .ic { background: color-mix(in srgb, var(--orchid) 18%, transparent); }
.pillar.p3 .ic { background: color-mix(in srgb, var(--jade) 18%, transparent); }
.pillar.p4 .ic { background: color-mix(in srgb, var(--gold) 18%, transparent); }
.pillar.p5 .ic { background: color-mix(in srgb, var(--ember) 18%, transparent); }
.pillar.p6 .ic { background: color-mix(in srgb, var(--amber) 18%, transparent); }
.pillar h3 { font-size: 1.28rem; font-weight: 750; }
.pillar p { color: var(--muted); margin: .6rem 0 0; font-size: .98rem; }
.pillar ul { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: .5rem; }
.pillar li { display: flex; gap: .55rem; font-size: .92rem; color: var(--muted); }
.pillar li::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; margin-top: .5rem; background: var(--ember); }
.pillar.p2 li::before { background: var(--orchid); }
.pillar.p3 li::before { background: var(--jade); }
.pillar.p4 li::before { background: var(--gold); }
.pillar.p6 li::before { background: var(--amber); }

/* ---- screenshots ---- */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1.1rem; margin-top: 2.8rem; align-items: start; }
.phone { text-align: center; }
.phone .frame {
  position: relative; border-radius: 34px; border: 1px solid color-mix(in srgb, var(--frost-edge) 14%, var(--line)); overflow: hidden;
  background: linear-gradient(180deg, var(--frost-top), var(--frost-bottom)); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
}
.phone .frame::after { content: ""; position: absolute; inset: 0; border-radius: 34px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.phone img { display: block; width: 100%; height: auto; }
.phone.glow-ember .frame { box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), 0 0 44px -18px color-mix(in srgb, var(--ember) 55%, transparent); }
.phone.glow-orchid .frame { box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), 0 0 44px -18px color-mix(in srgb, var(--orchid) 55%, transparent); }
.phone.glow-jade .frame { box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), 0 0 44px -18px color-mix(in srgb, var(--jade) 55%, transparent); }
.phone.glow-amber .frame { box-shadow: 0 24px 60px -30px rgba(0,0,0,.9), 0 0 44px -18px color-mix(in srgb, var(--amber) 55%, transparent); }
.phone h3 { font-size: 1.02rem; font-weight: 700; margin-top: 1.1rem; }
.phone p { color: var(--faint); font-size: .88rem; margin: .35rem 0 0; }

/* ---- location explainer steps ---- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; margin-top: 2.6rem; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.5rem 3.2rem; }
.step::before { counter-increment: s; content: counter(s); position: absolute; bottom: 1rem; right: 1.3rem; font-size: 2.4rem; font-weight: 850; color: color-mix(in srgb, var(--orchid) 26%, transparent); line-height: 1; }
.step h3 { font-size: 1.12rem; font-weight: 750; }
.step p { color: var(--muted); font-size: .94rem; margin: .55rem 0 0; }
.step .k { color: var(--jade); font-weight: 650; }
.loc-note { margin-top: 2rem; text-align: center; color: var(--faint); font-size: .9rem; }
.loc-note b { color: var(--ink); }

/* ---- safety ---- */
.safety-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: .9rem; margin-top: 2.4rem; }
.safe { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; display: flex; flex-direction: column; }
.safe .h { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.safe .h .g { color: var(--jade); font-size: 1.15rem; }
.safe p { color: var(--muted); font-size: .9rem; margin: .5rem 0 1rem; }

/* ---- pricing ---- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.1rem; margin-top: 2.6rem; align-items: stretch; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.7rem; display: flex; flex-direction: column; }
.price.feat { border-color: color-mix(in srgb, var(--amber) 55%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 10%, var(--card)), var(--card)); }
.price .tier { font-size: 1.25rem; font-weight: 800; }
.price.feat .tier { color: var(--amber); }
.price .pz { font-size: .92rem; color: var(--muted); margin-top: .2rem; }
.price ul { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.price li { display: flex; gap: .55rem; font-size: .93rem; color: var(--muted); }
.price li::before { content: "✓"; color: var(--jade); font-weight: 800; }
.noads { text-align: center; margin-top: 2.2rem; font-size: 1.05rem; }
.noads b { color: var(--gold); }

/* ---- footer ---- */
footer { padding: clamp(3rem, 6vw, 4.5rem) 0 3rem; border-top: 1px solid var(--line); text-align: center; }
footer .brandmark { margin-bottom: 1.4rem; justify-content: center; }
footer p { color: var(--faint); font-size: .88rem; max-width: 34rem; margin: .6rem auto 0; }
footer .eighteen { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1.5px solid var(--faint); font-weight: 800; font-size: .8rem; margin-bottom: 1rem; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: center; margin-top: 1.6rem; font-size: .9rem; }
.foot-links a { color: var(--muted); text-decoration: none; display: inline-block; min-height: 24px; padding: .18rem 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* ---- motion (JS-gated so no-JS renders everything) ----
   Tiles settle in on scroll: rise + gentle scale on an expo-out curve, with a
   per-batch stagger set inline by the observer script. */
/* Scroll-driven in CSS, with NO JavaScript. This replaced an IntersectionObserver
   that did the same job in 592 bytes of script.

   THE DEFAULT IS VISIBLE, and that is the whole safety property. The old rule
   started every tile at opacity:0 and relied on script to reveal it, so anything
   that stopped the script — a parse error, a CSP change, a browser without
   IntersectionObserver — left the page blank-looking with the content still in
   the DOM. Here the animation is additive: it only exists inside @supports, so a
   browser that cannot drive it simply shows the content. accessibility.html
   publishes that every page reads completely with JavaScript off; this keeps
   that true.

   No explicit stagger any more. view() ties each tile to its OWN position in the
   scroller, so a row of cards fans in naturally as it crosses the threshold —
   which is what the 130ms-per-index delay was approximating by hand. */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      /* Finish well before centre: a tile that is still fading at eye level
         reads as a slow page, not a considered one. */
      animation-range: entry 5% cover 28%;
    }
  }
}

/* hero entrance on load */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .rise { opacity: 0; animation: rise 1.3s cubic-bezier(.16, 1, .3, 1) forwards; }
.js .rise-1 { animation-delay: .1s; }
.js .rise-2 { animation-delay: .35s; }
.js .rise-3 { animation-delay: .6s; }
.js .rise-4 { animation-delay: .85s; }

/* soft hover lift on tiles */
.pillar, .safe, .price, .step, .support-card, .phone .frame { transition: transform .25s ease, border-color .25s ease; }
.pillar:hover, .safe:hover, .price:hover, .step:hover, .support-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--orchid) 35%, var(--line)); }
.phone .frame:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1; animation: none; }
  .badge, .btn-send, .price-cta { transition: none; }
  .badge:hover, .badge.primary:hover, .badge.ghost:hover, .btn-send:hover:not(:disabled) { transform: none; }
  .pillar, .safe, .price, .step, .support-card, .phone .frame { transition: none; }
  .pillar:hover, .safe:hover, .price:hover, .step:hover, .support-card:hover, .phone .frame:hover { transform: none; }
}

/* ---- document pages (legal / support) ---- */
.doc { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.doc .wrap { width: min(46rem, 92vw); }
.doc-head { padding-top: clamp(2rem, 5vw, 3rem); }
.doc-head .eyebrow { color: var(--orchid); }
.doc-head h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
.doc-head .meta { color: var(--faint); font-size: .92rem; margin-top: 1rem; }
.doc h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-top: 2.6em; scroll-margin-top: 2rem; }
.doc h3 { font-size: 1.12rem; font-weight: 750; margin-top: 1.9em; scroll-margin-top: 2rem; }
.doc p, .doc li { color: var(--muted); font-size: .99rem; }
/* A long URL or address in legal text wraps instead of running off a phone screen. */
.doc p, .doc li, .doc td { overflow-wrap: anywhere; }
.doc p strong, .doc li strong { color: var(--ink); font-weight: 650; }
.doc a { color: var(--orchid); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
/* Links inside sentences are underlined: colour alone (orchid against muted text,
   1.34:1) is not enough to find them (WCAG 1.4.1). */
.doc p a, .doc li a, .doc-note a, .loc-note a, .notify-note a { text-decoration: underline; text-underline-offset: .15em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }
.doc blockquote { border-left: 3px solid var(--orchid); margin: 1.4rem 0; padding: .2rem 0 .2rem 1.1rem; color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.4rem 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: .7rem .8rem; border: 1px solid var(--line); color: var(--muted); }
.doc th { color: var(--ink); background: var(--card); font-weight: 700; }
.doc tr:nth-child(even) td { background: color-mix(in srgb, var(--card) 55%, transparent); }
.doc .tablewrap { overflow-x: auto; }
.doc .fill-in { background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--amber); border-radius: 6px; padding: 0 .3em; font-weight: 650; }
.doc-note { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; color: var(--muted); font-size: .92rem; margin-top: 1.6rem; }

/* ---- FAQ accordions ---- */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0; margin: .6rem 0; }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--orchid); font-weight: 800; font-size: 1.2rem; flex: none; transition: transform .25s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq summary:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; border-radius: 14px; }
details.faq p { margin: 0; padding: 0 1.2rem 1.1rem; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { details.faq summary::after { transition: none; } }

/* ---- support cards ---- */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; margin-top: 2.2rem; }
.support-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; }
.support-card h2, .support-card h3, .support-card h4 { font-size: 1.1rem; font-weight: 750; margin: 0; }
.support-card p { color: var(--muted); font-size: .93rem; margin: .55rem 0 0; }
.support-card a { color: var(--orchid); text-decoration: none; }
.support-card a:hover { text-decoration: underline; }
/* A phone number or text line never breaks at its hyphens. */
.support-card a[href^="tel:"], .support-card a[href^="sms:"] { white-space: nowrap; }
/* A resource group's heading sits with its own cards, not halfway to the last group. */
.doc h3 + .support-grid, .doc h3 + p + .support-grid { margin-top: 1rem; }

/* ---------------------------------------------------------------------------
   FORMS. Net-new: before the sponsorship page the site had no input, label,
   textarea, select or fieldset rule anywhere. Built from the existing tokens
   only, inside .doc .wrap's narrowed measure. Dark-only, like the rest.
   --------------------------------------------------------------------------- */
.doc-lede { font-size: 1.06rem; color: var(--muted); margin-top: 2rem; }
.doc-note-inline { color: var(--faint); font-size: .95rem; margin-top: -.4rem; }
.gets { display: grid; gap: .8rem; margin-top: 1.2rem; padding: 0; list-style: none; }
.gets li { display: flex; gap: .6rem; color: var(--muted); }
.gets li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ember); margin-top: .62rem; flex: none; }
.price-note { color: var(--muted); font-size: .95rem; margin-top: 1.2rem; }

.form { display: grid; gap: 1.5rem; margin-top: 1.6rem; }
.field { display: grid; gap: .45rem; }
.field > label, .field-label { font-size: .95rem; font-weight: 650; color: var(--ink); }
.field .hint { font-size: .86rem; color: var(--faint); }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=date], .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--field-line); border-radius: 12px; padding: .8rem .95rem; width: 100%;
  min-height: 2.9rem; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.field :is(input, textarea):focus-visible {
  outline: none; border-color: var(--ember);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 32%, transparent);
}
/* Error state is carried by a border, an icon and words. Never colour alone. */
.field.invalid :is(input, textarea) { border-color: var(--ember); }
.err { font-size: .88rem; color: var(--ember); display: flex; gap: .45rem; align-items: flex-start; }
.err::before {
  content: "!"; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ember);
  color: var(--bg); font-size: .76rem; font-weight: 800; display: grid; place-items: center;
  flex: none; margin-top: .12rem;
}
.err[hidden] { display: none; }
.form-err { margin-top: .4rem; }

.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: .7rem; }
.type { position: relative; }
.type input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.type label {
  display: block; padding: .95rem 1.05rem; border: 1px solid var(--field-line); border-radius: 14px;
  background: var(--card); cursor: pointer; font-size: .96rem; font-weight: 600; min-height: 2.9rem;
}
.type input:checked + label { border-color: var(--ember); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--ember); }
.type input:focus-visible + label { outline: 2px solid var(--orchid); outline-offset: 3px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 34rem) { .two { grid-template-columns: 1fr; } }

.chk { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--muted); line-height: 1.5; font-weight: 400; cursor: pointer; }
.chk input { margin-top: .2rem; width: 1.2rem; height: 1.2rem; accent-color: var(--ember); flex: none; }

/* The honeypot. Off-screen rather than display:none, because some bots skip
   fields that are not rendered at all. Hidden from assistive tech by aria. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cond[hidden] { display: none; }
.cond { display: grid; gap: 1.5rem; }

.submit { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.btn-send {
  font: inherit; font-weight: 700; font-size: 1rem; color: #1a0d0a;
  background: linear-gradient(135deg, var(--amber), var(--ember) 55%, var(--orchid));
  border: 0; border-radius: 999px; padding: .85rem 1.7rem; cursor: pointer; min-height: 2.9rem;
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,106,85,.28); }
.btn-send:disabled { opacity: .55; cursor: not-allowed; }

.ok {
  margin-top: 1.6rem; padding: 1.7rem; border: 1px solid var(--jade);
  border-radius: 18px; background: var(--card);
}
.ok:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 40%, transparent); }
.ok :is(h2, h3) { font-size: 1.5rem; margin: 0 0 .6rem; }
.ok p { color: var(--muted); margin: 0; }
.ok[hidden] { display: none; }

/* ---------------------------------------------------------------------------
   SKIP LINK — WCAG 2.4.1 Bypass Blocks (Level A). Off-screen until focused, but
   never display:none, or it would not be reachable by the keyboard it exists for.
   --------------------------------------------------------------------------- */
.skip {
  position: fixed; top: 0; left: 0; z-index: 100;
  transform: translateY(-140%); transition: transform .16s ease;
  background: var(--card); color: var(--ink); text-decoration: none;
  padding: .8rem 1.2rem; margin: .6rem; border-radius: 12px;
  border: 1px solid var(--ember); font-weight: 650;
}
.skip:focus { transform: translateY(0); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 40%, transparent); }
@media (prefers-reduced-motion: reduce) { .skip { transition: none; } }
main:focus { outline: none; }
[hidden] { display: none !important; }

/* Target size. The footer list sat at 23px, one pixel under the 24x24 minimum in
   WCAG 2.2's SC 2.5.8. Links inline in a sentence are exempt by that criterion and
   are deliberately left alone. */

/* THE LAUNCH LIST. Narrower than the 72rem wrap: a single field stretched across a
   full band reads as a footer newsletter, which is the thing this is not. Centred
   because it is the one section on the page that asks rather than explains. */
.notify-inner { width: min(34rem, 92vw); margin-inline: auto; }
.notify-form { margin-top: 2rem; }
.notify-actions { display: grid; gap: .9rem; justify-items: stretch; margin-top: .4rem; }
.notify-actions .btn-send { width: 100%; }
.notify-note { font-size: .86rem; color: var(--faint); text-align: center; margin: 0; line-height: 1.5; }
.notify-note a { color: var(--ember); }
.notify-consent { font-size: .86rem; color: var(--faint); margin: -.9rem 0 0; line-height: 1.5; }

/* The one action on the AroundBack+ card. Kept as a link rather than a button: it
   moves you down the page, it does not buy anything, and pretending otherwise is
   the kind of thing this site's pricing section explicitly refuses to do. */
.price-cta {
  display: inline-block; margin-top: 1.1rem; font-weight: 650; font-size: .95rem;
  color: var(--ember); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color .16s ease;
}
.price-cta:hover { border-bottom-color: var(--ember); }
.price-cta:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; border-radius: 3px; }

/* THE PRIMARY ACTION SHOULD READ AS THE PRIMARY ACTION. Sized purely by its own
   text, the App Store badge came out narrower than the ghost button beside it, so
   the secondary CTA was the visually dominant one -- on the page whose entire job
   is to convert. A floor rather than a fixed width, so the 404 page's longer label
   still sets its own size. */
.cta-row .badge.primary { min-width: 12rem; justify-content: center; }

/* THE LAUNCH-LIST BUTTON REPORTS ITS OWN READINESS. Dormant is a real state rather
   than a dimmer switch: the gradient is desaturated and the glow is off, so "this
   will work now" reads at a glance before anyone presses anything.

   Keyed off aria-disabled, not :disabled, because once script is running the button
   stays focusable — a `disabled` button is dropped from the tab order, and a
   keyboard user would tab past the only control in the section without being told
   what was missing. The :disabled rule above still covers the no-JS and
   no-endpoint cases, where the control genuinely is inert. */
.btn-send[aria-disabled="true"] {
  filter: saturate(.55) brightness(.8);
  box-shadow: none;
  cursor: default;
}
.btn-send[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.btn-send[aria-disabled="false"] {
  filter: none;
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--ember) 60%, transparent),
              0 8px 24px rgba(255, 106, 85, .28);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-send { transition: transform .16s ease, box-shadow .3s ease, filter .3s ease; }
}

/* THE FOCUS RING HAS TO OUTRANK THE GLOW. The lit rule above sets box-shadow at the
   same specificity as .btn-send:focus-visible and later in the file, so it silently
   swallowed the ring: keyboard focus on the primary conversion control rendered
   with no indicator at all. Restated here at higher specificity, and carrying the
   glow with it so a focused live button still reads as live. */
.btn-send:focus-visible { outline: 2px solid var(--orchid); outline-offset: 3px; }
/* Focused AND live keeps the glow; focused-but-dormant deliberately does not, or a
   keyboard user would see the "ready" signal on a button that is not ready. */
.btn-send[aria-disabled="false"]:focus-visible {
  box-shadow: 0 0 22px -4px color-mix(in srgb, var(--ember) 60%, transparent);
}

/* ===========================================================================
   SHOWCASE. The app shown, not only described. Every piece follows three rules:
   1. The resting state is the finished picture. Motion is layered on only where
      the browser supports it and the visitor has not asked for reduced motion,
      so no-JS, older browsers and Reduce Motion all get a complete page.
   2. Looping motion (the aurora, the zone halos, the Now ping) can be paused
      from the hero's "Pause motion" control (WCAG 2.2.2); .motion-paused stops
      only those loops, never the scroll-driven reveals.
   3. Timings borrow the app's Theme.motion: breathe is 3.5s ease-in-out,
      settle is a quick spring, and the logo sweep is the splash's 1.9s circle.
   =========================================================================== */

/* ---- hero: background layer, two columns on wide screens ---- */
.hero-bg { position: absolute; inset: 0 0 auto; height: min(60rem, 115vh); overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
main > .hero { position: relative; padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 6vw, 4rem); justify-items: center; }
.hero-phone { margin: 0; width: min(18.5rem, 74vw, 100%); text-align: center; }
.hero-phone figcaption { color: var(--faint); font-size: .84rem; margin-top: 1rem; line-height: 1.45; }
.device { border-radius: 44px; padding: 9px; background: linear-gradient(180deg, var(--frost-top), var(--frost-bottom));
  border: 1px solid color-mix(in srgb, var(--frost-edge) 20%, transparent);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.95), 0 0 70px -30px color-mix(in srgb, var(--orchid) 60%, transparent); }
.nowmap { display: block; width: 100%; height: auto; border-radius: 36px; }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 18.5rem; column-gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; justify-items: stretch; text-align: left; }
  .hero-grid .hero-inner { text-align: left; }
  .hero-grid h1 { font-size: clamp(2.6rem, 4.2vw, 3.8rem); }
  .hero-grid .lead { margin-inline: 0; }
  .hero-grid .cta-row, .hero-grid .trustrow { justify-content: flex-start; }
  .hero-phone { justify-self: center; }
}

/* the Now map: zones arrive with a settle, then breathe (app: Theme.motion.breathe) */
.nowmap .zone, .nowmap .halo, .nowmap .ping { transform-box: fill-box; transform-origin: center; }
@keyframes zone-arrive { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes zone-breathe { from { transform: scale(.92); opacity: .6; } to { transform: scale(1.18); opacity: 1; } }
@keyframes now-ping { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .js .nowmap .zone { animation: zone-arrive .6s cubic-bezier(.2, .9, .3, 1.15) both; }
  .js .nowmap .zone.z1 { animation-delay: .9s; }
  .js .nowmap .zone.z2 { animation-delay: 1.1s; }
  .js .nowmap .zone.z3 { animation-delay: 1.3s; }
  .js .nowmap .halo { animation: zone-breathe 3.5s ease-in-out infinite alternate; }
  .js .nowmap .z2 .halo { animation-delay: -1.2s; }
  .js .nowmap .z3 .halo { animation-delay: -2.3s; }
  .js .nowmap .ping { animation: now-ping 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
}

/* the logo: the arrow draws its circle once, as on the app's splash. The heart
   stays visible throughout (the radial layer of the mask). */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@keyframes logo-sweep { from { --sweep: 0deg; } to { --sweep: 360deg; } }
@media (prefers-reduced-motion: no-preference) {
  .js .brandmark img.sweep {
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 22%, transparent 34%), conic-gradient(from 170deg at 50% 50%, #000 var(--sweep), transparent 0);
    mask-image: radial-gradient(circle at 50% 50%, #000 22%, transparent 34%), conic-gradient(from 170deg at 50% 50%, #000 var(--sweep), transparent 0);
    animation: logo-sweep 1.9s cubic-bezier(.45, 0, .2, 1) .15s both;
  }
}

/* pause control for the looping motion */
.motion-toggle { display: none; }
.js .motion-toggle {
  display: inline-flex; position: absolute; right: max(4vw, calc((100vw - 72rem) / 2)); bottom: clamp(1rem, 3vw, 2rem); z-index: 2;
  font: inherit; font-size: .8rem; color: var(--muted); background: rgba(21,15,18,.6); border: 1px solid var(--line);
  border-radius: 999px; padding: .35rem .8rem; cursor: pointer; min-height: 24px;
}
.js .motion-toggle:hover { color: var(--ink); border-color: var(--orchid); }
.motion-toggle:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; }
@media (max-width: 61.99rem) { .js .motion-toggle { position: relative; right: auto; bottom: auto; display: flex; margin: 1.6rem auto 0; } }
@media (prefers-reduced-motion: reduce) { .js .motion-toggle { display: none; } }
.motion-paused .loop { animation-play-state: paused !important; }

/* ---- vignettes: small moving pictures inside the feature and safety cards ----
   Scroll-scrubbed: each one plays as its card crosses the viewport and rests on
   its final frame, which is also what every non-animating browser shows. */
.vig { position: relative; margin-top: auto; height: 7.5rem; padding: .8rem; display: grid; place-items: center; border-radius: 14px;
  background: rgba(255,255,255,.025); border: 1px solid color-mix(in srgb, var(--frost-edge) 8%, var(--line)); }
.vig > * { position: relative; }
.vig .chip, .vig .lockchip, .vig .okchip, .vig .hchip, .vig .st, .vig .arrived, .vig .bl, .vig .mutual {
  display: inline-block; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }

.vig-bands { grid-auto-flow: column; gap: .6rem; }
.vig-bands .tile { width: 3.6rem; height: 4.6rem; border-radius: 12px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .35rem;
  background: linear-gradient(160deg, color-mix(in srgb, var(--orchid) 55%, var(--card)), color-mix(in srgb, var(--ember) 40%, var(--card))); }
.vig-bands .t2 { background: linear-gradient(160deg, color-mix(in srgb, var(--ember) 55%, var(--card)), color-mix(in srgb, var(--amber) 35%, var(--card))); }
.vig-bands .t3 { background: linear-gradient(160deg, color-mix(in srgb, var(--jade) 45%, var(--card)), color-mix(in srgb, var(--orchid) 35%, var(--card))); }
.vig-bands .chip { font-size: .62rem; padding: .12rem .4rem; background: rgba(21,15,18,.8); color: var(--ink); }

.vig-cipher { gap: .5rem; }
.vig-cipher .bubble { display: grid; background: var(--ember); color: #1a0d0a; border-radius: 16px 16px 4px 16px; padding: .5rem .85rem; font-weight: 650; font-size: .9rem; }
.vig-cipher .bubble > span { grid-area: 1 / 1; }
.vig-cipher .cipher { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; opacity: 0; }
.vig-cipher .lockchip { color: var(--orchid); background: color-mix(in srgb, var(--orchid) 14%, transparent); }

.vig-photo .photo { width: 7rem; height: 5rem; border-radius: 12px; display: grid; place-items: center; filter: blur(7px);
  background: radial-gradient(circle at 35% 40%, var(--gold), transparent 45%), linear-gradient(135deg, var(--ember), var(--orchid)); }
.vig-photo { grid-template-areas: "p"; }
.vig-photo .photo, .vig-photo .lock { grid-area: p; }
.vig-photo .lock { font-size: .7rem; font-weight: 700; color: var(--ink); background: rgba(21,15,18,.85); border-radius: 999px; padding: .2rem .55rem; }

.vig-sparks { grid-template-columns: auto auto; column-gap: .15rem; row-gap: .3rem; align-content: center; }
.vig-sparks .heart { font-size: 2.1rem; line-height: 1; color: var(--rose); }
.vig-sparks .mutual { grid-column: 1 / -1; justify-self: center; color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }

.vig-hype { grid-auto-flow: row; gap: .4rem; justify-items: center; }
.vig-hype .hchip { background: color-mix(in srgb, var(--ember) 14%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ember) 40%, transparent); }
.vig-hype .hchip b { color: var(--ember); margin-left: .25rem; }

.vig-check { gap: .5rem; }
.vig-check .bubble { background: var(--card-2); border: 1px dashed var(--field-line); color: var(--muted); border-radius: 16px 16px 4px 16px; padding: .45rem .8rem; font-size: .85rem; }
.vig-check .okchip { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); }

.safe .vig { height: 6.25rem; }
.vig-omw svg { width: 11rem; height: auto; overflow: visible; }
.vig-omw .route { stroke-dasharray: 1; stroke-dashoffset: 0; }
.vig-omw .arrived { color: var(--jade); background: color-mix(in srgb, var(--jade) 14%, transparent); margin-top: -.2rem; }
.vig-block .row { display: flex; align-items: center; gap: .55rem; background: var(--card-2); border-radius: 12px; padding: .45rem .7rem; }
.vig-block .av { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: linear-gradient(135deg, var(--orchid), var(--ember)); filter: grayscale(1) opacity(.5); }
.vig-block .nm { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.vig-block .bl { color: var(--ember); background: color-mix(in srgb, var(--ember) 14%, transparent); }
.vig-duress { grid-template-areas: "s"; }
.vig-duress .scr { grid-area: s; width: 8.5rem; height: 4.2rem; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.vig-duress .real { display: grid; gap: .3rem; padding: .5rem; opacity: 0; }
.vig-duress .real i { display: block; height: .7rem; border-radius: 6px; background: color-mix(in srgb, var(--orchid) 35%, var(--card)); }
.vig-duress .decoy { display: grid; place-items: center; font-size: .78rem; color: var(--muted); }
.vig-guard { grid-template-areas: "s"; }
.vig-guard .st { grid-area: s; }
.vig-guard .st-on { color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, transparent); opacity: 0; }
.vig-guard .st-ok { color: var(--jade); background: color-mix(in srgb, var(--jade) 16%, transparent); }

/* ---- location explainer: one diagram per step ---- */
.stepviz { display: block; width: 100%; height: auto; margin-bottom: 1rem; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--frost-edge) 8%, var(--line)); }
.stepviz .acc, .stepviz .pin, .stepviz .snap, .stepviz .cell, .stepviz .card3, .stepviz .band, .stepviz .look2, .stepviz .eq, .vig-omw .dest { transform-box: fill-box; transform-origin: center; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .vig > *, .vig .cipher, .vig .plain, .vig .photo, .vig .lock, .vig .heart, .vig .hchip, .vig .route, .vig .dest,
    .vig .real, .vig .decoy, .vig .st-on, .vig .st-ok, .vig .bl, .vig .nm,
    .stepviz .acc, .stepviz .pin, .stepviz .snap, .stepviz .cell, .stepviz .fade-map, .stepviz .card3, .stepviz .band,
    .stepviz .look2, .stepviz .eq {
      animation-timeline: view(); animation-range: entry 0% cover 40%; animation-fill-mode: both; animation-timing-function: linear;
    }
    @keyframes chips-in { 0%, 30% { opacity: 0; transform: translateY(8px); } 70%, 100% { opacity: 1; transform: none; } }
    .vig-bands .chip { animation-name: chips-in; animation-timeline: view(); animation-range: entry 0% cover 40%; animation-fill-mode: both; }
    .vig-bands .t2 .chip { animation-range: entry 8% cover 44%; }
    .vig-bands .t3 .chip { animation-range: entry 16% cover 48%; }

    @keyframes cipher-out { 0%, 45% { opacity: 1; } 70%, 100% { opacity: 0; } }
    @keyframes plain-in { 0%, 45% { opacity: 0; } 70%, 100% { opacity: 1; } }
    .vig-cipher .cipher { animation-name: cipher-out; }
    .vig-cipher .plain { animation-name: plain-in; }

    @keyframes photo-cycle { 0% { filter: blur(7px); } 40%, 60% { filter: blur(0); } 100% { filter: blur(7px); } }
    @keyframes lock-in { 0%, 60% { opacity: 0; transform: scale(.8); } 90%, 100% { opacity: 1; transform: none; } }
    .vig-photo .photo { animation-name: photo-cycle; }
    .vig-photo .lock { animation-name: lock-in; }

    @keyframes heart-l { 0% { transform: translateX(-2.4rem); opacity: .5; } 100% { transform: none; opacity: 1; } }
    @keyframes heart-r { 0% { transform: translateX(2.4rem); opacity: .5; } 100% { transform: none; opacity: 1; } }
    @keyframes pop-in { 0%, 70% { opacity: 0; transform: scale(.85); } 100% { opacity: 1; transform: none; } }
    .vig-sparks .h-l { animation-name: heart-l; }
    .vig-sparks .h-r { animation-name: heart-r; }
    .vig-sparks .mutual { animation-name: pop-in; animation-timeline: view(); animation-range: entry 0% cover 40%; animation-fill-mode: both; }

    @keyframes chip-pop { 0%, 20% { opacity: 0; transform: scale(.8); } 60%, 100% { opacity: 1; transform: none; } }
    .vig-hype .hchip { animation-name: chip-pop; }
    .vig-hype .c2 { animation-range: entry 8% cover 44%; }
    .vig-hype .c3 { animation-range: entry 16% cover 48%; }

    .vig-check .okchip { animation-name: pop-in; animation-timeline: view(); animation-range: entry 0% cover 40%; animation-fill-mode: both; }

    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
    .vig-omw .route { animation-name: draw; }
    .vig-omw .dest { animation-name: pop-in; }
    .vig-omw .arrived { animation-name: pop-in; animation-timeline: view(); animation-range: entry 0% cover 40%; animation-fill-mode: both; }
    @keyframes strike { 0%, 40% { text-decoration-color: transparent; color: var(--ink); } 100% { text-decoration-color: currentColor; color: var(--muted); } }
    .vig-block .nm { animation-name: strike; }
    .vig-block .bl { animation-name: pop-in; }
    @keyframes real-out { 0%, 40% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateX(-1.5rem); } }
    @keyframes decoy-in { 0%, 40% { opacity: 0; transform: translateX(1.5rem); } 80%, 100% { opacity: 1; transform: none; } }
    .vig-duress .real { animation-name: real-out; }
    .vig-duress .decoy { animation-name: decoy-in; }
    @keyframes st-out { 0%, 45% { opacity: 1; } 65%, 100% { opacity: 0; } }
    @keyframes st-in { 0%, 45% { opacity: 0; transform: scale(.9); } 70%, 100% { opacity: 1; transform: none; } }
    .vig-guard .st-on { animation-name: st-out; }
    .vig-guard .st-ok { animation-name: st-in; }

    @keyframes acc-shrink { 0% { transform: scale(2.2); opacity: 0; } 100% { transform: none; opacity: 1; } }
    .sv1 .acc { animation-name: acc-shrink; }
    .sv1 .pin { animation-name: pop-in; }
    @keyframes snap-move { 0%, 25% { transform: translate(12px, -12px); opacity: 1; } 70% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
    @keyframes cell-in { 0%, 40% { opacity: 0; } 80%, 100% { opacity: 1; } }
    .sv2 .snap { animation-name: snap-move; }
    .sv2 .cell { animation-name: cell-in; }
    @keyframes map-out { 0% { opacity: 1; } 60%, 100% { opacity: .25; } }
    @keyframes card-in { 0%, 20% { opacity: 0; transform: translateY(10px); } 70%, 100% { opacity: 1; transform: none; } }
    .sv3 .fade-map { animation-name: map-out; }
    .sv3 .card3 { animation-name: card-in; }
    .sv3 .band { animation-name: pop-in; }
    @keyframes look-in { 0%, 30% { opacity: 0; } 70%, 100% { opacity: 1; } }
    .sv4 .look2 { animation-name: look-in; }
    .sv4 .eq { animation-name: pop-in; }
  }
}
/* The resting (final) frames for browsers that do not animate. */
.sv3 .fade-map { opacity: .25; }
.vig-cipher .plain { opacity: 1; }
.vig-photo .lock { opacity: 1; }
.sv2 .snap { opacity: 0; }

/* ---- the app tour ----
   Phones: a sideways, snapping carousel (no four screens of stacked phones).
   Wide screens with scroll-driven animation: one phone stays put while the five
   captions scroll past, and the screen crossfades to match. Anything else keeps
   the plain row of five. */
.swipe-hint { display: none; color: var(--faint); font-size: .86rem; margin-top: .6rem; }
.phones:focus-visible { outline: 2px solid var(--orchid); outline-offset: 6px; border-radius: 12px; }
@media (max-width: 61.99rem) {
  .swipe-hint { display: block; }
  .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(70vw, 17rem); overflow-x: auto;
    scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: .5rem 4vw 1rem; margin-inline: -4vw; scrollbar-width: thin; }
  .phone { scroll-snap-align: center; }
}
@supports (animation-timeline: view()) and (timeline-scope: --t1) {
  @media (min-width: 62rem) and (prefers-reduced-motion: no-preference) {
    .phones { grid-template-columns: minmax(0, min(19rem, calc((100vh - 6rem) * .46))) minmax(0, 1fr); column-gap: clamp(3rem, 7vw, 6rem);
      timeline-scope: --t1, --t2, --t3, --t4, --t5; align-items: stretch; margin-top: 1rem; }
    .phones .phone { display: contents; }
    .phones .frame { grid-column: 1; grid-row: 1 / span 5; align-self: start; position: sticky; top: max(6vh, calc(50vh - 20rem));
      animation: tour-fade linear both; }
    .phones .frame:hover { transform: none; }
    .phones .cap { grid-column: 2; min-height: 78vh; display: flex; flex-direction: column; justify-content: center; text-align: left; }
    .phones .cap h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin: 0; }
    .phones .cap p { font-size: 1.12rem; color: var(--muted); max-width: 26rem; margin-top: .7rem; }
    .phones .phone:nth-child(1) .cap { grid-row: 1; view-timeline-name: --t1; }
    .phones .phone:nth-child(2) .cap { grid-row: 2; view-timeline-name: --t2; }
    .phones .phone:nth-child(3) .cap { grid-row: 3; view-timeline-name: --t3; }
    .phones .phone:nth-child(4) .cap { grid-row: 4; view-timeline-name: --t4; }
    .phones .phone:nth-child(5) .cap { grid-row: 5; view-timeline-name: --t5; }
    .phones .phone:nth-child(1) .frame { animation-name: tour-first; animation-timeline: --t1; }
    .phones .phone:nth-child(2) .frame { animation-timeline: --t2; }
    .phones .phone:nth-child(3) .frame { animation-timeline: --t3; }
    .phones .phone:nth-child(4) .frame { animation-timeline: --t4; }
    .phones .phone:nth-child(5) .frame { animation-name: tour-last; animation-timeline: --t5; }
    @keyframes tour-fade { 0%, 22% { opacity: 0; } 34%, 66% { opacity: 1; } 78%, 100% { opacity: 0; } }
    @keyframes tour-first { 0%, 66% { opacity: 1; } 78%, 100% { opacity: 0; } }
    @keyframes tour-last { 0%, 22% { opacity: 0; } 34%, 100% { opacity: 1; } }
    @keyframes cap-focus { 0%, 20% { opacity: .75; } 38%, 62% { opacity: 1; } 80%, 100% { opacity: .75; } }
    .phones .cap { animation: cap-focus linear both; animation-timeline: view(); }
  }
}

/* ---- transparency: what can and cannot be produced, as two ledgers ---- */
.doc ul.ledger { list-style: none; padding: 0; display: grid; gap: .7rem; }
.doc ul.ledger > li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem .9rem 3rem; position: relative; }
.doc ul.ledger > li::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.2rem; height: 1.2rem; background: currentColor; border-radius: 4px;
  -webkit-mask: var(--ledger-icon) center / contain no-repeat; mask: var(--ledger-icon) center / contain no-repeat; }
.doc ul.ledger.cannot > li::before { color: var(--jade);
  --ledger-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1zm2 0h6V7a3 3 0 0 0-6 0z'/%3E%3C/svg%3E"); }
.doc ul.ledger.can > li::before { color: var(--amber);
  --ledger-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h9l5 5v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm8 1.5V8h4.5zM8 12h8v1.6H8zm0 4h8v1.6H8z'/%3E%3C/svg%3E"); }

/* ---- print: the whole page, in ink ---- */
@media print {
  .reveal, .js .rise, .phones .frame, .phones .cap { animation: none !important; opacity: 1 !important; transform: none !important; }
  .skip, .motion-toggle, .hero-bg, .aurora, .nav-links, .vig, .stepviz { display: none !important; }
  body { background: #fff; color: #000; }
  h1 .grad { color: inherit; -webkit-text-fill-color: currentColor; background: none; }
  h1, h2, h3, h4, .doc p strong, .doc li strong, .lead b { color: #000; }
  p, li, .doc p, .doc li, .section-lead, .lead { color: #222; }
  .pillar, .step, .safe, .price, .support-card, .doc-note { background: none; border-color: #999; break-inside: avoid; }
  .phones .frame { position: static; }
}
