/* Space Coast Parts design system v3 */

:root {
  --bg: #F6F6F3;
  --bg-2: #FFFFFF;
  --bg-3: #EFEFEB;
  --bg-4: #E4E5E0;
  --fg: #0B0D10;
  --fg-2: #454B55;
  --fg-3: #626873;
  --line: rgba(11,13,16,0.10);
  --line-2: rgba(11,13,16,0.18);
  --grid: rgba(11,13,16,0.05);
  --accent: #FF5B14;
  --accent-2: #E04A0A;
  --accent-ink: #B93D0A;
  --on-accent: #0A0A0A;
  --danger: #B42318;
  --ok: #4ADE80;
  --amber: #FACC15;

  --f-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;

  /* compatibility aliases for admin and inline styles */
  --t1: var(--fg); --t2: var(--fg-2); --t3: var(--fg-3);
  --gold: var(--accent); --ink-800: var(--bg-3); --ink-600: var(--bg-4);
  --font-mono: var(--f-body); --font-display: var(--f-display);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--fg); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent-ink); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container, .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--fg-3); }
.mono { font-variant-numeric: tabular-nums; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: -0.005em; color: var(--fg); }
h1 { font-size: clamp(52px, 8.4vw, 148px); line-height: 0.9; }
h2 { font-size: clamp(40px, 5.2vw, 88px); line-height: 0.94; }
h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.05; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.eyebrow b { color: var(--accent-ink); font-weight: 600; }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--fg-2); max-width: 640px; }
.accent { color: var(--accent-ink); }

/* Buttons */
.btn { --x: 0px; --y: 0px; position: relative; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--f-body); letter-spacing: 0.02em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transform: translate(var(--x), var(--y)); transition: transform .5s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fg); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: #FFFFFF; }
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: var(--bg); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-plain .arr { display: none; }

