/* WB Brokers: design tokens, type, layout primitives, header/footer, shared components.
   Palette is sampled from the approved logo: chrome silver, wave blues, near-black navy. */

:root {
  --ink: #030b16;
  --deep: #061426;
  --navy: #0a2240;
  --line: rgba(160, 190, 220, .16);
  --line-strong: rgba(160, 190, 220, .32);
  --blue-900: #0b3a6b;
  --blue-700: #1172c4;
  --blue-500: #1e9be9;
  --blue-400: #35aaf3;
  --blue-300: #5cc8ff;
  --chrome: #e8edf3;
  --mist: #a9bacd;
  --dim: #7f93a8;
  --paper: #e9eef4;
  --paper-ink: #0a1a2c;
  --paper-dim: #4a5d72;
  --paper-line: rgba(10, 26, 44, .14);

  --f-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --appbar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* beats component display rules */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--chrome);
  font: 400 1.0625rem/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: calc(var(--appbar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue-500); color: #fff; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--blue-400); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, .h-display {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .96; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2rem, 5.2vw, 4.2rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -.02em; line-height: 1.1; font-weight: 800; }
p { text-wrap: pretty; }
.chrome-text {
  background: linear-gradient(180deg, #fff 0%, #dfe6ee 48%, #93a7bd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.blue-text { color: var(--blue-400); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 .72rem/1 var(--f-head); letter-spacing: .3em; text-transform: uppercase; color: var(--blue-300);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--mist); max-width: 40em; text-wrap: pretty; }

.sec-head { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; gap: 20px; justify-items: center; }
.sec-head .eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.sec-head p:not(.eyebrow) { color: var(--mist); font-size: 1.1rem; max-width: 38em; text-wrap: balance; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 2px; text-decoration: none;
  font: 700 .78rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(5px); }
.btn-blue { background: var(--blue-400); color: #02101f; }
.btn-blue:hover { background: var(--blue-300); }
.btn-ghost { border-color: var(--line-strong); color: var(--chrome); }
.btn-ghost:hover { border-color: var(--blue-300); color: var(--blue-300); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue-900); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .7rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.textlink { color: var(--blue-300); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { color: #fff; }

/* ---------- header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head-h); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.site-head.is-solid, .site-head.is-open { background: rgba(3, 11, 22, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-head.is-hidden { transform: translateY(-100%); }
.head-bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; width: clamp(170px, 17vw, 236px); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; text-decoration: none;
  font: 700 .72rem/1 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--chrome); position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; background: var(--blue-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link svg { transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-quiet { font: 700 .7rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--mist); }
.head-quiet:hover { color: var(--blue-300); }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 2px; position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--chrome); }
.burger i:nth-of-type(1) { top: 19px; } .burger i:nth-of-type(2) { top: 27px; }

.mega { position: absolute; left: 0; right: 0; top: var(--head-h); background: rgba(3, 11, 22, .97); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease); }
.mega.is-in { opacity: 1; transform: none; }
.mega-in { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: clamp(28px, 4vw, 64px); padding-block: 40px 48px; }
.mega-label { font: 700 .66rem/1 var(--f-head); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.mega-list a { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.mega-list li:last-child a { border-bottom: 1px solid var(--line); }
.mega-list strong { font: 800 1.02rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.mega-list span { color: var(--dim); font-size: .92rem; line-height: 1.4; }
.mega-list a:hover { padding-left: 12px; } .mega-list a:hover strong { color: var(--blue-300); }
.mega-types a { display: block; padding: 9px 0; text-decoration: none; color: var(--mist); font-weight: 500; }
.mega-types a:hover { color: #fff; }
.mega-all { display: inline-block; margin-top: 14px; color: var(--blue-300); text-decoration: none; font: 700 .7rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
.mega-feature { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; padding: 26px; min-height: 250px; background: var(--deep); border: 1px solid var(--line); text-decoration: none; }
.mega-feature .mega-label { margin: 0; color: var(--blue-300); position: relative; }
.mega-feature strong { position: relative; font: 800 1.18rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.015em; max-width: 17em; }
.mega-feature-go { position: relative; margin-top: auto; font: 700 .7rem/1 var(--f-head); letter-spacing: .16em; text-transform: uppercase; }
.mega-feature-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%; opacity: .55; transition: transform .6s var(--ease); }
.mega-feature:hover .mega-feature-art { transform: translateY(-8px); }

/* ---------- drawer + app bar (mobile) ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(3, 11, 22, .6); opacity: 0; transition: opacity .3s; }
.drawer.is-in { opacity: 1; }
.drawer-in { position: absolute; inset: 0; background: var(--ink); overflow-y: auto; padding: 18px var(--gut) calc(120px + env(safe-area-inset-bottom, 0px)); transform: translateY(24px); transition: transform .4s var(--ease); }
.drawer.is-in .drawer-in { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-top .mega-label { margin: 0; }
.drawer-close { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 2px; }
.drawer nav > .mega-label { margin: 30px 0 8px; }
.drawer-big a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 800 1.45rem/1.1 var(--f-head); text-transform: uppercase; letter-spacing: -.02em; }
.drawer-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.drawer-chips a { display: flex; align-items: center; min-height: 50px; padding: 0 14px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 500; font-size: .95rem; }

.appbar { display: none; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: calc(var(--head-h) + 22px); margin-bottom: -40px; position: relative; z-index: 2; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font: 600 .68rem/1.4 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--blue-300); }
.crumbs + .phero { padding-top: 84px; }

/* ---------- bands ---------- */
.band { padding-block: var(--sec); position: relative; }
.band--deep { background: var(--deep); }
.band--navy { background: linear-gradient(180deg, var(--deep), var(--navy)); }
.band--paper { background: var(--paper); color: var(--paper-ink); }
.band--paper .eyebrow { color: var(--blue-700); }
.band--paper .lede, .band--paper .sec-head p:not(.eyebrow) { color: var(--paper-dim); }
.band--paper .textlink { color: var(--blue-700); } .band--paper .textlink:hover { color: var(--blue-900); }
.band--paper :focus-visible { outline-color: var(--blue-700); }
.band--tight { padding-block: clamp(48px, 6vw, 84px); }

/* ---------- page hero (inner pages) ---------- */
.phero { position: relative; overflow: hidden; padding: calc(var(--head-h) + 70px) 0 clamp(90px, 12vw, 170px); background: radial-gradient(ellipse 70% 60% at 78% 30%, rgba(30, 155, 233, .2), transparent 70%), linear-gradient(180deg, var(--ink), var(--deep)); }
.phero .wrap { position: relative; z-index: 2; display: grid; gap: 26px; }
.phero h1 { max-width: 13em; font-size: clamp(2.3rem, 6.2vw, 5rem); }
.phero-sea { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 10vw, 130px); z-index: 1; }
.phero-hull { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); bottom: clamp(18px, 3.2vw, 46px); width: min(40vw, 540px); z-index: 1; opacity: .9; animation: bob 7s ease-in-out infinite; }
.phero-sea path + path { transform: translateY(24px); }
.phero-hull { color: var(--blue-300); }
.phero h1 .blue-text, .cta-band h2 .blue-text { display: block; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(7px) rotate(.6deg); } }

/* ---------- spec strip ---------- */
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--line); background: rgba(6, 20, 38, .6); }
.spec > div { padding: 22px 24px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.spec > div:last-child { border-right: 0; }
.spec dt { font: 700 .64rem/1 var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: var(--blue-300); }
.spec dd { font: 800 1.02rem/1.25 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.band--paper .spec { background: #fff; border-color: var(--paper-line); } .band--paper .spec > div { border-color: var(--paper-line); } .band--paper .spec dt { color: var(--blue-700); }

/* ---------- long-form prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-top: 2.2em; text-align: left; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2em; }
.prose ul, .prose ol { display: grid; gap: .6em; padding-left: 1.3em; }
.prose ul { list-style: square; } .prose ol { list-style: decimal; }
.prose li::marker { color: var(--blue-500); font-weight: 700; }
.prose a { color: var(--blue-300); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.band--paper .prose a { color: var(--blue-700); }
.prose strong { font-weight: 600; }
.prose-wide { max-width: 980px; margin-inline: auto; }
.prose + .prose-wide, .prose-wide + .prose, .prose-wide + .prose-wide { margin-top: 2.6em; }

.callout { position: relative; margin-block: 2.4em; padding: 28px 30px 30px 34px; background: rgba(30, 155, 233, .09); border-left: 3px solid var(--blue-400); }
.callout > * + * { margin-top: .8em; }
.callout-label { font: 700 .66rem/1 var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: var(--blue-300); }
.callout--warn { background: rgba(255, 176, 64, .08); border-color: #ffb040; } .callout--warn .callout-label { color: #ffc46b; }
.band--paper .callout { background: #fff; box-shadow: 0 1px 0 var(--paper-line); } .band--paper .callout-label { color: var(--blue-700); }
.band--paper .callout--warn { background: #fff8ea; } .band--paper .callout--warn .callout-label { color: #8a5200; }

.pull { margin-block: 2.6em; padding-block: 1.4em; border-block: 1px solid var(--line-strong); font: 800 clamp(1.4rem, 3vw, 2.2rem)/1.12 var(--f-head); text-transform: uppercase; letter-spacing: -.025em; text-wrap: balance; text-align: center; }
.band--paper .pull { border-color: var(--paper-line); }

/* ---------- comparison table ---------- */
.ctable { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.ctable table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .98rem; }
.ctable caption { text-align: left; padding: 16px 20px; font: 700 .66rem/1.4 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.ctable th, .ctable td { padding: 17px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ctable tr:last-child > * { border-bottom: 0; }
.ctable thead th { font: 800 .76rem/1.3 var(--f-head); letter-spacing: .12em; text-transform: uppercase; background: rgba(6, 20, 38, .9); }
.ctable tbody th { font-weight: 600; color: var(--mist); width: 26%; }
.ctable .is-us { background: rgba(30, 155, 233, .12); color: #fff; font-weight: 500; }
.ctable thead .is-us { color: var(--blue-300); box-shadow: inset 0 3px 0 var(--blue-400); }
.band--paper .ctable, .band--paper .ctable th, .band--paper .ctable td, .band--paper .ctable caption { border-color: var(--paper-line); }
.band--paper .ctable { background: #fff; } .band--paper .ctable thead th { background: var(--paper-ink); color: #fff; }
.band--paper .ctable tbody th { color: var(--paper-dim); } .band--paper .ctable .is-us { background: #e2f1fd; color: var(--paper-ink); } .band--paper .ctable thead .is-us { background: var(--blue-900); color: #fff; }
.ctable-hint { display: none; margin-top: 10px; font-size: .8rem; color: var(--dim); }

/* ---------- decision matrix ---------- */
.matrix { display: grid; border: 1px solid var(--line); }
.matrix > div { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.25fr); align-items: center; border-bottom: 1px solid var(--line); }
.matrix > div:last-child { border-bottom: 0; }
.matrix p { padding: 20px 24px; }
.matrix .if { color: var(--mist); } .matrix .if b { display: block; font: 700 .64rem/1 var(--f-head); letter-spacing: .24em; color: var(--dim); margin-bottom: 6px; }
.matrix .then b { display: block; font: 700 .64rem/1 var(--f-head); letter-spacing: .24em; color: var(--blue-300); margin-bottom: 6px; }
.matrix i { font-style: normal; color: var(--blue-400); text-align: center; font-size: 1.3rem; }
.band--paper .matrix, .band--paper .matrix > div { border-color: var(--paper-line); } .band--paper .matrix { background: #fff; }
.band--paper .matrix .if { color: var(--paper-dim); } .band--paper .matrix .then b { color: var(--blue-700); }

/* ---------- numbered checks ---------- */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: chk; }
.checks > li { background: var(--deep); padding: 30px 28px 32px; display: grid; gap: 12px; align-content: start; counter-increment: chk; }
.checks > li::before { content: counter(chk, decimal-leading-zero); font: 900 .8rem/1 var(--f-head); letter-spacing: .2em; color: var(--blue-400); }
.checks p { color: var(--mist); font-size: .98rem; line-height: 1.6; }
.band--paper .checks { background: var(--paper-line); border-color: var(--paper-line); } .band--paper .checks > li { background: #fff; } .band--paper .checks p { color: var(--paper-dim); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; counter-reset: stp; max-width: 900px; margin-inline: auto; }
.steps > li { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); counter-increment: stp; }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(stp, decimal-leading-zero); font: 900 clamp(2.4rem, 5vw, 3.6rem)/.9 var(--f-head); color: transparent; -webkit-text-stroke: 1px var(--blue-400); }
.steps h3 { margin-bottom: 10px; } .steps p { color: var(--mist); }
.band--paper .steps > li { border-color: var(--paper-line); } .band--paper .steps p { color: var(--paper-dim); } .band--paper .steps > li::before { -webkit-text-stroke-color: var(--blue-700); }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center; padding: 26px 0; font: 800 clamp(1.02rem, 1.7vw, 1.3rem)/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; background: linear-gradient(var(--blue-400), var(--blue-400)) center/16px 2px no-repeat, linear-gradient(var(--blue-400), var(--blue-400)) center/2px 16px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--blue-300); }
.faq .faq-a { padding: 0 48px 28px 0; color: var(--mist); display: grid; gap: 1em; }
.faq .faq-a a { color: var(--blue-300); }
.band--paper .faq, .band--paper .faq details { border-color: var(--paper-line); } .band--paper .faq .faq-a { color: var(--paper-dim); } .band--paper .faq .faq-a a { color: var(--blue-700); } .band--paper .faq summary:hover { color: var(--blue-700); }

/* ---------- related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.related a { background: var(--ink); padding: 30px 28px; text-decoration: none; display: grid; gap: 10px; grid-template-rows: auto 1fr auto; transition: background .3s; }
.related a:hover { background: var(--navy); }
.related small { font: 700 .62rem/1 var(--f-head); letter-spacing: .26em; text-transform: uppercase; color: var(--blue-300); }
.related strong { font: 800 1.12rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: -.015em; }
.related span { color: var(--dim); font-size: .94rem; line-height: 1.5; }

/* ---------- final CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 12vw, 170px) clamp(150px, 18vw, 250px); background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(30, 155, 233, .25), transparent 70%), var(--deep); }
.cta-band .wrap { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: center; }
.cta-band p:not(.eyebrow) { color: var(--mist); max-width: 34em; font-size: 1.12rem; }
.cta-band .cta-row { justify-content: center; }
.cta-sea { position: absolute; left: 0; bottom: 0; width: 200%; height: clamp(90px, 12vw, 170px); animation: drift 30s linear infinite; }
.cta-sea + .cta-sea { animation-duration: 19s; animation-direction: reverse; height: clamp(60px, 8vw, 120px); }
@keyframes drift { to { transform: translateX(-50%); } }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field legend { font: 700 .68rem/1.3 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--mist); padding: 0; }
.field small { color: var(--dim); font-size: .84rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 2px; font: 400 1rem/1.4 var(--f-body);
  color: #fff; background: rgba(3, 11, 22, .7); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%235cc8ff' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-300); box-shadow: 0 0 0 3px rgba(92, 200, 255, .2); }
.field input::placeholder, .field textarea::placeholder { color: #64788e; }
.err { display: none; color: #ff9d8a; font-size: .86rem; }
.field.is-bad .err, fieldset.is-bad .err { display: block; }
.field.is-bad input, .field.is-bad select { border-color: #ff9d8a; }
.hp { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { color: var(--dim); font-size: .86rem; } .form-note a { color: var(--mist); }
.form-status { padding: 16px 18px; border-left: 3px solid var(--blue-400); background: rgba(30, 155, 233, .1); }
.form-status.is-err { border-color: #ff9d8a; background: rgba(255, 120, 90, .1); }
.panel { background: rgba(6, 20, 38, .82); border: 1px solid var(--line-strong); padding: clamp(24px, 3.6vw, 44px); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice span { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; height: 100%; padding: 12px 16px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .96rem; line-height: 1.25; transition: background .2s, border-color .2s; }
.choice span small { font-weight: 400; color: var(--dim); font-size: .8rem; }
.choice input:hover + span { border-color: var(--blue-300); }
.choice input:checked + span { background: var(--blue-400); border-color: var(--blue-400); color: #02101f; } .choice input:checked + span small { color: #0b3a6b; }
.choice input:focus-visible + span { outline: 2px solid var(--blue-300); outline-offset: 3px; }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--ink); padding-top: 90px; }
.foot-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 90px; transform: scaleY(-1); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: clamp(28px, 4vw, 64px); padding-block: 60px 70px; }
.foot-brand img { width: 250px; } .foot-brand p { color: var(--dim); font-size: .95rem; margin: 20px 0 24px; max-width: 30em; }
.foot-col h2 { font: 700 .66rem/1 var(--f-head); letter-spacing: .28em; color: var(--blue-300); margin-bottom: 20px; }
.foot-col li + li { margin-top: 11px; } .foot-col a { text-decoration: none; color: var(--mist); font-size: .96rem; } .foot-col a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; padding-block: 24px 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: .84rem; }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 22px; } .foot-base a { text-decoration: none; } .foot-base a:hover { color: #fff; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .head-quiet { display: none; }
  .nav-link { padding: 0 10px; letter-spacing: .14em; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; --appbar-h: 66px; }
  .main-nav, .head-actions .btn { display: none; }
  .burger { display: block; }
  .head-actions { margin-left: auto; }
  .brand { width: 168px; }
  .appbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(3, 11, 22, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-strong);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .appbar a, .appbar button { display: grid; justify-items: center; align-content: center; gap: 5px; height: var(--appbar-h); text-decoration: none; font: 700 .58rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
  .appbar a:first-child { background: var(--blue-400); color: #02101f; }
  .appbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .phero-hull { width: 78vw; right: -8vw; opacity: .35; }
  .steps > li { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .matrix > div { grid-template-columns: 1fr; } .matrix i { display: none; } .matrix .if { padding-bottom: 0; } .matrix .then { padding-top: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .ctable-hint { display: block; }
  .faq .faq-a { padding-right: 0; }
  .spec > div { border-right: 0; border-bottom: 1px solid var(--line); } .spec > div:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; } .cta-row { width: 100%; } .btn-sm { width: auto; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
