/* ==========================================================================
   LOC homepage (v4). Navy hero band with the live tap demo on glass, a ledger
   ticker, white body with a light problem band, three ways in with lane animations, the phone demo, a dark bento for
   "where it fits", a light capability bento, Compliance Reviewer, proof, kit,
   demo form. Vanilla CSS, no libraries.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #f4f7fa;
  --ice: #e8f0f8;
  --blue: #234e70;
  --navy: #0a1628;
  --navy-2: #10223b;
  --navy-3: #16304f;
  --green: #4caf50;
  --green-deep: #3d8b40;
  --green-tint: #e8f5e9;
  --green-glow: rgba(76,175,80,0.35);
  --data: #4a90d9;
  --data-tint: #e6f0fb;
  --amber: #f5a623;
  --bad: #e5484d;
  --amber-ink: #a86d0a;
  --body: #555555;
  --dark: #2d2d2d;
  --caption: #777777;
  --line: #d8dee6;
  --on-dark: #d7e0ea;
  --on-dark-dim: #8fa0b3;
  --glass: rgba(255,255,255,0.06);
  --glass-line: rgba(255,255,255,0.14);

  --font-display: "Sora", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;

  --max: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-pop: cubic-bezier(0.2, 1.4, 0.4, 1);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--blue);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { max-width: 62ch; }
strong, b { color: var(--dark); font-weight: 600; }
.mt { margin-top: 1.5rem; }
:focus-visible { outline: 3px solid var(--data); outline-offset: 3px; }
@media (min-width: 600px) { .nowrap { white-space: nowrap; } }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head p { margin-top: 1rem; }
.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.32rem); }

/* Dark sections share one voice */
.is-dark { background: var(--navy); color: var(--on-dark); }
.is-dark h1, .is-dark h2, .is-dark h3 { color: #fff; }
.is-dark p { color: var(--on-dark); }
.is-dark a:not(.btn) { color: #8fd392; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.1; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn--green { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 8px 24px var(--green-glow); }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--blue:hover { background: #1b3d59; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--ice); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn--text { padding: 0; border: 0; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }

/* Pills */
.pill {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; font-family: var(--font-display);
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.02em; white-space: nowrap;
}
.pill--verified { background: var(--green); color: #fff; }
.pill--pending { border: 2px solid var(--amber); color: var(--amber-ink); }
.v-pass { background: var(--green-tint); color: var(--green-deep); }
.v-review { border: 2px solid var(--amber); color: var(--amber-ink); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(10,22,40,0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 1.5rem; align-items: center; }
.nav a { color: #e6edf5; text-decoration: none; font-weight: 500; font-size: 0.95rem; white-space: nowrap; opacity: 0.86; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; gap: 0.6rem; align-items: center; }
.header-actions .btn { padding: 0.62rem 1.1rem; font-size: 0.9rem; }
.header-actions .btn--green { box-shadow: none; }
.menu-btn {
  display: none; background: none; border: 2px solid rgba(255,255,255,0.5); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: #fff;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3rem, 5vw, 4.5rem);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(76,175,80,0.16) 0%, rgba(76,175,80,0) 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(74,144,217,0.16) 0%, rgba(74,144,217,0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.15));
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero__kicker { font-family: var(--font-mono); font-size: 0.8rem; color: #8fd392; margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: 0.6rem; }
.hero__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(76,175,80,0.25); }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lede { margin-bottom: 1.9rem; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-cta .film { display: inline-flex; align-items: center; gap: 0.6rem; }
.hero-cta .film svg { width: 16px; height: 16px; }
.hero-tag { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--on-dark-dim); }
.demo__hint { font-family: var(--font-mono); font-size: 0.74rem; color: var(--on-dark-dim); margin-bottom: 0.5rem; }

/* The tap demo (glass) */
.demo { position: relative; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.9rem; }
.chip {
  font: 500 0.8rem/1 var(--font-body); color: #e6edf5; background: var(--glass); border: 1.5px solid var(--glass-line);
  border-radius: 999px; padding: 0.5rem 0.85rem; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.chip:hover { border-color: rgba(255,255,255,0.4); }
.chip.is-on { background: var(--green); border-color: var(--green); color: #fff; }

.scene {
  position: relative; height: clamp(380px, 37vw, 470px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid var(--glass-line); backdrop-filter: blur(6px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
}
/* The estate view: one dot per asset, coloured by the state of its record */
.scene.est { height: auto; padding: 1.1rem 1.2rem 1.2rem; }
.est__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.9rem; }
.est__title { display: block; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; letter-spacing: -0.01em; }
.est__sub, .est__tag, .est__feedlbl, .est__legend, .est__tally dt { font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-dark-dim); }
.est__tag { border: 1px solid var(--glass-line); border-radius: 999px; padding: 0.3rem 0.65rem; white-space: nowrap; }
.est__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; align-items: start; }
.est__map { background: rgba(10,22,40,0.45); border: 1px solid var(--glass-line); border-radius: 12px; padding: 0.5rem 0.5rem 0.65rem; }
.est__map svg { display: block; width: 100%; height: auto; }
.est__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin-top: 0.5rem; padding-inline: 0.3rem; }
.est__legend li::before, .est__feed li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.4rem; background: var(--green); }
.est .pend::before { background: none; box-shadow: inset 0 0 0 2px var(--amber); }
.est .bad::before { background: var(--bad); }
.est .rev::before { background: var(--data); }
.est .d { transform-box: fill-box; transform-origin: center; animation: est-pop 0.5s var(--ease-pop) calc(var(--d) * 16ms + 150ms) backwards; fill: var(--green); }
.est .d.pend { fill: none; stroke: var(--amber); stroke-width: 2; }
.est .d.bad { fill: var(--bad); }
.est .d.rev { fill: var(--data); }
.est .d-ring { fill: none; stroke: var(--bad); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rip 2.6s ease-out infinite; }
.est__tally { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.est__tally div { background: rgba(255,255,255,0.06); border: 1px solid var(--glass-line); border-radius: 10px; padding: 0.5rem 0.7rem; }
.est__tally dd { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; }
.est__tally .is-ok dd { color: #8fd392; } .est__tally .is-bad dd { color: #ff8a8f; } .est__tally .is-rev dd { color: #9cc6f2; }
.est__feedlbl { margin: 0.85rem 0 0.4rem; }
.est__feed { list-style: none; display: grid; gap: 0.4rem; }
.est__feed li { display: grid; grid-template-columns: auto auto 1fr; gap: 0 0.3rem; align-items: baseline; background: #fff; border-radius: 9px; padding: 0.45rem 0.65rem; font-size: 0.8rem; line-height: 1.3; color: var(--dark); animation: est-row 0.45s var(--ease-out) calc(var(--d, 0) * 200ms + 600ms) backwards; }
.est__feed b { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; color: var(--navy); margin-right: 0.3rem; white-space: nowrap; }
@keyframes est-pop { from { opacity: 0; transform: scale(0); } }
@keyframes est-row { from { opacity: 0; transform: translateX(14px); } }
.hero-tag a { color: #fff; }

/* Ledger ticker */
.ticker { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); overflow: hidden; }
.ticker__inner { display: flex; align-items: center; gap: 1.5rem; height: 48px; }
.ticker__label { flex: none; padding-left: var(--gutter-l); font-family: var(--font-mono); font-size: 0.72rem; color: var(--on-dark-dim); white-space: nowrap; }
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__list { display: flex; gap: 2.5rem; width: max-content; list-style: none; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__list { animation-play-state: paused; }
.ticker__list li { font-family: var(--font-mono); font-size: 0.78rem; color: var(--on-dark); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.55rem; }
.ticker__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.ticker__list li.is-flag::before { background: var(--amber); }
.ticker__list li.is-route::before { background: var(--data); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Trust line */
.trust { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: center; }
.trust p { font: 500 0.78rem/1.3 var(--font-mono); color: var(--caption); white-space: nowrap; }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
.trust li { border-left: 2px solid var(--green); padding-left: 0.8rem; }
.trust li b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 1.02rem; }
.trust li span { display: block; font-size: 0.82rem; line-height: 1.35; color: var(--caption); }

/* ---------------- Problem (light) ---------------- */
.problem { background: var(--paper); }
.problem__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.problem h2 { margin-bottom: 1rem; }
.costs { list-style: none; display: grid; gap: 0.9rem; }
.costs li { background: #fff; border-left: 4px solid var(--amber); border-radius: 0 10px 10px 0; padding: 0.9rem 1.1rem; }
.costs b { display: block; font-family: var(--font-display); color: var(--blue); font-size: 1.02rem; margin-bottom: 0.2rem; }
.costs span { font-size: 0.93rem; }

/* ---------------- Three ways in ---------------- */
.kicker { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); margin-bottom: 1rem; }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lane { background: var(--paper); border-radius: var(--radius); padding: 1.25rem; display: grid; grid-template-rows: subgrid; grid-row: span 6; gap: 0.8rem; align-items: start; min-width: 0; border-top: 4px solid var(--data); }
.lane--field { border-top-color: var(--green); }
.lane--records { border-top-color: var(--amber); }
.lane__head { display: flex; align-items: center; align-self: center; gap: 0.7rem; flex-wrap: wrap; }
.lane__for { font-family: var(--font-mono); font-size: 0.76rem; color: var(--caption); }
.lane h3 { font-size: 1.5rem; }
.lane p { font-size: 0.97rem; }
.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0.35rem 0.6rem; font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.flow li + li::before { content: "→"; color: var(--caption); margin-right: 0.45rem; font-weight: 400; }
.lane__watch { justify-self: start; background: none; cursor: pointer; font-family: var(--font-body); font-size: 0.92rem; }
.lane__watch::after { content: " ↓"; }
.lane__vis { position: relative; height: 190px; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.lane [data-s] { opacity: 0; transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.lane.s1 [data-s="1"], .lane.s2 [data-s="2"], .lane.s3 [data-s="3"], .lane.s4 [data-s="4"], .lane.s5 [data-s="5"], .lane.s6 [data-s="6"] { opacity: 1; transform: none; }
/* plan: table to map */
.vis-plan { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; padding: 12px; }
.vp__table { display: grid; gap: 5px; align-content: center; }
.vp__row { font: 600 11px/1.3 var(--font-mono); color: var(--blue); background: var(--data-tint); border-left: 3px solid var(--data); border-radius: 4px; padding: 5px 7px; transform: translateX(-8px); }
.vp__row span { display: block; font: 500 10px/1.3 var(--font-body); color: var(--caption); }
.vp__map { width: 100%; height: 100%; background: var(--paper); border-radius: 6px; }
.vp__pin { transform-box: fill-box; }
.vp__pin .dot { fill: #fff; stroke: var(--amber); stroke-width: 2.5; transition: fill 0.3s, stroke 0.3s; }
.vp__pin .ring { fill: none; stroke: var(--green); stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; }
.vp__pin[data-g="4"] { transition-delay: 0s; } .vp__pin[data-g="5"] { transition-delay: 0.15s; } .vp__pin[data-g="6"] { transition-delay: 0.3s; }
.lane.s4 .vp__pin[data-g="4"] .dot, .lane.s5 .vp__pin[data-g="5"] .dot, .lane.s6 .vp__pin[data-g="6"] .dot { fill: var(--green); stroke: var(--green); }
.lane.s4 .vp__pin[data-g="4"] .ring, .lane.s5 .vp__pin[data-g="5"] .ring, .lane.s6 .vp__pin[data-g="6"] .ring { animation: rip 1s ease-out 1; }
.vp__src { position: absolute; left: 12px; bottom: 8px; font: 500 9.5px/1 var(--font-mono); color: var(--caption); }
/* field: viewfinder */
.vf { position: absolute; inset: 0; background: #1d2733; display: grid; place-items: center; }
.vf__pic { width: 44%; height: auto; }
.vf__corner { position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255,255,255,0.85); }
.vf__corner.tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; } .vf__corner.tr { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.vf__corner.bl { left: 12px; bottom: 12px; border-right: 0; border-top: 0; } .vf__corner.br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }
.vf__scan { position: absolute; left: 0; right: 0; height: 2px; top: 8%; background: linear-gradient(90deg, transparent, var(--data), transparent); opacity: 0; }
.lane.s1 .vf__scan { animation: scan 1.1s ease-in-out 1 forwards; }
.vf__chip { position: absolute; left: 10px; border-radius: 6px; padding: 5px 8px; font: 600 11px/1.25 var(--font-body); background: rgba(255,255,255,0.95); color: var(--dark); transform: translateY(-4px); max-width: 72%; }
.vf__chip b { color: var(--green-deep); margin-left: 6px; }
.vf__chip--type { top: 10px; } .vf__chip--label { top: 42px; font-family: var(--font-mono); }
.vf__chip--near { bottom: 10px; color: var(--blue); } .vf__chip--done { bottom: 10px; background: var(--green); color: #fff; }
.lane.s5 .vf__chip--near { opacity: 0; }
/* records: three lists */
.vis-rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; }
.vr__col { background: var(--paper); border-radius: 8px; padding: 8px 7px; display: grid; gap: 5px; align-content: start; border-top: 3px solid var(--green); min-width: 0; }
.vr__col--new { border-top-color: var(--data); } .vr__col--miss { border-top-color: var(--amber); }
.vr__head { font: 700 9.5px/1.25 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; color: var(--dark); min-height: 2.5em; }
.vr__col i { font: 600 10.5px/1 var(--font-mono); font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 5px 6px; color: var(--blue); transform: translateY(6px); display: flex; justify-content: space-between; gap: 4px; }
.vr__col em { font-style: normal; color: var(--caption); font-size: 9.5px; }
/* merge */
.merge { height: 40px; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0.25rem; }
.merge span { justify-self: center; width: 2px; height: 100%; background: var(--data); }
.merge span:nth-child(2) { background: var(--green); } .merge span:nth-child(3) { background: var(--amber); }
.one { background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 1.5rem 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 0.75rem 2rem; align-items: center; border-top: 4px solid; border-image: linear-gradient(90deg, var(--data), var(--green), var(--amber)) 1; }
.one h3 { color: #fff; font-size: 1.3rem; }
.one ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.one li { border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; padding: 0.4rem 0.7rem; font-size: 0.86rem; }
.ways__foot { margin-top: 1.5rem; font-size: 0.95rem; color: var(--caption); }

/* ---------------- In the field: the phone ---------------- */
.field { background: var(--paper); }
.field .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.field__demo { display: grid; justify-items: center; gap: 12px; width: min(100%, 340px); }
.handset { width: 100%; max-width: 300px; aspect-ratio: 9 / 18.6; border-radius: 34px; background: var(--navy); padding: 12px; box-shadow: 0 18px 40px rgba(10,22,40,0.22), inset 0 0 0 2px #33465f; }
.handset__screen { height: 100%; border-radius: 24px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.sbar { display: flex; justify-content: space-between; padding: 10px 16px 6px; font: 600 11px/1 var(--font-body); color: var(--dark); }
.apphead { padding: 6px 16px 10px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.apphead b { color: var(--blue); font-family: var(--font-display); }
.apphead span { font-size: 11px; color: var(--caption); }
.app-scene { flex: 1; display: flex; flex-direction: column; min-height: 0; position: relative; }
.vf2 { position: relative; height: 36%; flex: none; background: #1d2733; display: grid; place-items: center; overflow: hidden; }
.vf2__pic { width: 50%; height: auto; }
.vf2 .vf__corner { width: 26px; height: 26px; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; top: 8%; background: linear-gradient(90deg, transparent, var(--data), transparent); opacity: 0; }
.scanline.on { animation: scan 1.1s ease-in-out 1 forwards; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash.on { animation: flash 0.45s ease-out; }
.ripple { position: absolute; width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--green); left: 50%; top: 50%; margin: -20px 0 0 -20px; opacity: 0; }
.ripple.on { animation: rip 1.2s ease-out 2; }
@keyframes scan { 0% { top: 8%; opacity: 1; } 90% { opacity: 1; } 100% { top: 92%; opacity: 0; } }
@keyframes flash { 0% { opacity: 0.9; } 100% { opacity: 0; } }
@keyframes rip { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.chip2 { position: absolute; border-radius: 6px; padding: 5px 8px; font: 600 11px/1.25 var(--font-body); opacity: 0; transform: translateY(-4px); transition: opacity 0.35s, transform 0.35s; max-width: 64%; }
.chip2.on { opacity: 1; transform: none; }
.tagchip { left: 10px; top: 10px; background: rgba(255,255,255,0.95); color: var(--dark); }
.tagchip b, .labchip b { color: var(--green-deep); margin-left: 6px; }
.labchip { left: 10px; top: 42px; background: rgba(255,255,255,0.95); color: var(--dark); font-family: var(--font-mono); }
.stamp2 { right: 10px; bottom: 10px; background: rgba(10,22,40,0.75); color: #fff; font: 500 9.5px/1.3 var(--font-mono); text-align: right; max-width: 60%; }
.defchip { left: 10px; bottom: 10px; color: #fff; background: var(--green); }
.defchip.review { background: var(--amber); }
.card2 { flex: 1; padding: 9px 12px; display: flex; flex-direction: column; gap: 5px; min-height: 0; overflow: hidden; }
.c2head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.c2id { font-family: var(--font-mono); font-size: 12px; color: var(--blue); font-weight: 600; }
.badge2 { font: 700 10px/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; border: 1.5px solid var(--data); color: var(--blue); white-space: nowrap; }
.badge2.pending, .badge2.review { border-color: var(--amber); color: var(--amber-ink); }
.badge2.pass { border-color: var(--green); color: var(--green-deep); }
.c2toast { display: flex; gap: 8px; align-items: center; font-size: 11px; line-height: 1.3; color: var(--dark); background: var(--data-tint); border-radius: 8px; padding: 6px 8px; }
.c2toast[hidden] { display: none; }
.c2toast::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--data); box-shadow: 0 0 0 4px rgba(74,144,217,0.25); }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.rows div { background: var(--paper); border-radius: 7px; padding: 3px 7px; opacity: 0; transform: translateY(3px); transition: opacity 0.3s, transform 0.3s; min-width: 0; }
.rows div.on { opacity: 1; transform: none; }
.rows small { display: block; font-size: 9.5px; color: var(--caption); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.rows span { font-size: 11.5px; line-height: 1.35; color: var(--dark); font-weight: 600; overflow-wrap: anywhere; }
.rows .wide { grid-column: 1 / -1; }
.verdict2 { margin-top: auto; font-size: 11.5px; line-height: 1.35; font-weight: 700; opacity: 0; transition: opacity 0.3s; color: var(--green-deep); }
.verdict2.review { color: var(--amber-ink); }
.verdict2.on { opacity: 1; }
.prog { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; width: 100%; max-width: 300px; }
.prog i { height: 4px; border-radius: 2px; background: var(--line); transition: background 0.3s; }
.prog i.on { background: var(--green); }
.stepcap { font-size: 0.92rem; color: var(--dark); min-height: 3em; text-align: center; max-width: 320px; }
.stepcap b { color: var(--blue); }
.field__caption { font-size: 0.8rem; color: var(--caption); text-align: center; }
.field__caption .btn--text { font-size: 0.8rem; background: none; cursor: pointer; font-family: var(--font-body); }
.field__steps { padding-left: 1.3rem; display: grid; gap: 0.7rem; max-width: 58ch; margin-top: 1.2rem; }
.field__steps li { font-size: 0.98rem; }
.field__sub { margin-top: 1.2rem; font-size: 0.98rem; }
.pill--data { background: var(--data-tint); color: var(--blue); }

.lead-form__note { margin-top: 0.6rem; font-size: 0.8rem; color: var(--caption); }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.86rem; box-shadow: none; }

/* ---------------- Where it fits: dark bento ---------------- */
.where {
  background:
    radial-gradient(50% 50% at 85% 10%, rgba(74,144,217,0.18) 0%, rgba(74,144,217,0) 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}
.where .lede { color: var(--on-dark); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 1rem; }
.world {
  grid-column: span 2; position: relative; overflow: hidden; cursor: pointer;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius); padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.35rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}
.world--wide { grid-column: span 3; }
.world:hover { transform: translateY(-4px); border-color: rgba(143,211,146,0.6); background: rgba(255,255,255,0.09); }
.world svg { position: absolute; right: 1rem; top: 1rem; width: 120px; height: 120px; opacity: 0.9; transition: transform 0.4s var(--ease-out); }
.world:hover svg { transform: scale(1.06) rotate(-3deg); }
.world h3 { font-size: 1.12rem; color: #fff; padding-top: 7.5rem; }
.world p { font-size: 0.9rem; color: var(--on-dark); max-width: 30ch; }
.world__eg { font-family: var(--font-mono); font-size: 0.72rem; color: #8fd392; margin-top: 0.3rem; }
.where__foot { margin-top: 1.5rem; font-size: 0.9rem; color: var(--on-dark-dim); }

/* ---------------- Capability bento (light) ---------------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cap { background: var(--paper); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.5rem; display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 0.6rem; align-items: start; }
.cap__vis { height: 124px; margin-bottom: 0.5rem; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.capsvg { width: 100%; height: 100%; max-width: 270px; }
.svgt { font: 500 8.5px var(--font-mono); fill: var(--caption); stroke: none; }
.svgt--ok { fill: var(--green-deep); } .svgt--inv { fill: #fff; font-size: 7.5px; } .svgt--mid { text-anchor: middle; fill: var(--blue); }
.svgt--loc { text-anchor: middle; fill: var(--navy); font: 700 9.5px var(--font-display); } .svgt--end { text-anchor: middle; fill: #fff; font: 700 10px var(--font-display); }
@keyframes dash { to { stroke-dashoffset: -20; } }
.dash-flow { stroke-dasharray: 4 6; animation: dash 1.1s linear infinite; }
.cap h3 { font-size: 1.12rem; }
.cap p { font-size: 0.95rem; }

/* ---------------- Reviewer ---------------- */
.reviewer .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.reviewer .cr-logo { height: 44px; width: auto; margin-bottom: 1.25rem; }
.reviewer h2 { margin-bottom: 1rem; }
.cr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
.cr-stats b { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--green-deep); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cr-stats span { display: block; font-size: 0.92rem; margin-top: 0.3rem; max-width: 26ch; }
.verdict { background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(10,22,40,0.14); overflow: hidden; }
.verdict__head { padding: 0.8rem 1.1rem; background: var(--paper); color: var(--blue); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.78rem; display: flex; justify-content: space-between; gap: 1rem; }
.verdict__row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--line); align-items: start; }
.verdict__row:last-of-type { border-bottom: 0; }
.verdict__row b { display: block; color: var(--dark); font-weight: 600; font-size: 0.95rem; }
.verdict__row span:not(.pill) { font-size: 0.86rem; }
.verdict__row b em { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; margin-right: 0.5rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 0.7rem/1 var(--font-display); font-style: normal; vertical-align: 0.1em; }
.verdict__row .pill { opacity: 0; transform: scale(1.6); transition: opacity 0.2s, transform 0.4s var(--ease-pop); }
.verdict__shot { position: relative; overflow: hidden; background: var(--navy); }
.verdict__shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.verdict__scan { position: absolute; left: 0; right: 0; height: 3px; top: 8%; opacity: 0; background: linear-gradient(90deg, transparent, #8fd392, transparent); box-shadow: 0 0 18px 4px rgba(76,175,80,0.5); }
.verdict.s1 .verdict__scan { animation: scan 0.95s ease-in-out 1 forwards; }
.verdict__stamp { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 5px; background: rgba(10,22,40,0.75); color: #fff; font: 500 0.68rem/1.3 var(--font-mono); }
.mk { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; border: 2px solid #fff; font: 700 0.8rem/1 var(--font-display); font-style: normal; box-shadow: 0 0 0 0 rgba(76,175,80,0.6); opacity: 0; transform: scale(0.3); transition: opacity 0.25s, transform 0.45s var(--ease-pop); }
.mk--review { background: var(--amber); }
.verdict.s2 [data-s="2"].mk, .verdict.s3 [data-s="3"].mk, .verdict.s4 [data-s="4"].mk { opacity: 1; transform: none; animation: mk-ping 1.2s ease-out 1; }
.verdict.s2 [data-s="2"] .pill, .verdict.s3 [data-s="3"] .pill, .verdict.s4 [data-s="4"] .pill { opacity: 1; transform: none; }
@keyframes mk-ping { from { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); } to { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
.verdict__foot { padding: 0.8rem 1.1rem; background: var(--paper); font-family: var(--font-mono); font-size: 0.74rem; color: var(--caption); }

/* ---------------- Proof ---------------- */
.proof { background: var(--paper); }
.bignums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.bignum { border-top: 3px solid var(--green); padding-top: 0.9rem; }
.bignum b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 1.5rem + 2.4vw, 3.6rem); color: var(--green-deep); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.bignum span { display: block; margin-top: 0.4rem; color: var(--dark); }
.bignum small { display: block; margin-top: 0.2rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--caption); }
.quote { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); margin-bottom: 2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.quote p { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; color: #fff; max-width: 28ch; font-weight: 600; }
.quote footer { font-size: 0.9rem; color: var(--on-dark); text-align: right; max-width: 24ch; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.case > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.case__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.case__meta { font-family: var(--font-mono); font-size: 0.76rem; color: var(--caption); }
.case h3 { font-size: 1.2rem; }
.case p { font-size: 0.95rem; }
.case .btn--text { margin-top: auto; align-self: flex-start; }
.proof-foot { margin-top: 1.25rem; font-size: 0.85rem; color: var(--caption); }

/* ---------------- Kit ---------------- */
.kit h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); margin-bottom: 1.25rem; }
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tagcard { background: var(--paper); border-radius: var(--radius); padding: 1rem; }
.tagcard img { height: 110px; width: auto; margin: 0 auto 0.8rem; object-fit: contain; }
.tagcard h3 { font-size: 0.98rem; }
.tagcard p { font-size: 0.86rem; margin-top: 0.2rem; }
.spec-strip { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--blue); }
.kit__links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }

/* ---------------- Close + form ---------------- */
.close { background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; }
.close h2 { color: #fff; margin-bottom: 1rem; }
.close .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lead-form { background: var(--white); border-radius: var(--radius); padding: 1.75rem; color: var(--body); box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.lead-form__field { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--caption); }
.lead-form__field--wide { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea { font: inherit; font-size: 1rem; color: var(--dark); padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--data); outline: none; box-shadow: 0 0 0 3px rgba(74,144,217,0.2); }
.lead-form__hp { position: absolute; left: -9999px; }
.lead-form__submit { width: 100%; }
.lead-form__status { margin-top: 0.75rem; font-size: 0.9rem; min-height: 1.4em; }
.lead-form__status--error { color: #c0392b; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy); color: #aab6c3; padding-block: 2.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2rem; }
.site-footer img { height: 28px; width: auto; margin-bottom: 0.8rem; }
.site-footer h3 { color: #fff; font-size: 0.85rem; font-family: var(--font-mono); font-weight: 500; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.4rem; }
.site-footer a { color: #d7e0ea; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { color: #8a98a6; margin-top: 1rem; font-size: 0.8rem; }

/* ---------------- Motion and polish ---------------- */
/* Hero: copy rises in on load, the demo glass settles behind it */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(30px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(-6%, 8%); } 100% { transform: translate(5%, -6%); } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.45); } 100% { box-shadow: 0 0 0 10px rgba(76,175,80,0); } }
.hero.is-entering .hero__copy > * { animation: rise 0.8s var(--ease-out) backwards; }
.hero.is-entering .hero__copy > :nth-child(1) { animation-delay: 0.05s; } .hero.is-entering .hero__copy > :nth-child(2) { animation-delay: 0.15s; }
.hero.is-entering .hero__copy > :nth-child(3) { animation-delay: 0.28s; } .hero.is-entering .hero__copy > :nth-child(4) { animation-delay: 0.38s; }
.hero.is-entering .hero__copy > :nth-child(5) { animation-delay: 0.48s; } .hero.is-entering .hero__copy > :nth-child(6) { animation-delay: 0.58s; }
.hero.is-entering .demo { animation: settle 1s var(--ease-out) 0.3s backwards; }
.hero { overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(28% 32% at 72% 38%, rgba(76,175,80,0.22), transparent 70%),
    radial-gradient(26% 30% at 30% 70%, rgba(74,144,217,0.2), transparent 70%);
  filter: blur(30px); animation: drift 22s ease-in-out infinite alternate;
}
.hero .wrap { z-index: 1; }
.hero h1 .nowrap { background: linear-gradient(90deg, #fff 0%, #8fd392 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__kicker::before { animation: pulse-dot 2.2s ease-out infinite; }
.kicker { display: inline-flex; align-items: center; gap: 0.55rem; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse-dot 2.2s ease-out infinite; }

/* Header gains weight once the page scrolls */
.site-header { transition: background 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { background: rgba(10,22,40,0.96); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

/* Cards: lift on hover and a light that follows the pointer */
.lane, .cap, .case, .world, .costs li, .bignum { position: relative; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s, background 0.3s; }
.lane:hover, .cap:hover, .case:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(10,22,40,0.12); }
.costs li:hover { transform: translateX(4px); }
.lane::before, .cap::before, .case::before, .world::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; z-index: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(74,144,217,0.14), transparent 60%);
}
.world::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.16), transparent 60%); }
.lane:hover::before, .cap:hover::before, .case:hover::before, .world:hover::before { opacity: 1; }
.lane > *, .cap > *, .case > *, .world > * { position: relative; z-index: 1; }
.btn--green:hover, .btn--blue:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(76,175,80,0.35); }
.btn--blue:hover { box-shadow: 0 14px 30px rgba(35,78,112,0.3); }

/* Three ways in: the lanes feed the one record */
@keyframes flow { to { background-position: 0 14px; } }
.merge span { background: repeating-linear-gradient(180deg, var(--data) 0 7px, transparent 7px 14px); animation: flow 0.9s linear infinite; }
.merge span:nth-child(2) { background-image: repeating-linear-gradient(180deg, var(--green) 0 7px, transparent 7px 14px); }
.merge span:nth-child(3) { background-image: repeating-linear-gradient(180deg, var(--amber) 0 7px, transparent 7px 14px); }
.one li { transition: border-color 0.3s, background 0.3s; }
.one li:hover { border-color: #8fd392; background: rgba(76,175,80,0.12); }

/* The phone tilts toward the pointer */
.field__demo { perspective: 1200px; }
.handset { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease-out, box-shadow 0.3s; will-change: transform; }
.field__demo:hover .handset { box-shadow: 0 30px 60px rgba(10,22,40,0.28), inset 0 0 0 2px #33465f; }

/* Dark bento: pictograms drift slightly */
.world svg { transition: transform 0.5s var(--ease-out), opacity 0.4s; }
.world:hover svg { transform: translate(-4px, -4px) scale(1.08) rotate(-3deg); opacity: 1; }

/* ---------------- Scroll motion ----------------
   Entrances are keyframe animations with fill-mode backwards: hidden until they play, then the
   element returns to its normal styles, so hover lifts still work. Only JS adds .reveal / .split,
   and html.reveal-off puts everything at rest (reduced motion, hidden tab, no IntersectionObserver). */
@keyframes rv-rise { from { opacity: 0; transform: translateY(34px); } }
@keyframes rv-card { from { opacity: 0; transform: perspective(900px) translateY(52px) rotateX(11deg) scale(0.95); } }
@keyframes rv-left { from { opacity: 0; transform: translateX(-60px); } }
@keyframes rv-right { from { opacity: 0; transform: translateX(60px); } }
@keyframes rv-pop { from { opacity: 0; transform: scale(0.9); } }
@keyframes word-up { from { transform: translateY(112%); } }
.reveal { opacity: 0; }
.reveal.in { opacity: 1; animation: rv-rise 0.8s var(--ease-out) calc(var(--i, 0) * 90ms) backwards; }
.reveal--card.in { animation-name: rv-card; animation-duration: 0.9s; }
.reveal--left.in { animation-name: rv-left; animation-duration: 0.9s; }
.reveal--right.in { animation-name: rv-right; animation-duration: 0.9s; }
.reveal--pop.in { animation-name: rv-pop; animation-duration: 0.9s; animation-timing-function: var(--ease-pop); }
/* headings: each word slides up out of its own mask */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.split .w > span { display: inline-block; transform: translateY(112%); }
.split.in .w > span { transform: none; animation: word-up 0.75s var(--ease-out) calc(var(--w, 0) * 45ms) backwards; }
.reveal-off .reveal { opacity: 1 !important; animation: none !important; }
.reveal-off .split .w > span { transform: none !important; animation: none !important; }

/* Hero: the dot grid lights up around the pointer, the demo glass tilts toward it */
.hero::before {
  mask-image: radial-gradient(540px circle at var(--hx, 72%) var(--hy, 38%), #000 0%, rgba(0,0,0,0.2) 72%);
  -webkit-mask-image: radial-gradient(540px circle at var(--hx, 72%) var(--hy, 38%), #000 0%, rgba(0,0,0,0.2) 72%);
}
.demo { perspective: 1400px; }
.scene { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.3s ease-out; }

/* Buttons: a sheen crosses the primary button on hover; nav links underline from the left */
.btn--green { position: relative; overflow: hidden; }
.btn--green::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.4) 50%, transparent 65%); transform: translateX(-120%); }
.btn--green:hover::after { transform: translateX(120%); transition: transform 0.7s var(--ease-out); }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }

/* Scroll-linked motion, where the browser supports it (progressive: nothing is hidden without it) */
@supports (animation-timeline: view()) {
  @keyframes grow-x { to { transform: scaleX(1); } }
  @keyframes hero-out { to { transform: translateY(80px) scale(0.97); opacity: 0.2; } }
  @keyframes open-up { from { clip-path: inset(0 5% 0 5% round 40px); } to { clip-path: inset(0 0 0 0 round 0px); } }
  @keyframes img-zoom { from { scale: 1.22; } to { scale: 1; } }
  .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 5px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--data), var(--green)); transform-origin: 0 50%; transform: scaleX(0); animation: grow-x linear both; animation-timeline: scroll(root); }
  .hero .wrap { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
  .where, .close { animation: open-up linear both; animation-timeline: view(); animation-range: entry 0% entry 420px; }
  .case > img { animation: img-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}

/* Pictograms: the green dot is the LOC tag; each bento tile sets its pictogram on a soft stage */
.tagdot__ring { fill: none; stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rip 2.6s ease-out infinite; }
@keyframes bob { from { translate: 0 -4px; } to { translate: 0 5px; } }
.world::after { content: ""; position: absolute; right: -36px; top: -36px; width: 230px; height: 230px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(76,175,80,0.2), rgba(74,144,217,0.08) 60%, transparent); }
.world svg { width: 132px; height: 132px; opacity: 1; filter: drop-shadow(0 12px 22px rgba(0,0,0,0.35)); animation: bob 5s ease-in-out infinite alternate; }
.world:nth-child(2n) svg { animation-delay: -2.5s; }
.world:nth-child(3n) svg { animation-delay: -1.2s; }

/* Mid-page call to action */
.cta-band-wrap { background: var(--paper); padding-bottom: clamp(3rem, 6vw, 5rem); }
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; align-items: center; justify-content: space-between; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 120% at 100% 0%, rgba(76,175,80,0.28), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h3 { color: #fff; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); margin-bottom: 0.45rem; }
.cta-band p { color: var(--on-dark); max-width: 54ch; font-size: 0.98rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Shown only when the device asks for reduced motion: lets the visitor play the animations anyway */
.motion-note { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 0.6rem; align-items: center; max-width: calc(100vw - 32px); background: var(--navy); color: #fff; border: 1px solid var(--glass-line); border-radius: 999px; padding: 0.5rem 0.6rem 0.5rem 1rem; font-size: 0.85rem; box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.motion-note button, .motion-toggle { white-space: nowrap; flex: none; font: 600 0.82rem/1 var(--font-display); border-radius: 999px; border: 0; padding: 0.5rem 0.85rem; cursor: pointer; background: var(--green); color: #fff; }
.motion-note button + button { background: transparent; color: var(--on-dark-dim); padding-inline: 0.5rem; }
.motion-toggle { margin-top: 1rem; background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #d7e0ea; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .nav, .header-actions .btn--ghost-light { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header.is-open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.5rem var(--gutter-r) 1rem var(--gutter-l);
  }
  .site-header.is-open .nav a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.05rem; opacity: 1; }
  .site-header.is-open .nav a.nav__signin { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(200px, auto); }
  .world, .world--wide { grid-column: span 1; }
  .world svg { width: 84px; height: 84px; opacity: 0.55; }
  .world h3, .world p, .world__eg { padding-right: 90px; }
  .world h3 { padding-top: 5rem; }
  .caps, .cases { grid-template-columns: repeat(2, 1fr); }
  .lanes { grid-template-columns: 1fr; }
  .lane { max-width: 560px; }
  .merge { display: none; }
  .bignums, .tag-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .reviewer .wrap, .close .wrap, .kit .wrap, .capture .wrap { grid-template-columns: 1fr; }
  .lanes, .field .wrap { grid-template-columns: 1fr; }
  .merge { display: none; }
  .one { grid-template-columns: 1fr; }
  .field__demo { width: 100%; }
  .problem__grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote footer { text-align: left; max-width: none; }
}
@media (max-width: 560px) {
  .bento, .caps, .cases, .bignums, .tag-grid { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: auto; }
  .world { min-height: 190px; }
  .world h3, .world p, .world__eg { padding-right: 0; }
  .world p { max-width: none; }
  .world h3 { padding-top: 4rem; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .cr-stats { grid-template-columns: 1fr; }
  .ticker__label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) { scroll-behavior: auto; }
  html:not(.motion-on) *, html:not(.motion-on) *::before, html:not(.motion-on) *::after { transition: none !important; animation: none !important; }
  html:not(.motion-on) :is(.record--demo .record__row, .record__stamp, .verdict__row .pill, .mk, .reveal, .lane [data-s], .chip2, .rows div, .verdict2, .hero__copy > *, .hero .demo, .split .w > span) { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 1024px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trust ul { grid-template-columns: 1fr; } }

/* Photo review: the objection answer and BYOB */
.already { margin-top: 1.1rem; padding-left: 1rem; border-left: 3px solid var(--green); color: var(--dark); }
.already b { color: var(--navy); }
.reviewer .byob-wrap { display: block; margin-top: clamp(2.5rem, 5vw, 4rem); }
.byob { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.byob h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); margin-bottom: 0.6rem; }
.byob__eg { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--blue); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 8px; padding: 0.7rem 0.9rem; }
.byob__steps { list-style: none; counter-reset: byob; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.byob__steps li { counter-increment: byob; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; display: grid; gap: 0.35rem; align-content: start; }
.byob__steps li::before { content: counter(byob); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 0.85rem/28px var(--font-display); text-align: center; margin-bottom: 0.3rem; }
.byob__steps b { color: var(--navy); font-family: var(--font-display); }
.byob__steps span { font-size: 0.9rem; }
@media (max-width: 1024px) { .byob { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .est__body { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .byob__steps { grid-template-columns: 1fr 1fr; } }

/* Estate plans: faint labels on the drawing */
.est__lbl { font: 8px var(--font-mono); fill: rgba(255,255,255,0.42); }

/* BYOB: a bot being built, step by step (driven by the same s1..s6 loop as the lanes) */
.byob { grid-template-columns: 1fr 1.15fr; }
.byob__steps { grid-column: 1 / -1; }
.byob__steps li { transition: border-color 0.3s, box-shadow 0.3s; }
.byob.s1:not(.s2) .byob__steps li:nth-child(1), .byob.s2:not(.s3) .byob__steps li:nth-child(2),
.byob.s3:not(.s6) .byob__steps li:nth-child(3), .byob.s6 .byob__steps li:nth-child(4) { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.byob__steps li::before { transition: background 0.3s; }
.byob.s1:not(.s2) .byob__steps li:nth-child(1)::before, .byob.s2:not(.s3) .byob__steps li:nth-child(2)::before,
.byob.s3:not(.s6) .byob__steps li:nth-child(3)::before, .byob.s6 .byob__steps li:nth-child(4)::before { background: var(--green); }
.bot { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px rgba(10,22,40,0.08); padding: 1rem 1.1rem 1.1rem; display: grid; gap: 0.85rem; }
.bot__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); color: var(--navy); }
.byob:not(.s6) .bot__live, .byob.s6 .bot__draft, .byob:not(.s5) .bot .now, .byob.s5 .bot .was { display: none; }
.bot__brief { background: var(--paper); border-left: 3px solid var(--green); border-radius: 8px; padding: 0.6rem 0.8rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--blue); opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s var(--ease-out); }
.bot__brief span { display: block; font-size: 0.66rem; color: var(--caption); margin-bottom: 0.2rem; }
.byob.s1 .bot__brief { opacity: 1; transform: none; }
.bot__photos { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.55rem; padding-top: 5px; }
.bot__photos li { position: relative; display: grid; gap: 0.3rem; justify-items: center; opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--ease-pop); transition-delay: calc(var(--k, 0) * 70ms); }
.byob.s2 .bot__photos li { opacity: 1; transform: none; }
.bot__photos svg { display: block; width: 100%; aspect-ratio: 1; background: var(--navy-2); border-radius: 8px; padding: 3px; }
.bot__photos li::before { content: "\2713"; position: absolute; top: -5px; right: -5px; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font: 700 0.66rem/18px var(--font-body); text-align: center; box-shadow: 0 0 0 2px #fff; }
.bot__photos .want-fail::before { content: "\2715"; background: var(--bad); }
.bot__photos .pill { font-size: 0.62rem; padding: 0.12rem 0.45rem; opacity: 0; transition: opacity 0.25s; }
.byob.s3 .bot__photos .pill { opacity: 1; }
.v-fail { background: #fdecec; color: #c0392b; }
.bot__box { position: absolute; left: var(--bx, 24%); top: var(--by, 40%); width: var(--bw, 52%); height: var(--bh, 26%); border: 2px solid var(--amber); border-radius: 4px; opacity: 0; transform: scale(1.5); transition: opacity 0.2s, transform 0.35s var(--ease-pop); }
.byob.s4 .bot__box { opacity: 1; transform: none; }
.bot__score { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--navy); opacity: 0; transition: opacity 0.3s; }
.byob.s3 .bot__score { opacity: 1; }
.bot__bar { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bot__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--amber); transition: width 0.6s var(--ease-out), background 0.3s; }
.byob.s3 .bot__bar i { width: 96%; }
.byob.s5 .bot__bar i { width: 100%; background: var(--green); }
.bot__key { font-family: var(--font-mono); font-size: 0.68rem; color: var(--caption); }
@media (max-width: 1024px) { .byob { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bot__photos { grid-template-columns: repeat(3, 1fr); } }

/* Stacked hero is taller than the screen: do not fade it while it is still being read */
@media (max-width: 860px) { .hero .wrap { animation: none; } }
.est__sub { display: block; line-height: 1.45; margin-top: 0.15rem; }

/* Estate view: nothing moves when the estate changes */
.est__head > div { min-width: 0; }
.est__title, .est__sub, .est__tally dt, .est__feed span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.est__tally div { display: flex; flex-direction: column; justify-content: space-between; min-height: 4.2rem; min-width: 0; }
.est__feed li { grid-template-columns: auto auto minmax(0, 1fr); }
.bot__brief q { quotes: "\201C" "\201D"; }
@media (max-width: 560px) { .est__tag { display: none; } }

/* Estate view: five tallies that add up, check rows on two lines */
.est__body { align-items: stretch; }
.est__map { display: flex; flex-direction: column; justify-content: center; }
.est__tally div:first-child { grid-column: 1 / -1; flex-direction: row; align-items: baseline; min-height: 0; }
.est__tally .is-pend dd { color: #f7c66b; }
.est__feed li { grid-template-columns: auto minmax(0, 1fr); align-items: center; min-height: 3.1rem; }
.est__feed b, .est__feed span { grid-column: 2; }
.est__feed li::before { grid-row: 1 / span 2; }
.est__feed span { white-space: normal; overflow: visible; }
.world.is-picked { border-color: var(--green); }

/* Job checks: the "already capturing photos" callout */
.reviewer .callout-wrap { display: block; margin-top: clamp(2.5rem, 5vw, 4rem); }
.callout { background: var(--navy); border-left: 6px solid var(--green); border-radius: 20px; padding: clamp(1.5rem, 3vw, 2.5rem); color: var(--on-dark); }
.callout .kicker { color: #8fd392; }
.callout__line { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin: 0.5rem 0 0.8rem; max-width: 24ch; }

/* "Get a report" band: what comes back */
.cta-band { align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.cta-band__copy { flex: 1 1 320px; }
.cta-band__copy .cta-band__actions { margin-top: 1.4rem; }
.report { flex: 1 1 340px; max-width: 470px; background: #fff; border-radius: 14px; padding: 1rem 1.1rem; color: var(--dark); font-size: 0.82rem; box-shadow: 0 24px 50px rgba(0,0,0,0.35); }
.report__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.report__head b { font-family: var(--font-display); color: var(--navy); font-size: 1rem; }
.report__head span, .report__foot { font-family: var(--font-mono); font-size: 0.7rem; color: var(--caption); }
.report__list { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.report__list > b { display: flex; justify-content: space-between; align-items: center; color: var(--navy); }
.report__list > b i { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; border-radius: 999px; padding: 0.1rem 0.5rem; background: var(--paper); }
.report__list.is-miss > b i { background: #fdf1dc; color: var(--amber-ink); }
.report__list.is-new > b i { background: var(--data-tint); color: var(--blue); }
.report__list.is-bad > b i { background: #fdecec; color: #c0392b; }
.report__list ul { list-style: none; margin-top: 0.3rem; display: grid; gap: 0.15rem; }
.report__list em { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; color: var(--blue); display: inline-block; min-width: 6.2em; }
.report__foot { padding-top: 0.6rem; }

/* Form: report, demo or both */
.lead-form__choice { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lead-form__choice legend { font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; padding: 0; }
.lead-form__choice label { position: relative; }
.lead-form__choice input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.lead-form__choice span { display: block; padding: 0.55rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--dark); cursor: pointer; }
.lead-form__choice input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.lead-form__choice input:focus-visible + span { outline: 2px solid var(--data); outline-offset: 2px; }

/* BYOB: the initials carry the acronym */
.byob__title b { color: var(--green-deep); }

/* Draft 20 */
/* lane steps as a numbered line */
.flow { counter-reset: flow; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; align-items: start; }
.flow li, .flow li + li { counter-increment: flow; position: relative; background: none; border: 0; border-radius: 0; padding: 2rem 0.2rem 0; text-align: center; font-size: 0.78rem; line-height: 1.25; }
.flow li::before, .flow li + li::before { content: counter(flow); position: absolute; top: 0; left: 50%; translate: -50% 0; z-index: 1; margin: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 0.72rem/24px var(--font-display); }
.flow li:last-child::before { background: var(--green); }
.flow li + li::after { content: ""; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: var(--line); }

/* callout leads with the objection */
.callout__say { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.45rem); color: #8fd392; }

/* BYOB, louder */
.byob { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); }
.byob__badge { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--navy); margin-bottom: 0.4rem; }
.byob h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); }
.byob > div:first-child > p:last-child { font-size: 1.1rem; }
.bot { padding: 1.4rem 1.5rem 1.5rem; gap: 1.1rem; }
.bot__head { font-size: 1.15rem; }
.bot__brief { font-size: 1rem; line-height: 1.45; padding: 0.8rem 1rem; }
.bot__brief span { font-size: 0.76rem; }
.bot__photos { gap: 0.8rem; }
.bot__photos svg { padding: 0; background: none; border-radius: 10px; }
.bot__photos li::before { width: 24px; height: 24px; font-size: 0.8rem; line-height: 24px; top: -7px; right: -7px; }
.bot__photos .pill { font-size: 0.8rem; padding: 0.2rem 0.7rem; }
.bot__score { font-size: 0.95rem; }
.bot__bar { height: 10px; }
.bot__key { font-size: 0.8rem; }
.byob__steps b { font-size: 1.1rem; }
.byob__steps span { font-size: 1rem; }
@media (max-width: 1024px) { .byob { grid-template-columns: 1fr; } }

/* industry tiles: every title on the same line, the example pinned to the foot */
.world { justify-content: flex-start; }
.world__eg { margin-top: auto; padding-top: 0.5rem; }
.trust ul { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust ul { grid-template-columns: 1fr; } }

/* tags lift and turn toward the pointer */
.tagcard { perspective: 700px; }
.tagcard img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1)); transition: transform 0.35s var(--ease-out), filter 0.35s, translate 0.35s var(--ease-out); }
.tagcard:hover img { --s: 1.2; translate: 0 -8px; filter: drop-shadow(0 20px 16px rgba(10,22,40,0.3)); }
.tagcard img.is-flat { mix-blend-mode: multiply; }
.tagcard:hover img.is-flat { filter: none; }

/* Draft 21 */
.trust__logo { display: block; width: auto; max-width: 100%; margin-bottom: 0.45rem; }

/* Ask LOC */
.ask { background: var(--paper); }
.ask .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ask h2 { margin-bottom: 1rem; }
.ask__list { list-style: none; margin-top: 1.4rem; display: grid; gap: 0.6rem; }
.ask__list li { padding-left: 1rem; border-left: 3px solid var(--green); }
.ask__list b { color: var(--navy); }
.askbox { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 40px rgba(10,22,40,0.08); padding: 1.2rem 1.3rem 1.3rem; display: grid; gap: 0.75rem; align-content: start; min-height: 24rem; }
.askbox__bar { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.askbox__bar b { font-family: var(--font-display); color: var(--navy); }
.askbox__bar span, .askbox__meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--caption); }
.askbox__q { justify-self: end; max-width: 90%; background: var(--navy); color: #fff; font-weight: 600; border-radius: 14px 14px 4px 14px; padding: 0.7rem 1rem; }
.askbox__a { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.2; color: var(--navy); }
.askbox.is-refused .askbox__a { color: var(--amber-ink); }
.askbox__note { font-size: 0.84rem; color: var(--caption); }
.askbox > :not(.askbox__bar) { opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s var(--ease-out); }
.ask.s1 .askbox__q, .ask.s2 .askbox__meta, .ask.s3 .askbox__a, .ask.s4 .askbox__chart, .ask.s5 .askbox__note { opacity: 1; transform: none; }
.askbox__chart.is-none { display: none; }
.askbox__chart.is-rank { display: grid; gap: 0.45rem; }
.is-rank div { display: grid; grid-template-columns: 7.5em 1fr 2.5em; gap: 0.6rem; align-items: center; font-size: 0.84rem; }
.is-rank i { display: block; height: 16px; width: calc(var(--v) * 100%); border-radius: 4px; background: var(--data); transform-origin: left; transform: scaleX(0); transition: transform 0.6s var(--ease-out) calc(var(--k) * 80ms); }
.is-rank div:first-child i { background: var(--bad); }
.is-rank em { font-style: normal; font-family: var(--font-mono); font-size: 0.76rem; text-align: right; }
.askbox__chart.is-trend { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.45rem; height: 9.5rem; }
.is-trend div { display: grid; grid-template-rows: 1fr auto; text-align: center; }
.is-trend i { grid-row: 1; align-self: end; display: block; height: calc(var(--v) * 100%); border-radius: 4px 4px 0 0; background: var(--green); transform-origin: bottom; transform: scaleY(0); transition: transform 0.6s var(--ease-out) calc(var(--k) * 60ms); }
.is-trend span { grid-row: 2; font-family: var(--font-mono); font-size: 0.68rem; color: var(--caption); padding-top: 0.25rem; }
.is-trend em { display: none; }
.ask.s4 .askbox__chart i { transform: none; }
@media (max-width: 860px) { .ask .wrap { grid-template-columns: 1fr; } }

/* Draft 22 */
/* three matching dashed lines into the "same record" box, whose colour strip now follows its rounded corners */
.merge span, .merge span:nth-child(n) { background-color: transparent; }
.one { position: relative; overflow: hidden; border-top: 0; border-image: none; padding-top: calc(1.5rem + 5px); }
.one::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--data), var(--green), var(--amber)); }
.byob__badge { letter-spacing: 0.01em; }
/* BYOB example picker */
.bot__dots { display: flex; justify-content: center; gap: 0.5rem; }
.bot__dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width 0.3s var(--ease-out), background 0.3s; }
.bot__dots button:hover { background: #a9b6c4; }
.bot__dots button.is-on { width: 32px; background: var(--green); }
.bot__dots button:focus-visible { outline: 2px solid var(--data); outline-offset: 3px; }
.is-rank.pair div:first-child i { background: var(--green); }

/* Draft 25 */
.byob__badge { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.02em; }
.trust li { border: 0; padding: 0; }
.trust__logo { margin: 0; }
.cta-band .cta-band__claim { margin-top: 0.9rem; color: #fff; font-weight: 600; }
.askbox > .bot__dots { opacity: 1; transform: none; margin-top: 0.4rem; }

/* Draft 26: the closing sentence of a heading in green */
h2 .hl { font-style: normal; color: var(--green-deep); }
.is-dark h2 .hl { color: #8fd392; }

/* Draft 29: the tag sits beside the first two lines of the headline, where the column is otherwise empty */
.hero__copy { position: relative; }
.hero-tagpic { position: absolute; right: 10%; top: 3.8rem; margin: 0; pointer-events: none; rotate: -2.5deg; translate: 8px -4px; scale: 1.12; } /* placement set by Brandon with the review tool, 2026-11-13 */
/* the render as supplied, not rotated; it sits between the top of the headline's first line and the bottom of its second */
.hero-tagpic img { display: block; width: clamp(80px, 6.4vw, 98px); height: auto; filter: brightness(1.2) drop-shadow(0 18px 24px rgba(0,0,0,0.55)) drop-shadow(0 0 24px rgba(74,144,217,0.55)); animation: bob 5s ease-in-out infinite alternate; }
@media (max-width: 1100px) and (min-width: 861px) { .hero-tagpic { display: none; } }
@media (max-width: 860px) { .hero-tagpic { right: 3%; top: 2.6rem; } .hero-tagpic img { width: 56px; } }


/* Draft 37: a fourth, failed check in the worked example */
.mk--fail { background: var(--bad); }
.verdict.s5 [data-s="5"].mk { opacity: 1; transform: none; animation: mk-ping 1.2s ease-out 1; }
.verdict.s5 [data-s="5"] .pill { opacity: 1; transform: none; }

/* Draft 38: customers shown by name until a logo file is supplied */
.trust__name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.15; color: var(--blue); max-width: 11em; }

/* Draft 39: "In use with" as one slowly rotating row. The list is in the page twice; sliding it by half its width loops it. */
.trust .wrap { grid-template-columns: auto minmax(0, 1fr); }
.trust__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.trust .trust__track ul { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; width: max-content; animation: trust-slide 45s linear infinite; }
.trust .trust__track li { flex: none; padding-right: 3.75rem; }
.trust__track:hover ul { animation-play-state: paused; }
.trust__name { max-width: none; white-space: nowrap; }
@keyframes trust-slide { to { transform: translateX(-50%); } }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: minmax(0, 1fr); } }
/* animations off: the row stays put and can be scrolled sideways; the duplicate set is hidden */
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-on) .trust__track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  html:not(.motion-on) .trust__track li[aria-hidden] { display: none; }
}

/* Draft 42 */
.cta-band .cta-band__note { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.8rem; color: #8fd392; }