/* Header */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-head.scrolled { background: rgba(246,246,243,0.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.site-head.hidden { transform: translateY(-100%); }
.site-head .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.brand:hover { color: var(--fg); }
.brand svg { width: 28px; height: 28px; }
.brand b { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-item > button { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; background: none; border: 0; color: var(--fg-2); font: 500 15px var(--f-body); text-decoration: none; cursor: pointer; transition: color .25s; }
.nav > a:hover, .nav-item > button:hover, .nav-item.open > button { color: var(--fg); }
.nav-item { position: relative; }
.nav-item > button svg { width: 10px; transition: transform .3s var(--ease); }
.nav-item.open > button svg { transform: rotate(180deg); }
.nav .btn { margin-left: 12px; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: 640px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(11,13,16,0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega .col-label { grid-column: 1 / -1; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin: 8px 0; }
.mega a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; color: var(--fg); text-decoration: none; transition: background .2s; }
.mega a:hover { background: var(--bg-3); color: var(--fg); }
.mega a b { display: block; font-weight: 600; font-size: 15px; }
.mega a span { display: block; font-size: 13px; color: var(--fg-3); line-height: 1.4; margin-top: 2px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: none; color: var(--fg); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i:first-child { top: 17px; } .menu-btn i:last-child { top: 25px; }
.menu-open .menu-btn i:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn i:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: 112px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); overflow-y: auto; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--f-display); font-size: 44px; font-weight: 600; text-transform: uppercase; line-height: 1.1; color: var(--fg); text-decoration: none; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; font-family: var(--f-body); font-size: 15px; text-transform: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 56px; overflow: hidden; background: radial-gradient(120% 80% at 75% 35%, #1A1D23 0%, var(--bg) 60%); }
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100% !important; height: 100% !important; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8,9,11,0) 40%, rgba(8,9,11,0.85) 100%), linear-gradient(90deg, rgba(8,9,11,0.75) 0%, rgba(8,9,11,0) 55%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 12ch; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 32px; align-items: end; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-foot div b { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 600; text-transform: uppercase; line-height: 1; }
.hero-foot div span { display: block; margin-top: 6px; font-size: 14px; color: var(--fg-2); }
.scroll-cue { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.line-mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line-mask > span { display: block; }

/* Ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 40px; padding: 26px 20px; font-family: var(--f-display); font-size: 30px; font-weight: 500; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.ticker span::after { content: ''; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: clamp(96px, 12vw, 180px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head h2 { margin-top: 20px; }
.section-head p { margin: 0; font-size: 19px; color: var(--fg-2); max-width: 560px; justify-self: end; }

/* Capabilities reel */
.reel { position: relative; overflow: hidden; }
.reel-track { display: flex; gap: 20px; padding: 0 var(--gutter); will-change: transform; }
.reel-card { position: relative; flex: 0 0 clamp(320px, 34vw, 520px); min-height: 520px; padding: 36px; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; color: var(--fg); text-decoration: none; overflow: hidden; transition: border-color .4s, background .4s; }
.reel-card:hover { border-color: var(--fg); background: var(--bg-2); color: var(--fg); box-shadow: 0 18px 40px rgba(11,13,16,0.08); }
.reel-card .idx { font-family: var(--f-display); font-size: 18px; color: var(--accent-ink); font-weight: 600; }
.reel-card .art { flex: 1; display: grid; place-items: center; margin: 24px 0; }
.reel-card .art svg { width: 70%; max-width: 240px; height: auto; stroke: var(--fg-2); fill: none; stroke-width: 1.2; transition: stroke .4s, transform .8s var(--ease); }
.reel-card:hover .art svg { stroke: var(--accent-ink); transform: scale(1.04) rotate(-2deg); }
.reel-card h3 { font-size: 34px; }
.reel-card p { margin: 12px 0 0; color: var(--fg-2); font-size: 16px; line-height: 1.5; }
.reel-card .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.reel-card .go svg { width: 16px; transition: transform .4s var(--ease); }
.reel-card:hover .go svg { transform: translateX(6px); }
.reel-progress { height: 2px; margin: 48px var(--gutter) 0; background: var(--line); position: relative; }
.reel-progress i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Process */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); }
.process-sticky { position: sticky; top: 140px; align-self: start; }
.process-sticky p { margin-top: 24px; color: var(--fg-2); font-size: 19px; max-width: 460px; }
.steps { position: relative; padding-left: 40px; }
.steps::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.steps .bar { position: absolute; left: 7px; top: 8px; width: 1px; height: 0; background: var(--accent); }
.step { position: relative; padding: 0 0 72px; opacity: .35; transition: opacity .6s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.on { opacity: 1; }
.step::before { content: ''; position: absolute; left: -40px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .4s, border-color .4s; }
.step.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(255,91,20,0.15); }
.step small { display: block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.step h3 { margin-top: 10px; font-size: clamp(30px, 3vw, 48px); }
.step p { margin: 14px 0 0; color: var(--fg-2); font-size: 18px; max-width: 560px; }

/* Assurance figures */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.figure { padding: 40px 32px 0 0; }
.figure + .figure { padding-left: 32px; border-left: 1px solid var(--line); }
.figure b { display: block; font-family: var(--f-display); font-size: clamp(64px, 8vw, 128px); font-weight: 600; line-height: .9; color: var(--fg); }
.figure b em { font-style: normal; color: var(--accent-ink); }
.figure h3 { margin-top: 20px; font-size: 24px; }
.figure p { margin: 10px 0 0; color: var(--fg-2); font-size: 16px; max-width: 340px; }

/* Dual audience */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { position: relative; min-height: 520px; padding: clamp(32px, 4vw, 56px); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line); isolation: isolate; }
.panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 80% 10%, rgba(255,91,20,0.22), transparent 60%); opacity: .5; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.panel:hover::before { opacity: 1; transform: scale(1.1); }
.panel.alt::before { background: radial-gradient(80% 70% at 20% 10%, rgba(60,110,220,0.12), transparent 60%); }
.panel .tag { position: absolute; top: clamp(32px, 4vw, 56px); left: clamp(32px, 4vw, 56px); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.panel h2 { font-size: clamp(40px, 4.4vw, 72px); }
.panel p { margin: 16px 0 0; color: var(--fg-2); max-width: 460px; font-size: 18px; }
.panel ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 15px; color: var(--fg-2); }
.panel li { display: flex; gap: 10px; align-items: baseline; }
.panel li::before { content: ''; width: 6px; height: 6px; flex: 0 0 auto; background: var(--accent); transform: rotate(45deg) translateY(-2px); }
.panel .btn { margin-top: 32px; align-self: flex-start; }
.panel:hover { color: var(--fg); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 120px); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 28px 0; font-family: var(--f-display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; text-transform: uppercase; line-height: 1.1; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::after { content: ''; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: linear-gradient(var(--fg), var(--fg)) center/12px 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center/1.5px 12px no-repeat; transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); border-color: var(--accent); background-color: var(--accent); }
.faq .ans { overflow: hidden; }
.faq .ans p, .faq details > p { margin: 0; padding: 0 64px 32px 0; color: var(--fg-2); font-size: 17px; }

/* CTA */
.cta { position: relative; padding: clamp(120px, 14vw, 220px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta::before { content: ''; position: absolute; right: -10%; bottom: -60%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,91,20,0.25), transparent 60%); filter: blur(20px); pointer-events: none; }
.cta h2 { font-size: clamp(56px, 10vw, 180px); line-height: .88; max-width: 11ch; }
.cta .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; position: relative; }
.cta p { color: var(--fg-2); max-width: 420px; font-size: 18px; margin: 0 0 24px; }

