/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #2a2a2a;
  --accent-hover:  #111111;
  --accent-light:  #efefef;
  --page-bg:       #FFFFFF;
  --white:         #FFFFFF;
  --navy:          #1a1a1a;
  --text:          #0C1A2E;
  --text-body:     #3B4C63;
  --text-muted:    #7A8BA0;
  --border:        #D4DAE8;
  --border-dark:   rgba(255, 255, 255, 0.09);
  --radius:        6px;
  --radius-lg:     12px;
  --nav-inset-top:  0px;
  --nav-bar-height: 64px;
  --font-sans:     'Sora', sans-serif;
  --font-display:  'Albert Sans', sans-serif;
  --form-error:    #b03030;
}

html { font-size: 16px; scroll-behavior: smooth; }

/* Index: vertical snap toward full-bleed sections (hero, apps, how, features, CTA) */
html:has(body.page-index) {
  scroll-snap-type: y proximity;
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.page-index) {
    scroll-snap-type: none;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
}

/* Largest marketing / hero titles only — everything else stays Sora */
h1,
.hero-headline,
.mission-title,
.apps-heading,
.how-pipeline-heading .how-title,
.cap-section-title,
.cta-band-text h2,
.contact-intro h2 {
  font-family: var(--font-display);
}

a { text-decoration: none; color: inherit; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  --nav-fg: #ffffff;
  --nav-stroke: rgba(255, 255, 255, 0.95);
  --nav-stroke-muted: rgba(255, 255, 255, 0.55);
  --nav-hover-fill: rgba(255, 255, 255, 0.14);
  position: fixed;
  top: var(--nav-inset-top);
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 100;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  position: relative;
  z-index: 1;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 18px 22px;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav-dropdown {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  margin: 0;
  border: none;
  background: transparent;
  color: var(--nav-fg);
  font: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}

.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown:focus-within .nav-dropdown__trigger {
  opacity: 0.8;
}

.nav-dropdown__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.nav-dropdown__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--nav-fg);
}

.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  transform: none;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: max(100%, 11rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--nav-stroke);
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--nav-fg);
  text-align: center;
  border: none;
  border-bottom: 2px solid var(--nav-stroke-muted);
  background: transparent;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown__item:last-child {
  border-bottom: none;
}

.nav-dropdown__item:hover {
  background: var(--nav-hover-fill);
  color: #ffffff;
}

/* Light page sections under the bar (Mission, etc.): dark logo + menu for contrast */
.nav.nav--light-underlay {
  --nav-fg: #0c1a2e;
  --nav-stroke: rgba(12, 26, 46, 0.9);
  --nav-stroke-muted: rgba(12, 26, 46, 0.22);
  --nav-hover-fill: rgba(12, 26, 46, 0.06);
}

.nav.nav--light-underlay::before {
  background: rgba(255, 255, 255, 0.62);
}

.nav.nav--light-underlay .nav-logo-img {
  filter: none;
}

.nav.nav--light-underlay .nav-dropdown__item:hover {
  color: var(--nav-fg);
}

/* WIP curtain / minimal header: single logo centered */
.nav.nav--center-logo .nav-inner {
  justify-content: center;
}

/* WIP curtain: full-bleed hero image (under fixed nav) + stable mobile viewport height */
html.wip-curtain-root {
  height: 100%;
}

html.wip-curtain-root,
body.wip-curtain {
  background-color: var(--navy);
}

body.wip-curtain {
  min-height: 100%;
  min-height: 100dvh;
}

body.wip-curtain .nav {
  padding-top: env(safe-area-inset-top, 0px);
}

body.wip-curtain .hero {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

body.wip-curtain .hero-content {
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--nav-bar-height) + var(--nav-inset-top) + 40px);
  padding-right: 32px;
  padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  padding-left: 32px;
}

