/* veriph.ai core page (product.html), from the production-clean mockup B. Uses the site's color tokens from
   styles.css, so it follows the system theme. No script: the three panes switch with radio inputs. */
.core { font-size: 1.125rem; line-height: 1.5; }
.core .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.core .eyebrow { font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.core .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3.5rem; padding: 8vh 0; align-items: center; }
.core h1 { font: 600 clamp(2.25rem, 4.2vw, 3.5rem)/1.05 var(--serif); letter-spacing: -0.02em; margin: 0.35em 0; color: var(--text); }
.core .lede { font-size: 1.3125rem; color: var(--text-2); max-width: 27em; margin: 0 0 0.7em; }
.core .creed-s { font-size: 1.125rem; color: var(--text); margin: 0 0 1.5em; }
.core .act { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem 1.125rem; }
.core .btn { display: inline-block; font: 600 0.8125rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: var(--bg); text-decoration: none; padding: 0.9375rem 1.25rem; border-radius: 6px; }
.core .btn:focus-visible, .core a:focus-visible, .core .tabs label:focus-visible { outline: 3px solid var(--gap-border); outline-offset: 3px; }
.core code { font: 0.875rem/1.5 var(--mono); }
.core .act code { display: inline-block; background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 0.625rem 0.8125rem; color: var(--text-2); max-width: 100%; overflow-x: auto; white-space: nowrap; }
.core .sub { font: 0.8125rem/1.55 var(--mono); color: var(--muted); margin: 0.75rem 0 0; }

.core .inst { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18); overflow: hidden; min-width: 0; }
.core .inst > input { position: absolute; opacity: 0; pointer-events: none; }
.core .tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); background: var(--surface); }
.core .tabs label { font: 600 0.75rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; padding: 1rem 1.125rem; cursor: pointer; }
.core #t1:checked ~ .tabs label[for=t1], .core #t2:checked ~ .tabs label[for=t2], .core #t3:checked ~ .tabs label[for=t3] { color: var(--text); border-bottom-color: var(--accent); }
.core #t1:focus-visible ~ .tabs label[for=t1], .core #t2:focus-visible ~ .tabs label[for=t2], .core #t3:focus-visible ~ .tabs label[for=t3] { outline: 3px solid var(--gap-border); outline-offset: -3px; }
.core .tabs .rec { margin-left: auto; align-self: center; padding: 0.5rem 1rem; font: 0.6875rem/1.3 var(--mono); color: var(--muted); }
.core .pane { display: none; padding: 1.375rem; height: 37.5rem; overflow: auto; }
.core #t1:checked ~ #p1, .core #t2:checked ~ #p2, .core #t3:checked ~ #p3 { display: block; }
.core .pane h3 { font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.625rem; }
.core .draft-s, .core p.draft { background: var(--surface); border-radius: 10px; padding: 0.875rem 1rem; font-size: 1.0625rem; line-height: 1.5; margin: 0 0 1rem; border: 1px solid var(--rule); }
.core .result { border: 1px solid var(--stamp); background: var(--stamp-bg); border-radius: 8px; padding: 0.875rem 1rem; margin: 0 0 1rem; color: var(--text); }
.core .result .st { font: 700 0.8125rem/1 var(--mono); letter-spacing: 0.14em; color: var(--stamp); margin: 0 0 0.5625rem; }
.core .result p { margin: 0; }
.core .court { border-left: 2px solid var(--rule); padding-left: 0.875rem; color: var(--text-2); font-size: 1rem; margin: 0; }
.core .court cite { display: block; font: 0.75rem/1.5 var(--mono); font-style: normal; color: var(--muted); margin-top: 0.5rem; }
.core pre.term { font: 0.84375rem/1.7 var(--mono); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text-2); }
.core pre.term .r { color: var(--stamp); font-weight: 600; }
.core pre.term .d { color: var(--muted); }
.core pre.term .g { color: var(--gap-text); font-weight: 600; }
.core table.led { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.45; }
.core table.led th, .core table.led td { padding: 0.625rem 0.5rem; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; font-weight: 400; color: var(--text-2); }
.core table.led th { font: 600 0.71875rem/1.6 var(--mono); letter-spacing: 0.06em; white-space: nowrap; width: 1%; }
.core table.led th.ran { color: var(--stamp); }
.core table.led th.not { color: var(--gap-text); }
.core table.led th.na { color: var(--muted); }

