/* GeoPivotal marketing site — shared stylesheet */

:root{
  color-scheme:dark;
  --bg:#0a0b0d;
  --card:#131417;
  --nested:#0f1013;
  --border:#22252b;
  --border-strong:#33373f;
  --text:#f4f5f7;
  --text-soft:#9297a1;
  --text-muted:#828a97;
  --primary:#0263ed;
  --primary-hover:#0251c2;
  --primary-text:#3d8bff;
  --primary-tint:color-mix(in srgb, var(--primary) 12%, var(--bg));
  --primary-ink:#f7f9fc;
  --amber:#ffb627;
  --amber-tint:color-mix(in srgb, var(--amber) 14%, var(--bg));
  --ready:#3cc4f2;
  --ready-tint:color-mix(in srgb, var(--ready) 14%, var(--bg));
  --ok:#3fcf8e;
  --ok-tint:color-mix(in srgb, var(--ok) 14%, var(--bg));
  --danger:#ff8a8a;
  --fs-xs:0.8125rem;
  --ease:cubic-bezier(.16,1,.3,1);
}

*{ box-sizing:border-box; }
html{ background:var(--bg); scrollbar-color:var(--border-strong) var(--bg); }
body{
  margin:0;
  color:var(--text);
  font-family:"Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size:16px;
  line-height:1.65;
  letter-spacing:0.005em;
  position:relative;
  -webkit-font-smoothing:antialiased;
  caret-color:var(--primary-text);
}
/* Fixed pseudo-element instead of background-attachment:fixed, which repaints on scroll and is ignored by iOS Safari. */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1100px circle at 88% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent 60%),
    radial-gradient(900px circle at 4% 40%, color-mix(in srgb, var(--amber) 10%, transparent), transparent 55%),
    radial-gradient(1300px circle at 50% 100%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 60%);
}
::selection{ background:color-mix(in srgb, var(--primary) 55%, transparent); color:#fff; }
a{ color:inherit; text-underline-offset:0.2em; }
img{ max-width:100%; }
[id]{ scroll-margin-top:88px; }
h1,h2,h3{
  font-family:"Bricolage Grotesque","Hanken Grotesk",sans-serif;
  font-optical-sizing:auto;
  text-wrap:balance;
  margin:0;
  letter-spacing:-0.01em;
  color:var(--text);
}
h2{ line-height:1.12; }
h3{ line-height:1.25; }
.mono{ font-family:"JetBrains Mono", ui-monospace, Menlo, monospace; }
:focus-visible{ outline:2px solid var(--primary-text); outline-offset:3px; }
.wrap{ max-width:1180px; margin-inline:auto; padding-inline:clamp(18px,4vw,48px); }
.band{ background:var(--nested); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.capstrip + .band{ border-top:none; }
.flush-top{ padding-top:0; }

/* ---------- nav ---------- */
header{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding-block:14px; gap:24px; }
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand-logo{ height:28px; width:auto; flex:none; }
.nav-right{ display:flex; align-items:center; gap:clamp(14px,2.4vw,30px); }
.navlinks{ display:flex; align-items:center; gap:clamp(14px,2.4vw,30px); font-size:0.92rem; font-weight:600; }
.navlinks a{ text-decoration:none; color:var(--text-soft); transition:color .12s ease; }
.navlinks a:hover, .navlinks a[aria-current="page"]{ color:var(--text); }
.nav .cta{
  font-size:0.92rem; font-weight:600; text-decoration:none; white-space:nowrap;
  color:var(--primary-ink); background:linear-gradient(135deg, var(--primary), var(--primary-hover)); padding:9px 16px; border-radius:9px;
  transition:background .12s ease, transform .1s ease;
}
.nav .cta:hover{ background:var(--primary-hover); }
.cta-short{ display:none; }
.menu-toggle{
  display:none; font:inherit; font-size:0.92rem; font-weight:600; color:var(--text);
  background:var(--card); border:1px solid var(--border-strong); border-radius:9px;
  padding:0 14px; min-height:44px; cursor:pointer;
}

/* ---------- hero ---------- */
.hero{ padding-block:clamp(56px,8vw,100px) clamp(48px,6vw,80px); overflow:hidden; position:relative; }
.hero::after{
  content:""; position:absolute; top:-160px; right:-200px; width:640px; height:640px; z-index:-1; pointer-events:none;
  background:radial-gradient(circle, color-mix(in srgb, var(--primary) 26%, transparent), transparent 68%);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(28px,5vw,64px); align-items:center; }
.hero.centered .hero-grid{ grid-template-columns:1fr; text-align:center; justify-items:center; }
.hero h1{ font-size:clamp(2.3rem, 4.4vw, 3.6rem); font-weight:700; line-height:1.05; }
.hero h1 .accent{ color:var(--primary-text); }
.hero p.lede{ margin-top:20px; max-width:46ch; font-size:1.12rem; color:var(--text-soft); }
.hero.centered p.lede{ max-width:56ch; margin-inline:auto; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.hero.centered .hero-ctas{ justify-content:center; }
.btn{
  font:inherit; font-weight:700; font-size:0.95rem; padding:13px 20px; border-radius:9px;
  border:1px solid transparent; cursor:pointer; text-decoration:none;
  display:inline-flex; align-items:center; gap:8px;
  transition:transform .1s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-block{ width:100%; justify-content:center; }
.btn:disabled{ opacity:0.6; cursor:not-allowed; transform:none; }
.btn-primary{ background:linear-gradient(135deg, var(--primary), var(--primary-hover)); color:var(--primary-ink); }
.btn-ghost{ background:var(--card); color:var(--text); border-color:var(--border-strong); }
@media (hover:hover){
  .btn-primary:hover:not(:disabled){ background:var(--primary-hover); transform:translateY(-1px); }
  .btn-ghost:hover{ border-color:var(--primary); }
}
.hero-trust{ display:flex; align-items:center; gap:10px; margin-top:26px; color:var(--text-soft); font-size:var(--fs-xs); font-weight:600; }
.hero.centered .hero-trust{ justify-content:center; }
.hero-trust .line{ width:26px; height:1px; background:var(--border-strong); flex:none; }

/* product preview: parse console */
.preview{ position:relative; }
.console{ background:var(--card); border:1px solid var(--border-strong); border-radius:18px; overflow:hidden; }
.console-top{ height:46px; display:flex; align-items:center; gap:7px; padding:0 16px; background:var(--nested); border-bottom:1px solid var(--border); }
.console-dot{ width:7px; height:7px; border-radius:50%; background:var(--border-strong); }
.console-label{ margin-left:6px; font-family:"Hanken Grotesk",sans-serif; font-weight:600; font-size:0.8rem; color:var(--text-soft); letter-spacing:0.01em; }
.console-top .pill{ margin-left:auto; }
.console-body{ padding:22px; font-family:"Hanken Grotesk",sans-serif; font-size:0.86rem; }
.console-row{ display:flex; align-items:baseline; gap:8px; margin-bottom:12px; color:var(--text-soft); }
.console-row .console-key{ flex:none; color:var(--text-muted); }
.console-row .console-dots{ flex:1; border-bottom:1px dotted var(--border-strong); margin-bottom:4px; min-width:12px; }
.console-row .console-val{ flex:none; color:var(--text); font-weight:600; font-family:"JetBrains Mono",monospace; font-size:0.82rem; display:inline-flex; align-items:center; gap:8px; }
.console-row.ok .console-val{ color:var(--ok); }
.confbar{ width:52px; height:5px; border-radius:3px; background:var(--border); overflow:hidden; }
.confbar > span{ display:block; height:100%; background:var(--primary); transform-origin:left; }
.console-map{ position:relative; height:176px; border-radius:14px; overflow:hidden; margin:6px 0 4px; background:var(--nested); border:1px solid var(--border); }
.console-map svg{ width:100%; height:100%; }
.pill{ padding:5px 10px; border-radius:999px; font-size:var(--fs-xs); font-weight:700; font-family:"Hanken Grotesk",sans-serif; letter-spacing:0.02em; }
.pill-ready{ background:var(--ready-tint); color:var(--ready); }

/* plotted polygon (shared by hero console and demo) */
.plot .plot-fill{ fill:color-mix(in srgb, var(--primary) 14%, transparent); }
.plot .edge{ fill:none; stroke:var(--primary); stroke-width:2.5; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:0; transition:stroke .15s ease; }
.plot .vertex{ fill:var(--amber); stroke:var(--card); stroke-width:2; transform-box:fill-box; transform-origin:center; }
.plot .plot-area{ fill:var(--text); font-weight:600; }
.console-map .plot .edge{ stroke-width:2; }

/* capability strip */
.capstrip{ padding-block:20px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--nested); }
.capstrip-inner{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px clamp(16px,3vw,32px); margin:0 auto; list-style:none; padding-block:0; }
.capstrip-lead{ font-size:var(--fs-xs); font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.04em; }
.capitem{ font-size:0.875rem; font-weight:500; color:var(--text-soft); }

/* ---------- sections ---------- */
section{ padding-block:clamp(56px,7vw,100px); }
.section-head{ max-width:640px; margin-bottom:clamp(32px,5vw,52px); }
.section-head h2{ font-size:clamp(1.8rem, 3vw, 2.5rem); font-weight:700; }
.section-head p{ margin-top:14px; color:var(--text-soft); font-size:1.03rem; max-width:56ch; }

/* ruled rows: capability spec, approval facts */
.rules{ display:block; }
.rule{ padding-block:22px; border-top:1px solid var(--border); }
.rule:last-child{ border-bottom:1px solid var(--border); }
.rule h3{ font-size:1.05rem; font-weight:700; }
.rule p{ margin:8px 0 0; font-size:0.95rem; color:var(--text-soft); max-width:60ch; }
.spec .rule{ display:grid; grid-template-columns:minmax(180px,0.8fr) 1.6fr; gap:8px 32px; align-items:baseline; }
.spec .rule p{ margin:0; }

/* principles (about) */
.principles{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,4vw,48px); }
.principle{ border-top:1px solid var(--border-strong); padding-top:20px; }
.principle h3{ font-size:1.1rem; font-weight:700; }
.principle p{ margin:10px 0 0; font-size:0.95rem; color:var(--text-soft); }

/* product card grid (home page's "our products") */
.productcards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.productcard{ padding:28px; border:1px solid var(--border); border-radius:14px; background:var(--card); display:flex; flex-direction:column; gap:14px; text-decoration:none; transition:border-color .15s ease, transform .12s ease; }
.productcard .tag{ align-self:flex-start; font-size:var(--fs-xs); font-weight:600; color:var(--ready); background:var(--ready-tint); padding:4px 10px; border-radius:999px; }
.productcard h3{ font-size:1.2rem; font-weight:700; }
.productcard p{ margin:0; color:var(--text-soft); font-size:0.95rem; }
.productcard .goto{ margin-top:auto; font-size:0.9rem; font-weight:700; color:var(--primary-text); display:inline-flex; align-items:center; gap:6px; }
.productcard.next{ background:transparent; border-style:dashed; border-color:var(--border-strong); }
.productcard.next .tag{ color:var(--text-soft); background:var(--card); }
@media (hover:hover){
  .productcard:hover{ border-color:var(--primary); transform:translateY(-1px); }
}

/* product / workflow split */
.product-split{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:clamp(32px,5vw,70px); align-items:center; }
.product-split h2{ font-size:clamp(1.8rem, 3vw, 2.5rem); font-weight:700; }
.product-split .split-lede{ margin:14px 0 30px; color:var(--text-soft); font-size:1.03rem; max-width:46ch; }
.workflowcard{ padding:24px; border-radius:14px; background:var(--card); border:1px solid var(--border-strong); }
.workflow-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.workflow-title{ font-size:0.95rem; font-weight:700; font-family:"Bricolage Grotesque",sans-serif; }
.workflow-sample{ color:var(--text-soft); font-size:var(--fs-xs); font-weight:500; }
.wsteps{ display:grid; gap:8px; }
.wstep{ display:grid; grid-template-columns:36px 1fr auto; align-items:center; gap:12px; padding:13px; border:1px solid var(--border); background:var(--nested); border-radius:12px; }
.wstep-num{ width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:var(--primary-tint); color:var(--primary-text); font-size:var(--fs-xs); font-weight:600; font-family:"JetBrains Mono",monospace; }
.wstep strong{ display:block; font-size:0.9rem; font-family:"Bricolage Grotesque",sans-serif; }
.wstep small{ color:var(--text-muted); font-size:var(--fs-xs); }
.wstep-state{ font-size:var(--fs-xs); font-weight:600; letter-spacing:0.03em; color:var(--text-muted); }
.wstep-state.is-ready{ color:var(--ready); }

/* human approval */
.approval{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,80px); align-items:start; }
.approval h2{ font-size:clamp(1.8rem, 3vw, 2.5rem); font-weight:700; }
.approval .approval-lede{ margin:14px 0 0; color:var(--text-soft); font-size:1.03rem; max-width:46ch; }
.gate{ margin-top:30px; max-width:400px; padding:22px; background:var(--card); border:1px solid var(--border-strong); border-radius:14px; }
.gate-title{ font-family:"Bricolage Grotesque",sans-serif; font-weight:700; font-size:0.95rem; margin-bottom:14px; }
.gate-check{ display:flex; align-items:center; gap:12px; padding-block:9px; font-size:0.95rem; color:var(--text); }
.gate-check + .gate-check{ border-top:1px solid var(--border); }
.gate-box{ width:20px; height:20px; flex:none; border-radius:5px; border:1.5px solid var(--border-strong); display:flex; align-items:center; justify-content:center; }
.gate-check.is-done .gate-box{ background:var(--primary-tint); border-color:color-mix(in srgb, var(--primary) 45%, transparent); color:var(--primary-text); }
.gate-box svg{ width:12px; height:12px; }
.gate-check.is-pending{ color:var(--text-soft); }
.gate-btn{ margin-top:16px; display:flex; justify-content:center; padding:13px 20px; border-radius:9px; background:var(--border); color:var(--text-muted); font-weight:700; font-size:0.95rem; cursor:not-allowed; }
.gate-note{ margin:12px 0 0; font-size:var(--fs-xs); color:var(--text-muted); }

/* course table demo */
.demo-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(24px,4vw,48px); align-items:center; }
.democard{ background:var(--card); border:1px solid var(--border-strong); border-radius:14px; padding:22px; min-width:0; }
.deedexcerpt{ font-family:"JetBrains Mono",monospace; font-size:0.8rem; line-height:1.75; color:var(--text-soft); padding-bottom:16px; border-bottom:1px dashed var(--border); margin-bottom:16px; }
.deedexcerpt b{ color:var(--text); font-weight:600; }
.deedexcerpt .call{ display:block; padding-inline:8px; margin-inline:-8px; border-radius:6px; transition:background .15s ease, color .15s ease; }
.tablewrap{ overflow-x:auto; }
.coursetable{ width:100%; border-collapse:collapse; font-family:"JetBrains Mono",monospace; font-size:0.78rem; }
.coursetable th{ text-align:left; font-weight:500; letter-spacing:0.03em; text-transform:uppercase; font-size:var(--fs-xs); color:var(--text-muted); padding:0 10px 8px 0; border-bottom:1px solid var(--border); font-family:"Hanken Grotesk",sans-serif; white-space:nowrap; }
.coursetable td{ padding:9px 10px 9px 0; border-bottom:1px solid var(--border); color:var(--text-soft); font-variant-numeric:tabular-nums; white-space:nowrap; transition:background .15s ease; }
.coursetable td.callnum{ color:var(--primary-text); font-weight:600; }
.coursetable tr:last-child td{ border-bottom:none; }
.closurepill{ display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-family:"JetBrains Mono",monospace; font-size:var(--fs-xs); padding:7px 12px; border-radius:999px; background:var(--ok-tint); color:var(--ok); font-weight:600; border:1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.closurepill svg{ width:12px; height:12px; }
.mapcard{ background:var(--card); border:1px solid var(--border-strong); border-radius:14px; padding:18px; }
.mapcard svg{ display:block; width:100%; height:auto; }

/* hover a deed line or course row to light up its edge on the plot */
.demo-grid:has([data-call="1"]:hover) .call[data-call="1"],
.demo-grid:has([data-call="2"]:hover) .call[data-call="2"],
.demo-grid:has([data-call="3"]:hover) .call[data-call="3"],
.demo-grid:has([data-call="4"]:hover) .call[data-call="4"]{ background:var(--amber-tint); color:var(--text); }
.demo-grid:has([data-call="1"]:hover) tr[data-call="1"] td,
.demo-grid:has([data-call="2"]:hover) tr[data-call="2"] td,
.demo-grid:has([data-call="3"]:hover) tr[data-call="3"] td,
.demo-grid:has([data-call="4"]:hover) tr[data-call="4"] td{ background:var(--amber-tint); color:var(--text); }
.demo-grid:has([data-call="1"]:hover) .edge[data-call="1"],
.demo-grid:has([data-call="2"]:hover) .edge[data-call="2"],
.demo-grid:has([data-call="3"]:hover) .edge[data-call="3"],
.demo-grid:has([data-call="4"]:hover) .edge[data-call="4"]{ stroke:var(--amber); stroke-width:4; }

/* timeline (about) */
.timeline{ display:grid; gap:0; border-left:2px solid var(--border); margin-left:6px; } /* impeccable-disable-line side-tab -- vertical timeline rail (neutral hairline, not a decorative accent stripe) */
.timeline-item{ position:relative; padding:0 0 32px 28px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%; background:var(--primary); border:3px solid var(--bg); }
.timeline-item .when{ font-size:var(--fs-xs); color:var(--text-muted); text-transform:uppercase; letter-spacing:0.03em; }
.timeline-item h3{ font-size:1.02rem; font-weight:700; margin-top:6px; }
.timeline-item p{ margin-top:6px; color:var(--text-soft); font-size:0.95rem; max-width:60ch; }

/* contact */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,56px); align-items:start; }
.contactcard{ background:var(--card); border:1px solid var(--border-strong); border-radius:14px; padding:clamp(22px,3vw,34px); }
.formrow{ display:grid; gap:6px; margin-bottom:18px; }
.formrow label{ font-size:0.875rem; font-weight:600; color:var(--text-soft); }
.formrow input, .formrow select, .formrow textarea{
  font:inherit; font-size:1rem; padding:11px 13px; border-radius:9px; border:1px solid var(--border-strong);
  background:var(--nested); color:var(--text); width:100%;
}
.formrow input::placeholder, .formrow textarea::placeholder{ color:var(--text-muted); }
.formrow input:focus, .formrow select:focus, .formrow textarea:focus{ outline:2px solid var(--primary-text); outline-offset:1px; border-color:transparent; }
.formrow input:user-invalid, .formrow textarea:user-invalid{ border-color:var(--danger); }
.formrow textarea{ resize:vertical; min-height:120px; }
.cf-turnstile{ max-width:100%; min-height:65px; }
.formrow > *{ min-width:0; }
.contact-info{ display:flex; flex-direction:column; gap:16px; }
.infoblock{ background:var(--card); border:1px solid var(--border); border-radius:14px; padding:22px; }
.infoblock .label{ font-size:var(--fs-xs); font-weight:500; letter-spacing:0.03em; text-transform:uppercase; color:var(--text-muted); margin-bottom:8px; }
.infoblock .value{ font-size:1.02rem; font-weight:600; }
.infoblock .value.soft{ font-size:0.95rem; font-weight:500; color:var(--text-soft); }
.infoblock .value a{ color:var(--primary-text); }
.formnote{ font-size:0.875rem; color:var(--text-muted); margin-top:14px; }
.formnote a{ color:var(--primary-text); }
.formnote-error{ color:var(--danger); }
.formnote-error a{ color:inherit; }
.formnote-success{ font-size:0.95rem; color:var(--text); background:var(--card); border:1px solid var(--border-strong); border-radius:14px; padding:22px; }
.formnote-success p{ margin:0; }
.formnote-success:focus{ outline:none; }

