/* KnightRoad Veritas - Site Styles
   Palette: Bahamian flag ? aquamarine ? gold ? black */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-panel: #161a1c;
  --navy: #003944;
  --navy-deep: #001418;
  --charcoal: #000000;
  --aqua: #00abc9;
  --cyan: #00abc9;
  --cyan-dim: rgba(0, 171, 201, 0.14);
  --cyan-glow: rgba(0, 171, 201, 0.35);
  --cyan-border: rgba(0, 171, 201, 0.45);
  --gold: #ffc72c;
  --gold-dim: rgba(255, 199, 44, 0.16);
  --gold-deep: #e6b000;
  --silver: #c8d0d8;
  --silver-bright: #f2f5f7;
  --text: #dde4ea;
  --text-muted: #8b97a5;
  --border: rgba(0, 171, 201, 0.18);
  --success: #ffc72c;
  --warn: #ffc72c;
  --radius: 2px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1100px;
  --nav-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(0, 171, 201, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 40% at 90% 0%, rgba(255, 199, 44, 0.07), transparent 45%),
    linear-gradient(180deg, #000000 0%, var(--bg) 45%, #0c1214 100%);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--aqua);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  margin: 0.5rem 0 1rem 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

/* ?? Layout ?? */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--silver-bright);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.section-lede {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 42rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ?? Nav ?? */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(14, 17, 22, 0.9);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.site-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--silver-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.nav-brand:hover {
  text-decoration: none;
  color: var(--cyan);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-brand .sub {
  display: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-left: 0.15rem;
}

@media (min-width: 1100px) {
  .nav-brand .sub {
    display: inline;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
}

.nav-links > li {
  margin: 0;
  position: relative;
}

.nav-links a,
.nav-drop-toggle {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-drop-toggle:hover,
.nav-drop.open .nav-drop-toggle {
  color: var(--cyan);
  text-decoration: none;
}

.nav-drop-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.4rem;
  margin-bottom: 0.15rem;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  min-width: 200px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.45rem 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-drop.open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--silver);
  font-size: 0.84rem;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold) !important;
  background: transparent;
  border: 1px solid var(--gold);
  padding: 0.55rem 0.9rem !important;
  border-radius: var(--radius);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-cta:hover {
  background: var(--gold-dim);
  color: var(--gold) !important;
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--silver);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem 1.25rem;
    gap: 0;
  }

  .site-nav.open .nav-links {
    display: flex;
  }

  .nav-links > li {
    border-bottom: 1px solid rgba(200, 208, 216, 0.06);
  }

  .nav-links a,
  .nav-drop-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.85rem 0;
    min-height: 44px;
  }

  .nav-dropdown {
    position: static;
    display: none;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0.5rem 0.85rem;
  }

  .nav-drop.open .nav-dropdown {
    display: block;
  }

  .nav-cta {
    margin-top: 0.75rem;
    width: 100%;
    text-align: center;
  }
}

/* ?? Buttons ?? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--gold);
  color: #000000 !important;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--cyan-border);
  color: var(--aqua) !important;
}

.btn-ghost:hover {
  background: var(--cyan-dim);
  color: var(--gold) !important;
  border-color: rgba(255, 199, 44, 0.45);
}

.btn-block {
  width: 100%;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ?? Home hero ?? */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-circuit svg {
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.hero-logo {
  width: min(320px, 70vw);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 40px rgba(0, 171, 201, 0.2));
  animation: logo-settle 0.7s ease-out both;
}

