/* Redstone Verify landing page. */
.rv-hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; overflow: hidden; color: #fff; background: radial-gradient(ellipse 70% 60% at 78% 62%, rgb(233 67 34 / .2), rgb(233 67 34 / 0) 70%), linear-gradient(180deg, #1d1f1b 0%, #121410 60%, #0b0c0a 100%); }
.rv-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.rv-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(13 14 12 / .92) 0%, rgb(13 14 12 / .72) 34%, rgb(13 14 12 / 0) 68%); }
.rv-hero .grain { z-index: 1; }
.rv-hero .rv-bar, .rv-hero-copy, .rv-hint { position: relative; z-index: 2; }
.rv-hero .rv-bar { width: 100%; }
.rv-hero-copy { width: 100%; max-width: 1500px; margin: auto auto 0; padding: 60px var(--gutter) 40px; pointer-events: none; }
.rv-hero-copy > * { pointer-events: auto; }
.rv-kicker { display: flex; gap: 18px; margin: 0 0 26px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.rv-kicker span:first-child { color: var(--orange); }
.rv-hero h1 { font-size: clamp(48px, 7.6vw, 128px); line-height: .92; letter-spacing: -.055em; max-width: 9ch; text-transform: uppercase; }
.js:not(.intro-run) .rv-hero h1 { opacity: 0; }
.rv-lead { max-width: 58ch; margin: 30px 0 0; font: 14px/1.75 var(--mono); color: rgb(255 255 255 / .72); }
.rv-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.rv-ctas .button.ghost { color: #fff; }
.rv-ctas .button .icon { width: 14px; height: 14px; }
.rv-hint { max-width: 1500px; width: 100%; margin: 0 auto; padding: 0 var(--gutter) 30px; font: 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .4); }

/* sections */
.rv-intro { padding-top: 90px; padding-bottom: 40px; }
.rv-figure { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-top: 60px; }
.rv-figure figure.hero { margin: 0; }
.rv-figure figure.hero img { width: 100%; height: auto; border: 0; }
.rv-figure-side { font-size: 17px; line-height: 1.5; }
.rv-figure-side .rv-sec-n { display: block; margin-bottom: 18px; }
.rv-links { font: 12.5px/1.7 var(--mono); color: var(--muted); }
.rv .muted code, .rv-credits code { color: #5b5f56; }
.rv-sec { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.2fr); gap: 0 48px; padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.rv-sec-body { min-width: 0; }
.rv-sec-head { position: sticky; top: 110px; align-self: start; display: grid; gap: 14px; }
.rv-sec-n { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--orange-ink); }
.rv-sec-head .label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.rv-sec-body > p:first-child { font-size: 17px; line-height: 1.55; max-width: 62ch; }
.rv-sec-body > p { max-width: 70ch; }
.rv-sec h3 { text-transform: uppercase; font-size: 17px; letter-spacing: .01em; }

/* funnel */
.funnel { margin: 30px 0 34px; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.funnel-svg { width: 100%; height: auto; display: block; overflow: visible; }
.funnel-svg text { fill: var(--ink); font-family: var(--sans); }
.funnel-svg .name { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.funnel-svg .n { fill: var(--orange); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.funnel-svg .small { fill: var(--muted); font-family: var(--mono); font-size: 13px; }
.funnel-svg .rej { fill: var(--bad); font-family: var(--mono); font-size: 12.5px; }
.funnel-svg .box { fill: var(--paper); stroke: var(--line); stroke-width: 1; rx: 0; animation: stage-pass 8s infinite; animation-delay: calc(var(--s) * 1s); }
.funnel-svg .arrow { stroke: var(--ink); stroke-width: 1.2; fill: none; stroke-dasharray: 3 5; animation: flow 1s linear infinite; }
@keyframes stage-pass { 0% { stroke: var(--line); fill: var(--paper); } 3% { stroke: var(--orange); fill: #fff3ee; stroke-width: 2; } 14% { stroke: var(--ink); fill: var(--paper); stroke-width: 1; } 100% { stroke: var(--line); } }
@keyframes flow { to { stroke-dashoffset: -16; } }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stages li { position: relative; padding: 22px 26px 24px 0; border-bottom: 1px solid var(--line); }
.stages li:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
.stages .n { font: 500 11px/1 var(--mono); color: var(--orange-ink); }
.stages h3 { margin: 10px 0 8px; }
.stages p { margin: 0; font-size: 14.5px; color: #4d5049; }
.stages .stop { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 10px; background: rgb(200 54 29 / .08); color: var(--bad); font: 500 11px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.stages .stop::before { content: ""; width: 6px; height: 6px; background: var(--bad); }

/* experiments */
.exps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.exp { padding: 22px 26px 28px; border-left: 1px solid var(--line); }
.exp:first-child { border-left: 0; padding-left: 0; }
.exp .n { font: 500 11px/1 var(--mono); color: var(--orange-ink); }
.exp h3 { margin: 12px 0 12px; }
.exp p { margin: 0; font-size: 14px; color: #4d5049; }

/* limits */
.limits { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.limits li { display: grid; grid-template-columns: 26px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.limits li::before { content: "—"; color: var(--orange); font-family: var(--mono); }

.rv-landing .rv-credits { margin-top: 30px; }
.rv-sec-body .pair { margin: 18px 0 24px; }

@media (max-width: 1000px) {
  .rv-figure { grid-template-columns: 1fr; }
  .rv-sec { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rv-sec-head { position: static; display: flex; align-items: center; gap: 14px; }
  .exps { grid-template-columns: 1fr; }
  .exp, .exp:first-child { border-left: 0; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .rv-hero { min-height: max(620px, 100svh); }
  .rv-hero::after { background: linear-gradient(180deg, rgb(13 14 12 / .35) 0%, rgb(13 14 12 / .55) 45%, rgb(13 14 12 / .9) 100%); }
  .rv-hero-copy { padding-top: 40px; padding-bottom: 24px; }
  .rv-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .rv-lead { font-size: 13px; }
  .rv-ctas .button { width: 100%; justify-content: space-between; }
  .rv-hint { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .rv-intro { padding-top: 56px; }
  .rv-sec { padding-top: 48px; padding-bottom: 48px; }
  .funnel { display: none; }
  .stages { grid-template-columns: 1fr; margin-top: 18px; }
  .stages li, .stages li:nth-child(even) { padding: 20px 0; border-left: 0; }
  .rv .tablewrap { margin-right: calc(var(--gutter) * -1); }
  .rv .tablewrap th:first-child, .rv .tablewrap td:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper-2); box-shadow: 1px 0 0 var(--line); padding-left: 0; }
}
