/* Base styles for every generated page (extracted from the original guide pages). */

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

  :root {
    --navy: #0B1F3A;
    --navy-mid: #162D50;
    --gold: #E98F1E;
    --gold-light: #F5B85A;
    --white: #FFFFFF;
    --off-white: #F8F6F2;
    --gray-light: #F0EDE8;
    --gray-mid: #9A9590;
    --gray-dark: #3A3733;
    --text: #1A1816;
    --text-muted: #6B6762;
    --border: rgba(10,20,40,0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  .display { font-family: 'Poppins', sans-serif; }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(11,31,58,0.97);
    backdrop-filter: blur(8px);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-logo { text-decoration: none; display: flex; align-items: center; }
  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease) !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }
  .nav-cta:active { transform: scale(0.96); }

  .nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 6px; align-items: center; justify-content: center;
    transition: transform 0.25s var(--ease);
  }
  .nav-toggle:active { transform: scale(0.9); }
  .mobile-menu {
    display: flex; position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column; padding: 8px 6% 20px; gap: 2px;
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }
  .mobile-menu.open { max-height: 420px; opacity: 1; pointer-events: auto; overflow-y: auto; }
  .mobile-menu a {
    color: rgba(255,255,255,0.85); text-decoration: none; font-size: 16px;
    font-weight: 500; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  }
  .mobile-menu a:active { color: var(--gold-light); padding-left: 8px; }
  .mobile-menu a.nav-cta {
    background: var(--gold) !important; color: var(--navy) !important;
    text-align: center; border-radius: 100px; margin-top: 10px;
    font-weight: 600 !important; border-bottom: none; padding: 13px 4px;
  }
  .mobile-menu a.nav-cta:active { padding-left: 4px; transform: scale(0.97); }

  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  main { max-width: 820px; margin: 0 auto; padding: 140px 6% 100px; }

  .eyebrow {
    font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
  }
  h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--navy);
    margin-bottom: 16px;
  }
  .lede { font-size: 18px; color: var(--text-muted); margin-bottom: 48px; max-width: 640px; }

  h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--navy);
    margin: 56px 0 14px;
    letter-spacing: -0.3px;
  }
  p { margin-bottom: 16px; color: var(--text); }
  p.muted { color: var(--text-muted); font-size: 14px; }

  table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
  th {
    text-align: left; background: var(--navy); color: var(--white);
    padding: 12px 16px; font-weight: 600; font-size: 14px;
  }
  th:first-child { border-top-left-radius: var(--radius-sm); }
  th:last-child { border-top-right-radius: var(--radius-sm); }
  td { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  tr:nth-child(even) td { background: var(--off-white); }
  tr:last-child td { border-bottom: none; }

  .factors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
  .factor-card {
    background: var(--off-white); border-radius: var(--radius-sm);
    padding: 18px 20px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .factor-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,31,58,0.08); }
  .factor-card .label { font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
  .factor-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

  .cta-box {
    margin-top: 64px; background: var(--navy); border-radius: var(--radius);
    padding: 40px 36px; text-align: center;
  }
  .cta-box h3 {
    font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 24px;
    color: var(--white); margin-bottom: 10px;
  }
  .cta-box p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }
  .btn-gold {
    display: inline-block; background: var(--gold); color: var(--navy);
    padding: 13px 32px; border-radius: 100px; font-weight: 600; font-size: 16px;
    text-decoration: none; transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(233,143,30,0.3); }
  .btn-gold:active { transform: scale(0.97) translateY(0); }

  footer { background: var(--navy); padding: 48px 5% 28px; margin-top: 40px; }
  .footer-inner {
    max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-tagline { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 10px; }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
  .footer-links a:hover { color: var(--white); }
  .footer-bottom {
    max-width: 1200px; margin: 0 auto; padding-top: 20px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,0.4);
  }

  @media (max-width: 640px) {
    nav .nav-links { display: none; }
    .nav-toggle { display: flex; }
    main { padding: 96px 6% 64px; }
    .factors { grid-template-columns: 1fr; }
    table { font-size: 13px; }
    th, td { padding: 10px 12px; }
    .footer-inner { flex-direction: column; }
  }


  .hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
  .hub-card {
    display: block; text-decoration: none; background: var(--off-white);
    border-radius: var(--radius); padding: 28px 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .hub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11,31,58,0.10); }
  .hub-card:active { transform: translateY(-1px) scale(0.99); }
  .hub-card .hub-icon {
    width: 44px; height: 44px; background: rgba(233,143,30,0.12); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  }
  .hub-card .hub-tag { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; }
  .hub-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 8px; }
  .hub-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

  .step-list { counter-reset: step; margin: 24px 0; }
  .step { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step-num {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy);
    color: var(--gold-light); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
  }
  .step-body h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; color: var(--navy); margin-bottom: 4px; }
  .step-body p { font-size: 15px; color: var(--text-muted); margin: 0; }

  .compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
  .compare-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
  .compare-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11,31,58,0.08); border-color: var(--gold); }
  .compare-card.featured { border: 2px solid var(--gold); position: relative; }
  .compare-badge {
    position: absolute; top: -12px; left: 20px; background: var(--gold); color: var(--navy);
    font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 100px; text-transform: uppercase;
  }
  .compare-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); margin-bottom: 6px; }
  .compare-card .sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
  .compare-card ul { list-style: none; margin: 0; padding: 0; }
  .compare-card li { font-size: 14px; padding: 7px 0; padding-left: 22px; position: relative; color: var(--text); border-bottom: 1px solid var(--border); }
  .compare-card li:last-child { border-bottom: none; }
  .compare-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

  .spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
  .spec-card { background: var(--off-white); border-radius: var(--radius-sm); padding: 20px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
  .spec-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,31,58,0.08); }
  .spec-card .tier { font-size: 12px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
  .spec-card h3 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
  .spec-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

  .related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }

  @media (max-width: 640px) {
    .hub-grid { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .spec-grid { grid-template-columns: 1fr; }
    .related { grid-template-columns: 1fr; }
  }