@supports (-webkit-touch-callout: none) {
  html.wip-curtain-root {
    height: -webkit-fill-available;
  }

  body.wip-curtain {
    min-height: -webkit-fill-available;
  }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  --hero-cta-fg: #ffffff;
  --hero-cta-border: rgba(255, 255, 255, 0.95);
  --hero-cta-hover-bg: rgba(255, 255, 255, 0.14);
  --hero-sub-fg: rgba(255, 255, 255, 0.88);
  /* DXF card width; mobile uses a smaller --hero-dxf-w in the 768px breakpoint. */
  --hero-dxf-w: clamp(200px, 26vw, 420px);
  /* Horizontal (desktop) / vertical (mobile stack) space between headline block and DXF. */
  --hero-copy-dxf-gap: 78px;
  position: relative;
  /* At least one viewport tall so the banner/background fills the screen; can grow with content. */
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-bar-height) + var(--nav-inset-top));
  padding-bottom: 24px;
  background-color: var(--navy);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
  z-index: 0;
  object-fit: cover;
}

/* Darken + soft haze over the hero background (below copy). */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.58) 100%),
    radial-gradient(ellipse 130% 88% at 50% 32%, rgba(255, 255, 255, 0.08) 0%, transparent 52%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.06) 0%, rgba(12, 22, 42, 0.32) 100%);
}

/* Row aligns DXF with the headline block; flex-grow fills space when hero is viewport-tall. */
.hero-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--hero-copy-dxf-gap);
  width: 100%;
  padding: 40px 32px 36px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  min-height: 0;
}

.hero-inner {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1200px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

@media (min-width: 769px) {
  .hero-content {
    justify-content: center;
  }

  /* Shrink-wrap to headline / CTA width so dead space doesn’t sit between copy and DXF. */
  .hero-inner {
    flex: 0 1 auto;
  }

  .hero-text {
    width: max-content;
    max-width: min(
      980px,
      calc(100vw - var(--hero-dxf-w) - var(--hero-copy-dxf-gap) - 64px)
    );
  }

  /* DXF frame height tracks `.hero-text` (headline → CTA); set via `--hero-text-block-h` in hero-dxf.js */
  .hero-visual {
    align-self: flex-start;
  }

  .hero-dxf-wrap {
    aspect-ratio: unset;
    height: var(--hero-text-block-h, 300px);
  }
}

.hero-visual {
  flex-shrink: 0;
  align-self: center;
  z-index: 2;
  pointer-events: none;
}

.hero-visual .hero-video-card {
  pointer-events: auto;
}

.hero-video-card {
  flex-shrink: 0;
  width: var(--hero-dxf-w);
  border-radius: 0;
  overflow: visible;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.hero-dxf-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
}

.hero-dxf-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

.hero-dxf-wrap--error {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-dxf-wrap--error canvas {
  display: none;
}

.hero-dxf-wrap--error::after {
  content: 'Drawing preview unavailable';
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--hero-sub-fg);
  max-width: 440px;
  margin-bottom: 0;
}

.hero-flag {
  margin-top: 28px;
  margin-bottom: 28px;
}

.hero-flag img {
  height: 44px;
  width: auto;
  display: block;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-hero:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.hero-actions .btn-hero {
  color: var(--hero-cta-fg);
  border-color: var(--hero-cta-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: transparent;
  background-image: linear-gradient(
    105deg,
    transparent 0%,
    transparent 44%,
    rgba(255, 255, 255, 0.035) 48%,
    rgba(255, 255, 255, 0.075) 50%,
    rgba(255, 255, 255, 0.035) 52%,
    transparent 56%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  animation: btn-motor-shine-subtle 8.5s ease-in-out infinite;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
}

.hero-actions .btn-hero:hover {
  background-color: var(--hero-cta-hover-bg);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  background: transparent;
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border);
  border-radius: 0;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.btn-hero-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}


/* ── Features (Capabilities) ─────────────────────────────── */
.features {
  /* Gunmetal / cool steel only — no warm tones */
  --cap-metal-void: #0e1014;
  --cap-metal-dark: #1c2128;
  --cap-metal-mid: #3d4652;
  --cap-metal-sheen: #9aa6b4;
  --cap-metal-shine: #c4ced8;
  position: relative;
  isolation: isolate;
  background-color: #eef1f6;
  background-image: url('media/dunes11.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 104px 32px 112px;
}

/* Wash on its own layer so the photo paints reliably (incl. Chrome) and stays visible through translucency */
.features::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(246, 248, 252, 0.93) 50%,
    rgba(242, 245, 250, 0.95) 100%
  );
}

.features-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cap-section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 10px;
  background: linear-gradient(
    100deg,
    var(--cap-metal-void) 0%,
    var(--cap-metal-dark) 16%,
    var(--cap-metal-mid) 32%,
    var(--cap-metal-sheen) 38%,
    #a8b2bd 44%,
    var(--cap-metal-shine) 50%,
    #a8b2bd 56%,
    var(--cap-metal-sheen) 62%,
    var(--cap-metal-mid) 68%,
    var(--cap-metal-dark) 78%,
    var(--cap-metal-void) 100%
  );
  background-size: 340% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text);
  animation: cap-metal-shine 32s ease-in-out infinite;
}

