/* ValidExtract scroll layer: sits on top of the existing site styles on every page.
   Display type, pills, and the moving pieces sd.js adds (data columns, folders, flying pages). */
:root{ --sd-display:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; --sd-label:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; --sd-blue:#2563eb; --sd-tint:#334155; --sd-ink:#334155; }

main:not([data-hv2]) h1, main:not([data-hv2]) .section-head h2, footer.closing h2{ font-family:var(--sd-display) !important; font-weight:700 !important; text-transform:uppercase; letter-spacing:-.02em !important; line-height:1.04 !important; text-wrap:balance; }
main:not([data-hv2]) h1{ font-size:clamp(40px,5.2vw,72px) !important; }
main:not([data-hv2]) .section-head h2{ font-size:clamp(30px,4.6vw,64px) !important; }
main:not([data-hv2]) .section-head h2 .muted{ display:block; margin-top:.9em; font-family:"Inter",ui-sans-serif,system-ui,sans-serif; font-size:clamp(16px,.34em,20px); line-height:1.5; text-transform:none; letter-spacing:0; max-width:36em; }
/* the use-case statement is a paragraph, not a headline: readable size, normal case */
main:not([data-hv2]) .statement{ font:500 clamp(19px,.9vw + 13px,27px)/1.45 var(--sd-display) !important; letter-spacing:-.01em !important; text-transform:none !important; max-width:62ch !important; text-wrap:pretty; }
footer.closing h2{ font-size:clamp(34px,4.6vw,64px) !important; }

main:not([data-hv2]) .eyebrow, main:not([data-hv2]) .crumb{ font-family:ui-monospace,"SFMono-Regular","JetBrains Mono",Menlo,Consolas,monospace !important; font-size:10px !important; font-weight:600 !important; letter-spacing:.2em !important; text-transform:uppercase; color:#94a3b8 !important; }
main:not([data-hv2]) .eyebrow::before{ content:"•••"; letter-spacing:.3em; margin-right:1.2em; opacity:.7; }

body:not(:has([data-hv2])) .btn{ border-radius:999px !important; font-family:var(--sd-label) !important; font-size:10.5px !important; font-weight:700 !important; letter-spacing:.12em !important; text-transform:uppercase; padding-inline:26px !important; min-height:48px; }

/* the band sd.js adds under a text-only page head: a folder with pages lifting out */
.sd-stage{ position:relative; height:clamp(420px,46vw,560px); margin-top:8px; pointer-events:none; }
.sd-stage canvas, .sd-shelf canvas{ position:absolute; inset:0; width:100%; height:100%; display:block; }
/* the columns' canvas reaches 34svh above the band, exactly as on the homepage, so they climb out of the top of the screen */
.sd-rise canvas{ position:absolute; left:0; right:0; bottom:0; top:auto; width:100%; height:calc(100% + 34svh); display:block; z-index:-1; }
/* extracted values rising as columns between sections */
.sd-rise{ position:relative; z-index:auto; height:min(46svh,460px); min-height:240px; overflow:visible; pointer-events:none; }
main:not([data-hv2]) > section{ position:relative; z-index:1; }
/* folders before the footer */
.sd-shelf{ position:relative; height:clamp(300px,52svh,460px); pointer-events:none; }

[data-sd-assemble] .sd-w{ display:inline-block; will-change:transform; }

.sd-meter{ position:fixed; left:14px; bottom:14px; z-index:40; display:flex; align-items:center; gap:2px; height:14px; mix-blend-mode:difference; pointer-events:none; }
.sd-meter i{ display:block; width:1.5px; background:#fff; opacity:.3; }
.sd-meter i.on{ opacity:1; }

.sd-stage--home{ height:clamp(420px,46vw,560px); margin:0; }
main:not([data-hv2]) .hero h1{ font-size:clamp(38px,4.4vw,66px) !important; overflow-wrap:normal; word-break:normal; hyphens:none; }

/* ===== Nov 14 fixes, every page ===== */
/* phones: iOS zooms the whole page in when a focused field's text is under 16px, and does not zoom back out */
@media (pointer:coarse){ input, textarea, select{ font-size:16px !important; } }

/* looping cards: the replay starts from the first frame (vx-steps.js) */
.sx.is-reset, .sx.is-reset *, .sx.is-reset *::before, .sx.is-reset *::after,
.wx.is-reset, .wx.is-reset *, .wx.is-reset *::before, .wx.is-reset *::after{ transition:none !important; animation:none !important; }

/* the Inspector's flashing red dot: on the workspace window's tab and in the hero window, and it stays after a tap */
.lab__tab.is-peep .lab__peep, .ha-peep{ animation:vx-peep-blink 1s ease-in-out infinite; }
.ha-tab{ position:relative; }
.ha-tab[data-t="ins"]{ padding-right:19px; }
.ha-peep{ position:absolute; top:3px; right:6px; width:6px; height:6px; border-radius:50%; background:#e11d48; }
.ha-peep::after{ content:""; position:absolute; inset:-3px; border-radius:50%; border:1px solid #e11d48; opacity:0; animation:lab-peep 2.2s ease-out infinite; }
@keyframes vx-peep-blink{ 0%,100%{ opacity:1; } 50%{ opacity:.2; } }
@keyframes lab-peep{ 0%{ transform:scale(.55); opacity:.85; } 70%,100%{ transform:scale(1.9); opacity:0; } }
@media (prefers-reduced-motion: reduce){ .lab__tab.is-peep .lab__peep, .ha-peep, .ha-peep::after{ animation:none; } }

/* three steps: the cards stack over each other as you scroll, on every page, as on the homepage */
.steps-x{ display:block; }
.steps-x > .sx{ position:sticky; top:calc(84px + var(--i, 0) * 14px); margin-top:var(--s-5, 24px); box-shadow:0 0 0 1px var(--line, rgba(15,23,42,.1)), 0 -14px 40px -26px rgba(20,30,50,.45); }
.steps-x > .sx:first-child{ margin-top:0; }
.steps-x > .sx:nth-child(2){ --i:1; } .steps-x > .sx:nth-child(3){ --i:2; } .steps-x > .sx:nth-child(4){ --i:3; }
@media (prefers-reduced-motion: reduce){ .steps-x > .sx{ position:static; } }

/* FAQ on inner pages: the homepage's FAQ look (big FAQ word, numbered rows, one answer open at a time) */
.faqx{ position:relative; padding-block:clamp(40px,8vh,90px) clamp(70px,12vh,130px); overflow:hidden; }
.faqx h2{ font:700 clamp(62px,10vw,120px)/.9 var(--sd-display) !important; letter-spacing:.32em !important; margin:0 -.32em 0 0; color:#1e293b; text-transform:uppercase; }
.faqx .faq__sub{ margin:18px 0 34px; max-width:16em; font:600 10px/1.7 ui-monospace,"SFMono-Regular","JetBrains Mono",Menlo,Consolas,monospace; letter-spacing:.2em; text-transform:uppercase; color:#94a3b8; }
.faqx details{ border-top:1px solid rgba(51,65,85,.16); background:rgba(255,255,255,.82); }
.faqx details:last-child{ border-bottom:1px solid rgba(51,65,85,.16); }
.faqx summary{ display:flex; align-items:baseline; gap:20px; padding:20px 0; cursor:pointer; list-style:none; font-family:"Inter",ui-sans-serif,system-ui,sans-serif; font-size:11.5px; font-weight:600; letter-spacing:.08em; line-height:1.6; text-transform:uppercase; color:#1e293b; }
.faqx summary::-webkit-details-marker{ display:none; }
.faqx summary .mono{ color:#475569; flex:none; font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace; }
.faqx summary::after{ content:"+"; margin-left:auto; font-family:"Inter",ui-sans-serif,system-ui,sans-serif; font-size:24px; line-height:.8; transition:transform .3s; color:#1e293b; }
.faqx details[open] summary::after{ transform:rotate(45deg); }
.faqx details p{ margin:0; padding:0 0 22px 46px; max-width:44em; font-size:16px; line-height:1.65; color:#475569; }
.faqx details p a{ color:#2563eb; }
