/* REYNORD — site styles
   Brand: navy #004D7F (datasheet wordmark), orange #FF8A1F (device wordmark) */

:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --surface-2: #E7EBF0;
  --text: #0B1B2B;
  --text-2: #475868;
  --text-3: #6B7C8D;
  --line: #D6DDE5;
  --logo: #004D7F;
  --brand: #004D7F;
  --primary: #004D7F;
  --on-primary: #FFFFFF;
  --accent: #FF8A1F;
  --accent-text: #B35400;
  --on-accent: #1C0E00;

  --stage: #07111B;
  --stage-2: #0D1E2E;
  --on-stage: #E9EFF5;
  --on-stage-2: #A2B4C5;
  --line-stage: rgba(255, 255, 255, .12);

  --sheet: #FFFFFF;
  --sheet-grid: rgba(0, 77, 127, .06);
  --drawing-filter: none;

  --radius: 20px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .05), 0 12px 32px rgba(11, 27, 43, .08);
  --header-h: 68px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #060D14;
    --surface: #0B1621;
    --surface-2: #10202F;
    --text: #E6EDF3;
    --text-2: #A3B3C2;
    --text-3: #7C8EA0;
    --line: #1C2F41;
    --logo: #FFFFFF;
    --brand: #6CBDF2;
    --primary: #6CBDF2;
    --on-primary: #03121F;
    --accent: #FF9A3D;
    --accent-text: #FFAA5C;
    --stage: #03080D;
    --stage-2: #0A1926;
    --sheet: #091A29;
    --sheet-grid: rgba(120, 180, 230, .07);
    --drawing-filter: invert(1) hue-rotate(180deg) brightness(.92);
    --shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 16px 40px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #060D14;
  --surface: #0B1621;
  --surface-2: #10202F;
  --text: #E6EDF3;
  --text-2: #A3B3C2;
  --text-3: #7C8EA0;
  --line: #1C2F41;
  --logo: #FFFFFF;
  --brand: #6CBDF2;
  --primary: #6CBDF2;
  --on-primary: #03121F;
  --accent: #FF9A3D;
  --accent-text: #FFAA5C;
  --stage: #03080D;
  --stage-2: #0A1926;
  --sheet: #091A29;
  --sheet-grid: rgba(120, 180, 230, .07);
  --drawing-filter: invert(1) hue-rotate(180deg) brightness(.92);
  --shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 16px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow .idx { border: 1px solid currentColor; border-radius: 4px; padding: 1px 6px; line-height: 1.4; }
.eyebrow:has(.idx)::before { display: none; }
h1 {
  font-size: clamp(40px, 5.4vw, 74px);
  font-stretch: 112%;
  letter-spacing: -.025em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-stretch: 108%;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 { font-size: clamp(24px, 2.4vw, 32px); font-stretch: 106%; letter-spacing: -.012em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, var(--text)); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; color: var(--logo); padding: 6px 0; }
.logo { display: block; height: 21px; width: auto; aspect-ratio: 6991 / 691; fill: currentColor; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.site-nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; }