.cap-section-lede {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--text-body);
  opacity: 0.88;
}

@keyframes cap-metal-shine {
  0%, 100% { background-position: 28% 50%; }
  50% { background-position: 72% 50%; }
}

.capabilities-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: 4px;
}

.cap-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: start;
  padding: 10px 12px 10px 16px;
  margin: 0;
  text-align: left;
  border-radius: var(--radius);
}

.cap-row__ix {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  padding-top: 3px;
  color: var(--text-muted);
}

.cap-row__body {
  min-width: 0;
}

.cap-row__title {
  margin: 0 0 3px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text);
}

.cap-row__desc {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-body);
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  .cap-section-title {
    animation: none;
    background-size: 100% 100%;
    background-position: 50% 50%;
  }

  .cap-row {
    transition: none;
  }
}

/* ── Mission ─────────────────────────────────────────────── */
.mission {
  background: var(--page-bg);
  padding: 88px 32px;
  border-top: 1px solid var(--border);
}

.mission-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 40px 56px;
  min-width: 0;
}

.mission-text {
  flex: 1 1 320px;
  max-width: 720px;
  min-width: 0;
}

.mission-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: left;
  margin-bottom: 28px;
  color: var(--text);
}

.mission-body {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  color: var(--text-body);
  text-align: left;
}

.mission-flag-col {
  flex: 1 1 min(280px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}

.mission-flag {
  display: block;
  max-width: min(100%, clamp(160px, 28vw, 360px));
  max-height: min(32vh, 260px);
  width: auto;
  height: auto;
  object-fit: contain;
  transform: rotate(90deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* ── How It Works ────────────────────────────────────────── */
.how {
  position: relative;
  isolation: isolate;
  background-color: #eef1f6;
  background-image: url('media/dunes9.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 96px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Same wash strength as .features::before so both banners read the same */
.how::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(246, 248, 252, 0.93) 50%,
    rgba(242, 245, 250, 0.95) 100%
  );
}

.how-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* One module: video + heading row, then stage row. */
.how-pipeline {
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.how-pipeline-top {
  display: flex;
  align-items: stretch;
}

.how-pipeline-media {
  flex: 1.22;
  min-width: 0;
  position: relative;
  background: #0a0d12;
  overflow: hidden;
  height: clamp(220px, 32vw, 300px);
}

.how-pipeline-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
}

.how-pipeline-heading .how-title {
  margin: 0;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;
  color: var(--text);
}

.how-process-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--border);
}

.how-pipeline .how-step {
  flex: 1;
  padding: 32px 28px;
  background: var(--white);
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.how-pipeline .how-step:last-child {
  border-right: none;
}

.how-num-wrap { margin-bottom: 16px; }

.how-num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
}

.how-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.how-step p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* ── Applications ────────────────────────────────────────── */
.apps {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 52vh, 504px);
  min-height: clamp(300px, 52dvh, 504px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0c0d10;
  padding: 24px 32px 52px;
  box-sizing: border-box;
}

.apps::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('media/rendering5.png');
  background-size: calc(100% + 3px) auto;
  background-position: calc(50% + 4px) bottom;
  background-repeat: no-repeat;
}