.core section { padding: 9vh 0; border-top: 1px solid var(--rule); border-bottom: 0; }
.core h2 { display: block; text-transform: none; font: 600 clamp(1.75rem, 3.6vw, 3.125rem)/1.08 var(--serif); letter-spacing: -0.015em; margin: 0.4em 0 0.5em; max-width: 18em; color: var(--text); }
.core .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.core .two-gap { margin-top: 5vh; }
.core .body { color: var(--text-2); max-width: 32em; margin: 0 0 1em; }
.core .body-after { margin-top: 1.3em; }
.core .body-wide { margin-top: 1.6em; max-width: 44em; }
.core .big { font: 600 clamp(1.875rem, 5vw, 4.5rem)/1.04 var(--serif); letter-spacing: -0.02em; margin: 0.3em 0 0; max-width: 14em; color: var(--text); }
.core .big span { color: var(--muted); }

.core .record { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--gap-border); border-radius: 10px; padding: 1.375rem 1.5rem; }
.core .record .rec-note { color: var(--text-2); font-size: 1rem; margin: 0.5rem 0 1rem; }

.core .meter { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.375rem 1.5rem; margin-bottom: 1rem; }
.core .meter .lab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.core .bar { height: 14px; background: var(--panel); border: 1px solid var(--rule); border-radius: 7px; position: relative; margin-bottom: 1.5rem; }
.core .bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; background: var(--accent); }
.core .bar u { position: absolute; top: -6px; bottom: -6px; width: 2px; background: var(--text); text-decoration: none; }
.core .bar u::after { content: "bar"; position: absolute; bottom: -15px; left: -10px; font: 600 0.625rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.core .w-flag { width: 10.96%; } .core .at-flag { left: 2.4%; } .core .w-catch { width: 6.38%; } .core .at-catch { left: 91.49%; }
.core .meter .n { font: 600 1.625rem/1.2 var(--serif); margin: 0; color: var(--text); }
.core .meter .n small { display: block; font: 0.9375rem/1.45 var(--serif); color: var(--muted); font-weight: 400; margin-top: 0.375rem; }

.core .gridwrap { overflow-x: auto; margin-top: 1.625rem; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); }
.core table.cmp { border-collapse: collapse; width: 100%; min-width: 1060px; }
.core table.cmp th, .core table.cmp td { padding: 0; border-bottom: 1px solid var(--rule); }
.core table.cmp tbody tr:last-child th, .core table.cmp tbody tr:last-child td { border-bottom: 0; }
.core table.cmp th.r { font: 500 0.90625rem/1.3 var(--serif); text-align: left; padding: 0.875rem 1rem; width: 250px; color: var(--text); }
.core table.cmp thead th { height: 262px; vertical-align: bottom; padding-bottom: 0.625rem; }
.core table.cmp thead th div { font: 500 0.71875rem/1 var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; margin: 0 auto; }
.core table.cmp thead th div a { color: var(--muted); text-decoration: none; }
.core table.cmp thead th div strong { font-weight: 500; }
.core table.cmp thead th.me div a { color: var(--accent); }
.core table.cmp thead th.me div strong { font-weight: 700; }
.core td.c { text-align: center; position: relative; }
.core td.c i { display: inline-block; width: 22px; height: 22px; border-radius: 5px; background: var(--panel); border: 1px solid var(--rule); vertical-align: middle; margin: 0.75rem 0; }
.core td.c i.y, .core .legend i.y { background: var(--good); border-color: var(--good); }
.core td.c i.p, .core .legend i.p { background: linear-gradient(135deg, var(--good) 50%, var(--panel) 50%); border-color: var(--good); }
.core td.c i.n, .core .legend i.n { background: none; border: 1.5px solid var(--muted); }
.core td.me { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.core .legend { display: flex; flex-wrap: wrap; gap: 0.75rem 1.375rem; font: 0.75rem/1.3 var(--mono); color: var(--muted); margin: 0.875rem 0 0; padding: 0; list-style: none; align-items: center; }
.core .legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 0.375rem; background: var(--panel); border: 1px solid var(--rule); }

