@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter/Inter-Regular.woff2') format('woff2'),
      url('../fonts/inter/Inter-Regular.woff') format('woff');
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter/Inter-Medium.woff2') format('woff2'),
      url('../fonts/inter/Inter-Medium.woff') format('woff');
  }
   @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2'),
      url('../fonts/inter/Inter-SemiBold.woff') format('woff');
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter/Inter-Bold.woff2') format('woff2'),
      url('../fonts/inter/Inter-Bold.woff') format('woff');
  }
  @font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display/playfairdisplay-regular-webfont.woff2') format('woff2'),
      url('../fonts/playfair-display/playfairdisplay-regular-webfont.woff') format('woff');
  }

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

  :root {
    --navy: #0D1B2E;
    --navy-mid: #152436;
    --navy-light: #1E3250;
    --white: #FFFFFF;
    --off-white: #F4F6F8;
    --muted: rgba(255, 255, 255, 0.45);
    --accent: #FFFFFF;
    --border: rgba(255, 255, 255, 0.1);
    --blue-100: #E8EEFB;
    --blue-700: #223556;
    --bc-blue-900: #12172f;
    --bc-blue-800: #1e264c;
    --bc-blue-700: #2a3366;
    --bc-blue-100: #edeef4;
    --bc-blue-050: #f6f7fa;
    --bc-paper: #fbfbfd;
    --bc-text: #1e264c;
    --bc-text-2: #3f476a;
    --bc-text-3: #6b7394;
    --bc-text-4: #9aa0ba;
    --bc-border: #e4e6ef;
    --bc-border-2: #ced2e0;
    --bc-positive: #0e9f5e;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--body-font);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
  }

  /* ─── NAV ─────────────────────────────── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s;
  }

  nav.scrolled {
    background: rgba(13, 27, 46, 0.92);
    backdrop-filter: blur(12px);
    border-color: var(--border);
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo svg {
    display: block;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
  }

  nav ul a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }

  nav ul a:hover {
    color: var(--white);
  }

  .btn.nav-cta {
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .nav-cta:hover {
    opacity: 0.85;
  }

  /* ─── HERO ────────────────────────────── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 56px 80px;
    position: relative;
    overflow: hidden;
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
  }

  .hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s forwards;
  }

  .hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--muted);
  }

  h1 {
    font-family: var(--heading-font);
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.48px;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 0.9s 0.25s forwards;
  }

  h1 em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
  }

  .hero-sub {
    margin-top: 36px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s forwards;
  }

  .hero-actions {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.9s 0.55s forwards;
  }

  .btn {
    display: inline-block;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
  }

  .btn-primary {
    background: var(--white);
    color: var(--navy);
    border: none;
  }

  .btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }
  .btn-dark {
    background: var(--navy);
    color: var(--white);
  }
  .btn-dark:hover {
    opacity: 0.88;
    transform: translateY(-1px);
  }
  .btn-ghost {
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    background: none;
    border: none;
  }

  .btn-ghost:hover {
    color: var(--white);
  }

  .btn-ghost::after {
    content: '→';
    transition: transform 0.2s;
  }

  .btn-ghost:hover::after {
    transform: translateX(4px);
  }


  /* ─── SECTION SHARED ─────────────────── */
  section {
    padding: 120px 56px;
  }

  .section-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-tag.dark {
    color: var(--navy);
  }

  .section-light {
    background: var(--off-white);
  }


  /* ── HOW IT WORKS ── */

  .section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.98px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
  }
  .section-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--navy);
  }

  .section-heading {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 60px;
  }
  .section-heading em {
    color: var(--bc-text-3);
  }

  .cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .feature-card {
    background: var(--blue-700);
    border: 1px solid var(--slate-grey);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    min-height: 340px;
  }

  .card-number {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.54px;
    color: var(--white-45);
    margin-bottom: 1rem;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }

  .card-icon svg {
    width: 100%;
    height: 100%;
  }

  .card-title {
    font-size: 32px;
    font-weight: 400;
    color: #f7f8fa;
    margin-bottom: 14px;
  }

  .card-desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #f7f8fa;
  }

  /* ── STATS SECTION ── */

  .stats-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;

  }

  .stats-header .section-heading {
    margin-bottom: 0;
  }

  .stats-header-body {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--navy);
    align-self: center;
  }

/* --- Beacon Calculator styles (appended) ---
   Note: removed calculator @font-face because fonts are already loaded by the landing page
*/


.beacon-calculator__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 8px;
}