.apps-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.apps-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
}

.apps-heading {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
  color: #fff;
  text-align: left;
  max-width: min(100%, 22rem);
}

.apps-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 720px) {
  .apps-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .apps-heading {
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .apps-grid {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .apps-grid {
    gap: 8px;
  }

  .apps .app-chip {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }
}

.app-chip {
  padding: 10px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  transition: all 0.15s;
}

.app-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.app-chip--primary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.app-chip--primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.apps .app-chip {
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.apps .app-chip:hover {
  border-color: rgba(255, 255, 255, 0.95);
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.apps .app-chip--primary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.apps .app-chip--primary:hover {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: #fff;
  color: #fff;
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
  background: #000;
}

body.page-index .hero,
body.page-index .apps,
body.page-index .how,
body.page-index .features,
body.page-index .cta-band {
  scroll-snap-align: start;
  scroll-margin-top: calc(var(--nav-bar-height) + var(--nav-inset-top) + 8px);
}

.cta-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scale(1.06);
  z-index: 0;
  object-fit: cover;
  filter: blur(8px);
}

/* Match hero: darken + soft haze over video (below copy). */
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.48) 100%),
    radial-gradient(ellipse 130% 88% at 50% 32%, rgba(255, 255, 255, 0.08) 0%, transparent 52%),
    linear-gradient(180deg, rgba(248, 250, 255, 0.06) 0%, rgba(12, 22, 42, 0.22) 100%);
}

.cta-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.cta-band-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}

.cta-band-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background-color: transparent;
  background-image: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 0;
  white-space: nowrap;
  animation: btn-motor-shine 5.8s ease-in-out 1.4s infinite;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
  flex-shrink: 0;
}

.btn-cta-large:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

@keyframes btn-motor-shine {
  0%, 70% {
    background-position: 100% 50%;
  }
  88% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes btn-motor-shine-subtle {
  0%, 68% {
    background-position: 100% 50%;
  }
  91% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn-hero,
  .btn-cta-large {
    animation: none;
    background-image: none;
  }
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  background: var(--page-bg);
  padding: 96px 32px;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: 36px;
}

.contact-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-intro p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.contact-required { color: var(--form-error); }

.contact-optional {
  font-weight: 500;
  color: var(--text-muted);
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--page-bg);
  transition: border-color 0.15s;
  outline: none;
}

.contact-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--accent);
}

.contact-form-group input.is-invalid,
.contact-form-group textarea.is-invalid {
  border-color: var(--form-error);
}

.contact-form-group .field-error {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--form-error);
  padding-left: 10px;
  border-left: 2px solid var(--form-error);
  margin-top: 1px;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.contact-form-checkbox-row {
  margin-top: -2px;
}

.contact-form-group.contact-form-checkbox-row .contact-form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.45;
  cursor: pointer;
}

.contact-form-group.contact-form-checkbox-row input[type='checkbox'] {
  width: auto;
  min-width: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 6px;
}

.contact-form-submit {
  cursor: pointer;
}

.contact-form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.contact-form-status {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-body);
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status[data-variant='success'] {
  color: var(--text);
}

.contact-form-status[data-variant='error'] {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--form-error);
  padding-left: 10px;
  border-left: 2px solid var(--form-error);
  margin-top: 1px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--page-bg);
  border-top: 1px solid var(--border);
  padding: 56px 32px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo-img {
  height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  opacity: 0.85;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.5;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 64px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-body);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--text); }

.footer-col--newsletter {
  max-width: min(320px, 100%);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.footer-newsletter-row input[type='email'] {
  flex: 1 1 140px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--page-bg);
  outline: none;
  transition: border-color 0.15s;
}

.footer-newsletter-row input[type='email']:focus {
  border-color: var(--accent);
}

.footer-newsletter-row input[type='email'].is-invalid {
  border-color: var(--form-error);
}