.core .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; margin: 1.875rem 0 0; padding: 0; list-style: none; }
.core .steps li { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.375rem; color: var(--text-2); font-size: 1.0625rem; }
.core .steps b { font: 600 0.75rem/1 var(--mono); letter-spacing: 0.12em; color: var(--accent); display: block; margin-bottom: 0.75rem; }
.core .steps code { overflow-wrap: anywhere; }
.core .end { padding-bottom: 16vh; }

@media (max-width: 900px) {
  .core .hero, .core .two, .core .steps { grid-template-columns: minmax(0, 1fr); }
  .core .hero { gap: 2.25rem; padding: 6vh 0; }
  .core .two { gap: 1.75rem; }
  .core .pane { height: auto; max-height: none; }
}
@media (max-width: 600px) {
  .core { font-size: 1.0625rem; }
  .core .lede { font-size: 1.1875rem; }
  .core .act { flex-direction: column; align-items: stretch; }
  .core .btn { text-align: center; }
  .core .tabs label { padding: 0.875rem 0.6875rem; font-size: 0.6875rem; letter-spacing: 0.04em; }
  .core .tabs .rec { margin-left: 0; flex-basis: 100%; padding: 0 0.6875rem 0.625rem; }
  .core .pane { padding: 1rem; }
  .core table.led, .core table.led tbody, .core table.led tr, .core table.led th, .core table.led td { display: block; width: auto; }
  .core table.led th { white-space: normal; border-bottom: 0; padding-bottom: 0; }
  .core table.led td { padding-top: 0.25rem; }
  .core .meter, .core .record { padding: 1.125rem 1rem; }
  .core section { padding: 7vh 0; }
}

/* ---------- The real-case tab, the questions band with the recorded run, and the Measured additions. ---------- */
.core #t4:checked ~ .tabs label[for=t4] { color: var(--text); border-bottom-color: var(--accent); }
.core #t4:focus-visible ~ .tabs label[for=t4] { outline: 3px solid var(--gap-border); outline-offset: -3px; }
.core #t4:checked ~ #p4 { display: block; }
.core #t4:checked ~ .tabs .rec { visibility: hidden; }
.core .result.ok { border-color: var(--good); background: var(--good-bg); }
.core .result.ok .st { color: var(--good); }
.core .qs .big { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); line-height: 1.12; max-width: 24ch; margin-bottom: 1.5rem; }
.core .qs .two { align-items: center; }
.core .qs-clip { margin: 0; width: 100%; }
.core .qs-clip .clip-run, .core .qs-clip .clip-still { width: 100%; max-width: none; height: auto; }
.core .qs-clip figcaption { font: 0.75rem/1.4 var(--mono); color: var(--muted); margin-top: 0.5rem; }
.core .meas-rev { margin-top: 1.25rem; }
.core .end-lead { margin: 0 auto 2rem; color: var(--text-2); }

/* ---------- The three-part band: what 1.0 gives you. ---------- */
.core .gives-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; margin: 1.875rem 0 0; padding: 0; list-style: none; }
.core .gives-cards li { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.375rem; color: var(--text-2); font-size: 1.0625rem; }
.core .gives-cards b { font: 600 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.core .gives-cards p { margin: 0 0 1rem; }
.core .gives-cards .gives-st { margin-top: auto; font: 0.75rem/1.4 var(--mono); color: var(--muted); }
.core .gives-cards a { font-weight: 600; }
@media (max-width: 899px) { .core .gives-cards { grid-template-columns: minmax(0, 1fr); } }

.core .word-next { margin-top: 1.5rem; font-weight: 600; }
