/* Layout: sectional-chart canvas in the brand's navy, steel blue and turquoise (from the logo's feathers). A faint lat/long grid behind a 1200px column; a turquoise course line is the signature. Product photos sit on light plates in both themes. */
:root {
  --paper: #f3f6f8;
  --paper-2: #e6edf2;
  --ink: #18314f;
  --ink-2: #4b5f75;
  --rule: #cdd8e1;
  --blue: #2978a0;
  --accent: #2ec4b6;
  --accent-ink: #1f7f9e;
  --on-accent: #18314f;
  --navy: #18314f;
  --on-navy: #f3f6f8;
  --plate: #fafbfc;
  --plate-ink: #18314f;
  --grid: rgba(41, 120, 160, 0.09);
  --frost: rgba(240, 244, 246, 0.55);
  --shadow: 0 1px 0 rgba(24, 49, 79, 0.06), 0 12px 32px -18px rgba(24, 49, 79, 0.4);
  --pin-glow: rgba(46, 196, 182, 0.35);

  --f-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --s-1: clamp(2.4rem, 1.3rem + 4.4vw, 5rem);
  --s-2: clamp(1.8rem, 1.25rem + 2.2vw, 2.9rem);
  --s-3: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem);
  --s-4: 1.125rem;
  --s-5: 1rem;
  --s-6: 0.8125rem;

  --max: 1200px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1a2b; --paper-2: #122337; --ink: #e8eef3; --ink-2: #9fb1c3; --rule: #23405f;
    --blue: #5fa8d3; --accent: #2ec4b6; --accent-ink: #4fd6c9; --on-accent: #0d1a2b;
    --navy: #122a45; --on-navy: #e8eef3; --plate: #eef2f5; --plate-ink: #18314f;
    --grid: rgba(95, 168, 211, 0.08); --frost: rgba(225, 232, 236, 0.5);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1a2b; --paper-2: #122337; --ink: #e8eef3; --ink-2: #9fb1c3; --rule: #23405f;
  --blue: #5fa8d3; --accent: #2ec4b6; --accent-ink: #4fd6c9; --on-accent: #0d1a2b;
  --navy: #122a45; --on-navy: #e8eef3; --plate: #eef2f5; --plate-ink: #18314f;
  --grid: rgba(95, 168, 211, 0.08); --frost: rgba(225, 232, 236, 0.5);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}