.beacon-calculator__heading {
  margin: 0 0 16px;
  color: var(--bc-text);
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.beacon-calculator__heading em {
  color: var(--bc-text-3);
  font-style: italic;
}

.beacon-calculator__intro {
  max-width: 38ch;
  margin: 0 0 36px;
  color: var(--bc-text-2);
  font-size: 14px;
  line-height: 1.6;
}

.beacon-calculator__controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.beacon-calculator__slider {
  display: grid;
  gap: 8px;
}

.beacon-calculator__slider-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  color: var(--bc-text-3);
  font: 600 11px/1 var(--body-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beacon-calculator__slider-head output {
  min-width: 80px;
  color: var(--bc-blue-800);
  font: 600 15px/1 var(--body-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: right;
}

.beacon-calculator__track {
  position: relative;
  display: block;
  height: 18px;
}

.beacon-calculator__track::before,
.beacon-calculator__track-fill {
  position: absolute;
  top: 7px;
  left: 0;
  height: 4px;
  border-radius: 999px;
  content: "";
}

.beacon-calculator__track::before {
  right: 0;
  background: var(--bc-border-2);
}

.beacon-calculator__track-fill {
  width: 0;
  background: var(--bc-blue-800);
  transition: width 80ms linear;
}

.beacon-calculator__track input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.beacon-calculator__note {
  margin: 28px 0 0;
  color: var(--bc-text-4);
  font-size: 12px;
  line-height: 1.5;
}

.beacon-calculator__readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
}

.beacon-calculator__readout-cell {
  min-width: 0;
  padding: 22px 20px;
  background: #fff;
  border-right: 1px solid var(--bc-border);
}

.beacon-calculator__readout-cell:last-child {
  border-right: 0;
}

.beacon-calculator__readout-cell span,
.beacon-calculator__panel-head span {
  display: block;
  color: var(--bc-text-3);
  font: 600 10px/1 var(--body-font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.beacon-calculator__readout-cell strong {
  display: block;
  margin-top: 10px;
  color: var(--bc-blue-800);
  font: 600 clamp(16px, 2.2vw, 22px)/1 var(--body-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.beacon-calculator__readout-cell--accent {
  background: var(--bc-blue-800);
}

.beacon-calculator__readout-cell--accent span {
  color: rgba(255, 255, 255, 0.62);
}

.beacon-calculator__readout-cell--accent strong {
  color: #fff;
}

.beacon-calculator__panel {
  margin-bottom: 20px;
  padding: 20px 24px;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  background: #fff;
}

.beacon-calculator__panel--chart {
  padding: 20px 20px 16px;
  overflow: hidden;
}

.beacon-calculator__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.beacon-calculator__panel-head strong {
  color: var(--bc-blue-800);
  font: 600 13px/1 var(--body-font);
  font-variant-numeric: tabular-nums;
}

.beacon-calculator__panel-head small {
  color: var(--bc-text-3);
  font-size: 12px;
}

.beacon-calculator__progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bc-blue-100);
}

.beacon-calculator__progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--bc-blue-800);
  transition: width 280ms ease;
}

.beacon-calculator__progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--bc-text-3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
}

.beacon-calculator__chart-scroll {
  overflow-x: auto;
}

.beacon-calculator__chart {
  display: block;
  min-width: 460px;
  width: 100%;
}

.beacon-calculator__button {
  width: 100%;
  text-align: center;
}

.beacon-calculator__button:hover {
  background: var(--bc-blue-700);
}

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

@media (max-width: 640px) {
  .beacon-calculator__readout {
    grid-template-columns: 1fr;
  }

  .beacon-calculator__readout-cell {
    border-right: 0;
    border-bottom: 1px solid var(--bc-border);
  }

  .beacon-calculator__readout-cell:last-child {
    border-bottom: 0;
  }

  .beacon-calculator__panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }

  .stat-card {
    background: var(--blue-100);
    border-radius: 1rem;
    padding: 32px;
  }

  .stat-card-number {
    font-size: 80px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -2.15px;
    color: var(--navy);
    margin-bottom: 48px;
    font-family: var(--body-font);
  }
  .stat-card-quote {
    font-size: 1.75rem;
    color: var(--navy);
  }
  .stat-card-title {
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.26px;
    color: var(--navy);
    margin-bottom: 8px;
  }

  .stat-card-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--navy);
  }

  .stat-tall {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .stat-tall .stat-card-number {
    margin-bottom: 0;
  }

  .stat-tall .stat-card-content {
    margin-top: auto;
  }

  .placeholder-img {
    width: 100%;
    aspect-ratio: 405 / 270;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .placeholder-img img {
    width: 100%;
    border-radius: 1rem;
  }

  .stat-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* ─── CTA ────────────────────────────── */
  .cta-section {
    text-align: center;
    padding: 140px 56px;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
    pointer-events: none;
  }

  .cta-section h2 {
    font-family: var(--heading-font);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }


  /* ─── FOOTER ─────────────────────────── */
  footer {
    border-top: 1px solid var(--border);
    padding: 40px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
  }
  .social-link {
    color: var(--off-white);
    margin-left: 1rem;
  }

  /* ─── ANIMATIONS ─────────────────────── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* ─── MOBILE NAV ─────────────────────── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: var(--muted);
  }

  .mobile-menu .mobile-cta {
    margin-top: 16px;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
  }

  /* ─── RESPONSIVE ─────────────────────── */
  @media (max-width: 900px) {
    nav {
      padding: 20px 28px;
    }

    nav ul {
      display: none;
    }

    .nav-cta {
      display: none;
    }

    .nav-hamburger {
      display: flex;
    }

    .hero {
      padding: 120px 28px 60px;
    }

    .hero-stat-strip {
      flex-wrap: wrap;
      margin-top: 60px;
    }

    .stat {
      flex: 1 1 50%;
      padding: 24px 0;
    }

    .stat:nth-child(2) {
      border-right: none;
    }

    .stat:nth-child(3) {
      border-top: 1px solid var(--border);
    }

    .stat:nth-child(4) {
      border-top: 1px solid var(--border);
      border-right: none;
    }

    section {
      padding: 72px 28px;
    }

    .how-steps {
      grid-template-columns: 1fr;
    }

    .step {
      padding: 36px 28px;
    }

    .values-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      max-width: 100%;
    }

    .preview-inner {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .dashboard-mock {
      margin-top: 0;
    }

    .mock-fi-number {
      font-size: 40px;
    }

    .cta-section {
      padding: 80px 28px;
    }

    footer {
      flex-direction: column;
      gap: 20px;
      text-align: center;
      padding: 32px 28px;
    }

    footer>div:last-child {
      justify-content: center;
    }
  }

  @media (max-width: 480px) {
    nav {
      padding: 18px 20px;
    }

    .hero {
      padding: 100px 20px 48px;
    }

    section {
      padding: 60px 20px;
    }

    .hero-stat-strip {
      flex-direction: column;
    }

    .stat {
      flex: 1 1 100%;
      border-right: none !important;
      border-top: 1px solid var(--border);
    }

    .stat:first-child {
      border-top: none;
    }

    .hero-actions {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .btn-primary {
      width: 100%;
      text-align: center;
      padding: 16px 24px;
    }

    .step {
      padding: 28px 20px;
    }

    .mock-fi-number {
      font-size: 34px;
    }

    footer {
      padding: 28px 20px;
    }
  }

  /* ── TABLET (≤1024px) ── */
  @media (max-width: 1024px) {

    .cards-row {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .feature-card {
      min-height: auto;
    }

    .stats-grid {
      grid-template-columns: 1fr 1fr;
    }

    .stat-card-number {
      font-size: 64px;
      margin-bottom: 32px;
    }

    /* Tall stat card resets to normal on tablet */
    .stat-card.stat-tall {
      min-height: auto !important;
      grid-column: 1 / -1;
    }

    .stats-header {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .stats-header-body {
      font-size: 17px;
    }

  }

  /* ── MOBILE (≤640px) ── */
  @media (max-width: 640px) {

    /* How it works */
    #how-it-works {
      padding: 64px var(--page-px);
    }

    .section-heading {
      font-size: 36px;
      line-height: 1.15;
      margin-bottom: 40px;
    }

    .cards-row {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .feature-card {
      padding: 36px 28px 32px;
    }

    /* Stats */
    #stats {
      padding: 64px var(--page-px);
    }

    .stats-header {
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 48px;
    }

    .stats-header-heading {
      font-size: 30px;
    }

    .stats-header-body {
      font-size: 15px;
    }

    .stats-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .stat-card.stat-tall {
      grid-column: auto;
      min-height: auto !important;
    }

    .stat-card-number {
      font-size: 56px;
      margin-bottom: 24px;
    }

    .stat-card-title {
      font-size: 22px;
    }

    .stat-card-desc {
      font-size: 15px;
    }


  }

  /* ── VERY SMALL (≤375px) ── */
  @media (max-width: 375px) {
    .hero-heading {
      font-size: 36px;
    }

    .cta-heading {
      font-size: 36px;
    }

    .stat-card-number {
      font-size: 48px;
    }
  }

/* ─── LEGAL PAGES ────────────────────── */
.legal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 72px;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}

.legal-nav .logo a {
  display: flex;
  align-items: center;
}

.legal-back {
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.legal-back:hover {
  color: var(--off-white);
}

.legal-main {
  padding-top: 72px;
}

.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 56px 96px;
}

.legal-eyebrow {
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-container h1 {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.legal-meta {
  font-family: var(--body-font);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.8;
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.legal-intro {
  font-family: var(--body-font);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 40px;
}

.legal-container h2 {
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--off-white);
  margin-top: 48px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-container h3 {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-container p {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-container ul {
  padding-left: 1.5em;
  margin-bottom: 12px;
}

.legal-container li {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 4px;
  list-style: disc;
}

.legal-callout {
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .legal-nav {
    padding: 0 24px;
  }

  .legal-container {
    padding: 40px 24px 72px;
  }

  .legal-container h1 {
    font-size: 36px;
  }

  .legal-container h2 {
    font-size: 16px;
  }
}