/* Homepage. The hero stage at the top runs a 14 second loop in CSS only. Its
   resting styles (no animation) are the finished "after" frame, so the stage
   reads correctly with reduced motion or if no animation ever runs. */

a.get-more { color: var(--accent); }
a.get-more:hover { color: var(--accent-deep); }
::placeholder { color: var(--muted); opacity: 1; }

@keyframes a-rise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes a-flow { to { stroke-dashoffset: -24; } }
@keyframes a-word { 0%, 24% { opacity: 0; background-color: rgba(75,77,237,0); } 36% { opacity: 1; background-color: rgba(75,77,237,.14); } 62%, 100% { opacity: 1; background-color: rgba(75,77,237,0); } }
@keyframes g-sweep { from { transform: rotate(-90deg); } }
@keyframes g-fill { from { stroke-dashoffset: 100; } }
.a-rise { animation: a-rise .7s ease backwards; }
.a-flow { stroke-dasharray: 2 10; stroke-linecap: round; animation: a-flow 1.6s linear infinite; }
.a-word { animation: a-word 6s ease infinite backwards; border-radius: 4px; }
.btn-ghost-soft { padding: 0 28px; border-color: var(--line-strong); }

/* ---------- Hero */
.h-wrap { position: relative; overflow: hidden; }
.h-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28.5 0V56M0 28.5H56' stroke='%23EDEEF3' stroke-width='1'%3E%3C/path%3E%3Cpath d='M28.5 24V33M24 28.5H33' stroke='%23C9CBD6' stroke-width='1'%3E%3C/path%3E%3C/svg%3E");
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 72%, #000 30%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 72%, #000 30%, rgba(0,0,0,0) 100%);
}
.h-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 40px 24px 88px; display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.h-pill { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink); line-height: 1.55; }
.h-lead { margin: 0; max-width: 960px; font-family: var(--font-head); font-weight: 500; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.h-lead-sub { display: block; margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--accent); }
/* Its own paragraph under the h2 now: the heading's type and the old 14px space, less the column's 26px gap. */
.h-lead + .h-lead-sub { margin: -12px 0 0; max-width: 960px; font-family: var(--font-head); font-weight: 500; text-wrap: balance; }
.h-text { margin: 0; max-width: 700px; font-size: 18px; color: var(--muted); text-wrap: pretty; }
.h-form { width: 100%; max-width: 820px; display: flex; flex-wrap: wrap; align-items: stretch; gap: 6px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 34px; background: var(--white); text-align: left; box-shadow: 0 10px 30px -18px rgba(27,28,34,.25); }
.h-field { flex: 3 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 20px; border-radius: 26px; }
.h-field:focus-within { background: #F7F7FB; }
.h-field-term { flex: 2 1 200px; box-shadow: -1px 0 0 var(--line); }
.h-field label { font-size: 12px; font-weight: 500; color: var(--muted); }
.h-field input { width: 100%; min-width: 0; padding: 4px 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); }
.h-submit { flex: 0 0 auto; padding: 0 26px; }
/* The Quick Check's lines under the form (static/js/home.js): the bot check when it needs the
   person, a refusal, and the working line with an indeterminate spinner while the check runs. */
.h-bot, .h-problem, .h-working { margin: -10px 0 0; max-width: 820px; font-size: 15px; }
.h-bot { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.h-note { margin: 0; color: var(--ink); }
.h-problem { color: var(--bad); font-weight: 500; text-wrap: pretty; }
.h-working { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.h-bot[hidden], .h-problem[hidden], .h-working[hidden] { display: none; }
.h-spinner { flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--accent-tint); border-top-color: var(--accent); border-radius: 50%; animation: h-spin .8s linear infinite; }
@keyframes h-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .h-spinner { animation: none; border-color: var(--accent); } }
.h-submit[disabled] { cursor: progress; opacity: .85; }
.h-platforms { margin: -8px 0 0; max-width: 720px; font-size: 14px; color: var(--muted); text-wrap: balance; }