@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; border-radius: 10px; color: var(--text); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px clamp(16px, 4vw, 40px) 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
  .site-nav .btn { margin: 10px 0 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--stage); color: var(--on-stage);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-stage) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-stage) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -180px; top: 50%; translate: 0 -40%;
  background: radial-gradient(closest-side, rgba(0, 110, 190, .38), rgba(0, 77, 127, .12) 55%, transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px); align-items: end;
  min-height: min(780px, calc(100svh - var(--header-h)));
}
.hero-copy { align-self: center; padding: clamp(56px, 8vw, 104px) 0; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: var(--on-stage-2); margin-top: 24px; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-visual { position: relative; aspect-ratio: 1.2; align-self: end; }
.hero-visual img { position: absolute; height: auto; }
/* True relative scale, calibrated on the identical 7" display in both photos
   (F9XX 186 mm tall, F300 149.2 mm tall): F9XX image width = 1.07 x F300 image width */
.hv-f300 { left: 0; bottom: 0; width: 58%; }
.hv-f9xx {
  right: 0; bottom: 1.5%; width: 62%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-copy { padding: 56px 0 8px; }
  .hero-visual { width: min(100%, 620px); justify-self: center; }
  .hero::after { width: 640px; height: 640px; right: -200px; top: auto; bottom: -260px; translate: none; }
}

/* ---------- ribbon ---------- */
.ribbon { background: var(--surface); border-bottom: 1px solid var(--line); }
.ribbon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ribbon-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-left: 1px solid var(--line); }
.ribbon-grid > div:first-child { border-left: 0; padding-left: 0; }
.ribbon .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ribbon .v { font-size: 15px; font-weight: 600; }
@media (max-width: 900px) {
  .ribbon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ribbon-grid > div { padding: 18px 16px; }
  .ribbon-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ribbon-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.subhead { margin: clamp(72px, 9vw, 112px) 0 28px; max-width: 760px; }
.subhead p { margin-top: 10px; color: var(--text-2); }
.subhead-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- product families ---------- */
.family { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.family-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.family-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.family-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 60%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface-2), color-mix(in srgb, var(--surface-2) 55%, var(--surface)));
  border-bottom: 1px solid var(--line);
}
.family-stage img { width: auto; height: 86%; transition: transform .4s; }
/* Same true-scale ratio as the hero: F9XX image is drawn 1.27x taller than the F300 image */
.family-stage .fs-f9xx { margin-bottom: 3%; height: 84%; filter: drop-shadow(0 18px 24px rgba(7, 17, 27, .28)); }
.family-stage .fs-f300 { height: 66%; }
.family-card:hover .family-stage img { transform: translateY(-6px); }
.family-body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; flex: 1; }
.family-body h3 { font-size: clamp(26px, 2.6vw, 32px); font-stretch: 110%; letter-spacing: -.015em; }
.family-body > p:not(.tag):not(.uses) { color: var(--text-2); }
.uses { font-size: 14px; color: var(--text-3); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text);
}
.more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--brand); }
.more span { display: inline-block; transition: transform .2s; }
.family-card:hover .more span { transform: translateX(4px); }
@media (max-width: 760px) {
  .family { grid-template-columns: 1fr; }
  .family-body { padding: 22px 20px 24px; }
}

/* ---------- stages ---------- */
.stage {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(ellipse 65% 55% at 50% 48%, rgba(0, 120, 200, .30), transparent 72%),
    linear-gradient(180deg, var(--stage-2), var(--stage));
  color: var(--on-stage);
}
.stage figcaption {
  position: absolute; left: 20px; top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-stage-2);
}

