/* Raidoka — site styles. Dark theme, Pantone 021 U accent. No glow on text; effects stay in the background. */
:root {
  --bg: #0A0C10; --bg-2: #0F1218; --bg-3: #151922; --line: #2A3040; --line-2: #3A4256;
  --ink: #F2F3F5; --muted: #B2B8C4; --dim: #8A92A3;
  --acc: #FF6C2F; --acc-ink: #FF8A57; --acc-deep: #C2461A;
  --ok: #4ADE80; --bad: #FF6B6B;
  --gutter: clamp(20px, 4vw, 96px);
  --wrap: min(100vw - 2 * var(--gutter), 2200px);
  --r: 2px;
  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 clamp(16px, .55vw + 10px, 19px)/1.6 var(--f-body); background: transparent; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--f-head); font-stretch: 90%; margin: 0; color: var(--ink); letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 128px); line-height: .96; letter-spacing: -.035em; }
h2 { font-weight: 750; font-size: clamp(34px, 3.4vw, 76px); line-height: 1.02; letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: clamp(20px, 1.2vw, 26px); line-height: 1.2; }
.acc { color: var(--acc); }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr:focus { position: fixed; left: 16px; top: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--ink); color: var(--bg); z-index: 100; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--acc); clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%); }
.pill { display: inline-block; font: 600 13px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.pill.live { color: var(--bg); background: var(--ok); border-color: var(--ok); }
.pill.soon { color: var(--ink); border-color: var(--acc); background: rgba(255, 108, 47, .12); }

/* buttons: chamfered corner like the R */
.btn { --c: 10px; display: inline-flex; align-items: center; gap: .6em; font: 650 16px/1 var(--f-body); padding: 1em 1.4em; border: 1px solid var(--line-2); color: var(--ink); background: var(--bg-2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); transition: background .2s, border-color .2s, transform .35s var(--ease); }
.btn:hover { border-color: var(--muted); }
.btn-primary { background: var(--acc); border-color: var(--acc); color: #120700; }
.btn-primary:hover { background: #FF7F48; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: rgba(10, 12, 16, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.solid::before { opacity: 1; }
.site-header.solid { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 40px); }
.nav a { font-weight: 550; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .btn { padding: .8em 1.1em; font-size: 15px; color: #120700; }
.dd { position: relative; }
.dd > button { font: inherit; font-weight: 550; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 10px 0; }
.dd > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dd > button:hover, .dd.open > button { color: var(--ink); }
.dd-panel { position: absolute; top: calc(100% + 14px); right: -220px; width: min(1080px, 92vw); padding: 18px; background: var(--bg-2); border: 1px solid var(--line-2);
  opacity: 0; visibility: hidden; transition: opacity .18s, visibility 0s .2s; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel, .dd.open .dd-panel { opacity: 1; visibility: visible; transition: opacity .18s, visibility 0s; }
.dd-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dd-h { font: 700 16px/1.2 var(--f-head); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dd-h small { display: block; margin-top: 4px; font: 500 12px/1.3 var(--f-mono); color: var(--dim); text-transform: none; letter-spacing: .02em; }
.dd-col a, .mnav-g a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px; color: var(--ink); }
.dd-col a:hover, .mnav-g a:hover { background: var(--bg-3); }
.dd-col b, .mnav-g b { display: block; font-weight: 650; color: var(--ink); }
.dd-col small, .mnav-g a small { display: block; font-size: 13px; color: #C9CED8; }
.dd-col .pill, .mnav-g .pill { font-size: 11px; padding: 5px 7px; font-style: normal; }
.dd-prove { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 12px; border-top: 1px solid var(--line); color: var(--muted); }
.dd-prove b { font: 700 16px var(--f-head); color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.dd-prove i { margin-left: auto; font-style: normal; color: var(--acc); }
.dd-prove:hover { background: var(--bg-3); color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 10px; font: 600 17px var(--f-body); color: var(--ink); background: none; border: 1px solid var(--line-2); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.menu-btn .bars { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.mnav { margin: 0; padding: 0 var(--gutter) 0; inset: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; border: 0; background: var(--bg); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.mnav[open] { display: block; }
.mnav::backdrop { background: var(--bg); }
html:has(.mnav[open]) { overflow: hidden; }
.mnav-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 76px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mnav-top .brand img { height: 38px; width: auto; }
.menu-close { font: 600 17px var(--f-body); color: var(--ink); background: none; border: 1px solid var(--line-2); padding: 10px 14px; min-height: 44px; cursor: pointer; }
.mnav-g { padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.mnav-g h2 { font: 700 17px/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 6px; }
.mnav-g h2 small { font: 500 13px var(--f-mono); color: var(--dim); text-transform: none; letter-spacing: .02em; margin-left: 6px; }
.mnav-g a { grid-template-columns: 36px 1fr auto; padding: 10px 0; min-height: 56px; }
.mnav-sec { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 20px 0; font-weight: 600; font-size: 18px; }
.mnav-sec a { padding: 8px 0; color: var(--muted); }
.mnav-cta { position: sticky; bottom: 0; padding: 16px 0 max(18px, env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.mnav-cta .btn { justify-content: center; width: 100%; }
.mnav-cta small { text-align: center; color: var(--dim); font-size: 13px; }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: inline-flex; } }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; font: 500 14px var(--f-mono); color: var(--dim); }
.crumb a { color: var(--muted); } .crumb a:hover { color: var(--ink); } .crumb b { color: var(--ink); font-weight: 600; }
.status-line { margin: -16px 0 30px; font-size: 15px; color: var(--muted); border-left: 3px solid var(--acc); padding-left: 12px; }
.sub-h { font-size: clamp(17px, .6vw + 11px, 21px) !important; color: var(--muted); }
.foot-h { font: 600 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 18px; }

/* background FX layer (no text glow) */
.fx { --mx: 50vw; --my: 30vh; --tx: 50vw; --ty: 30vh; position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-spot { position: absolute; inset: 0; background: radial-gradient(680px circle at var(--tx) var(--ty), rgba(255, 108, 47, .075), transparent 62%); }
.fx-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 190, 160, .22) 1px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000, rgba(0,0,0,.25) 50%, transparent 74%); mask-image: radial-gradient(260px circle at var(--mx) var(--my), #000, rgba(0,0,0,.25) 50%, transparent 74%); }
.fx-grain { position: absolute; inset: -50%; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.fx.touch .fx-grid, .fx.touch .fx-grain, .fx.still .fx-grid, .fx.still .fx-spot { display: none; }
.fx.still .fx-grain { animation: none; }

/* textures used by sections */
.hatch { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 14px); }
.hatch-acc { background-image: repeating-linear-gradient(135deg, rgba(255, 108, 47, .14) 0 2px, transparent 2px 12px); }
.dots { background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px); background-size: 22px 22px; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 15%, var(--line-2) 85%, transparent); }

/* sections */
section { position: relative; }
.section { padding-block: clamp(64px, 6vw, 140px); }
.head { max-width: 1100px; margin-bottom: clamp(40px, 4vw, 80px); }
.head .eyebrow { margin-bottom: 22px; }
.head p { font-size: clamp(18px, .8vw + 10px, 23px); max-width: 880px; margin-top: 22px; }

/* hero */
.hero { min-height: min(100svh, 980px); display: grid; align-items: center; padding: 120px 0 64px; overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 110px); align-items: center; }
.hero h1 .line, .p-hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span, .p-hero h1 .line > span { display: inline-block; }
.hero .lede { font-size: clamp(18px, .7vw + 12px, 25px); max-width: 720px; margin: 28px 0 40px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-r { position: absolute; z-index: -1; right: -6vw; top: 50%; width: min(70vw, 1300px); translate: 0 -50%; opacity: .07; pointer-events: none; }
.hero-r path { fill: none; stroke: var(--acc); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 40px; font: 500 15px/1.4 var(--f-mono); }
.hero-meta a { color: var(--muted); border: 1px solid var(--line-2); padding: 8px 12px; }
.hero-meta a:hover { color: var(--ink); border-color: var(--muted); }
.hero-meta b { color: var(--acc-ink); font-weight: 600; margin-right: 6px; }
@media (max-width: 1100px) { .hero .wrap { grid-template-columns: 1fr; } .hero { min-height: auto; padding-top: 130px; } }

/* media frame (video slot) */
.media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.media canvas, .media video, .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .hud { position: absolute; inset: 16px 18px auto 18px; display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); z-index: 2; }
.media .hud b { color: var(--ink); font-weight: 600; }
.media .corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--acc); z-index: 2; }
.media .corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.media .corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.media .corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.media .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: flex; align-items: center; gap: 14px; font: 600 14px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  background: rgba(10, 12, 16, .72); border: 1px solid var(--line-2); padding: 14px 18px; }
.media .play i { width: 0; height: 0; border-left: 14px solid var(--acc); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.media.has-video .play, .media.has-video canvas { display: none; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; padding: 22px 0; animation: marquee 90s linear infinite; }
.marquee span { font: 600 clamp(15px, .5vw + 10px, 19px)/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 8px; height: 8px; background: var(--acc); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* product family */
.family { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.lane { grid-column: span 4; display: grid; gap: 16px; align-content: start; }
.lane-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px 6px; border-bottom: 1px solid var(--line-2); }
.lane-h b { font: 700 clamp(20px, 1.4vw, 30px)/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase; }
.lane-h small { font: 500 13px/1 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.card { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-content: start; padding: clamp(20px, 1.6vw, 32px); background: var(--bg-2); border: 1px solid var(--line-2);
  transition: border-color .25s, background .25s, transform .4s var(--ease); clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.card:hover { border-color: #56607A; background: var(--bg-3); transform: translateY(-3px); }
.card img { width: 72px; height: 72px; }
.card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card .slogan { margin: 6px 0 8px; font-weight: 600; color: var(--acc-ink); font-size: clamp(16px, .9vw, 19px); }
.card p, .principle dd, .fact span { font-size: clamp(15px, .35vw + 9px, 17px); line-height: 1.55; }
.card p { margin: 0; color: var(--muted); }
.card .go { position: absolute; right: 20px; top: 20px; color: var(--dim); transition: color .2s, transform .25s var(--ease); }
.card:hover .go { color: var(--acc); transform: translate(3px, -3px); }
@media (max-width: 1200px) { .lane { grid-column: span 12; } .lane-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; } }
@media (min-width: 1201px) { .lane-cards { display: grid; gap: 16px; grid-auto-rows: 1fr; } }

/* loop diagram */
.loop { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 120px); align-items: center; }
.loop svg { width: 100%; height: auto; }
.loop .ring { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.loop .flow { fill: none; stroke: var(--acc); stroke-width: 2; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.loop .node rect { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.loop .node text { font: 700 22px var(--f-head); fill: var(--ink); letter-spacing: .04em; }
.loop .node .sub { font: 500 14px var(--f-mono); fill: var(--muted); letter-spacing: .02em; }
.loop .node .k { fill: var(--acc); }
.steps-list { display: grid; gap: 10px; }
.steps-list li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps-list .n { font: 700 15px/1 var(--f-mono); color: var(--ink); padding-top: 6px; }
.steps-list h3 { margin-bottom: 6px; }
.steps-list p { margin: 0; }
@media (max-width: 1100px) { .loop { grid-template-columns: 1fr; } }

/* numbers */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.fact { padding: clamp(26px, 2.6vw, 56px) clamp(16px, 1.6vw, 36px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 800 clamp(44px, 4.2vw, 96px)/.9 var(--f-head); letter-spacing: -.04em; color: var(--ink); }
.fact b .u { color: var(--acc); }
.fact b span.u { display: inline; margin: 0; font-size: inherit; color: var(--acc); }
.fact b.nw { white-space: nowrap; font-size: clamp(36px, 3vw, 76px); }
.fact span { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }
.fact small { display: block; margin-top: 6px; font: 500 12px/1.4 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 1100px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact { border-left: 0; border-top: 1px solid var(--line); } }

/* principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principle { padding: clamp(28px, 2.4vw, 52px); background: var(--bg-2); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.principle .idx { font: 700 14px/1 var(--f-mono); color: var(--ink); letter-spacing: .08em; }
.principle h3 { margin: 18px 0 12px; font-size: clamp(22px, 1.5vw, 32px); }
.principle dl { margin: 22px 0 0; display: grid; gap: 10px; }
.principle dt { font: 600 13px/1 var(--f-mono); color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.principle dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .principles { grid-template-columns: 1fr; } }

/* film strip */
.films { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px 24px; align-items: stretch; }
.films figure:first-child { grid-row: span 2; }
.films figure { margin: 0; }
.films figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.films figcaption b { color: var(--ink); }
@media (max-width: 1000px) { .films { grid-template-columns: 1fr; } }

/* product page */
.p-hero { padding: 150px 0 clamp(60px, 6vw, 120px); overflow: hidden; isolation: isolate; }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 4vw, 110px); align-items: center; }
.p-id { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.p-id img { width: 84px; height: 84px; }
.p-id .name { font: 700 clamp(18px, 1vw, 22px)/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.p-hero h1 { font-size: clamp(42px, 4.8vw, 112px); }
.p-hero .lede { font-size: clamp(18px, .7vw + 12px, 24px); color: var(--muted); margin: 26px 0 36px; max-width: 760px; }
@media (max-width: 1100px) { .p-hero .wrap { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: clamp(26px, 2.2vw, 46px); background: var(--bg-2); border: 1px solid var(--line-2); }
.feature .ico { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 22px; }
.feature .ico span { width: 14px; height: 14px; background: var(--acc); clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 0 66%); }
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; font-size: 16px; }
@media (max-width: 1100px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: s; }
.how::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-2); }
.how .bar { position: absolute; left: 0; top: 27px; height: 2px; width: 0; background: var(--acc); transition: width 1.6s var(--ease); }
.how.in .bar { width: 100%; }
.how li { list-style: none; position: relative; padding: 0 28px 0 0; }
.how .dot { width: 56px; height: 56px; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-2); font: 700 16px var(--f-mono); color: var(--ink); position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.how li h3 { margin: 26px 0 10px; }
.how li p { margin: 0; font-size: 16px; }
@media (max-width: 1000px) { .how { grid-template-columns: 1fr; gap: 28px; } .how::before, .how .bar { display: none; } }
.console { background: var(--bg-2); border: 1px solid var(--line-2); font: 500 15px/1.5 var(--f-mono); }
.console .bar-top { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.console .row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console .row:last-child { border-bottom: 0; }
.console .row span { color: var(--ink); font-family: var(--f-body); font-size: 16px; }
.console .row small { color: var(--dim); }
.console .tag { font-weight: 700; font-size: 13px; padding: 5px 9px; letter-spacing: .06em; }
.tag.bad { color: #1A0505; background: var(--bad); }
.tag.ok { color: #04170B; background: var(--ok); }
.tag.mid { color: #160800; background: var(--acc); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 120px); align-items: center; }
@media (max-width: 1100px) { .split { grid-template-columns: 1fr; } }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .related { grid-template-columns: 1fr; } }
.note-draft { display: inline-block; margin-top: 10px; font: 500 12px/1.4 var(--f-mono); color: var(--dim); border: 1px dashed var(--line-2); padding: 6px 9px; }

/* closing CTA */
.closing { padding-block: clamp(70px, 7vw, 160px); }
.closing .panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 100px);
  background: linear-gradient(120deg, #1A0F0A, var(--bg-2) 55%); border: 1px solid #4A2616; clip-path: polygon(0 0, 100% 0, 100% 100%, 44px 100%, 0 calc(100% - 44px)); }
.closing .panel::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 40%; pointer-events: none; opacity: .6; background-image: repeating-linear-gradient(135deg, rgba(255, 108, 47, .12) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.closing p { font-size: clamp(18px, .7vw + 12px, 23px); margin-top: 18px; }
.closing .btn { position: relative; z-index: 1; font-size: 17px; }
@media (max-width: 900px) { .closing .panel { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font: 600 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--dim); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }

/* glow edge for cards (pointer) */
.glow { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; padding: 1px; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(255, 138, 87, .26), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; }
.glow:hover::after { opacity: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.hero .line > span, .p-hero .line > span { transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes rise { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .line > span, .p-hero .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .how .bar { width: 100%; }
  html { scroll-behavior: auto; }
}
/* very wide screens: a little more air and bigger type */
@media (min-width: 2200px) {
  :root { --wrap: min(100vw - 2 * var(--gutter), 2000px); }
  .head { max-width: 1300px; }
  .card p, .feature p, .principle dd, .fact span { font-size: 18px; }
  body { font-size: 20px; }
  .site-header .wrap { height: 92px; }
  .brand img { height: 52px; }
  .hero .wrap, .p-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .card { grid-template-columns: 88px 1fr; }
  .card img { width: 88px; height: 88px; }
}

@media (max-width: 600px) {
  .eyebrow { letter-spacing: .08em; font-size: 12px; }
  .card { grid-template-columns: 48px 1fr; gap: 14px; }
  .card img { width: 48px; height: 48px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .dd-col a, .mnav-g a { grid-template-columns: 36px 1fr; }
  .mnav-g .pill { grid-column: 2; justify-self: start; }
}
.fact b { font-variant-numeric: tabular-nums; }

.dd-col a { grid-template-columns: 40px 1fr; }
.dd-col .pill { grid-column: 2; justify-self: start; margin-top: 2px; }
.dd-col img { grid-row: span 2; align-self: start; }