/* ---------- Hero stage: frame */
.st-frame { position: relative; width: 100%; max-width: 1160px; margin-top: 30px; }
.st-glow { position: absolute; left: 10%; right: 10%; bottom: -46px; height: 140px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(75,77,237,.20), rgba(75,77,237,0) 70%); }
.st-plus { position: absolute; }
.st-plus-tl { top: -7px; left: -7px; } .st-plus-tr { top: -7px; right: -7px; }
.st-plus-bl { bottom: -7px; left: -7px; } .st-plus-br { bottom: -7px; right: -7px; }
.st { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 1px 0 var(--line-soft), 0 40px 80px -40px rgba(27,28,34,.22); text-align: left; }
.st-body { display: flex; align-items: stretch; gap: 20px; padding: 20px; background: var(--tint); }

/* Browser card with the sample collection page */
.st-page { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--white); }
.st-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
.st-dots { flex: 0 0 auto; display: inline-flex; gap: 5px; }
.st-dots span { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); }
.st-url { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.st-url > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-pad { flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.st-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.st-heading { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.st-title { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.st-sub { display: flex; gap: 5px; }
.st-sub .wb:nth-child(1) { width: 120px; } .st-sub .wb:nth-child(2) { width: 70px; } .st-sub .wb:nth-child(3) { width: 46px; }
.st-sort { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }

/* Tiles and word bars */
.tg { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; overflow: hidden; }
.tl { display: flex; flex-direction: column; gap: 7px; padding: 6px 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.tl-i { height: 64px; border-radius: 8px; background: #F4F4F8; display: flex; align-items: center; justify-content: center; }
.tl-i svg { width: 30px; height: 30px; }
.tl-l { display: flex; gap: 4px; padding: 0 3px; }
.wb { display: block; height: 4px; border-radius: 2px; background: var(--line-strong); }
.wl { background: #A9ABF5; }
.wa { background: var(--accent); transform-origin: left center; }
.w-14 { width: 14%; } .w-16 { width: 16%; } .w-18 { width: 18%; } .w-20 { width: 20%; } .w-22 { width: 22%; }
.w-24 { width: 24%; } .w-26 { width: 26%; } .w-28 { width: 28%; } .w-30 { width: 30%; } .w-32 { width: 32%; }
.w-34 { width: 34%; } .w-36 { width: 36%; } .w-38 { width: 38%; } .w-43 { width: 43%; } .w-55 { width: 55%; } .w-100 { width: 100%; }
.st-scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.st-scan-glow { position: absolute; top: 0; bottom: 0; left: -64px; width: 64px; background: linear-gradient(90deg, rgba(75,77,237,0), rgba(75,77,237,.10)); }
.st-scan-line { position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(75,77,237,.55); }

/* FAQ slot under the tiles */
.st-faq { position: relative; flex: 0 0 auto; height: 80px; margin-top: auto; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: 12px; color: var(--muted); }
.st-faq-card { position: absolute; inset: -1px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 14px; border: 1px solid var(--line); border-left: 2px solid var(--accent); border-radius: 12px; background: var(--white); text-align: left; color: var(--ink); }
.st-faq-h { font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.st-faq-q { display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* Rail: measures and score */
.st-rail { flex: 0 0 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.st-card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.st-meas { display: flex; flex-direction: column; padding: 14px 16px 8px; }
.st-term { align-self: flex-start; padding: 3px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink); }
.st-vol { margin: 8px 0 10px; font-size: 12px; color: var(--muted); }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink); }
.st-slot { display: grid; justify-items: end; }
.st-slot > * { grid-area: 1 / 1; }
.st-ph { width: 56px; height: 20px; border: 1px dashed var(--line-strong); border-radius: 999px; }
.st-hidden { opacity: 0; }
.tag { padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 500; white-space: nowrap; }
.st-slot .tag { padding: 1px 10px; }
.tag-close { color: var(--close); }
.tag-bad { color: var(--bad); }
.tag-good { color: var(--good); }
.st-score { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.st-score-label { font-size: 12px; color: var(--muted); }
.st-score-row { display: flex; align-items: center; gap: 14px; }
.st-gauge { flex: 0 0 150px; width: 150px; height: auto; overflow: visible; }
.st-needle { transform-box: view-box; transform-origin: 120px 120px; transform: rotate(28.8deg); }
.st-score-text { display: flex; flex-direction: column; gap: 2px; }
.st-score-num { display: flex; align-items: baseline; gap: 6px; }
.st-digits { display: grid; font-family: var(--font-head); font-weight: 500; font-size: 40px; line-height: 1; color: var(--ink); }
.st-digits > span { grid-area: 1 / 1; }
.st-of { font-size: 13px; color: var(--muted); }
.st-today { font-size: 12px; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend-band { width: 12px; height: 2px; background: var(--grey); }
.legend-plan { width: 12px; height: 3px; background: var(--accent); }
.legend-center { justify-content: center; }

/* Caption row with the four steps */
.st-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
.st-prog { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--accent); transform-origin: left center; }
.st-sample { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--ink); }
.st-sample > span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.st-note { font-size: 12px; color: var(--muted); }
.st-steps { margin: 0 0 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.st-steps li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 500; color: var(--muted); }
.st-steps li > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-steps .st-step-on { color: var(--accent-ink); border-color: var(--accent); background: #F5F5FE; }

/* ---------- Hero stage: the loop. Resting values are the "after" frame. */
.mv-d, .mv-m.on { border-color: var(--accent); }
.mv-d, .mv-m { position: relative; z-index: 1; }
.k-dn { transform: translateY(calc(100% + 10px)); }
.mv-d, .mv-m.on { transform: translateY(calc(-100% - 10px)); }
.k { animation-duration: 14s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.k-scan { animation-name: k-scan; animation-timing-function: linear; }
.k-prog { animation-name: k-prog; animation-timing-function: linear; }
.wl { animation-duration: 14s; animation-iteration-count: infinite; animation-timing-function: ease; }
.tg > .tl:nth-child(6n+1) .wl { animation-name: w-c0; }
.tg > .tl:nth-child(6n+2) .wl { animation-name: w-c1; }
.tg > .tl:nth-child(6n+3) .wl { animation-name: w-c2; }
.tg > .tl:nth-child(6n+4) .wl { animation-name: w-c3; }
.tg > .tl:nth-child(6n+5) .wl { animation-name: w-c4; }
.tg > .tl:nth-child(6n+6) .wl { animation-name: w-c5; }
.k-dn { animation-name: k-dn; }
.k-up { animation-name: k-up; }
.k-add { animation-name: k-add; }
.k-faq { animation-name: k-faq; }
.k-r1 { animation-name: k-r1; } .k-r2 { animation-name: k-r2; } .k-r3 { animation-name: k-r3; } .k-r4 { animation-name: k-r4; }
.k-miss { animation-name: k-miss; } .k-done { animation-name: k-done; }
.k-gin { animation-name: k-gin; } .k-band { animation-name: k-band; } .k-plan { animation-name: k-plan; } .k-nd { animation-name: k-nd; }
.k-42 { animation-name: k-42; } .k-66 { animation-name: k-66; }
.k-c1 { animation-name: k-c1; } .k-c2 { animation-name: k-c2; } .k-c3 { animation-name: k-c3; } .k-c4 { animation-name: k-c4; }
@keyframes k-scan { 0%, 3% { transform: translateX(0); opacity: 0; } 4% { transform: translateX(0); opacity: 1; } 24% { transform: translateX(100%); opacity: 1; } 26%, 100% { transform: translateX(100%); opacity: 0; } }
@keyframes k-prog { 0% { transform: scaleX(0); opacity: 1; } 95% { transform: scaleX(1); opacity: 1; } 99%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes w-c0 { 0%, 4.2% { background-color: #D4D6E0; } 5.7% { background-color: #4B4DED; } 9.7%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-c1 { 0%, 7.5% { background-color: #D4D6E0; } 9% { background-color: #4B4DED; } 13%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-c2 { 0%, 10.8% { background-color: #D4D6E0; } 12.3% { background-color: #4B4DED; } 16.3%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-c3 { 0%, 14.2% { background-color: #D4D6E0; } 15.7% { background-color: #4B4DED; } 19.7%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-c4 { 0%, 17.5% { background-color: #D4D6E0; } 19% { background-color: #4B4DED; } 23%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-c5 { 0%, 20.8% { background-color: #D4D6E0; } 22.3% { background-color: #4B4DED; } 26.3%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-m0 { 0%, 5% { background-color: #D4D6E0; } 6.5% { background-color: #4B4DED; } 10.5%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-m1 { 0%, 10% { background-color: #D4D6E0; } 11.5% { background-color: #4B4DED; } 15.5%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-m2 { 0%, 15% { background-color: #D4D6E0; } 16.5% { background-color: #4B4DED; } 20.5%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes w-m3 { 0%, 20% { background-color: #D4D6E0; } 21.5% { background-color: #4B4DED; } 25.5%, 94% { background-color: #A9ABF5; } 97%, 100% { background-color: #D4D6E0; } }
@keyframes k-dn { 0%, 63% { transform: none; } 69%, 93% { transform: translateY(calc(100% + 10px)); } 98%, 100% { transform: none; } }
@keyframes k-up { 0%, 63% { transform: none; border-color: #E4E5EC; } 65% { transform: none; border-color: #4B4DED; } 69%, 93% { transform: translateY(calc(-100% - 10px)); border-color: #4B4DED; } 98%, 100% { transform: none; border-color: #E4E5EC; } }
@keyframes k-add { 0%, 71% { transform: scaleX(0); } 75%, 94% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }
@keyframes k-faq { 0%, 76% { clip-path: inset(0 100% 0 0); opacity: 1; } 81%, 95% { clip-path: inset(0 0 0 0); opacity: 1; } 98% { clip-path: inset(0 0 0 0); opacity: 0; } 100% { clip-path: inset(0 100% 0 0); opacity: 0; } }
@keyframes k-r1 { 0%, 30% { opacity: 0; transform: translateX(6px); } 32%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes k-r2 { 0%, 33.5% { opacity: 0; transform: translateX(6px); } 35.5%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes k-r3 { 0%, 37% { opacity: 0; transform: translateX(6px); } 39%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes k-r4 { 0%, 40.5% { opacity: 0; transform: translateX(6px); } 42.5%, 94% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes k-miss { 0%, 44% { opacity: 0; transform: translateX(6px); } 46%, 80% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: none; } }
@keyframes k-done { 0%, 80% { opacity: 0; } 82%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes k-gin { 0%, 48% { opacity: 0; } 51%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes k-band { 0%, 52% { stroke-dashoffset: 100; } 59%, 94% { stroke-dashoffset: 0; } 97%, 100% { stroke-dashoffset: 100; } }
@keyframes k-plan { 0%, 85% { opacity: 0; } 88%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes k-nd { 0%, 83% { transform: rotate(-14.4deg); } 89%, 96% { transform: rotate(28.8deg); } 99%, 100% { transform: rotate(-14.4deg); } }
@keyframes k-42 { 0%, 85% { opacity: 1; } 87%, 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-66 { 0%, 85% { opacity: 0; } 87%, 95% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes k-c1 { 0%, 26% { color: #3A3CCB; border-color: #4B4DED; background-color: #F5F5FE; } 28%, 97% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } 99%, 100% { color: #3A3CCB; border-color: #4B4DED; background-color: #F5F5FE; } }
@keyframes k-c2 { 0%, 26% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } 28%, 46% { color: #3A3CCB; border-color: #4B4DED; background-color: #F5F5FE; } 48%, 100% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } }
@keyframes k-c3 { 0%, 46% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } 48%, 60% { color: #3A3CCB; border-color: #4B4DED; background-color: #F5F5FE; } 62%, 100% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } }
@keyframes k-c4 { 0%, 60% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } 62%, 95% { color: #3A3CCB; border-color: #4B4DED; background-color: #F5F5FE; } 97%, 100% { color: #5E6170; border-color: #E4E5EC; background-color: #FFFFFF; } }

/* ---------- Sections */
.sec { border-top: 1px solid var(--line); }
.sec-tint { background: var(--tint); }
.sec-in { max-width: 1120px; margin: 0 auto; padding: 72px 24px; display: flex; flex-direction: column; gap: 40px; }
.sec-in-36 { gap: 36px; }
.sec-intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.sec-intro-wide { max-width: 760px; }
.sec-intro-full { max-width: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow-teal > span { background: #0B8C99; }
.eyebrow-pink > span { background: #D6368F; }
.sec-h { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.sec-h-plain { text-wrap: wrap; }
.sec-lead { margin: 0; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.sec-lead-720 { max-width: 720px; }
.sec-note { margin: 0; font-size: 14px; color: var(--muted); }
.icon-40 { flex: 0 0 auto; }

/* The problem */
.pr-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.pr-fig { flex: 1 1 440px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--tint); }
.pr-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pr-tile { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); }
.pr-tile-on { border-color: var(--accent); }
.pr-tile-label { font-size: 12px; font-weight: 500; color: var(--muted); }
.pr-tile-on .pr-tile-label { color: var(--accent); }
.pr-img { height: 104px; border-radius: 10px; background: #F1F1F6; display: flex; align-items: center; justify-content: center; }
.pr-name { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; }
.pr-word { padding: 0 2px; }
.pr-desc { margin: 0; padding: 6px 8px; font-size: 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.pr-desc-none { color: var(--muted); border: 1px dashed var(--line-mid); }
.pr-count { padding-top: 8px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.pr-arrow { flex: 0 0 auto; margin: 0 auto; }
.pr-cap { font-size: 14px; color: var(--muted); text-wrap: pretty; }
.pr-list { flex: 1 1 420px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.pr-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.pr-list li:first-child { border-top-color: var(--ink); }
.pr-list li:last-child { border-bottom: 1px solid var(--line); }
.pr-list li > div { display: flex; flex-direction: column; gap: 4px; }
.pr-list h3, .get-card h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }
.pr-list p, .get-card p, .nots p, .steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* How it works: the sample report */
.bench { margin: 0; display: flex; flex-wrap: wrap; align-items: stretch; gap: 28px; padding: 26px; border: 1px solid var(--ink); border-radius: 24px; }
.bench-score { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.bench-label { font-size: 13px; color: var(--muted); }
.bench-gauge { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.g-needle { transform-box: view-box; transform-origin: 120px 120px; transform: rotate(-14.4deg); }
.g-fill { stroke-dasharray: 100; stroke-dashoffset: 0; }
/* The dial rests on its final figure (42), which is what shows with scripts off or with
   reduced motion. Only static/js/motion.js sets the motion: on a dial out of view it arms
   it (m-armed), held on its first frame, needle at 0, arc empty and the printed 42 not yet
   shown; once most of the dial is in view (m-seen) the needle and the fill travel to 42
   and the figure fades in as they arrive. A dial in view at the start plays at once. */
@keyframes g-num { 0%, 70% { opacity: 0; } to { opacity: 1; } }
[data-dial].m-armed .g-needle, [data-dial].m-seen .g-needle { animation: g-sweep 1.1s cubic-bezier(.3,1.3,.5,1) backwards; }
[data-dial].m-armed .g-fill, [data-dial].m-seen .g-fill { animation: g-fill 1.1s cubic-bezier(.3,1,.5,1) backwards; }
[data-dial].m-armed .bench-num, [data-dial].m-seen .bench-num { animation: g-num 1.1s ease backwards; }
.bench-num { display: flex; align-items: baseline; gap: 8px; margin-top: -6px; }
.bench-num > span:first-child { font-family: var(--font-head); font-weight: 500; font-size: 48px; line-height: 1; }
.bench-num > span:last-child { color: var(--muted); }
.bench-list { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bench-h { padding-bottom: 6px; font-family: var(--font-head); font-weight: 500; font-size: 20px; }
.bench-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.bench-row > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.bench-row > span:first-child > span:first-child { font-weight: 600; }
.bench-row > span:first-child > span:last-child { font-size: 13px; color: var(--muted); }
.bench-row .tag { flex: 0 0 auto; background: transparent; }
.bench-cap { flex: 1 1 100%; font-size: 13px; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 24px 0; border-top: 1px solid var(--ink); }
.steps li:last-child { padding-right: 0; }
.step-n { width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 15px; }
.step-n-on { border-color: var(--accent); background: var(--accent); color: var(--white); }
.steps h3 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }

/* Product pages */
.pp-split { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 48px; }
.pp-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pp-list li { display: flex; gap: 12px; }
.pp-list b { font-weight: 600; }
.pp-list b + span { color: var(--muted); }
.pp-n { flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.pp-fig { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pp-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; }
.pp-prod { display: flex; align-items: center; gap: 12px; }
.pp-img { flex: 0 0 64px; height: 64px; border-radius: 12px; background: #F4F4F8; display: flex; align-items: center; justify-content: center; }
.pp-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-name > span:first-child { font-weight: 600; }
.pp-term { display: inline-flex; align-self: flex-start; padding: 1px 9px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; }
.pp-copy { margin: 0; font-size: 14px; line-height: 1.6; }
.pp-word { padding: 0 2px; font-weight: 600; }
.pp-flow { width: 100%; height: 34px; }
.pp-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pp-score { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.pp-score-label { font-size: 12px; color: var(--muted); }
.pp-score-num { font-family: var(--font-head); font-size: 30px; line-height: 1.1; }
.pp-score-num > span { color: var(--muted); font-size: 20px; }
.pp-cap { font-size: 13px; color: var(--muted); }

/* What you get */
.get-split { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.vol { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--ink); border-radius: 20px; }
.vol-label { font-size: 13px; color: var(--muted); }
.vol-big { display: flex; align-items: baseline; gap: 10px; }
.vol-big > span:first-child { font-family: var(--font-head); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.vol-big > span:last-child { color: var(--muted); }
.vol-note { font-size: 14px; color: var(--muted); }
.vol-bars { display: flex; flex-direction: column; gap: 6px; }
.vol-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.vol-term { flex: 0 0 150px; }
.vol-main .vol-term { font-weight: 600; }
.vol-track { flex: 1; height: 8px; border-radius: 4px; background: #F1F1F6; overflow: hidden; }
.vol-fill { display: block; height: 100%; background: var(--accent); }
.vol-main .vol-fill { background: var(--ink); }
.vol-n { flex: 0 0 48px; text-align: right; color: var(--muted); }
.vol-more { font-size: 12px; color: var(--muted); }
.vol-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; font-weight: 500; }
.vol-end { color: var(--accent-ink); }
.vol-foot { margin: 0; color: var(--muted); font-size: 14px; }
.get-grid { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.get-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.get-card h3 { font-size: 20px; }
.get-more { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; }

/* What it will not do */
.nots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 28px; }
.nots > div { display: flex; flex-direction: column; gap: 8px; }
.nots h3 { margin: 4px 0 0; font-weight: 600; font-size: 16px; }

/* Closing call to action */
.cta-home .cta-in { padding: 88px 24px; gap: 24px; }
.cta-home .cta-h { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.cta-home .cta-lead { text-wrap: pretty; }
.cta-small { margin: 0; max-width: 620px; color: var(--muted); font-size: 14px; text-wrap: pretty; }

/* ---------- Narrower screens: the stage stacks, phones show 8 tiles and hide the measures */
@media (max-width: 1040px) {
  .st-body { flex-direction: column; }
  .st-rail { flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .st-rail > div { flex: 1 1 300px; }
}
@media (max-width: 760px) {
  .h-in { padding-left: 16px; padding-right: 16px; }
  .st-body { padding: 10px; gap: 10px; }
  .st-meas, .st-sort { display: none; }
  .st-pad, .st-foot { padding: 12px; }
  .tg { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tg > .tl:nth-child(n+9) { display: none; }
  .tl-i { height: 44px; }
  .tl-i svg { width: 26px; height: 26px; }
  .mv-m.on { animation-name: k-up; }
  .tg > .tl:nth-child(4n+1) .wl { animation-name: w-m0; }
  .tg > .tl:nth-child(4n+2) .wl { animation-name: w-m1; }
  .tg > .tl:nth-child(4n+3) .wl { animation-name: w-m2; }
  .tg > .tl:nth-child(4n+4) .wl { animation-name: w-m3; }
}
@media (min-width: 761px) {
  .mv-m.on { border-color: var(--line); transform: none; }
}

/* These boxes are border-box in the design; everything else keeps the browser's content-box. */
.h-form, .tl, .st-faq, .st-ph, .btn-ghost-soft { box-sizing: border-box; }
