/* BurstSight marketing site. Tokens from docs/08-brand-and-website.md and templates/design-tokens.json.
   No inline styles or scripts anywhere, so the site runs under a strict Content-Security-Policy (see .htaccess). */

@font-face{font-family:Archivo;src:url(../fonts/archivo-latin.woff2) format("woff2");font-weight:400 800;font-stretch:100% 125%;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url(../fonts/ibm-plex-sans-latin.woff2) format("woff2");font-weight:100 700;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(../fonts/ibm-plex-mono-400-latin.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url(../fonts/ibm-plex-mono-500-latin.woff2) format("woff2");font-weight:500;font-display:swap}

:root{
  --ink-deep:#0A222A;--ink-deep2:#0D2A34;--ink-deep3:#10323D;--ink:#0E2830;--ground:#EDF1F0;--surface:#fff;
  --muted:#475B61;--muted-on-dark:#A9BCC1;--faint-on-dark:#7F969C;--text-on-dark:#F2F6F5;--subtle-on-dark:#C9D6D8;
  --burst:#F06A3A;--burst-text:#B03E14;--accent:#0E5C58;--accent-soft:#E3EFEC;--line:#CAD4D3;--line-soft:#E2E8E7;
  --line-dark:#1E4550;--panel-dark:#0D2A34;
  --risk-low:#4E8F94;--risk-medium:#D9A441;--risk-high:#E4572E;--risk-vhigh:#8E1F10;
  --risk-low-dark:#4E8F94;--risk-medium-dark:#D9A441;--risk-high-dark:#EE8A2C;--risk-vhigh-dark:#FF3D3D;
  --ok:#2F6B2F;--ok-soft:#E6F0E1;--warn:#9A4A06;--warn-soft:#FBEEDC;--error:#A12C2C;--error-soft:#F9E4E2;
  --radius:10px;--radius-card:14px;--radius-panel:16px;--max:1200px;--gutter:clamp(20px,5vw,64px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:17px;line-height:1.6;overflow-x:hidden}
img,svg{max-width:100%;display:block}
a{color:var(--accent)}
a:hover{color:var(--burst-text)}
:focus-visible{outline:3px solid var(--burst);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;color:var(--ink);padding:10px 16px;border-radius:6px;z-index:100}
.skip:focus{left:8px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.display,h1,h2{font-family:Archivo,"Arial Narrow",system-ui,sans-serif;font-stretch:112%;font-weight:700;letter-spacing:-.025em;line-height:1.05}
h1{font-size:clamp(38px,6.2vw,70px);margin:0}
h2{font-size:clamp(28px,4vw,52px);margin:0 0 16px}
h3{font-size:19px;margin:0 0 8px;line-height:1.3}
p{margin:0 0 16px}
.eyebrow{margin:0 0 20px;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted-on-dark)}
.dot-live{width:8px;height:8px;border-radius:50%;background:var(--burst);flex:none}
.lede{font-size:clamp(18px,2vw,21px);line-height:1.55}
.muted{color:var(--muted)}
.small{font-size:14px}
.mono{font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace}
.illustrative{font-size:13px;color:var(--faint-on-dark)}
.illustrative.on-light{color:var(--muted)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:8px;font:inherit;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.btn-primary{background:var(--burst);color:var(--ink-deep)}
.btn-primary:hover{background:#F58256;color:var(--ink-deep)}
.btn-ghost{border-color:#3B6470;color:var(--text-on-dark)}
.btn-ghost:hover{border-color:var(--text-on-dark);color:#fff}
.btn-dark{background:var(--ink);color:var(--text-on-dark);border-color:var(--ink)}
.btn-dark:hover{background:#12333D;color:#fff}
.btn-outline{border-color:var(--ink-deep);color:var(--ink-deep)}
.btn-outline:hover{background:var(--ink-deep);color:#fff}
.btn-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}

/* Header */
.dark{background:var(--ink-deep);color:var(--text-on-dark)}
.dark a:not(.btn){color:inherit}
header.site{padding:24px 0;position:relative;z-index:5}
.bar{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--text-on-dark)}
.brand span{font-family:Archivo,"Arial Narrow",system-ui,sans-serif;font-stretch:118%;font-weight:700;font-size:23px;letter-spacing:-.01em}
.brand:hover{color:#fff}
nav.main{display:flex;align-items:center;gap:32px;font-size:15px}
nav.main a{text-decoration:none}
nav.main a:not(.btn){color:var(--subtle-on-dark)}
nav.main a:not(.btn):hover{color:#fff}
nav.main .btn{min-height:42px;padding:0 18px;font-size:15px}
.menu-btn{display:none;background:none;border:1px solid #3B6470;color:var(--text-on-dark);border-radius:8px;min-height:44px;padding:0 14px;font:inherit;cursor:pointer}

/* Hero */
.hero{position:relative;overflow:hidden;padding:48px 0 96px}
.hero-dots{position:absolute;inset:0;z-index:0;opacity:.7}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:56px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:26px}
.hero .lede{color:var(--subtle-on-dark);max-width:520px;margin:0}
.hero-hint{margin:0;font-size:13px;color:var(--faint-on-dark)}

/* Hero interactive map card */
.mapcard{position:relative;border-radius:var(--radius-panel);background:var(--panel-dark);border:1px solid var(--line-dark);overflow:hidden;height:min(640px,72vw)}
.mapcard-controls{position:absolute;left:16px;top:16px;right:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;z-index:2;flex-wrap:wrap}
.horizon-group{display:flex;align-items:center;gap:4px;background:var(--ink-deep);border:1px solid var(--line-dark);border-radius:8px;padding:4px}
.horizon-group span{font-size:12px;color:var(--muted-on-dark);padding:0 8px}
.horizon-btn{height:30px;padding:0 12px;border-radius:6px;border:none;font:inherit;font-size:13px;cursor:pointer;background:transparent;color:var(--subtle-on-dark)}
.horizon-btn[aria-pressed="true"]{background:var(--text-on-dark);color:var(--ink-deep);font-weight:600}
.risk-legend{display:flex;gap:12px;background:var(--ink-deep);border:1px solid var(--line-dark);border-radius:8px;padding:9px 12px;font-size:12px;color:var(--subtle-on-dark);flex-wrap:wrap}
.risk-legend li{display:flex;align-items:center;gap:6px;list-style:none}
.risk-legend .sw{width:14px;height:4px;border-radius:2px;display:inline-block}
.sw-low{background:var(--risk-low-dark)}.sw-medium{background:var(--risk-medium-dark)}.sw-high{background:var(--risk-high-dark)}.sw-vhigh{background:var(--risk-vhigh-dark)}
.netmap{width:100%;height:100%}
.netmap .hit{cursor:pointer}
.netmap .hit:focus-visible{outline:3px solid var(--burst);outline-offset:2px}

.selcard{position:absolute;right:16px;bottom:16px;width:min(300px,calc(100% - 32px));background:var(--text-on-dark);color:var(--ink);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.selcard-top{display:flex;justify-content:space-between;align-items:baseline}
.selcard-id{font-family:"IBM Plex Mono",monospace;font-size:13px;font-weight:500}
.selcard-badge{font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--ink-deep);color:#fff}
.selcard-prob{display:flex;align-items:baseline;gap:8px}
.selcard-prob strong{font-family:Archivo,sans-serif;font-stretch:112%;font-weight:700;font-size:38px;letter-spacing:-.02em}
.selcard-prob span{font-size:13px;color:var(--muted)}
.selcard-bar{height:6px;border-radius:3px;background:#DCE3E2;overflow:hidden}
.selcard-bar i{display:block;height:6px;border-radius:3px;background:var(--burst);transition:width .4s ease,background .4s ease}
.selcard-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;font-size:12px;color:var(--muted)}
.selcard-meta span{display:block;font-size:14px;color:var(--ink);font-weight:500}

/* Renew by age / risk comparison */
.compare{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:36px;display:flex;flex-direction:column;gap:28px}
.compare-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center}
.compare-row + .compare-row{padding-top:28px;border-top:1px solid var(--line-soft)}
.compare-label strong{display:block;font-size:17px;font-weight:600}
.compare-label span{font-size:14px;color:var(--muted)}
.compare svg{width:100%;height:auto}

/* Mapping panel */
.mapping-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:32px;display:flex;flex-direction:column;gap:24px}
.mapping-grid{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);align-items:stretch;gap:8px}
.mapping-col{display:flex;flex-direction:column;gap:10px}
.mapping-col-label{font-size:13px;color:var(--muted);font-weight:500}
.mapping-field{height:46px;border-radius:8px;border:1px solid var(--line);background:var(--ground);display:flex;align-items:center;padding:0 14px;font-family:"IBM Plex Mono",monospace;font-size:14px}
.mapping-field.matched{border:none;background:var(--accent-soft);color:#08403D;display:flex;align-items:center;justify-content:space-between;font-family:inherit;font-weight:500;font-size:14px}
.mapping-lines{align-self:end}
.mapping-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:20px;border-top:1px solid var(--line-soft)}
.mapping-footer .status{font-size:14px;color:var(--muted)}
.run-chip{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 28px;border-radius:8px;background:var(--ink);color:var(--text-on-dark);font-weight:600;font-size:16px}

/* Sections */
section{padding:clamp(56px,8vw,128px) 0}
.section-head{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:64px;align-items:end;margin-bottom:56px}
.section-head p{color:var(--muted);font-size:18px;line-height:1.6;margin:0}
.section-head.on-dark p{color:var(--subtle-on-dark)}
.two-col{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;align-items:center}
.two-col.reverse{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.two-col.tight{gap:56px}

.copy-stack{display:flex;flex-direction:column;gap:24px}
.copy-stack .kicker{margin:0;font-size:22px;line-height:1.5;font-weight:500}
.copy-stack .punch{margin:0;font-family:Archivo,sans-serif;font-stretch:112%;font-weight:700;font-size:26px;color:var(--burst-text);letter-spacing:-.01em}

/* How it works timeline */
.how{background:var(--ink-deep);color:var(--text-on-dark)}
.timeline{position:relative;margin:0 0 -20px}
.timeline svg{display:block;width:100%;height:auto}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px}
.steps li{display:flex;flex-direction:column;gap:10px}
.steps strong{font-weight:600;font-size:20px}
.steps p{margin:0;font-size:16px;line-height:1.55;color:var(--muted-on-dark)}

/* Product preview window */
.preview{background:var(--text-on-dark);color:var(--ink);border-radius:var(--radius-panel);overflow:hidden;display:flex;flex-direction:column;margin-top:56px}
.preview-bar{height:42px;background:#DCE3E2;display:flex;align-items:center;gap:8px;padding:0 16px}
.preview-bar i{width:10px;height:10px;border-radius:50%;background:#B9C4C3;display:inline-block}
.preview-bar .addr{margin-left:16px;height:26px;padding:0 14px;border-radius:6px;background:var(--ground);display:flex;align-items:center;font-size:12px;color:var(--muted);font-family:"IBM Plex Mono",monospace}
.preview-body{display:grid;grid-template-columns:210px minmax(0,1fr) 360px}
.preview-side{background:var(--ink-deep);color:var(--subtle-on-dark);padding:22px 16px;display:flex;flex-direction:column;gap:6px;font-size:13px}
.preview-side b{font-family:Archivo,sans-serif;font-stretch:118%;font-weight:700;font-size:17px;color:var(--text-on-dark);padding:0 10px 16px;display:block}
.preview-side span{display:block;padding:9px 10px;border-radius:6px}
.preview-side span.on{background:#1C3C45;color:#fff}
.preview-map{display:flex;flex-direction:column}
.preview-run{padding:14px 20px;border-bottom:1px solid var(--line-soft);display:flex;flex-direction:column;gap:8px;background:#fff}
.preview-run-top{display:flex;justify-content:space-between;font-size:13px}
.preview-run-top span:last-child{color:var(--muted)}
.preview-progress{height:6px;border-radius:3px;background:var(--line-soft);overflow:hidden}
.preview-progress i{display:block;height:6px;width:100%;background:var(--accent);border-radius:3px}
.preview-map svg{flex-grow:1;background:#E8EDEC}
.preview-side-panel{padding:22px;display:flex;flex-direction:column;gap:14px;border-left:1px solid var(--line-soft);background:#fff}
.preview-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.preview-kpi{background:var(--ground);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:2px}
.preview-kpi span{font-size:12px;color:var(--muted)}
.preview-kpi strong{font-size:22px;font-weight:600}
.preview-kpi.bad strong{color:var(--risk-vhigh)}
.preview-list{display:flex;flex-direction:column;font-size:13px}
.preview-list-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line-soft)}
.preview-list-row .id{font-family:"IBM Plex Mono",monospace}
.preview-list-row .p{font-weight:600}
.preview-list-row .p.high{color:var(--risk-vhigh)}
.preview-list-row .p.med{color:var(--burst-text)}
.preview-export{margin-top:auto;height:42px;border-radius:6px;background:var(--ink);color:var(--text-on-dark);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500}
.preview-note{margin:16px 0 0}

/* Models explorer */
.models-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:32px;align-items:stretch}
.model-list{display:flex;flex-direction:column;gap:10px}
.model-btn{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;padding:22px 24px;border-radius:var(--radius-card);font:inherit;color:var(--ink);cursor:pointer;background:transparent;border:1px solid var(--line)}
.model-btn[aria-pressed="true"]{background:#fff;border:2px solid var(--ink-deep);padding:21px 23px}
.model-btn strong{font-weight:600;font-size:19px}
.model-btn p{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.model-btn .answers{font-size:14px;font-weight:500;color:var(--ink)}
.model-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:32px;display:flex;flex-direction:column;gap:16px}
.chart-panel{display:flex;flex-direction:column;gap:16px}
.chart-panel[hidden]{display:none}
.chart-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px}
.chart-head strong{font-weight:600;font-size:17px}
.chart-head span{font-size:13px;color:var(--muted)}
.asset-classes{margin-top:32px;display:flex;flex-wrap:wrap;gap:10px}
.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 14px;font-size:14px}
.chip.soon{color:var(--muted);border-style:dashed}

/* Engineers / provenance */
.principles{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.principles li{border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:6px}
.principles strong{font-weight:600;font-size:16px}
.principles span{font-size:14px;line-height:1.5;color:var(--muted)}
.provenance{background:var(--ink-deep);color:var(--subtle-on-dark);border-radius:var(--radius-panel);padding:28px 32px;font-family:"IBM Plex Mono",monospace;font-size:14px;line-height:1.9;display:flex;flex-direction:column}
.provenance-head{display:flex;justify-content:space-between;align-items:center;font-family:"IBM Plex Sans",sans-serif;margin-bottom:14px}
.provenance-head strong{font-weight:600;font-size:15px;color:var(--text-on-dark)}
.provenance-head .badge{font-size:12px;padding:4px 10px;border-radius:999px;background:#1C3C45;color:#9FD8D1;font-family:"IBM Plex Sans",sans-serif}
.provenance dl{margin:0;display:flex;flex-direction:column;gap:0;min-width:0}
.provenance dl div{display:flex;gap:8px;min-width:0}
.provenance dt{color:var(--faint-on-dark);width:118px;flex:none}
.provenance dd{margin:0;min-width:0;overflow-wrap:anywhere}
.provenance .accent{color:var(--burst)}
.provenance-note{margin-top:14px;padding-top:14px;border-top:1px solid var(--line-dark);font-family:"IBM Plex Sans",sans-serif;font-size:13px;color:var(--faint-on-dark)}

/* Security */
.security{background:var(--ink-deep);color:var(--text-on-dark)}
.security h2{max-width:640px}
.security .lede{color:var(--subtle-on-dark)}
.security-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;margin:32px 0}
.security-facts div{display:flex;flex-direction:column;gap:6px}
.security-facts strong{font-weight:600;font-size:16px}
.security-facts span{font-size:14px;line-height:1.55;color:var(--muted-on-dark)}
.security-link{font-size:16px;font-weight:500;color:var(--burst)}
.rings{width:100%;height:auto}

/* Pricing */
.pricing-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:48px}
.pricing-head p{margin:0;font-size:16px;color:var(--muted);max-width:360px}
.tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.tier{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:36px;display:flex;flex-direction:column;gap:20px}
.tier.feature{background:var(--ink);color:var(--text-on-dark);position:relative;overflow:hidden}
.tier.feature .tier-desc{color:var(--subtle-on-dark)}
.tier.feature ul{color:var(--text-on-dark)}
.tier-name{font-weight:600;font-size:22px}
.tier-price{font-family:Archivo,sans-serif;font-stretch:112%;font-weight:700;font-size:38px}
.tier-price small{font-family:"IBM Plex Sans",sans-serif;font-size:15px;font-weight:400;color:var(--muted-on-dark)}
.tier-desc{font-size:15px;color:var(--muted);line-height:1.55;margin:0}
.tier ul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:8px;font-size:15px}
.tier .btn{margin-top:auto;align-self:stretch}

/* Demo */
.demo{margin:0 auto;max-width:var(--max);background:var(--ink-deep);color:var(--text-on-dark);border-radius:20px;padding:clamp(32px,6vw,72px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;position:relative;overflow:hidden}
.demo-copy{position:relative;display:flex;flex-direction:column;gap:16px}
.demo-copy .lede{color:var(--subtle-on-dark)}
.demo-copy .muted{color:var(--muted-on-dark)}
form.demo-form{position:relative;display:flex;flex-direction:column;gap:14px;background:var(--text-on-dark);color:var(--ink);border-radius:14px;padding:28px}
.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}
.field input,.field textarea{font:inherit;font-size:16px;padding:0 14px;height:48px;border:1px solid #B9C4C3;border-radius:6px;background:#fff;color:var(--ink)}
.field textarea{height:auto;min-height:96px;padding:12px 14px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--accent);outline:3px solid #BFE0DC;outline-offset:0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:13px;color:var(--muted);margin:0}

/* Footer */
footer.site{background:var(--ink-deep);color:var(--muted-on-dark);padding:64px 0;font-size:14px}
.foot-top{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap}
.foot-brand{display:flex;flex-direction:column;gap:12px;max-width:320px}
.foot-brand .brand span{color:var(--text-on-dark)}
.foot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,160px));gap:24px}
.foot-cols .foot-h{margin:0 0 10px;color:var(--text-on-dark);font-weight:500;font-size:15px}
.foot-cols ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.foot-cols a{text-decoration:none;color:var(--muted-on-dark)}
.foot-cols a:hover{color:#fff}
.foot-base{border-top:1px solid var(--line-dark);margin-top:40px;padding-top:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* Long-form pages */
.page-head{padding:clamp(28px,4vw,48px) 0 clamp(40px,6vw,72px)}
.page-head h1{font-size:clamp(34px,5vw,54px)}
.page-head .lede{color:var(--subtle-on-dark);max-width:680px;margin-top:20px}
.prose{padding:clamp(40px,6vw,72px) 0}
.prose .wrap{max-width:820px}
.prose h2{font-size:clamp(24px,3vw,32px);margin:40px 0 12px}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:24px}
.prose ul{padding-left:22px;margin:0 0 16px}
.prose li{margin-bottom:6px}
.prose table{width:100%;border-collapse:collapse;font-size:15px;margin:12px 0 24px}
.prose th,.prose td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.prose th{background:var(--surface);color:var(--muted);font-weight:600;font-size:14px}
.formula{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:14px 18px;font-family:"IBM Plex Mono",ui-monospace,Menlo,Consolas,monospace;font-size:15px;overflow-x:auto}
.notice{background:var(--warn-soft);border:1px solid #E6CB86;border-radius:8px;padding:14px 18px;font-size:15px;margin:0 0 28px}
.center{text-align:center;padding:clamp(72px,12vw,140px) 0}

/* Animation */
.draw{stroke-dasharray:1200;stroke-dashoffset:1200}
.draw.in-view{animation:bsDraw 2.4s cubic-bezier(.6,.1,.2,1) both}
@keyframes bsDraw{to{stroke-dashoffset:0}}
.flow{stroke-dasharray:3 26;animation:bsFlow 1.8s linear infinite}
@keyframes bsFlow{to{stroke-dashoffset:-29}}
.ripple{transform-box:fill-box;transform-origin:center;animation:bsRipple 2.6s ease-out infinite}
.ripple.d2{animation-delay:1.3s}
@keyframes bsRipple{0%{transform:scale(.3);opacity:.9}100%{transform:scale(2.8);opacity:0}}
.sweep{animation:bsSweep 8s ease-in-out infinite}
@keyframes bsSweep{0%{transform:translateX(-200px)}100%{transform:translateX(980px)}}
.bs-progress i{animation:bsProg 6s ease-in-out infinite}
@keyframes bsProg{0%{width:6%}70%{width:100%}100%{width:100%}}
.travel{animation:bsTravel 6s cubic-bezier(.5,0,.5,1) infinite}
@keyframes bsTravel{0%{transform:translateX(0)}100%{transform:translateX(1060px)}}
.blink{animation:bsBlink 2.4s ease-in-out infinite}
@keyframes bsBlink{50%{opacity:.3}}
.rise{opacity:0;transform:translateY(18px)}
.rise.in-view{animation:bsRise .9s ease both}
@keyframes bsRise{to{opacity:1;transform:translateY(0)}}
.d1{animation-delay:.1s}.d2{animation-delay:.2s}.d3{animation-delay:.3s}.d4{animation-delay:.4s}
.d5{animation-delay:.5s}.d6{animation-delay:.6s}.d7{animation-delay:.7s}.d8{animation-delay:.8s}
.d9{animation-delay:.9s}.d10{animation-delay:1s}.d11{animation-delay:1.1s}.d12{animation-delay:1.2s}
.d13{animation-delay:1.3s}.d14{animation-delay:1.4s}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
  .draw{stroke-dashoffset:0}
  .draw.in-view,.flow,.ripple,.sweep,.bs-progress i,.travel,.blink,.rise,.rise.in-view{animation:none!important}
  .rise{opacity:1;transform:none}
}

/* Responsive: 1024px and 640px breakpoints per docs/09 */
@media (max-width:1024px){
  .hero-grid,.two-col,.two-col.reverse{grid-template-columns:1fr}
  .hero-grid{gap:40px}
  .mapcard{order:-1;height:min(560px,110vw)}
  .section-head{grid-template-columns:1fr;gap:20px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .models-grid{grid-template-columns:1fr}
  .model-list{flex-direction:row;flex-wrap:wrap}
  .model-btn{flex:1 1 240px}
  .preview-body{grid-template-columns:1fr;overflow-x:auto}
  .preview-side{flex-direction:row;flex-wrap:wrap;gap:4px}
  .preview-side b{width:100%;padding-bottom:6px}
  .security-facts,.tiers,.principles{grid-template-columns:1fr}
  .demo{grid-template-columns:1fr}
  .foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
  .compare-row{grid-template-columns:1fr}
}
@media (max-width:640px){
  header.site{position:relative}
  .bar{flex-wrap:wrap}
  nav.main{flex-basis:100%;flex-direction:column;align-items:flex-start;gap:4px;padding-top:12px}
  nav.main a{padding:8px 0;font-size:17px}
  .js .menu-btn{display:inline-block}
  .js nav.main{display:none}
  .js nav.main.open{display:flex}
  .mapcard-controls{flex-direction:column;align-items:stretch}
  .risk-legend{justify-content:space-between}
  .selcard{position:static;width:auto;margin-top:12px}
  .mapping-grid{grid-template-columns:1fr}
  .mapping-lines{display:none}
  .steps,.principles{grid-template-columns:1fr}
  .model-list{flex-direction:column}
  .foot-top{flex-direction:column}
  .foot-cols{grid-template-columns:1fr 1fr}
  .field-row{grid-template-columns:1fr}
  .provenance dl div{flex-direction:column;gap:0}
  .provenance dt{width:auto}
}
@media print{.menu-btn,nav.main{display:none}body{background:#fff}}