/* cta band */
.ctaband{ background:var(--card); border:1px solid var(--border-strong); border-radius:18px; padding:clamp(40px,6vw,64px); text-align:center; }
.ctaband h2{ color:var(--text); max-width:640px; margin:0 auto 14px; font-size:clamp(1.7rem,3vw,2.3rem); }
.ctaband p{ max-width:520px; margin:0 auto; color:var(--text-soft); }
.ctaband-actions{ display:flex; justify-content:center; gap:12px; margin-top:28px; flex-wrap:wrap; }

/* footer */
footer.site{ background:var(--bg); border-top:1px solid var(--border); color:var(--text-muted); padding-block:32px; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.footlinks{ display:flex; gap:8px 24px; font-size:0.9rem; flex-wrap:wrap; }
.footlinks a{ text-decoration:none; display:inline-flex; align-items:center; min-height:32px; }
.footlinks a:hover{ color:var(--text); }
.footer-copy{ font-size:var(--fs-xs); }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .product-split{ grid-template-columns:1fr; }
  .demo-grid{ grid-template-columns:1fr; }
  .approval{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .hero-grid, .product-split, .demo-grid, .approval{ row-gap:40px; }
}
@media (max-width:700px){
  .principles{ grid-template-columns:1fr; }
  .spec .rule{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .nav{ flex-wrap:wrap; gap:0 12px; }
  .nav-right{ display:contents; }
  .nav .cta{ margin-left:auto; padding:0 14px; min-height:44px; display:inline-flex; align-items:center; }
  .navlinks{ order:3; flex-basis:100%; justify-content:space-between; gap:0; padding-block:4px 6px; }
  .navlinks a{ display:inline-flex; align-items:center; min-height:44px; }
  html.js .menu-toggle{ display:inline-flex; align-items:center; }
  html.js .navlinks{ display:none; flex-direction:column; align-items:stretch; padding-block:6px 10px; border-top:1px solid var(--border); margin-top:10px; }
  html.js .navlinks a{ border-bottom:1px solid var(--border); }
  html.js .navlinks a:last-child{ border-bottom:none; }
  html.js .nav[data-open] .navlinks{ display:flex; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
  .footlinks a{ min-height:44px; }
  .console-body{ padding:18px; }
}
@media (max-width:520px){
  .coursetable th:nth-child(4), .coursetable td:nth-child(4){ display:none; }
}
@media (max-width:420px){
  .cta-long{ display:none; }
  .cta-short{ display:inline; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion:no-preference){
  @keyframes fadeUp{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
  @keyframes drawEdge{ from{ stroke-dashoffset:1; } to{ stroke-dashoffset:0; } }
  @keyframes popVertex{ from{ opacity:0; transform:scale(0); } to{ opacity:1; transform:scale(1); } }
  @keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
  @keyframes fillBar{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }

  .hero h1{ animation:fadeUp .5s var(--ease) .1s both; }
  .hero p.lede{ animation:fadeUp .5s var(--ease) .18s both; }
  .hero-ctas{ animation:fadeUp .5s var(--ease) .26s both; }
  .hero-trust{ animation:fadeUp .5s var(--ease) .32s both; }
  .preview{ animation:fadeUp .6s var(--ease) .2s both; }

  /* Focal moment: the deed becomes a closed shape, edge by edge, in course order. */
  .plot{ --t0:.15s; }
  .hero .plot{ --t0:.85s; }
  .plot .edge[data-call="1"]{ --n:0; }
  .plot .edge[data-call="2"]{ --n:1; }
  .plot .edge[data-call="3"]{ --n:2; }
  .plot .edge[data-call="4"]{ --n:3; }
  .js .plot:not(.play) .edge{ stroke-dashoffset:1; }
  .js .plot:not(.play) .vertex{ opacity:0; transform:scale(0); }
  .js .plot:not(.play) .plot-fill, .js .plot:not(.play) .plot-area{ opacity:0; }
  .plot.play .edge{ animation:drawEdge .42s var(--ease) calc(var(--t0) + var(--n) * .4s) both; }
  .plot.play .vertex{ animation:popVertex .3s var(--ease) calc(var(--t0) + var(--i) * .4s) both; }
  .plot.play .plot-fill{ animation:fadeIn .5s ease-out calc(var(--t0) + 1.7s) both; }
  .plot.play .plot-area{ animation:fadeIn .4s ease-out calc(var(--t0) + 1.8s) both; }
  .hero .confbar > span{ animation:fillBar .9s var(--ease) .7s both; }
  .hero .console-row.ok .console-val{ animation:fadeIn .4s ease-out 2.6s both; }

  /* Continuity between pages: the header stays put, the rest crossfades. */
  @view-transition{ navigation:auto; }
  header{ view-transition-name:site-header; }
  ::view-transition-old(root), ::view-transition-new(root){ animation-duration:.18s; }
}
