*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg-surface);
  color: var(--fg-primary);
  overflow-x: hidden;
}
a {
  color: var(--fg-link);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 48px;
  }
}

/* ---------- Header ---------- */
header.site {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px 0;
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site .mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
header.site .mark img {
  height: 26px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  header.site {
    padding: 28px 0;
  }
  header.site .mark img {
    height: 30px;
  }
}
header.site .ping {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  display: none;
  align-items: center;
  gap: 8px;
}
header.site .ping::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sd-status-nominal);
  box-shadow: 0 0 0 3px rgba(22, 163, 107, 0.25);
}
@media (min-width: 640px) {
  header.site .ping {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 72px;
  color: #fff;
  background:
    radial-gradient(
      120% 80% at 85% 55%,
      rgba(0, 170, 255, 0.35) 0%,
      rgba(0, 170, 255, 0) 60%
    ),
    linear-gradient(155deg, #00aaff 0%, #1878b1 45%, #19618a 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero .waveform {
  position: absolute;
  z-index: 0;
  right: -20%;
  top: 10%;
  width: 120%;
  max-width: 900px;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  filter: brightness(0.85) contrast(1.1);
  transform: rotate(-2deg);
}
@media (min-width: 768px) {
  .hero .waveform {
    right: -8%;
    top: 8%;
    width: 80%;
    opacity: 0.18;
  }
}
@media (min-width: 1200px) {
  .hero .waveform {
    right: 2%;
    width: 60%;
  }
}

.hero .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - 192px);
  min-height: calc(100svh - 192px);
}

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(40px, 10vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: #fff;
  text-wrap: balance;
  max-width: 16ch;
}
.hero h1 em {
  font-style: italic;
  color: #cfeeff;
  font-weight: 800;
}

.hero .lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 40px;
  max-width: 44ch;
  text-wrap: pretty;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--sd-blue-700);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition:
    background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}
.btn-primary:hover {
  background: #e6f3fb;
  color: var(--sd-blue-700);
}
.btn-primary:active {
  background: #c1e0f3;
}
.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.btn-primary .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-standard);
}
.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.hero .specline {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.72);
}
.hero .specline .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
  margin: 0 10px 2px;
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .track {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.scroll-cue .track::after {
  content: "";
  position: absolute;
  left: 0;
  top: -28px;
  width: 1px;
  height: 14px;
  background: #fff;
  animation: cue 2.2s var(--ease-standard) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(56px);
    opacity: 0;
  }
}
@media (min-width: 900px) {
  .scroll-cue {
    display: flex;
  }
}

/* ---------- About ---------- */
.about {
  padding: 80px 0 88px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 768px) {
  .about {
    padding: 120px 0 128px;
  }
}

.about .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-brand);
  margin: 0 0 20px;
}

.about h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin: 0 0 32px;
  max-width: 20ch;
  text-wrap: balance;
}
.about h2 .accent {
  color: var(--accent);
}

.about .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 56px;
}
@media (min-width: 860px) {
  .about .grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0 0 18px;
  max-width: 52ch;
}
.about p:last-child {
  margin-bottom: 0;
}
.about p strong {
  color: var(--fg-primary);
  font-weight: 600;
}

/* product sidecard */
.product-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
}
.product-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--fg-primary);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.product-card h3 .blue {
  color: var(--accent);
}
.product-card .tag {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-secondary);
  margin: 0 0 20px;
}
.product-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}
.product-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}
.product-card li .k {
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}
.product-card li .v {
  color: var(--fg-primary);
  font-weight: 500;
  text-align: right;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--sd-navy-700);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .contact {
    padding: 112px 0;
  }
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      60% 80% at 90% 100%,
      rgba(24, 120, 177, 0.35) 0%,
      transparent 60%
    ),
    radial-gradient(
      45% 70% at 10% 0%,
      rgba(0, 170, 255, 0.12) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.contact .wrap {
  position: relative;
  z-index: 1;
}

.contact .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--sd-cyan-400);
  margin: 0 0 16px;
}
.contact h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
  max-width: 20ch;
}
.contact .sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 0 36px;
}