/* Footer */
.site-foot { padding: 96px 0 32px; border-top: 1px solid var(--line); background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--fg-2); font-size: 15px; max-width: 360px; margin: 20px 0 0; }
.foot-grid h4 { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--fg-3); margin-bottom: 16px; }
.foot-grid a:not(.brand) { display: block; padding: 6px 0; color: var(--fg-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.foot-grid a:not(.brand):hover { color: var(--fg); }
.wordmark { margin-top: 96px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 13.2vw, 220px); line-height: .8; letter-spacing: -0.01em; color: var(--bg-3); white-space: nowrap; overflow: hidden; user-select: none; }
.foot-fine { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }

/* Inner pages */
.page-head { position: relative; padding: 180px 0 80px; border-bottom: 1px solid var(--line); overflow: hidden; background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.page-head h1 { font-size: clamp(44px, 6.4vw, 104px); max-width: 16ch; margin-top: 24px; }
.page-head .lede { margin-top: 28px; }
.page-head .hero-actions { margin-top: 36px; }
.crumbs { font-size: 14px; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.article { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(40px, 6vw, 120px); padding: clamp(64px, 8vw, 120px) 0; }
.toc { position: sticky; top: 120px; align-self: start; }
.toc .label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.toc a { display: block; padding: 9px 0 9px 16px; border-left: 1px solid var(--line-2); color: var(--fg-3); font-size: 14px; line-height: 1.35; text-decoration: none; transition: color .25s, border-color .25s; }
.toc a:hover { color: var(--fg); }
.toc a.on { color: var(--fg); border-left-color: var(--accent); }
.prose { max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--fg-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(32px, 3vw, 48px); line-height: 1; margin: 72px 0 20px; scroll-margin-top: 110px; }
.prose h3 { font-size: 26px; margin: 40px 0 12px; }
.prose p { margin: 0 0 20px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 24px; }
.prose li { margin: 8px 0; padding-left: 4px; }
.prose li::marker { color: var(--accent-ink); }
.prose a { color: var(--fg); }
.prose .table-wrap { overflow-x: auto; margin: 32px 0; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th { text-align: left; padding: 14px 16px; background: var(--bg-3); color: var(--fg); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.prose td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.prose .faq summary { font-size: 22px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0 !important; list-style: none; }
.related li { margin: 0; padding: 0; }
.related li::marker { content: none; }
.related a { background: var(--bg-2); display: block; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--fg); font-weight: 600; font-size: 16px; line-height: 1.35; transition: border-color .3s, background .3s; }
.related a:hover { border-color: var(--fg); background: var(--bg-2); color: var(--fg); box-shadow: 0 12px 30px rgba(11,13,16,0.07); }
.sources { font-size: 14px; }
.sources a { color: var(--fg-2); word-break: break-word; }

/* Forms */
.form-layout { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(40px, 6vw, 96px); padding: clamp(64px, 8vw, 112px) 0; }
fieldset { border: 0; padding: 0; margin: 0 0 64px; min-width: 0; }
legend { width: 100%; padding: 0 0 20px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); }
legend .eyebrow { display: block; margin-bottom: 10px; color: var(--accent-ink); }
legend h2 { font-size: clamp(30px, 3vw, 44px); }
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--fg); }
.req { color: var(--accent-ink); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], select, textarea { width: 100%; height: 56px; padding: 0 18px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; color: var(--fg); font: 400 16px var(--f-body); transition: border-color .25s, background .25s, box-shadow .25s; }
textarea { height: auto; min-height: 180px; padding: 16px 18px; line-height: 1.55; resize: vertical; }
input::placeholder, textarea::placeholder { color: #737983; }
input:hover, select:hover, textarea:hover { border-color: rgba(11,13,16,0.34); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-3); box-shadow: 0 0 0 4px rgba(255,91,20,0.15); }
input[type=date] { color-scheme: light; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%230B0D10' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
select option { background: var(--bg-2); color: var(--fg); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--fg-2); font-size: 15px; line-height: 1.45; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.check:hover { border-color: var(--line-2); color: var(--fg); }
.check:has(input:checked) { border-color: var(--fg); background: #FFFFFF; color: var(--fg); box-shadow: inset 3px 0 0 var(--accent); }
.check input { appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--fg-3); border-radius: 6px; display: grid; place-items: center; transition: border-color .2s, background .2s; cursor: pointer; }
.check input[type=radio] { border-radius: 50%; }
.check input:checked { border-color: var(--fg); background: var(--fg); }
.check input:checked::after { content: ''; width: 9px; height: 5px; border: 2px solid #FFFFFF; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input[type=radio]:checked::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: #FFFFFF; transform: none; }
.radio-rows { display: grid; gap: 10px; }
.radio-rows strong { display: block; color: var(--fg); font-weight: 600; margin-bottom: 2px; }
.err { display: none; margin-top: 8px; font-size: 14px; color: var(--danger); font-weight: 500; }
.field.has-err .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--danger); }
.upload-zone { padding: 28px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--bg-2); transition: border-color .3s, opacity .3s; }
.upload-zone:not(.locked):hover { border-color: var(--accent); }
.upload-zone.locked { opacity: .55; }
.upload-zone input[type=file] { color: var(--fg-2); font: 400 15px var(--f-body); }
.upload-zone input[type=file]::file-selector-button { margin-right: 16px; height: 40px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-3); color: var(--fg); font: 600 14px var(--f-body); cursor: pointer; }
.upload-note { margin-top: 14px; font-size: 14px; color: var(--accent-ink); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; margin-top: 16px; color: var(--danger); font-weight: 500; }
.aside-sticky { position: sticky; top: 120px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.aside-sticky h3 { font-size: 28px; margin-bottom: 8px; }
.aside-list { list-style: none; margin: 0; padding: 0; counter-reset: a; }
.aside-list li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); color: var(--fg-2); font-size: 15px; counter-increment: a; }
.aside-list li:last-child { border-bottom: 0; }
.aside-list li::before { content: counter(a); position: absolute; left: 0; top: 18px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-4); color: var(--fg); font-size: 13px; font-weight: 600; }
.aside-list li b { display: block; color: var(--fg); margin-bottom: 4px; }
.done-panel { padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line-2); border-top: 3px solid var(--accent); border-radius: 16px; background: #FFFFFF; }
.done-panel h2 { font-size: clamp(36px, 4vw, 60px); }