.hero-logo .node {
  animation: node-pulse 1.2s ease-out 0.4s both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.1;
  color: var(--silver-bright);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero .support {
  color: var(--text-muted);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.hero .cta-row {
  justify-content: center;
}

@keyframes logo-settle {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes node-pulse {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@keyframes circuit-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.circuit-line {
  stroke: rgba(200, 208, 216, 0.12);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: circuit-draw 1.2s ease-out forwards;
}

.circuit-accent {
  stroke: rgba(0, 171, 201, 0.28);
  stroke-width: 1.25;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: circuit-draw 1.2s ease-out 0.15s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero-logo .node,
  .circuit-line,
  .circuit-accent,
  .rise {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ?? Rise on scroll ?? */
.rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.rise.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ?? Platform lanes ?? */
.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
}

.lane {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 171, 201, 0.3);
}

.lane h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--silver-bright);
  margin-bottom: 0.4rem;
}

.lane p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.lane a {
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 767px) {
  .lanes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ?? Flow steps ?? */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  margin: 1.25rem 0;
}

.flow-step {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  color: var(--silver-bright);
}

.flow-arrow {
  color: var(--cyan);
  font-size: 1rem;
}

/* ?? Tier snapshot / selector ?? */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.tier {
  border: 1px solid var(--border);
  background: rgba(22, 27, 34, 0.7);
  padding: 1.15rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  border-radius: var(--radius);
  font-family: inherit;
  color: inherit;
  width: 100%;
}

.tier:hover,
.tier:focus-visible {
  border-color: rgba(0, 171, 201, 0.4);
  outline: none;
}

.tier.active {
  border-color: rgba(255, 199, 44, 0.65);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 44, 0.25), 0 0 20px rgba(255, 199, 44, 0.08);
}

.tier .name {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.tier .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.tier .days {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.tier .blurb {
  font-size: 0.82rem;
  color: var(--silver);
  margin-top: 0.65rem;
  font-weight: 300;
  text-align: left;
}

@media (max-width: 767px) {
  .tiers {
    grid-template-columns: 1fr;
  }
}

/* ?? Add-ons ?? */
.addon-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.25rem;
  margin: 1rem 0;
}

.addon {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(200, 208, 216, 0.08);
  cursor: pointer;
}

.addon input {
  margin-top: 0.25rem;
  accent-color: var(--cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.addon-meta {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.addon-meta strong {
  display: block;
  font-weight: 500;
  color: var(--silver-bright);
  font-size: 0.9rem;
}

.addon-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

.addon-price {
  color: var(--success);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.running-total {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--silver);
}

.running-total em {
  font-style: normal;
  color: var(--success);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .addon-list {
    grid-template-columns: 1fr;
  }
}

/* ?? Industry strip ?? */
.industry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.industry-link {
  display: block;
  padding: 1rem 0.85rem;
  border-left: 2px solid rgba(0, 171, 201, 0.4);
  background: rgba(22, 27, 34, 0.45);
  text-decoration: none;
  transition: background 0.15s ease;
}

.industry-link:hover {
  background: rgba(0, 171, 201, 0.08);
  text-decoration: none;
}

.industry-link strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--silver-bright);
  margin-bottom: 0.25rem;
}

.industry-link span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 767px) {
  .industry-strip {
    grid-template-columns: 1fr;
  }
}

/* ?? Closing CTA ?? */
.closing {
  text-align: center;
  padding: 4.5rem 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 171, 201, 0.06), transparent 60%);
}

.closing h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--silver-bright);
  margin-bottom: 1.5rem;
}

.closing .cta-row {
  justify-content: center;
}

/* ?? Service / product pages ?? */
.product-hero {
  padding: 2rem 0 1.5rem;
}

.product-hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.product-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
  color: var(--silver-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.product-hero .lede {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.product-subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(14, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.product-subnav ul {
  display: flex;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 1.5rem;
  max-width: var(--max);
  margin-inline: auto;
}

.product-subnav a {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.product-subnav a:hover {
  color: var(--cyan);
}

/* Demo player */
.demo-block {
  margin: 0 0 1.25rem;
}

.demo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1480px;
}

.demo-row .demo-player {
  max-width: none;
}

.demo-block--dual + .demo-actions {
  max-width: 1480px;
}

@media (max-width: 900px) {
  .demo-row {
    grid-template-columns: 1fr;
  }
}

.demo-facade {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  background: #000000;
  border: 1px solid rgba(0, 171, 201, 0.22);
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  font: inherit;
  color: inherit;
}

.demo-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.demo-facade .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 13, 18, 0.35);
}

.demo-facade .play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 199, 44, 0.35);
}

.demo-facade .play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 18px solid #000000;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.demo-player {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border: 1px solid rgba(0, 171, 201, 0.22);
  background: #000000;
  overflow: hidden;
}

.demo-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.demo-player.is-loading::after {
  content: "Loading video?";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.demo-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  gap: 0.75rem;
}

.demo-error p {
  margin: 0;
  color: var(--silver);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
  max-width: 720px;
}

@media (max-width: 767px) {
  .demo-facade,
  .demo-facade iframe,
  .demo-player iframe {
    max-width: none;
  }

  .demo-actions .btn {
    width: 100%;
  }
}

/* Included list */
.included-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.included-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(200, 208, 216, 0.08);
  margin: 0;
}

.included-list strong {
  color: var(--silver-bright);
  font-weight: 500;
  display: block;
  margin-bottom: 0.15rem;
}