.email-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 24px 24px;
  transition:
    background var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
  color: #fff;
}
.email-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.email-card:focus-visible {
  outline: none;
  border-color: var(--sd-cyan-400);
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.25);
}
.email-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.email-card .k {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 6px;
}
.email-card .addr {
  font-family: var(--font-mono);
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0;
  word-break: break-word;
}
.email-card .arrow-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}
.email-card:hover .arrow-btn {
  background: var(--sd-cyan-500);
  transform: translateX(2px);
}
.email-card svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact .note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--sd-navy-800);
  color: rgba(255, 255, 255, 0.55);
  padding: 32px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
footer.site .row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 640px) {
  footer.site .row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
footer.site .mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
footer.site .mark img {
  height: 18px;
  width: auto;
  display: block;
  opacity: 0.9;
}
footer.site .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Motion: entrance ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 800ms var(--ease-entrance) forwards;
}
.fade-in.d1 {
  animation-delay: 80ms;
}
.fade-in.d2 {
  animation-delay: 200ms;
}
.fade-in.d3 {
  animation-delay: 340ms;
}
.fade-in.d4 {
  animation-delay: 480ms;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .scroll-cue .track::after {
    animation: none;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* Selection */
::selection {
  background: var(--sd-cyan-400);
  color: #0b1122;
}

/* =====================================================================
   Multi-page additions: nav, product lineup, product pages, ordering key,
   and the dev-test review banner.
   ===================================================================== */

/* ---------- Nav ---------- */
header.site nav {
  display: flex;
  align-items: center;
  gap: 4px 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
header.site nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
}
header.site nav a:hover,
header.site nav a[aria-current="page"] {
  color: #fff;
}
header.site nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.7);
}
header.site nav .wide {
  display: none;
}
@media (min-width: 720px) {
  header.site nav .wide {
    display: inline;
  }
}

/* ---------- Compact hero (product pages) ---------- */
.hero.compact {
  min-height: 0;
  padding: 132px 0 64px;
}
.hero.compact .content {
  min-height: 0;
}
.hero.compact h1 {
  font-size: clamp(38px, 8vw, 72px);
  margin-bottom: 20px;
}
.hero .config-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin: 0 0 28px;
  align-self: flex-start;
}
.hero .config-chip .k {
  font-size: 10px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 72px 0 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}
.section.sunken {
  background: var(--bg-sunken);
}
@media (min-width: 768px) {
  .section {
    padding: 104px 0 112px;
  }
}
.section .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-brand);
  margin: 0 0 16px;
}
.section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.section h2 .accent {
  color: var(--accent);
}
.section .intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-secondary);
  max-width: 60ch;
  margin: 0 0 40px;
}
.section h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg-primary);
  margin: 0 0 8px;
}
.section .note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 20px 0 0;
  max-width: 70ch;
}

/* ---------- Product lineup ---------- */
.lineup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .lineup {
    grid-template-columns: repeat(3, 1fr);
  }
}
.line-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  color: inherit;
  transition:
    border-color var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard);
}
a.line-card:hover {
  color: inherit;
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
a.line-card:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}
.line-card .shot {
  aspect-ratio: 5 / 1;
  background: var(--sd-navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.line-card .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.line-card .shot.placeholder {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}
.line-card .body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.line-card .line {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-muted);
}
.line-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.line-card h3 .blue {
  color: var(--accent);
}
.line-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.line-card .config {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-primary);
}
.line-card .config .k {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-muted);
}
.line-card .more {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-link);
}