/* Reveal initial state (JS only) */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js.reduced [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .scroll-cue i::after { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .section-head, .process, .faq-wrap, .form-layout, .article, .dual { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .process-sticky, .aside-sticky { position: static; }
  .toc { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-head .container { height: 68px; }
  .hero { padding-top: 120px; }
  .hero-foot { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
  .scroll-cue { display: none; }
  .reel-track { flex-direction: column; }
  .reel-card { flex-basis: auto; min-height: 0; }
  .reel-card .art { display: none; }
  .reel-progress { display: none; }
  .figures { grid-template-columns: 1fr; }
  .figure + .figure { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 40px; }
  .panel { min-height: 460px; }
  .panel ul, .grid-2, .checks { grid-template-columns: 1fr; }
  .faq .ans p, .faq details > p { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-head { padding: 140px 0 56px; }
  .prose { font-size: 17px; }
}

/* Library list on home */
.lib-list { border-top: 1px solid var(--line-2); }
.lib-row { display: grid; grid-template-columns: 80px 1.2fr 2fr 48px; gap: 24px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line-2); color: var(--fg); text-decoration: none; transition: padding .5s var(--ease), color .3s; }
.lib-row .n { font-family: var(--f-display); font-size: 20px; color: var(--accent-ink); }
.lib-row h3 { font-size: clamp(30px, 3.2vw, 52px); }
.lib-row p { margin: 0; color: var(--fg-2); }
.lib-row .go { justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.lib-row .go .arr { width: 18px; height: 18px; }
.lib-row:hover { padding-left: 16px; color: var(--fg); }
.lib-row:hover .go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }

/* NDA signing */
.nda-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.nda-doc { max-height: 640px; overflow: auto; padding: 36px 40px; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; color: #1B1D21; font-size: 15px; line-height: 1.65; }
.nda-doc h2 { color: #0A0A0A; font-size: 24px; margin-bottom: 16px; }
.nda-doc p { margin: 0 0 12px; }
.nda-doc b { color: #0A0A0A; }
.nda-doc mark { background: rgba(255,91,20,0.18); color: #0A0A0A; padding: 0 3px; border-radius: 3px; }
.nda-form { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); position: sticky; top: 110px; }
.nda-form h3 { font-size: 26px; margin-bottom: 16px; }
.sigtabs { display: flex; margin: 8px 0 14px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.sigtabs button { flex: 1; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--fg-2); font: 600 13px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.sigtabs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.typed { min-height: 56px; margin-top: 8px; padding: 8px 4px; border-bottom: 1px solid var(--line-2); font: italic 32px 'Times New Roman', Georgia, serif; color: var(--fg); white-space: nowrap; overflow: hidden; }
canvas.pad { width: 100%; height: 160px; border-radius: 12px; border: 1px dashed var(--line-2); background: #FFFFFF; touch-action: none; cursor: crosshair; }
.padbar { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--fg-3); }
.padbar button { background: none; border: 0; color: var(--accent-ink); font-weight: 600; cursor: pointer; }
.consent { margin: 16px 0 20px; }
.nda-form .btn { width: 100%; justify-content: center; }
.nda-err { min-height: 1.2em; margin: 12px 0 0; color: var(--danger); font-weight: 500; font-size: 14px; }
@media (max-width: 1100px) { .nda-grid { grid-template-columns: 1fr; } .nda-form { position: static; } .nda-doc { max-height: 420px; } .lib-row { grid-template-columns: 48px 1fr 40px; } .lib-row p { display: none; } }

/* Nav CTA keeps its button styling */
.nav > a.btn { height: 44px; padding: 0 20px; margin-left: 16px; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.nav > a.btn:hover { color: var(--on-accent); }
.wordmark { font-size: clamp(48px, 10.6vw, 184px); }
.mobile-menu a.btn, .mobile-menu a.btn:hover { color: var(--on-accent); font-family: var(--f-body); font-size: 15px; text-transform: none; line-height: 1; }


/* ---- Dark scopes: hero, footer, CTA bands and admin keep the brand's dark ground ---- */
.dark, .theme-dark {
  --bg: #08090B; --bg-2: #0E1013; --bg-3: #15181D; --bg-4: #1C2026;
  --fg: #F2F1EC; --fg-2: #AEB2B9; --fg-3: #8B909A;
  --line: rgba(242,241,236,0.10); --line-2: rgba(242,241,236,0.20);
  --accent-ink: #FF7A3D; --danger: #FF8A7A;
  --t1: var(--fg); --t2: var(--fg-2); --t3: var(--fg-3); --gold: var(--accent); --ink-800: var(--bg-3); --ink-600: var(--bg-4);
  color: var(--fg);
}
.site-foot.dark, .cta.dark, .theme-dark { background-color: var(--bg); }
.dark .btn:hover, .theme-dark .btn:hover { color: var(--on-accent); }
.dark .btn::before, .theme-dark .btn::before { background: #F2F1EC; }
.dark .btn-ghost:hover { color: #0A0A0A; }
.theme-dark input[type=date] { color-scheme: dark; }
.theme-dark select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23F2F1EC' stroke-width='1.5'/%3E%3C/svg%3E"); }
.theme-dark .check input:checked { border-color: var(--accent); background: var(--accent); }
.theme-dark .check input:checked::after { border-color: #0A0A0A; }
.theme-dark .check:has(input:checked) { background: rgba(255,91,20,0.08); box-shadow: none; border-color: var(--accent); }
.theme-dark input::placeholder, .theme-dark textarea::placeholder { color: #8A8F98; }
.site-foot.dark .wordmark { color: #1A1D22; overflow: visible; }
.lib-row:hover .go { color: #0A0A0A; }
.reel-card, .panel, .aside-sticky, .nda-form, .related a { box-shadow: 0 1px 0 rgba(11,13,16,0.04); }
/* Header sits over the dark hero on the home page until it scrolls */
.home .site-head:not(.scrolled) { --fg: #F2F1EC; --fg-2: #C9CCD2; --line-2: rgba(242,241,236,0.24); }
.home .site-head:not(.scrolled) .brand { color: #F2F1EC; }
.home .site-head:not(.scrolled) .menu-btn { color: #F2F1EC; }
.home .site-head:not(.scrolled) .mega { --fg: #0B0D10; --fg-2: #454B55; --fg-3: #626873; }
.hero.dark { background-color: #08090B; }
.home .site-head:not(.scrolled) { background-color: #08090B; }

/* ---- Frictionless pass: calm hovers, native scroll, everything visible ---- */
.btn { transform: none; transition: background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn::before, .dark .btn::before, .theme-dark .btn::before { display: none; }
.btn:hover, .nav > a.btn:hover, .dark .btn:hover, .theme-dark .btn:hover { background: var(--accent-2); color: var(--on-accent); }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost:hover { background: rgba(11,13,16,0.05); color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.dark .btn-ghost:hover { background: rgba(242,241,236,0.08); color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.cta.dark .btn:hover { color: var(--on-accent); }
.js [data-reveal] { opacity: 1; transform: none; }
.step { opacity: 1; }
.step::before { background: var(--accent); border-color: var(--accent); }
.steps .bar { display: none; }
.reel { overflow: visible; }
.reel-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: var(--max); margin: 0 auto; will-change: auto; }
.reel-card { flex: none; min-height: 420px; padding: 28px; }
.reel-card h3 { font-size: 28px; }
.reel-card .art { margin: 16px 0; }
.reel-card .art svg { max-width: 150px; }
.reel-progress { display: none; }
@media (max-width: 1100px) { .reel-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .reel-track { grid-template-columns: 1fr; } .reel-card { min-height: 0; } }

/* Optional quote details */
.more-detail { margin: 8px 0 40px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); }
.more-detail > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-weight: 600; }
.more-detail > summary::-webkit-details-marker { display: none; }
.more-detail > summary span { font-weight: 400; color: var(--fg-3); font-size: 14px; }
.more-detail > summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--fg-2); }
.more-detail[open] > summary::after { content: '-'; }
.more-detail > .inner { padding: 4px 20px 20px; }
.more-detail fieldset { margin-bottom: 24px; }