.footer-newsletter-row .field-error {
  flex-basis: 100%;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--form-error);
  padding-left: 10px;
  border-left: 2px solid var(--form-error);
  margin-top: 1px;
  box-sizing: border-box;
}

.footer-newsletter-row input[type='email']::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.footer-newsletter-submit {
  flex: 0 0 auto;
  padding: 10px 18px;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.footer-newsletter-submit:hover:not(:disabled) {
  background: var(--accent-light);
}

.footer-newsletter-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.footer-newsletter-status {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-body);
}

.footer-newsletter-status:empty {
  display: none;
}

.footer-newsletter-status[data-variant='success'] {
  color: var(--text);
}

.footer-newsletter-status[data-variant='error'] {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--form-error);
  padding-left: 10px;
  border-left: 2px solid var(--form-error);
  margin-top: 1px;
}

/* WIP curtain: newsletter block on dark hero (same components as footer) */
.wip-curtain-newsletter {
  margin-top: clamp(20px, 4vw, 32px);
  max-width: min(380px, 100%);
  text-align: left;
}

.wip-curtain-newsletter .footer-newsletter-form {
  padding-top: clamp(12px, 2.5vw, 20px);
}

.wip-curtain-newsletter .footer-newsletter-row input[type='email'] {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wip-curtain-newsletter .footer-newsletter-row input[type='email']::placeholder {
  color: rgba(255, 255, 255, 0.52);
  opacity: 1;
}

.wip-curtain-newsletter .footer-newsletter-row input[type='email']:focus {
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.2);
}

.wip-curtain-newsletter .footer-newsletter-row input[type='email'].is-invalid {
  border-color: #ffb8b8;
}

.wip-curtain-newsletter .footer-newsletter-row .field-error {
  color: #ffb8b8;
  border-left-color: #ffb8b8;
}

.wip-curtain-newsletter .footer-newsletter-submit {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.wip-curtain-newsletter .footer-newsletter-submit:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.38);
  border-color: #ffffff;
}

.wip-curtain-newsletter .footer-newsletter-submit:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.45);
}

.wip-curtain-newsletter .footer-newsletter-status {
  color: rgba(255, 255, 255, 0.85);
}

.wip-curtain-newsletter .footer-newsletter-status[data-variant='success'] {
  color: #ffffff;
}

.wip-curtain-newsletter .footer-newsletter-status[data-variant='error'] {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ffb8b8;
  padding-left: 10px;
  border-left: 2px solid #ffb8b8;
  margin-top: 1px;
}

/* WIP curtain: copyright on hero image (no separate white bar) */
.wip-curtain-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  background: none;
  border: none;
  padding: 12px 32px calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.wip-curtain-footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wip-curtain-footer-primary {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(0, 0, 0, 0.45);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Animations ──────────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cap-row.fade-in-up {
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    transition: none;
    opacity: 1;
    transform: none;
  }

}

/* ── Configurator launch overlay (DESIGN MOTOR) ───────────── */
body.app-load-active {
  overflow: hidden;
}

/*
 * Hide by explicit display — do not rely on [hidden] alone (author resets / edge cases
 * can leave the overlay visible on first paint).
 */
#app-load-overlay {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 50000;
  place-items: center;
  background: #000000;
  box-sizing: border-box;
}

#app-load-overlay.app-load-overlay--open {
  display: grid !important;
}

/* Fades in over the dark loader + logo, then holds until navigation. */
.app-load-white-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.33, 0, 0.2, 1);
}

#app-load-overlay.app-load-overlay--to-white .app-load-white-veil {
  opacity: 1;
}

.app-load-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 32px;
  transition: opacity 0.65s cubic-bezier(0.33, 0, 0.2, 1);
}

#app-load-overlay.app-load-overlay--to-white .app-load-inner {
  opacity: 0;
}

.app-load-logo {
  display: block;
  width: min(220px, 72vw);
  height: auto;
  filter: invert(1);
  opacity: 0.95;
}

