/* verify402 home — the signature is the moment of truth. */

.home {
  --home-pad: clamp(16px, 2.2vw, 32px);
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}
.home .site-head { background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.home .site-head .btn { background: var(--accent); border-color: var(--accent); }
.home .site-head .btn:hover { background: var(--paper); border-color: var(--paper); }
.home main { overflow: hidden; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 14px; transform: translateY(-160%); }
.skip:focus { transform: none; }

/* ── hero ────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  padding: clamp(40px, 6vh, 96px) var(--home-pad) clamp(40px, 6vh, 72px);
  background: var(--ink);
  color: var(--paper);
}
.hero-copy { grid-column: 1 / span 8; position: relative; z-index: 2; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 160px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.075em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.hero-title .line > span { display: block; white-space: nowrap; }
.hero-lead {
  margin-top: clamp(24px, 3.2vh, 36px);
  max-width: 43ch;
  color: rgba(239, 239, 236, .72);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.48;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.hero-actions .btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.hero-actions .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.hero-link { color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-link:hover { color: var(--accent); text-decoration-thickness: 2px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; list-style: none; color: rgba(239,239,236,.66); font-size: 13px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: 0 0 auto; }

.hero-art { grid-column: 9 / -1; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.artifact-field {
  width: 100%;
  max-width: 470px;
  min-height: min(650px, 72vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(18px, 2vw, 28px);
  background: var(--accent);
  color: var(--ink);
  position: relative;
}
.artifact-field .artifact-label { font-size: 13px; font-weight: 600; color: rgba(16,17,13,.68); align-self: flex-end; }
.receipt {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  padding: 22px 20px 26px;
  transform: rotate(-1.7deg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 96% 100%, 92% calc(100% - 7px), 88% 100%, 84% calc(100% - 7px), 80% 100%, 76% calc(100% - 7px), 72% 100%, 68% calc(100% - 7px), 64% 100%, 60% calc(100% - 7px), 56% 100%, 52% calc(100% - 7px), 48% 100%, 44% calc(100% - 7px), 40% 100%, 36% calc(100% - 7px), 32% 100%, 28% calc(100% - 7px), 24% 100%, 20% calc(100% - 7px), 16% 100%, 12% calc(100% - 7px), 8% 100%, 4% calc(100% - 7px), 0 100%);
  overflow: hidden;
  position: relative;
}
.receipt::after { display: none; }
.receipt-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 13px; color: var(--muted); }
.receipt-brand { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -.04em; color: var(--ink); }
.receipt-id { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.receipt-label { margin-top: 22px; font-size: 13px; color: var(--muted); }
.receipt-verdict { margin-top: 4px; font-family: var(--display); font-size: clamp(44px, 4.2vw, 64px); font-weight: 800; letter-spacing: -.065em; line-height: .82; }
.receipt-verdict.pass { color: var(--green); }
.receipt-verdict.caution { color: var(--amber); }
.receipt-verdict.block { color: var(--coral); }
.receipt-reason { margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.receipt-detail { margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.receipt-rows { margin-top: 20px; border-top: 1px solid var(--line); }
.receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.receipt-row span { color: var(--muted); }
.receipt-row b { font-family: var(--sans); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; text-align: right; }
.receipt-foot { margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.receipt-tabs { display: flex; gap: 4px; align-self: flex-start; }
.receipt-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 12px/1 var(--sans);
  padding: 9px 10px;
  cursor: pointer;
  opacity: .55;
  transition: opacity var(--t-hover) ease, background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.receipt-tab:hover { opacity: 1; }
.receipt-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); opacity: 1; }
@keyframes scan { 0%, 8% { transform: translateY(0); opacity: 0; } 15% { opacity: .55; } 70% { opacity: .45; } 92%, 100% { transform: translateY(430px); opacity: 0; } }

@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-art { grid-column: 8 / -1; }
  .hero-title { font-size: clamp(60px, 10vw, 124px); }
}
@media (max-width: 820px) {
  .hero { min-height: auto; display: block; padding-top: 32px; padding-bottom: 48px; }
  .hero-copy { max-width: 680px; }
  .hero-title { font-size: clamp(54px, 14.6vw, 100px); }
  .hero-art { display: block; margin-top: 44px; }
  .artifact-field { max-width: none; min-height: 0; }
  .receipt { transform: none; }
  .hero-lead { max-width: 46ch; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero-title { font-size: clamp(52px, 14.6vw, 80px); }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-link { align-self: flex-start; }
  .hero-facts { display: grid; gap: 8px; }
  .receipt { padding: 20px 16px 24px; }
  .receipt-verdict { font-size: 48px; }
}

/* ── ticker ──────────────────────────────────────── */
.ticker { background: var(--accent); color: var(--ink); overflow: hidden; padding: 12px 0; }
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 34s linear infinite;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; }
.ticker-track span::after { content: "+"; margin: 0 28px; opacity: .42; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── statement + ledger ──────────────────────────── */
.statement { background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 128px) 0; }
.statement-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.statement-line {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.035em;
  max-width: 24ch;
}
.statement-copy { margin-top: 24px; max-width: 42ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.statement-copy + .statement-copy { margin-top: 14px; }
.ledger { list-style: none; }
.ledger li { display: grid; grid-template-columns: minmax(74px, .42fr) 1fr; gap: 20px; align-items: baseline; padding: 18px 0; }
.ledger li + li { margin-top: 2px; }
.ledger b { font-family: var(--display); font-size: clamp(44px, 5.2vw, 78px); font-weight: 800; letter-spacing: -.07em; line-height: .8; }
.ledger span { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 28ch; }
.ledger .ledger-note { padding-bottom: 0; color: var(--muted); font-size: 14px; }
.ledger .ledger-note a { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) {
  .statement-grid { grid-template-columns: 1fr; gap: 44px; }
  .statement-line { max-width: 27ch; }
}

/* ── checks list ─────────────────────────────────── */
.checks { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 128px) 0; }
.checks-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.checks-head h2 { max-width: none; }
.checks-head p { max-width: 40ch; color: rgba(239,239,236,.82); font-size: 17px; line-height: 1.55; }
.check-list { margin-top: clamp(36px, 5vw, 64px); }
.check-row {
  display: grid;
  grid-template-columns: minmax(150px, .85fr) 1.6fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 16px;
  color: var(--paper);
  text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.check-row + .check-row { margin-top: 2px; }
.check-row:hover, .check-row:focus-visible { background: var(--accent); color: var(--ink); }
.check-row:active { transform: scale(.995); }
.check-name { font-family: var(--display); font-size: clamp(30px, 4.2vw, 62px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.check-q { font-size: 15px; color: rgba(239,239,236,.74); }
.check-row:hover .check-q, .check-row:focus-visible .check-q { color: rgba(16,17,13,.72); }
.check-price { font-size: 13px; font-weight: 600; white-space: nowrap; color: rgba(239,239,236,.68); }
.check-row:hover .check-price, .check-row:focus-visible .check-price { color: var(--ink); }
.check-row.is-free { background: var(--accent); color: var(--ink); }
.check-row.is-free .check-q { color: rgba(16,17,13,.72); }
.check-row.is-free .check-price { color: var(--ink); }
.checks-foot { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; flex-wrap: wrap; margin-top: 28px; padding: 0 16px; color: rgba(239,239,236,.7); font-size: 14px; }
.checks-foot a { color: var(--paper); }
.checks-foot span { max-width: 72ch; }
@media (max-width: 760px) {
  .checks-head { grid-template-columns: 1fr; gap: 20px; }
  .check-row { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px 12px; }
  .check-name { grid-column: 1; font-size: clamp(34px, 9.4vw, 54px); }
  .check-price { grid-column: 2; grid-row: 1; align-self: start; }
  .check-q { grid-column: 1 / -1; font-size: 14px; }
  .checks-foot { padding: 0 12px; }
}

/* ── pipeline ────────────────────────────────────── */
.how { background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 128px) 0; }
.how-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.how-head h2 { max-width: none; }
.how-head p { max-width: 38ch; color: var(--muted); font-size: 17px; line-height: 1.55; }
.pipeline { display: grid; grid-template-columns: 1.05fr 1fr .95fr; margin-top: clamp(36px, 5vw, 64px); }
.stage { min-height: 300px; padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; background: var(--soft); }
.stage:nth-child(2) { background: var(--accent); }
.stage:nth-child(3) { background: var(--ink); color: var(--paper); }
.stage-word { font-family: var(--display); font-size: clamp(36px, 4.4vw, 68px); font-weight: 800; letter-spacing: -.06em; line-height: .85; }
.stage p { font-size: 15px; line-height: 1.5; max-width: 24ch; color: rgba(16,17,13,.68); }
.stage:nth-child(3) p { color: rgba(239,239,236,.62); }
.how-foot { margin-top: 26px; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .how-head { grid-template-columns: 1fr; gap: 18px; }
  .pipeline { grid-template-columns: 1fr; gap: 2px; }
  .stage { min-height: 210px; }
}

/* ── install ─────────────────────────────────────── */
.install { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 112px) 0; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.install h2 { max-width: none; }
.install p { margin-top: 20px; max-width: 40ch; color: rgba(239,239,236,.82); font-size: 17px; line-height: 1.55; }
.install-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.install-actions .btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.install-actions .btn:hover { background: var(--paper); border-color: var(--paper); }
.install-actions a:not(.btn) { color: var(--paper); font-size: 14px; }
.command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.command code { font-family: var(--mono); font-size: inherit; }
.command button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 12px/1 var(--sans);
  padding: 10px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.command button:hover { background: var(--ink); color: var(--paper); }
.install-note { margin-top: 14px; max-width: 52ch; color: rgba(239,239,236,.58); font-size: 13px; line-height: 1.5; }
.install-note code { font-family: var(--mono); font-size: 13px; color: rgba(239,239,236,.8); }
@media (max-width: 820px) { .install-grid { grid-template-columns: 1fr; } }

/* ── live findings ───────────────────────────────── */
.live { background: var(--soft); color: var(--ink); padding: clamp(64px, 8vw, 112px) 0; }
.live-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.live h2 { max-width: none; }
.live p { margin-top: 18px; max-width: 36ch; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.live-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.findings { background: var(--paper); padding: 6px 22px; }
.findings .vrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.findings .vrow:last-child { border-bottom: 0; }
.findings .pair { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.findings .verdict { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; color: var(--green); }
.findings .verdict.warn { color: var(--amber); }
.findings .meta { font-family: var(--sans); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); text-align: right; }
.findings-head { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 18px 0 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.findings-head b { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) {
  .live-grid { grid-template-columns: 1fr; }
  .findings { padding: 4px 16px; }
}

/* ── pricing ─────────────────────────────────────── */
.pricing { background: var(--accent); color: var(--ink); padding: clamp(64px, 8vw, 112px) 0; }
.pricing-line { font-family: var(--display); font-size: clamp(58px, 9.4vw, 148px); font-weight: 800; line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.pricing-line span { display: block; }
.pricing-line .price-block { display: inline-block; background: var(--ink); color: var(--paper); padding: 0 .12em; line-height: .9; }
.pricing-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(32px, 4vw, 52px); }
.pricing-foot p { max-width: 42ch; font-size: 17px; line-height: 1.5; color: rgba(16,17,13,.78); }
.pricing-foot .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pricing-foot .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
@media (max-width: 760px) {
  .pricing-line { font-size: clamp(42px, 11.4vw, 92px); }
  .pricing-foot { grid-template-columns: 1fr; align-items: start; }
  .pricing-foot .btn { justify-self: start; }
}

/* ── FAQ ─────────────────────────────────────────── */
.faq { background: var(--paper); color: var(--ink); padding: clamp(64px, 8vw, 112px) 0; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.faq h2 { max-width: none; }
.faq-list { margin-top: 0; }
.faq-item { padding: 0; }
.faq-item + .faq-item { margin-top: 4px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 52ch; padding: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-item p a { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ── final band ──────────────────────────────────── */
.final { display: block; position: relative; background: var(--accent); color: var(--ink); min-height: 62svh; padding: 22px var(--home-pad) 18px; text-decoration: none; overflow: hidden; }
.final-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.final-arrow { font-size: 36px; line-height: .7; font-weight: 400; }
.final-word { position: absolute; left: var(--home-pad); bottom: 8px; font-family: var(--display); font-size: clamp(88px, 25vw, 360px); font-weight: 800; letter-spacing: -.09em; line-height: .7; }
.final:hover { background: var(--paper); }
.final:active { transform: scale(.998); }
@media (max-width: 560px) { .final { min-height: 50svh; } .final-word { bottom: 12px; } }

/* ── motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line > span { animation: line-up 900ms var(--ease-out) both; }
  .hero-title .line:nth-child(2) > span { animation-delay: 110ms; }
  .hero-lead, .hero-actions, .hero-facts { animation: rise 800ms var(--ease-out) both; }
  .hero-lead { animation-delay: 260ms; }
  .hero-actions { animation-delay: 340ms; }
  .hero-facts { animation-delay: 420ms; }
  .artifact-field { animation: rise 900ms var(--ease-out) both; animation-delay: 180ms; }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); }
  .js [data-reveal].is-in { animation: reveal 820ms var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 70ms); }
}
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .receipt::after { animation: none; }
}
