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

  :root {
    --navy: #0d1b35;
    --navy-mid: #1a2d52;
    --blue: #3c64c6;
    --blue-light: #e8eefb;
    --teal: #0f7c6e;
    --teal-light: #e0f4f0;
    --amber: #b86a0a;
    --amber-light: #fdf0df;
    --sand: #f5f3ef;
    --white: #ffffff;
    --text: #0d1b35;
    --text-mid: #4a5568;
    --text-light: #5b6c80;
    --border: rgba(13,27,53,0.1);
    --border-mid: rgba(13,27,53,0.18);
    --radius: 10px;
    --radius-lg: 16px;
  }

  html { scroll-behavior: smooth; }

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

  .serif { font-family: 'DM Serif Display', serif; }

  /* ── RESPONSIVE SAFETY NET ── */
  img { max-width: 100%; height: auto; }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: #ffffff;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    cursor: pointer;
    display: flex; align-items: center;
  }
  a.nav-logo { text-decoration: none; }
  .nav-logo span { color: var(--blue); }
  .nav-links { display: flex; gap: 0; align-items: center; }
  .nav-links a {
    font-size: 14px; color: var(--text-mid); text-decoration: none;
    padding: 0 16px; height: 64px; display: flex; align-items: center;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--navy); border-bottom-color: var(--blue); }
  .nav-dropdown { position: relative; display: flex; align-items: center; }
  .nav-dropdown > .nav-dropdown-trigger {
    font-size: 14px; color: var(--text-mid); text-decoration: none;
    padding: 0 16px; height: 64px; display: flex; align-items: center; gap: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s; cursor: pointer;
  }
  .nav-dropdown:hover > .nav-dropdown-trigger,
  .nav-dropdown > .nav-dropdown-trigger.active { color: var(--navy); border-bottom-color: var(--blue); }
  .nav-dropdown-trigger .caret { font-size: 9px; transition: transform 0.2s; }
  .nav-dropdown:hover .caret { transform: rotate(180deg); }
  .nav-dropdown-menu {
    position: absolute; top: 64px; left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(13,27,53,0.12);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 200;
  }
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-dropdown-menu a {
    display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 10px 12px; height: auto; border-bottom: none; border-radius: 8px;
    font-size: 14px; color: var(--navy); font-weight: 500;
  }
  .nav-dropdown-menu a:hover { background: var(--sand); border-bottom: none; }
  .nav-dropdown-menu a .nd-sub { font-size: 12px; color: var(--text-light); font-weight: 400; }
  .nav-dropdown-menu .nd-divider { height: 1px; background: var(--border); margin: 6px 4px; }
  .nav-cta {
    background: var(--navy); color: #fff;
    font-size: 13px; font-weight: 500;
    padding: 8px 20px; border-radius: var(--radius);
    cursor: pointer; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--blue); transform: translateY(-1px); }
  .nav-login {
    font-size: 13px; font-weight: 500; color: var(--navy);
    padding: 8px 16px; border-radius: var(--radius);
    border: 1.5px solid var(--border-mid);
    cursor: pointer; text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap; margin-right: 8px;
  }
  .nav-login:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

  /* ── PAGES ── */
  .page { display: none; }
  .page.active { display: block; }

  /* ── SECTIONS ── */
  section { padding: 96px 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .container-narrow { max-width: 760px; margin: 0 auto; }

  /* ── HERO ── */
  .hero {
    background: var(--navy);
    padding: 100px 2rem 90px;
    position: relative; overflow: hidden;
  }
  .hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; pointer-events: none;
  }
  .hero-scrim {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(13,27,53,0.92) 0%, rgba(13,27,53,0.78) 45%, rgba(13,27,53,0.55) 100%),
      radial-gradient(ellipse 70% 80% at 80% 50%, rgba(60,100,198,0.25) 0%, transparent 70%);
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(60,100,198,0.18) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-grid { position: relative; z-index: 2; }
  .hero-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); margin-bottom: 20px;
  }
  .hero-eyebrow span {
    width: 20px; height: 1px; background: rgba(255,255,255,0.35); display: inline-block;
  }
  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 4.5vw, 54px);
    line-height: 1.1; color: #fff;
    margin-bottom: 22px; letter-spacing: -0.5px;
  }
  .hero h1 em { color: #7fa4e8; font-style: italic; }
  .hero-sub {
    font-size: 17px; line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px; max-width: 500px;
  }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--blue); color: #fff;
    padding: 12px 28px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; cursor: pointer;
    border: none; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-primary:hover { background: #4d74d6; transform: translateY(-1px); }
  .btn-ghost {
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
    padding: 12px 28px; border-radius: var(--radius);
    font-size: 14px; font-weight: 400; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.2s; text-decoration: none; display: inline-block;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.14); }

  .hero-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 28px; color: #fff;
  }
  .hero-card-title {
    font-size: 11px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
  }
  .risk-pill {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 8px;
    margin-bottom: 8px; font-size: 14px; font-weight: 400;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .risk-pill:last-child { margin-bottom: 0; }
  .risk-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  }

  /* ── LOGOS / TRUST ── */
  .trust-bar {
    background: var(--sand); padding: 22px 0;
    border-bottom: 1px solid var(--border); overflow: hidden;
  }
  .trust-bar-inner {
    max-width: 1100px; margin: 0 auto 14px; padding: 0 2rem;
    display: flex; align-items: center; justify-content: center;
  }
  .trust-label { font-size: 12px; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
  .marquee { position: relative; width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee-track { display: flex; align-items: center; width: max-content; animation: marquee-scroll 28s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-track .trust-item { font-size: 14px; font-weight: 500; color: var(--text-mid); opacity: 0.55; white-space: nowrap; padding: 0 48px; }
  .marquee-track .trust-item .dot { color: var(--blue); opacity: 0.5; margin: 0 4px; }
  .trust-item-logo { height: 15px; width: auto; display: inline-block; vertical-align: middle; filter: grayscale(1); }
  @keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
  .trust-item { font-size: 13px; font-weight: 500; color: var(--text-mid); opacity: 0.6; }

  /* ── SECTION HEADERS ── */
  .section-eyebrow {
    font-size: 12px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--blue); margin-bottom: 12px;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15; color: var(--navy);
    letter-spacing: -0.3px; margin-bottom: 16px;
  }
  .section-title em { font-style: italic; color: var(--blue); }
  .section-sub {
    font-size: 17px; line-height: 1.7; color: var(--text-mid);
    max-width: 600px;
  }

  /* ── NAVY GLOW (soft light accent on dark navy sections) ── */
  .navy-glow { position: relative; isolation: isolate; }
  .navy-glow::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(60,100,198,0.38) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ── PAIN QUOTES ── */
  .pain-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px; margin-top: 48px;
  }
  .pain-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    position: relative;
  }
  .pain-role {
    font-size: 11px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.07em; color: var(--blue); margin-bottom: 10px;
  }
  .pain-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 16px; line-height: 1.5; color: var(--navy);
    font-style: italic;
  }

  /* ── THREE PILLARS ── */
  .pillars { background: var(--sand); }
  .pillar-stack { margin-top: 48px; display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border-mid); border-radius: var(--radius-lg); overflow: hidden; }
  .pillar {
    padding: 32px 36px; border-bottom: 1px solid var(--border-mid);
    display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start;
    background: var(--white); transition: background 0.2s, box-shadow 0.2s;
  }
  .pillar:last-child { border-bottom: none; }
  .pillar:hover { background: #f4f6fe; box-shadow: inset 3px 0 0 var(--blue); }
  a.pillar { text-decoration: none; color: inherit; }
  .pillar-left {}
  .pillar-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.07em; padding: 4px 12px 4px 8px;
    border-radius: 20px; margin-bottom: 14px;
  }
  .pillar-badge-dot { width: 6px; height: 6px; border-radius: 50%; }
  .pillar-name {
    font-family: 'DM Serif Display', serif;
    font-size: 26px; color: var(--navy); margin-bottom: 8px; line-height: 1.1;
  }
  .pillar-tagline { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
  .pillar-right {}
  .pillar-desc { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
  .pillar-modules { display: flex; flex-wrap: wrap; gap: 8px; }
  .module-chip {
    font-size: 13px; color: var(--text);
    border: 1px solid var(--border-mid);
    border-radius: 6px; padding: 5px 12px;
    background: var(--sand);
  }

  /* ── WHY NRISK ── */
  .why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px; margin-top: 48px;
  }
  .why-card {
    padding: 24px; border: 1px solid var(--border);
    border-radius: var(--radius-lg); background: var(--white);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  }
  .why-card:hover {
    transform: translateY(-3px); box-shadow: 0 10px 28px rgba(13,27,53,0.08);
    border-color: var(--border-mid);
  }
  .why-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; font-size: 20px;
  }
  .why-title { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
  .why-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

  /* ── STATS ── */
  .stats-bar {
    background: var(--navy); padding: 60px 2rem;
  }
  .stats-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
  }
  .stat { text-align: center; }
  .stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 48px; color: #fff; line-height: 1; margin-bottom: 8px;
  }
  .stat-num span { color: #7fa4e8; }
  .stat-label { font-size: 14px; color: rgba(255,255,255,0.5); }

  /* ── FOUNDER QUOTE ── */
  .founder {
    background: var(--sand); padding: 80px 2rem;
  }
  .founder-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  }
  .founder-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 26px; line-height: 1.45; color: var(--navy);
    font-style: italic; margin-bottom: 24px;
  }
  .founder-quote::before { content: '\201C'; color: var(--blue); }
  .founder-quote::after { content: '\201D'; color: var(--blue); }
  .founder-attr { font-size: 14px; color: var(--text-mid); }
  .founder-attr strong { color: var(--navy); display: block; font-weight: 500; }
  .founder-cards { display: flex; flex-direction: column; gap: 16px; }
  .founder-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .founder-card:hover {
    transform: translateY(-3px); box-shadow: 0 10px 28px rgba(13,27,53,0.08);
  }
  .founder-card-name { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
  .founder-card-role { font-size: 12px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
  .founder-card-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--blue); padding: 70px 2rem; text-align: center;
  }
  .cta-band h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 36px; color: #fff; margin-bottom: 12px;
  }
  .cta-band p { font-size: 17px; color: rgba(255,255,255,0.93); margin-bottom: 32px; }
  .cta-band .btn-white {
    background: #fff; color: var(--blue);
    padding: 13px 32px; border-radius: var(--radius);
    font-size: 15px; font-weight: 500; cursor: pointer;
    border: none; transition: all 0.2s; text-decoration: none; display: inline-block;
  }
  .cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

  /* ── PRODUCT PAGES ── */
  .product-hero {
    padding: 80px 2rem 70px;
    border-bottom: 1px solid var(--border);
  }
  .product-hero-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center;
  }
  .product-label {
    font-size: 12px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
  }
  .product-label::before {
    content: ''; width: 18px; height: 2px; display: inline-block;
  }
  .product-h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1; color: var(--navy);
    letter-spacing: -0.3px; margin-bottom: 20px;
  }
  .product-sub { font-size: 17px; color: var(--text-mid); line-height: 1.7; margin-bottom: 32px; }
  .feature-list { list-style: none; }
  .feature-list li {
    font-size: 15px; color: var(--text-mid); padding: 9px 0;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: flex-start; gap: 10px;
    line-height: 1.5;
  }
  .feature-list li:last-child { border-bottom: none; }
  .feature-list li::before {
    content: '→'; color: var(--blue); flex-shrink: 0; margin-top: 1px;
  }

  .modules-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px; margin-top: 40px;
  }
  .module-card {
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; background: var(--white);
    transition: border-color 0.2s, transform 0.2s;
  }
  .module-card:hover { border-color: var(--blue); transform: translateY(-2px); }
  .module-card-icon {
    width: 38px; height: 38px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 14px;
  }
  .module-card-name { font-size: 15px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
  .module-card-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
  .module-card-tag {
    display: inline-block; font-size: 11px; margin-top: 12px;
    padding: 3px 10px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
  }

  /* ── PLATFORM PAGE ── */
  .arch-layer {
    border: 1px solid var(--border-mid); border-radius: var(--radius-lg);
    margin-bottom: 16px; overflow: hidden;
  }
  .arch-layer-header {
    padding: 18px 24px; display: flex; align-items: center; gap: 14px;
    border-bottom: 1px solid var(--border);
  }
  .arch-layer-icon {
    width: 36px; height: 36px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
  }
  .arch-layer-name { font-size: 15px; font-weight: 500; color: var(--navy); }
  .arch-layer-badge {
    font-size: 11px; padding: 2px 10px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
  }
  .arch-layer-body { padding: 18px 24px; background: var(--white); }
  .arch-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .arch-tag {
    font-size: 13px; color: var(--text-mid);
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; padding: 4px 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .arch-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(13,27,53,0.1); }

  /* ── COMPANY PAGE ── */
  .mission-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 40px;
  }
  .mission-card {
    padding: 28px 28px 28px 28px;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: var(--white); border-top-width: 3px;
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .mission-card:hover { box-shadow: 0 8px 28px rgba(13,27,53,0.10); transform: translateY(-2px); }
  .mission-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; flex-shrink: 0;
  }
  .mission-card-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
  .mission-card-text { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

  /* ── CONTACT ── */
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    max-width: 900px; margin: 48px auto 0;
  }
  .contact-form { display: flex; flex-direction: column; gap: 16px; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-label { font-size: 13px; font-weight: 500; color: var(--navy); }
  .form-input {
    padding: 11px 14px; border: 1px solid var(--border-mid);
    border-radius: var(--radius); font-size: 14px; font-family: 'DM Sans', sans-serif;
    color: var(--text); background: var(--white);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-input:focus { border-color: var(--blue); }
  textarea.form-input { resize: vertical; min-height: 120px; }
  .form-submit {
    background: var(--navy); color: #fff;
    padding: 12px 28px; border-radius: var(--radius);
    font-size: 14px; font-weight: 500; cursor: pointer;
    border: none; align-self: flex-start;
    transition: background 0.2s;
  }
  .form-submit:hover { background: var(--blue); }
  .contact-info { padding-top: 4px; }
  .contact-info-title { font-size: 18px; font-weight: 500; color: var(--navy); margin-bottom: 16px; }
  .contact-info-item {
    display: flex; gap: 12px; margin-bottom: 20px;
    font-size: 14px; color: var(--text-mid); line-height: 1.6;
  }
  .contact-info-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

  /* ── FOOTER ── */
  footer {
    background: var(--navy); padding: 60px 2rem 32px;
  }
  .footer-grid {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand-name {
    font-family: 'DM Serif Display', serif;
    font-size: 22px; color: #fff; margin-bottom: 12px;
  }
  .footer-brand-name span { color: #7fa4e8; }
  .footer-tagline { font-size: 14px; color: rgba(255,255,255,0.47); line-height: 1.6; margin-bottom: 20px; }
  .footer-col-title {
    font-size: 12px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.47); margin-bottom: 16px;
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a {
    font-size: 14px; color: rgba(255,255,255,0.6);
    text-decoration: none; cursor: pointer;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: #fff; }
  .footer-ai-summary {
    max-width: 1100px; margin: 28px auto 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
    font-size: 14px; color: rgba(255,255,255,0.6);
  }
  .footer-ai-icons { display: flex; align-items: center; gap: 20px; }
  .footer-ai-icons a {
    display: inline-flex; color: #fff; opacity: 0.6;
    transition: opacity 0.2s;
  }
  .footer-ai-icons a:hover, .footer-ai-icons a:focus-visible { opacity: 1; }
  .footer-ai-icons svg { width: 24px; height: 24px; display: block; }

  /* In-page "Get an AI summary" row (light backgrounds) */
  .ai-summary {
    margin-top: 28px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
    font-size: 14px; font-weight: 500; color: var(--navy);
  }
  .ai-summary-icons { display: flex; align-items: center; gap: 10px; }
  .ai-summary-icons a {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--white); border: 1px solid var(--border);
    color: var(--navy);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  }
  .ai-summary-icons a:hover, .ai-summary-icons a:focus-visible {
    transform: translateY(-2px); border-color: #3c64c6;
    box-shadow: 0 6px 16px rgba(13,27,53,0.12);
  }
  .ai-summary-icons svg { width: 20px; height: 20px; display: block; }
  .footer-bottom {
    max-width: 1100px; margin: 28px auto 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: rgba(255,255,255,0.47);
  }

  /* ── COMPARISON TABLE ── */
  .compare-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
  .compare-table th {
    text-align: left; padding: 8px 14px;
    font-size: 11px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--text-mid);
    border-bottom: 2px solid var(--border-mid);
  }
  .compare-table th:last-child { color: var(--navy); }
  .compare-table td {
    padding: 7px 14px; font-size: 12px; color: var(--text-mid);
    border-bottom: 1px solid var(--border);
  }
  .compare-table td:last-child { color: var(--navy); font-weight: 500; }
  .compare-table tr:last-child td { border-bottom: none; }
  .compare-table tbody tr { transition: background 0.15s ease; }
  .compare-table tbody tr:hover { background: var(--sand); }
  .check { color: #0f7c6e; font-size: 13px; }
  .cross { color: #c53030; font-size: 13px; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .page.active .hero h1 { animation: fadeUp 0.6s ease both; }
  .page.active .hero-sub { animation: fadeUp 0.6s 0.1s ease both; }
  .page.active .hero-actions { animation: fadeUp 0.6s 0.2s ease both; }

  /* ── MOBILE MENU ── */
  .nav-toggle {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 8px; margin: 0;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
  .mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 150; padding: 16px 2rem 40px;
    overflow-y: auto; flex-direction: column; gap: 4px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 17px; color: var(--navy); text-decoration: none; font-weight: 500;
    padding: 16px 4px; border-bottom: 1px solid var(--border); cursor: pointer;
  }
  .mobile-menu .mm-group-label {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--text-light); padding: 18px 4px 6px; font-weight: 600;
  }
  .mobile-menu .mm-sub { font-size: 16px; padding-left: 16px; color: var(--text-mid); }
  .mobile-menu .nav-cta {
    margin-top: 22px; text-align: center; padding: 15px; font-size: 16px;
    border-bottom: none; background: var(--navy); color: #fff; border-radius: var(--radius);
  }
  body.menu-open { overflow: hidden; }

  @media (max-width: 980px) {
    .hero-grid, .founder-inner, .product-hero-inner, .contact-grid, .footer-grid {
      grid-template-columns: 1fr;
    }
    .pillar { grid-template-columns: 1fr; gap: 16px; }
    .hero-card { display: none; }

    /* Pattern A: inline two-column section layouts */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1.1fr 1fr"],
    [style*="grid-template-columns:1.3fr 1fr"] { grid-template-columns: 1fr !important; gap: 32px !important; }

    /* Pattern B: inline fixed-sidebar layouts */
    [style*="grid-template-columns:1fr 420px"],
    [style*="grid-template-columns:1fr 400px"],
    [style*="grid-template-columns: 1fr 400px"] { grid-template-columns: 1fr !important; }
  }

  @media (max-width: 768px) {
    nav { padding: 0 1.2rem; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    nav.menu-active .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.menu-active .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.menu-active .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Hero */
    .hero { padding: 56px 1.2rem 52px; }
    .hero h1 { font-size: clamp(28px, 8vw, 38px); }
    .hero-sub { font-size: 15px; }
    .hero-scrim { background:
      linear-gradient(180deg, rgba(13,27,53,0.82) 0%, rgba(13,27,53,0.88) 100%); }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-actions a { text-align: center; }

    /* Sections / spacing */
    section { padding: 56px 1.2rem; }
    .container { padding: 0; }
    .section-title { font-size: clamp(26px, 7vw, 34px); }
    .section-sub { font-size: 15px; }

    /* Grids collapse to single column */
    .pain-grid, .why-grid, .pillars, .stats-bar { grid-template-columns: 1fr !important; }
    .stats-bar { gap: 8px; }
    .cta-band { padding: 56px 1.2rem; }
    .cta-band h2 { font-size: 28px; }

    /* Marquee a touch smaller */
    .marquee-track .trust-item { font-size: 13px; padding: 0 20px; }
    .trust-bar-inner { padding: 0 1.2rem; }

    /* Footer */
    .footer-grid { gap: 28px; }

    /* Generic inline grids: force single column on phones */
    [style*="grid-template-columns:repeat(auto-fit"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  }

  @media (max-width: 420px) {
    .hero h1 { font-size: 26px; }
    .section-title { font-size: 24px; }
    nav { height: 58px; }
    .mobile-menu { top: 58px; }
  }

  /* Comparison table: sticky nRisk column at tablet/mobile widths only */
  @media (max-width: 1024px) {
    /* Fixed layout so the Criterion column is always exactly 210px,
       giving .cmp-nrisk a reliable left offset to anchor to */
    .cmp-table { table-layout: fixed; }
    .cmp-crit-th { width: 210px; }
    /* Keep the nRisk column in view while competitor columns scroll right */
    .cmp-nrisk {
      position: sticky;
      left: 210px;
      z-index: 1;
      /* Subtle shadow to visually separate the sticky column from scrolling content */
      box-shadow: 4px 0 8px -3px rgba(13,27,53,.12);
    }
  }