/* ---------- fareOpen showcase ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.showcase-stage { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 4.6; display: grid; place-items: center; padding: 14% 9% 9%; }
.showcase-stage img { width: 100%; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, .55)); }

.features { list-style: none; counter-reset: feat; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.features li { counter-increment: feat; padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.features li:nth-child(even) { padding: 26px 0 26px 26px; border-left: 1px solid var(--line); }
.features li::before {
  content: counter(feat, decimal-leading-zero);
  display: block; margin-bottom: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-text);
}
.features h3 { font-size: 19px; font-stretch: 104%; letter-spacing: -.005em; margin-bottom: 8px; }
.features p { font-size: 15px; line-height: 1.6; color: var(--text-2); }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase-stage { position: relative; top: 0; aspect-ratio: 1; padding: 14% 14% 8%; max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features li, .features li:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ---------- models ---------- */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.model {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 28px; align-items: start;
  padding: 32px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--line);
}
.model-art { width: 112px; opacity: .85; filter: var(--drawing-filter); margin-top: 6px; }
.model-name { font-size: clamp(40px, 4.4vw, 56px); font-stretch: 118%; letter-spacing: -.03em; line-height: 1; margin: 8px 0 14px; color: var(--brand); }
.model-body > p:not(.tag) { color: var(--text-2); font-size: 15px; }
.kv { margin: 20px 0 0; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.kv dd { margin: 0; font-weight: 600; }
@media (max-width: 1000px) {
  .models { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .model { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
  .model-art { width: 72px; }
}

/* ---------- connector hotspots ---------- */
.ports-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.ports-stage { padding: clamp(56px, 7vw, 88px) clamp(16px, 3vw, 40px) clamp(20px, 3vw, 36px); }
.ports-media { position: relative; }
.ports-media img { width: 100%; }
.spot {
  --lead: 30px;
  position: absolute; left: var(--x); top: var(--y);
  width: 28px; height: 28px; padding: 0;
  transform: translate(-50%, calc(-100% - var(--lead)));
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  font: 600 12px/28px var(--mono); text-align: center;
  box-shadow: 0 0 0 4px rgba(255, 138, 31, .22);
  transition: box-shadow .2s, transform .2s;
}
.spot::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1.5px; height: var(--lead); translate: -50% 0;
  background: linear-gradient(var(--accent), rgba(255, 138, 31, .4));
}
.spot::before {
  content: ""; position: absolute; left: 50%; top: calc(100% + var(--lead));
  width: 8px; height: 8px; translate: -50% -50%; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 138, 31, .3);
}
.spot:hover, .spot.is-active { box-shadow: 0 0 0 7px rgba(255, 138, 31, .32); }

.port-list { list-style: none; border-top: 1px solid var(--line); }
.port-list li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 14px 10px; margin: 0 -10px; border-bottom: 1px solid var(--line); border-radius: 10px;
  transition: background-color .2s;
}
.port-list li.is-active { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.port-list .num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); font: 600 12px var(--mono); color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.port-list li.is-active .num { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.port-list strong { display: block; font-size: 16px; font-weight: 600; }
.port-list span:not(.num) { display: block; font-size: 14px; color: var(--text-2); }

@media (max-width: 900px) {
  .ports-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .spot { --lead: 18px; width: 22px; height: 22px; font-size: 11px; line-height: 22px; box-shadow: 0 0 0 3px rgba(255, 138, 31, .22); }
  .spot::before { width: 6px; height: 6px; }
}

/* ---------- spec tables ---------- */
.table-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  padding-top: 18px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); border-bottom-color: var(--text);
}
.spec-table thead th:not(:first-child) { color: var(--brand); }
.spec-table tbody th[scope="row"] { width: 24%; font-weight: 600; color: var(--text); }
.spec-table td { color: var(--text-2); }
.spec-table td[data-label] { width: 38%; color: var(--text); font-weight: 500; }
.spec-table .group th {
  padding: 30px 0 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); border-bottom-color: var(--line);
}
.spec-table tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 720px) {
  .table-card { padding: 4px 18px 10px; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto !important; }
  .spec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table tbody tr:not(.group) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .spec-table tbody tr:not(.group) > * { border: 0; padding: 0; }
  .spec-table tbody th[scope="row"] { margin-bottom: 4px; }
  .spec-table td[data-label] { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 2px 0; }
  .spec-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand); padding-top: 2px;
  }
  .spec-table .group th { padding: 24px 0 4px; border: 0; }
  .spec-table tbody tr.group + tr { padding-top: 6px; }
}