/* Logo swaps: navy artwork on light, light artwork on dark */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.06; letter-spacing: -0.025em; margin: 0; text-wrap: balance; font-weight: 800; }
h1 { font-size: var(--s-1); }
h2 { font-size: var(--s-2); }
h3 { font-size: var(--s-3); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; max-width: 65ch; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.mono { font-family: var(--f-mono); font-size: var(--s-6); letter-spacing: 0.04em; }
.eyebrow { font-family: var(--f-mono); font-size: var(--s-6); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.lede { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--ink-2); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; flex: none; }
.brand .word { height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius); }
.nav a[aria-current="page"] { color: var(--accent-ink); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: var(--radius); padding: 8px 12px; font: 600 14px var(--f-body); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter-r) 16px var(--gutter-l); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 600 15px/1 var(--f-body); letter-spacing: 0.01em; padding: 14px 20px; border-radius: var(--radius);
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-buy { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-buy:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-buy .arrow { transition: transform 0.15s; }
.btn-buy:hover .arrow { transform: translate(2px, -2px); }
.btn-sm { padding: 10px 14px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: var(--s-6); color: var(--ink-2); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.band { background: var(--paper-2); border-block: 1px solid var(--rule); }
.grid-bg {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; position: relative; z-index: 2; }
.hero .wrap > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero-course { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-course path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.hero-course .wp { fill: var(--paper); stroke: var(--accent); stroke-width: 2.5; }
.hero-course text { fill: var(--accent); font: 600 12px var(--f-mono); letter-spacing: 0.08em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-course path { animation: course 1.8s cubic-bezier(.6,.1,.2,1) both; }
  @keyframes course { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
}
.coords { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-2); }
.ratings { display: flex; flex-wrap: wrap; gap: 10px; }
.rating { display: inline-flex; align-items: baseline; gap: 8px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--paper) 70%, transparent); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.rating b { font-family: var(--f-mono); font-size: 13px; color: var(--ink); }
.rating .star { color: var(--accent-ink); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-course { display: none; } }

/* ---------- annotated figure ---------- */
.annotated { position: relative; margin: 0; z-index: 2; }
.annotated .frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0d1a2b; }
.annotated img { width: 100%; aspect-ratio: 1230 / 735; object-fit: cover; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #18314f; font: 700 13px/30px var(--f-mono); text-align: center; box-shadow: 0 0 0 5px var(--pin-glow); }
.legend { list-style: none; display: grid; gap: 10px; margin-top: 16px; counter-reset: pin; }
.legend li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.legend li::before { counter-increment: pin; content: counter(pin); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--accent-ink); color: var(--accent-ink); font: 700 12px/21px var(--f-mono); text-align: center; margin-top: 1px; }
.legend b { font-weight: 700; }

/* ---------- product cards ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1040px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.plate { background: var(--plate); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10%; position: relative; overflow: hidden; border: 1px solid var(--rule); }
.plate img { mix-blend-mode: multiply; max-height: 100%; object-fit: contain; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.card:hover .plate img { transform: scale(1.04); }
.plate .tag { position: absolute; top: 12px; left: 12px; font: 600 11px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--plate-ink); background: rgba(255,255,255,0.7); padding: 4px 8px; border-radius: 2px; }
.card h3 { font-size: 1.25rem; }
.card p { font-size: 15px; color: var(--ink-2); }
.card .more { font: 600 14px var(--f-body); color: var(--accent-ink); margin-top: auto; }

/* ---------- feature rows ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.feature { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature + .feature { padding-left: 28px; border-left: 1px solid var(--rule); }
.feature .k { font-family: var(--f-mono); font-size: var(--s-6); color: var(--blue); letter-spacing: 0.08em; }
.feature p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; object-fit: cover; }

/* ---------- foggles view demo ---------- */
.view-demo { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #0d1a2b; }
.view-demo img { width: 100%; aspect-ratio: 1400 / 1078; object-fit: cover; }
.view-demo .frost {
  position: absolute; inset: 0; pointer-events: none;
  backdrop-filter: blur(16px) saturate(0.6) brightness(1.15); -webkit-backdrop-filter: blur(16px) saturate(0.6) brightness(1.15);
  background: var(--frost);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 52%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 34%, transparent 52%);
  transition: opacity 0.5s ease;
}
.view-demo[data-on="false"] .frost { opacity: 0; }
.view-demo .hud { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.view-demo .hud .mono { color: #fff; background: rgba(13, 26, 43, 0.72); padding: 6px 10px; border-radius: 2px; }
.switch { display: inline-flex; align-items: center; gap: 10px; background: rgba(13, 26, 43, 0.82); color: #fff; border: 0; border-radius: 999px; padding: 6px 14px 6px 6px; font: 600 14px var(--f-body); cursor: pointer; }
.switch .knob { width: 40px; height: 24px; border-radius: 999px; background: #44515f; position: relative; transition: background 0.2s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch[aria-pressed="true"] .knob { background: #2ec4b6; }
.switch[aria-pressed="true"] .knob::after { transform: translateX(16px); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp > * { min-width: 0; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; position: sticky; top: 88px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery .plate { aspect-ratio: 4 / 3.4; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--plate); cursor: pointer; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; }
.thumbs button[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 1px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs img.cut { object-fit: contain; mix-blend-mode: multiply; padding: 10%; }
.buybox { display: flex; flex-direction: column; gap: 22px; }
.buybox h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.variant { display: flex; flex-wrap: wrap; gap: 10px; }
.variant button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1.5px solid var(--rule); background: transparent; color: var(--ink); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; font: 600 15px var(--f-body); min-width: 0; flex: 1 1 180px; }
.variant button span { font: 400 13px var(--f-body); color: var(--ink-2); }
.variant button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border: 2px solid var(--accent); border-radius: 50%; }
.checks b { font-weight: 700; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; width: 42%; padding-right: 16px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1.05rem; }
.compare tbody th { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }

/* ---------- tips / guide ---------- */
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .tips { grid-template-columns: 1fr; } }
.tip { border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); min-width: 0; }
.tip .k { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--accent-ink); text-transform: uppercase; }
.tip p { font-size: 15.5px; color: var(--ink-2); }
.note { border-left: 3px solid var(--blue); padding: 6px 0 6px 16px; color: var(--ink-2); font-size: 15px; max-width: 70ch; }
.ref { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.ref caption { text-align: left; font: 600 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); padding-bottom: 10px; }
.ref th, .ref td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ref thead th { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-2); font-weight: 500; }
.ref td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.light { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.light.g { background: #1aa25a; } .light.r { background: #d43a3a; } .light.w { background: #fff; border: 1px solid var(--ink-2); }
.light.flash { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 0%, transparent), 0 0 0 4px var(--rule); }
.light.rg { background: linear-gradient(90deg, #d43a3a 50%, #1aa25a 50%); }
.stages { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.stage { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 56px); padding-block: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.stage > * { min-width: 0; }
.stage-label { display: flex; flex-direction: column; gap: 8px; }
.stage-label .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent-ink); text-transform: uppercase; }
.stage-label h2 { font-size: 1.6rem; }
@media (max-width: 760px) { .stage { grid-template-columns: 1fr; } }
.kit-list { list-style: none; display: grid; gap: 10px; }
.kit-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--rule); flex-wrap: wrap; }
.kit-list a { font-weight: 600; }
.atis { font-family: var(--f-mono); font-size: 13px; background: var(--plate); color: var(--plate-ink); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 560px; }
.atis div { border: 1px solid #b9c3c0; margin: -0.5px; padding: 8px 8px 22px; font-size: 11px; letter-spacing: 0.08em; }
@media (max-width: 480px) { .atis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font: 600 14px var(--f-body); }
.field input, .field select, .field textarea { font: 16px var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; border: 1.5px solid var(--rule); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.chips input { accent-color: var(--accent); width: auto; }
.form-status { grid-column: 1 / -1; font-size: 15px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--rule); }
.form-status[data-kind="ok"] { border-color: #1aa25a; }
.form-status[data-kind="info"] { border-color: var(--blue); }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-row code { font-family: var(--f-mono); font-size: 15px; user-select: all; background: var(--paper-2); border: 1px solid var(--rule); padding: 8px 12px; border-radius: var(--radius); overflow-wrap: anywhere; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 1.08rem var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 26px var(--f-mono); color: var(--accent-ink); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); display: grid; gap: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; padding-block: clamp(48px, 7vw, 88px); position: relative; }
.cta-band .eyebrow { color: #8fd9d2; }
.cta-band p { color: color-mix(in srgb, var(--on-navy) 80%, transparent); }
.cta-band .btn { border-color: var(--on-navy); color: var(--on-navy); }
.cta-band .btn:hover { background: var(--on-navy); color: #18314f; }
.cta-band .btn-buy { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 56px 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid > * { min-width: 0; }
.foot-grid h4 { font: 600 12px var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-2); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--rule); }
.page-head .wrap { display: grid; gap: 18px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }

/* preview banner */
.preview-bar { background: var(--navy); color: var(--on-navy); font: 500 13px var(--f-body); }
.preview-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-block: 8px; flex-wrap: wrap; }
.preview-bar b { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