/* ---------- Product overview ---------- */
.panel-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sd-navy-800);
  box-shadow: var(--shadow-md);
  margin: 0 0 48px;
}
.panel-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.panel-shot figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 12px 16px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 56px;
}
@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}
.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0 0 18px;
  max-width: 60ch;
}
.prose p strong {
  color: var(--fg-primary);
  font-weight: 600;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.features li {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  padding: 20px 20px 22px;
}
.features li h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.features li p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

/* ---------- Spec tables ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 48px;
}
@media (min-width: 900px) {
  .spec-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.spec-group h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-brand);
  margin: 0 0 8px;
}
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.spec th,
table.spec td {
  text-align: left;
  vertical-align: top;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-subtle);
}
table.spec th {
  width: 42%;
  padding-right: 16px;
  font-weight: 500;
  color: var(--fg-muted);
}
table.spec td {
  color: var(--fg-primary);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}
table.compare th,
table.compare td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
table.compare thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-default);
}
table.compare tbody th {
  font-weight: 500;
  color: var(--fg-muted);
}
.mono {
  font-family: var(--font-mono);
}

/* ---------- Configuration number key ---------- */
.config-key {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: 28px 24px;
}
.config-key .code {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 600;
  color: var(--fg-primary);
  margin: 0 0 24px;
}
.config-key .code span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.config-key .code span i {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--fg-muted);
}
.config-key .code .var {
  color: var(--accent);
}
.config-key dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 32px;
  margin: 0;
}
@media (min-width: 760px) {
  .config-key dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
.config-key dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 4px;
}
.config-key dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-secondary);
}
.config-key .examples {
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-secondary);
}
.config-key .examples code {
  font-family: var(--font-mono);
  color: var(--fg-primary);
  font-weight: 600;
}

/* ---------- Product page CTA strip ---------- */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin-top: 40px;
}
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
}
.btn-solid:hover {
  background: var(--accent-hover);
  color: #fff;
}
.link-arrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ---------- Review mode (dev-test.* only; see review.js) ---------- */
.review-banner {
  display: none;
}
.is-review .review-banner {
  display: block;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff4d6;
  color: #5c4100;
  border-bottom: 1px solid #f0c75e;
  font-size: 13px;
  line-height: 1.5;
  padding: 8px 0;
}
.is-review .review-banner strong {
  font-weight: 700;
}
.is-review .tbc {
  background: #fff4d6;
  box-shadow: 0 0 0 2px #fff4d6;
  border-radius: 2px;
  color: #5c4100;
}
.review-only {
  display: none;
}
.is-review .review-only {
  display: block;
}
.review-banner a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}
.is-review .tbc::after {
  content: "TBC";
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #f0c75e;
  color: #3d2b00;
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 6px;
  vertical-align: 2px;
}

/* ---------- For-agents page (agents.html) ---------- */
.ld-page {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-default);
}
.ld-page-title {
  font-size: 22px;
  margin: 0 0 20px;
}
.ld-page .spec-group + div,
.ld-page .spec-grid > div > .spec-group + .spec-group {
  margin-top: 24px;
}
.ld-raw {
  margin-top: 24px;
}
.ld-raw summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--fg-brand);
}
.ld-raw pre {
  margin: 12px 0 0;
  padding: 16px;
  max-height: 480px;
  overflow: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre;
}

/* ---------- Compatibility badges + FAQ (legacy-dtr-replacement.html, index) ---------- */
.compat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.compat.ok {
  background: #e3f4e8;
  color: #1d6b3a;
}
.compat.diff {
  background: #fff0db;
  color: #8a4b00;
}
.compat.plan {
  background: #e6eef6;
  color: #10537b;
}
.faq {
  border-top: 1px solid var(--border-default);
}
.faq details {
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-primary);
  line-height: 1.4;
}
.faq details p {
  margin: 12px 0 0;
  max-width: 72ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-secondary);
}

/* ---------- Legacy replacement links (index #legacy) ---------- */
.legacy {
  margin-top: 48px;
}
.legacy-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .legacy-links {
    grid-template-columns: 1fr 1fr;
  }
}
.legacy-links a {
  display: block;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: 20px 24px;
  color: var(--fg-secondary);
}
.legacy-links a:hover {
  border-color: var(--accent);
}
.legacy-links strong {
  display: block;
  font-size: 18px;
  color: var(--fg-primary);
  margin-bottom: 6px;
}
.legacy-links span {
  font-size: 14px;
  line-height: 1.55;
}