.app-load-track {
  width: min(200px, 55vw);
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.app-load-bar {
  width: 38%;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.88);
  animation: app-load-sweep 1.05s ease-in-out infinite;
  transform: translateX(-120%);
}

@keyframes app-load-sweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.app-load-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .app-load-bar {
    animation: none;
    transform: translateX(0);
    width: 100%;
    opacity: 0.5;
  }

  .app-load-white-veil {
    transition-duration: 0.18s;
  }

  .app-load-inner {
    transition-duration: 0.15s;
  }
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 1024px) {
  .how-pipeline-top {
    flex-direction: column;
  }

  .how-pipeline-heading {
    border-bottom: 1px solid var(--border);
    padding: 22px 24px;
  }

  .how-pipeline-media {
    width: 100%;
    height: clamp(180px, 48vw, 260px);
  }

  .how-pipeline .how-steps {
    flex-direction: column;
    gap: 0;
  }

  .how-pipeline .how-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 24px;
  }

  .how-pipeline .how-step:last-child {
    border-bottom: none;
  }

  .cta-band-inner { flex-direction: column; text-align: center; }

}

@media (max-width: 768px) {
  :root {
    --nav-inset-top: 0px;
  }

  .nav-inner { padding: 0 20px; }

  .wip-curtain-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    --hero-copy-dxf-gap: 32px;
    --hero-dxf-w: clamp(120px, 42vw, 200px);
  }

  .hero-content {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 48px 20px 28px;
  }

  body.wip-curtain .hero-content {
    padding: calc(env(safe-area-inset-top, 0px) + var(--nav-bar-height) + var(--nav-inset-top) + 48px) 20px calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .hero-inner {
    max-width: none;
    flex: 1 1 auto;
  }

  .hero-text {
    max-width: none;
    width: 100%;
  }

  .hero-visual {
    align-self: center;
    margin-top: 0;
    pointer-events: auto;
  }

  .hero-video-card {
    width: var(--hero-dxf-w);
    max-width: 100%;
  }

  .hero-headline { font-size: 2.1rem; }

  .features { padding: 72px 20px 80px; }

  .capabilities-list {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .cap-row {
    padding: 12px 10px 12px 14px;
  }

  .features-header {
    margin-bottom: 22px;
  }

  .mission { padding: 64px 20px; }

  .mission-inner {
    flex-direction: column;
    align-items: center;
    row-gap: 24px;
    column-gap: 0;
  }

  .mission-title {
    text-align: center;
  }

  .mission-text {
    margin-left: auto;
    margin-right: auto;
  }

  .mission-body {
    margin-left: auto;
    margin-right: auto;
  }

  .mission-flag-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .mission-flag {
    transform: none;
    max-width: min(100%, 168px);
    max-height: min(16vh, 100px);
  }

  .how { padding: 64px 20px; }
  .apps { padding: 64px 20px; }

  /* Narrow viewports: width-based auto height leaves a thin strip; cover fills the banner */
  .apps::before {
    background-size: cover;
    background-position: center bottom;
  }

  .cta-band { padding: 64px 20px; }
  .contact { padding: 64px 20px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-col--newsletter { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.8rem; }
  .btn-hero { padding: 13px 24px; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-submit {
    width: 100%;
    justify-content: center;
  }

  .footer-newsletter-row {
    flex-direction: column;
  }

  /* Column layout: flex-grow on the input applies on the vertical axis — avoid huge fields */
  .footer-newsletter-row input[type='email'] {
    flex: 0 1 auto;
    width: 100%;
  }

  .footer-newsletter-submit {
    width: 100%;
  }
}

/* ── Legal (Terms of Service, etc.) ─────────────────────── */
body.page-legal {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.page-legal .legal-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: calc(var(--nav-bar-height) + 40px) 32px 56px;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.legal-doc-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.legal-doc h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
}

.legal-doc p {
  margin-bottom: 0.85rem;
}

.legal-doc ul {
  margin: 0 0 1rem 1.15rem;
  padding: 0;
}

.legal-doc li {
  margin-bottom: 0.4rem;
}

.legal-doc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: var(--accent-hover);
}