/* ---------- dimension drawing ---------- */
.dims { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(72px, 9vw, 112px); }
.sheet {
  padding: clamp(18px, 3vw, 32px); border-radius: var(--radius);
  background-color: var(--sheet);
  background-image:
    linear-gradient(var(--sheet-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--sheet-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid var(--line);
}
.sheet-link { display: block; cursor: zoom-in; border-radius: 8px; }
.drawing { width: 100%; filter: var(--drawing-filter); }
.titleblock {
  display: grid; grid-template-columns: 1.2fr 1.5fr 1.2fr .5fr;
  margin-top: 22px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2);
}
.titleblock span { padding: 8px 12px; border-left: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titleblock span:first-child { border-left: 0; color: var(--brand); font-weight: 600; }
.dims-side > p { margin-top: 10px; color: var(--text-2); }
.dimstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border-top: 1px solid var(--line); }
.dimstats div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.dimstats div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.dimstats dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.dimstats dd { margin: 4px 0 0; font-size: clamp(28px, 3vw, 36px); font-weight: 700; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; }
.dimstats small { display: block; font-size: 13px; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--text-2); }
.legend { list-style: none; counter-reset: leg; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.legend li { counter-increment: leg; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.legend li::before {
  content: counter(leg);
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); font: 600 11px var(--mono); color: var(--text);
}
@media (max-width: 900px) {
  .dims { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .legend { grid-template-columns: 1fr; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock span:nth-child(3) { border-left: 0; }
  .titleblock span:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- F300 (dark section) ---------- */
.section-dark {
  --text: var(--on-stage);
  --text-2: var(--on-stage-2);
  --text-3: #7E93A7;
  --line: var(--line-stage);
  --brand: #6CBDF2;
  --accent-text: var(--accent);
  --bg: rgba(255, 255, 255, .03);
  background: var(--stage); color: var(--on-stage);
  position: relative; isolation: isolate; overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; z-index: -1; left: -240px; top: -200px; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(0, 110, 190, .22), transparent);
}
.chips-dark { margin-top: 24px; }
.f300-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.f300-stage {
  display: flex; align-items: flex-end; justify-content: center;
  padding: 64px 6% 0; min-height: 440px;
  border: 1px solid var(--line-stage);
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(0, 150, 230, .26), transparent 72%),
    linear-gradient(180deg, #0E2335, #07121C);
}
.f300-stage img { width: 100%; max-width: 760px; }
.table-title { font-size: 20px; font-stretch: 106%; padding: 18px 0 6px; }
.spec-2col tbody th[scope="row"] { width: 40%; }
.spec-2col td { color: var(--text); font-weight: 500; }

.features-cards { border-top: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.features-cards li, .features-cards li:nth-child(even) {
  padding: 24px; border: 1px solid var(--line-stage); border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}
.features-cards h3 { font-size: 17px; }
.features-cards p { font-size: 14.5px; }

@media (max-width: 1080px) {
  .features-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .f300-top { grid-template-columns: 1fr; }
  .f300-stage { min-height: 0; padding-top: 56px; }
}
@media (max-width: 560px) {
  .features-cards { grid-template-columns: 1fr; gap: 12px; }
  .features-cards li, .features-cards li:nth-child(even) { padding: 20px; border: 1px solid var(--line-stage); }
}

/* ---------- contact CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; align-items: end;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 28px;
  background: linear-gradient(135deg, #004D7F, #00365A 70%);
  color: #fff;
}
.cta .eyebrow { color: #FFB36B; }
.cta h2 { max-width: 16ch; }
.cta-copy > p:last-child { margin-top: 18px; color: rgba(255, 255, 255, .78); max-width: 56ch; font-size: 17px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-actions .btn { width: 100%; max-width: 320px; }
.cta-address { margin-top: 14px; font-style: normal; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.cta-address .k { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #FFB36B; }
.cta-mark {
  position: absolute; z-index: -1; right: -4%; bottom: -3%;
  width: 78%; height: auto; aspect-ratio: 6991 / 691; fill: rgba(255, 255, 255, .05);
}
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; }
  .cta-actions .btn { max-width: none; }
}

/* ---------- software page ---------- */
.sw-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.sw-hero .hero-copy { padding: clamp(56px, 8vw, 104px) 0; }
.sw-hero h1 { font-size: clamp(38px, 4.4vw, 62px); }
.sw-hero-visual { position: relative; align-self: end; padding: 48px 0 0 9%; }
.sw-hero-visual .browser { position: relative; z-index: 1; margin-bottom: 72px; }
.sw-f300 { position: absolute; z-index: 2; left: 0; bottom: 0; width: 34%; filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .55)); }

.browser {
  overflow: hidden; border-radius: 12px; background: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.browser-light { border-color: var(--line); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #E9EDF2; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C5CDD6; }
.browser-bar span {
  margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #fff;
  font: 500 11px var(--mono); color: #6B7C8D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; }

.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-right: 24px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  font: 600 13px var(--mono); color: var(--accent-text);
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 19px; font-stretch: 104%; margin-bottom: 8px; }
.steps p { font-size: 15px; color: var(--text-2); }

.modules { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; }
.module-tabs { display: flex; flex-direction: column; gap: 6px; }
.module-tabs button {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
  text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 12px;
  transition: background-color .2s, border-color .2s;
}
.module-tabs button strong { font-size: 16px; font-weight: 600; }
.module-tabs button span { font-size: 14px; color: var(--text-2); }
.module-tabs button:hover { background: var(--bg); }
.module-tabs button[aria-selected="true"] { background: var(--bg); border-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); }
.module-panel > p { margin-top: 18px; color: var(--text-2); max-width: 70ch; }

.roles, .law-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.roles li, .law-grid li { padding: 24px; border-radius: 16px; border: 1px solid var(--line); }
.roles li { display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.roles h3 { font-size: 22px; font-stretch: 108%; }
.roles li > p:last-child, .law-grid li > p:last-child { font-size: 15px; color: var(--text-2); }
.law-grid li { background: var(--bg); }
.law-grid .law-wide {
  grid-column: 1 / -1;
  background: color-mix(in srgb, var(--brand) 6%, var(--bg));
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}
.law-grid .law-wide > p:last-child { max-width: 72ch; }
.law {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 6px;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand);
  font: 600 12px var(--mono); letter-spacing: .04em;
}
.law-grid h3 { font-size: 18px; margin-bottom: 8px; }
.fineprint { margin-top: 24px; max-width: 80ch; font-size: 14px; color: var(--text-3); }

.sw-callout {
  display: flex; align-items: center; gap: 20px; margin-top: 24px; padding: 22px 26px;
  border-radius: 16px; border: 1px solid var(--line-stage); text-decoration: none; color: var(--on-stage);
  background: linear-gradient(90deg, rgba(255, 138, 31, .14), rgba(255, 255, 255, .02));
  transition: border-color .2s;
}
.sw-callout:hover { border-color: rgba(255, 138, 31, .5); }
.sw-callout .tag { color: var(--accent); white-space: nowrap; }
.sw-callout-text { color: var(--on-stage-2); }
.sw-callout-text strong { color: var(--on-stage); font-weight: 600; }
.sw-callout .more { margin: 0 0 0 auto; padding: 0; color: var(--accent); white-space: nowrap; }

@media (max-width: 1000px) {
  .roles, .law-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .sw-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .sw-hero .hero-copy { padding: 56px 0 8px; }
  .sw-hero-visual { padding: 24px 0 0 12%; }
  .sw-hero-visual .browser { margin-bottom: 44px; }
  .sw-f300 { width: 40%; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
  .steps h3 { margin: 10px 0 6px; }
  .modules { grid-template-columns: 1fr; gap: 20px; }
  .module-tabs { flex-direction: row; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .module-tabs button { flex: 0 0 auto; padding: 10px 14px; }
  .module-tabs button span { display: none; }
  .module-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
  .sw-callout { flex-wrap: wrap; gap: 8px 16px; }
  .sw-callout .more { margin-left: 0; }
}
@media (max-width: 560px) {
  .roles, .law-grid { grid-template-columns: 1fr; }
}

/* ---------- legal page ---------- */
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 128px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 4.6vw, 60px); }
.legal .lead { margin-top: 18px; }
.legal h2 {
  font-size: 20px; font-stretch: 104%; letter-spacing: -.005em;
  margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line);
}
.legal p, .legal address { color: var(--text-2); font-style: normal; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--brand); text-underline-offset: 3px; }
.legal p + address, .legal address + p { margin-top: 12px; }
.legal ul { margin: 12px 0; padding-left: 22px; color: var(--text-2); }
.legal li + li { margin-top: 4px; }
.legal li::marker { color: var(--accent-text); }
.legal-date { margin-top: 40px !important; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3) !important; }
.todo {
  padding: 1px 6px; border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--text);
  font-family: var(--mono); font-size: .86em;
}

/* ---------- footer ---------- */
.site-footer { background: var(--stage); color: var(--on-stage-2); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand .logo { height: 20px; color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-address { margin-top: 14px; font-style: normal; line-height: 1.55; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; font-stretch: 100%; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-stage);
  font-size: 13px; color: #7E93A7;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