.included-list span {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.92rem;
}

.callout-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.callout-box {
  border-left: 3px solid var(--cyan);
  background: var(--cyan-dim);
  padding: 1rem 1.15rem;
}

.callout-box.warn {
  border-left-color: var(--warn);
  background: rgba(240, 180, 41, 0.08);
}

.callout-box h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.callout-box.warn h4 {
  color: var(--warn);
}

.callout-box p,
.callout-box ul {
  font-size: 0.9rem;
  color: var(--silver);
  margin: 0;
}

.callout-box ul {
  margin-left: 1.1rem;
}

@media (max-width: 767px) {
  .callout-pair {
    grid-template-columns: 1fr;
  }
}

.delivery-details {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.delivery-details summary {
  padding: 0.85rem 1.1rem;
  cursor: pointer;
  color: var(--silver-bright);
  font-weight: 500;
  font-size: 0.92rem;
  list-style: none;
}

.delivery-details summary::-webkit-details-marker {
  display: none;
}

.delivery-details summary::before {
  content: "+ ";
  color: var(--cyan);
}

.delivery-details[open] summary::before {
  content: "? ";
}

.delivery-details .body {
  padding: 0 1.1rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ?? Agents two-stage ?? */
.stage {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 3rem);
}

.stage:first-of-type {
  border-top: none;
  padding-top: 0;
}

.stage-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 171, 201, 0.35);
  background: var(--cyan-dim);
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.75rem;
}

/* ?? Forms ?? */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--silver-bright);
  background: rgba(14, 17, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
  min-height: 44px;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(0, 171, 201, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 171, 201, 0.12);
}

.form-row select {
  cursor: pointer;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  border-left: 3px solid var(--success);
  background: rgba(61, 214, 140, 0.1);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--silver-bright);
}

.form-success.show {
  display: block;
}

.form-success.warn {
  border-left-color: var(--warn);
  background: rgba(240, 180, 41, 0.1);
}

.dynamic-fields {
  display: grid;
  gap: 1rem;
}

/* ?? How it works ?? */
.steps-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(200, 208, 216, 0.08);
  margin: 0;
}

.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cyan);
}

.steps-list h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--silver-bright);
  margin-bottom: 0.25rem;
}

.steps-list p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  margin: 0;
}

.license-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.license-table th,
.license-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
}

.license-table th {
  font-weight: 500;
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-elevated);
}

.license-table .price {
  color: var(--success);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.footnote {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ?? Footer ?? */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem 3rem;
  margin-top: 2rem;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--silver-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: none;
  color: var(--cyan);
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ?? Sticky bar (product) ?? */
.sticky-pilot {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(14, 17, 22, 0.95);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.sticky-pilot.show {
  display: flex;
}

.sticky-pilot span {
  font-size: 0.85rem;
  color: var(--silver);
}

@media (max-width: 767px) {
  .sticky-pilot span {
    display: none;
  }

  .sticky-pilot .btn {
    width: 100%;
  }
}

/* ?? Page header (non-hero) ?? */
.page-header {
  padding: 2.5rem 0 1.5rem;
}

/* Align intro copy with industry-link cyan rail */
.page-header--align-rail {
  border-left: 2px solid rgba(0, 171, 201, 0.4);
  padding-left: 0.85rem;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: var(--silver-bright);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-header .lede {
  color: var(--text-muted);
  font-weight: 300;
  max-width: 40rem;
  font-size: 1.05rem;
}

.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
  list-style: none;
  padding: 0;
}

.example-tags li {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--silver);
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
}

/* ?? Ad landing pages ?? */
.lp-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 17, 22, 0.92);
}

.lp-header-inner {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--silver-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.lp-brand img {
  width: 32px;
  height: 32px;
}

.lp-trust {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--silver-bright);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.lp-hero .lede {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.lp-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.lp-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.65rem;
}

.lp-benefits li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--silver);
}

.lp-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
}

.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.lp-proof {
  border: 1px solid var(--border);
  padding: 1.25rem;
  background: rgba(0, 171, 201, 0.04);
}

.lp-proof h2 {
  font-size: 1rem;
  color: var(--silver-bright);
  margin-bottom: 0.5rem;
}

.lp-proof p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.lp-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(14, 17, 22, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.lp-sticky .btn {
  width: 100%;
}

@media (max-width: 767px) {
  .lp-sticky {
    display: block;
  }

  .lp-main {
    padding-bottom: 6rem;
  }
}
