﻿  :root {
    --navy: #081420;
    --navy-mid: #0F2238;
    --navy-light: #1A3350;
    --navy-elevated: #132A42;
    --gold: #C8952A;
    --gold-light: #E4AD3A;
    --gold-pale: #F5E6C8;
    --gold-glow: rgba(200,149,42,0.12);
    --cream: #FAF7F2;
    --white: #FFFFFF;
    --slate: #8FA3B8;
    --slate-dark: #4A6278;
    --green: #1A7A40;
    --green-light: #E8F5EE;
    --red: #C0392B;
    --code-bg: #040C14;
    --border-subtle: rgba(255,255,255,0.07);
    --border-gold: rgba(200,149,42,0.22);
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.15);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.25);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.4);
    --max-w: 1140px;
    --nav-h: 72px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body {
    font-family: 'Outfit', sans-serif; color: var(--white); overflow-x: hidden;
    background: var(--navy);
    background-image:
      radial-gradient(ellipse 90% 60% at 10% -10%, rgba(200,149,42,0.06) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 95% 10%, rgba(46,109,164,0.05) 0%, transparent 50%);
  }
  img, svg, video { max-width: 100%; height: auto; }
  ::selection { background: rgba(200,149,42,0.3); color: var(--white); }

  /* â”€â”€ SKIP NAV (accessibility) â”€â”€ */
  .skip-nav { position: absolute; top: -100%; left: 1rem; background: var(--gold); color: var(--navy); padding: 0.5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem; text-decoration: none; z-index: 9999; transition: top 0.2s; }
  .skip-nav:focus { top: 1rem; }

  /* â”€â”€ NAV â”€â”€ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h);
    padding: 0 2.5rem;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(2.5rem, env(safe-area-inset-left));
    padding-right: max(2.5rem, env(safe-area-inset-right));
    background: rgba(8,20,32,0.82);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  nav.scrolled {
    background: rgba(8,20,32,0.95);
    border-bottom-color: var(--border-gold);
    box-shadow: var(--shadow-sm);
  }
  .nav-brand { cursor: pointer; display: flex; align-items: baseline; gap: 0.85rem; line-height: 1; text-decoration: none; color: inherit; }
  .nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--white); letter-spacing: -0.3px; white-space: nowrap; }
  .nav-logo-accent { color: var(--gold-light); font-weight: 400; padding: 0 0.04em; }
  .nav-logo-lx { color: var(--gold); }
  .nav-logo-tag {
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--slate-dark); white-space: nowrap;
    display: flex; align-items: center; gap: 0.55rem;
  }
  .nav-logo-tag::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.55; flex-shrink: 0; }
  .nav-links { display: flex; gap: 0.25rem; align-items: center; }
  .nav-links a {
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.6px; text-transform: uppercase;
    color: var(--slate); text-decoration: none; cursor: pointer;
    padding: 0.45rem 0.85rem; border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
    position: relative;
  }
  .nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
  .nav-links a.active { color: var(--white); background: rgba(200,149,42,0.1); }
  .nav-links a.active::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
    width: 16px; height: 2px; background: var(--gold); border-radius: 1px;
  }
  .nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
    color: var(--navy) !important; padding: 0.5rem 1.15rem !important;
    border-radius: var(--radius-sm) !important; font-weight: 600 !important;
    margin-left: 0.5rem; box-shadow: 0 2px 12px rgba(200,149,42,0.25);
    transition: transform 0.2s, box-shadow 0.2s !important;
  }
  .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,149,42,0.35) !important; background: linear-gradient(135deg, var(--gold-light) 0%, #F0BC4A 100%) !important; }
  .nav-cta.active::after { display: none; }

  /* â”€â”€ HAMBURGER â”€â”€ */
  .nav-hamburger {
    display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; cursor: pointer; background: none; border: none; padding: 0;
    flex-shrink: 0;
  }
  .nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* â”€â”€ MOBILE DRAWER â”€â”€ */
  .mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(8,20,32,0.97); backdrop-filter: blur(24px);
    flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    padding: max(5rem, calc(env(safe-area-inset-top) + 4rem)) 1.5rem max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    font-size: 1.1rem; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase;
    color: var(--slate); text-decoration: none; cursor: pointer; transition: color 0.2s;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-md); width: 100%; max-width: 280px; text-align: center;
  }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--white); background: rgba(255,255,255,0.05); }
  .mobile-nav .nav-cta { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); padding: 0.85rem 2rem; border-radius: var(--radius-sm); font-weight: 600; margin-top: 1rem; }

  /* â”€â”€ SCROLL TO TOP â”€â”€ */
  .scroll-top {
    position: fixed;
    bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1rem);
    right: max(2rem, env(safe-area-inset-right, 0px) + 1rem);
    z-index: 90; width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy); border: none; border-radius: var(--radius-md);
    font-size: 1rem; cursor: pointer; box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s;
  }
  .scroll-top.visible { opacity: 1; pointer-events: auto; }
  .scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,149,42,0.35); }

  /* â”€â”€ SHARED BUTTONS â”€â”€ */
  .btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy); font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600;
    padding: 0.9rem 2rem; border-radius: var(--radius-sm); text-decoration: none;
    border: none; cursor: pointer;
    box-shadow: 0 4px 20px rgba(200,149,42,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(200,149,42,0.4); }
  .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    border: 1px solid var(--border-gold); color: var(--gold-light);
    font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 500;
    padding: 0.9rem 2rem; border-radius: var(--radius-sm); text-decoration: none;
    cursor: pointer; background: rgba(200,149,42,0.04);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
  }
  .btn-ghost:hover { border-color: var(--gold); background: rgba(200,149,42,0.1); transform: translateY(-1px); }
  .btn-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: var(--navy); color: var(--white);
    font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600;
    padding: 0.9rem 2.5rem; border-radius: var(--radius-sm); text-decoration: none;
    box-shadow: var(--shadow-md); transition: background 0.2s, transform 0.2s;
  }
  .btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }

  /* ── SUB-PAGE BANNER ── */
  .page-banner {
    padding: calc(var(--nav-h) + 3.5rem) 2.5rem 3rem;
    position: relative; overflow: hidden;
    background:
      radial-gradient(ellipse 70% 80% at 20% 0%, rgba(200,149,42,0.08) 0%, transparent 55%),
      linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
    border-bottom: 1px solid var(--border-subtle);
  }
  .page-banner-grid {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: linear-gradient(rgba(200,149,42,0.7) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(200,149,42,0.7) 1px, transparent 1px);
    background-size: 48px 48px;
  }
  .page-banner-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
  .page-banner .section-sub { margin-bottom: 0; }

  /* ── REVEAL ── */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
     HOME PAGE STYLES
  â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

  .hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--nav-h) + 4rem) 2.5rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero-grid {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: linear-gradient(rgba(200,149,42,0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(200,149,42,0.7) 1px, transparent 1px);
    background-size: 48px 48px; animation: gridShift 24s linear infinite;
    mask-image: linear-gradient(180deg, black 30%, transparent 90%);
  }
  @keyframes gridShift { 0% { background-position: 0 0; } 100% { background-position: 48px 48px; } }
  .hero-glow {
    position: absolute; top: -25%; right: -15%; width: 750px; height: 750px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(200,149,42,0.1) 0%, transparent 65%);
  }
  .hero-glow-2 {
    position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(46,109,164,0.06) 0%, transparent 65%);
  }
  .hero-inner {
    max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; width: 100%;
  }

  /* â”€â”€ MCP HERO CARD â”€â”€ */
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Mono', monospace; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.8s 0.2s forwards; }
  .hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
  .hero-headline { font-family: 'DM Serif Display', serif; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: -1.5px; color: var(--white); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s 0.4s forwards; }
  .hero-headline em { font-style: italic; color: var(--gold); }
  .hero-sub { font-size: 1.15rem; font-weight: 300; line-height: 1.7; color: var(--slate); max-width: 640px; margin-bottom: 3rem; opacity: 0; animation: fadeUp 0.8s 0.6s forwards; }
  .hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.8s forwards; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


  /* â”€â”€ MCP SPOTLIGHT BANNER â”€â”€ */
  .mcp-banner {
    background: var(--navy-mid);
    border-top: 1px solid rgba(200,149,42,0.15);
    border-bottom: 1px solid rgba(200,149,42,0.15);
    padding: 2.5rem 3rem;
    display: flex; align-items: center; justify-content: center;
  }
  .mcp-banner-inner {
    max-width: 1100px; width: 100%;
    display: flex; align-items: center; gap: 2.5rem;
    background: linear-gradient(135deg, rgba(200,149,42,0.07) 0%, rgba(200,149,42,0.02) 100%);
    border: 1px solid rgba(200,149,42,0.25);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 1.75rem 2rem;
  }
  .mcp-icon {
    font-size: 2rem; flex-shrink: 0;
    width: 56px; height: 56px;
    background: rgba(200,149,42,0.1);
    border: 1px solid rgba(200,149,42,0.3);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
  }
  .mcp-body { flex: 1; }
  .mcp-label {
    font-family: 'DM Mono', monospace; font-size: 0.68rem;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.4rem;
  }
  .mcp-headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--white); line-height: 1.25; margin-bottom: 0.4rem;
  }
  .mcp-headline em { font-style: italic; color: var(--gold); }
  .mcp-sub {
    font-size: 0.85rem; color: var(--slate);
    line-height: 1.6; max-width: 600px;
  }
  .mcp-pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
  .mcp-pill {
    font-family: 'DM Mono', monospace; font-size: 0.7rem;
    padding: 0.25rem 0.7rem; border-radius: 2px;
    background: rgba(200,149,42,0.1); border: 1px solid rgba(200,149,42,0.25);
    color: var(--gold-light);
  }
  .mcp-cta {
    flex-shrink: 0;
  }

  @media (max-width: 768px) {
    .mcp-banner { padding: 1.5rem 1.25rem; }
    .mcp-banner-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.25rem 1.25rem; }
    .mcp-cta { width: 100%; }
    .mcp-cta .btn-ghost { width: 100%; justify-content: center; }
  }

  section { padding: 5.5rem 2.5rem; scroll-margin-top: var(--nav-h); }
  .section-inner { max-width: var(--max-w); margin: 0 auto; width: 100%; }
  .section-label {
    font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
    display: inline-flex; align-items: center; gap: 0.65rem;
    background: rgba(200,149,42,0.08); border: 1px solid var(--border-gold);
    padding: 0.35rem 0.75rem; border-radius: 20px;
  }
  .section-label::after { display: none; }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08;
    letter-spacing: -0.8px; margin-bottom: 1rem; color: var(--white);
  }
  .section-sub { font-size: 1.02rem; font-weight: 300; color: var(--slate); max-width: 540px; line-height: 1.75; margin-bottom: 3rem; }

  /* â•â• FEATURES â•â• */
  .features {
    background: var(--navy-mid);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }
  .features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  }
  .feature-card {
    background: var(--navy-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative; overflow: hidden;
  }
  .feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0; transition: opacity 0.25s;
  }
  .feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .feature-card:hover::before { opacity: 1; }
  .feature-icon {
    width: 40px; height: 40px; margin-bottom: 1.15rem;
    border: 1px solid var(--border-gold);
    background: var(--gold-glow);
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
  }
  .feature-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .feature-num {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--slate-dark); margin-bottom: 0.6rem;
  }
  .feature-title { font-family: 'DM Serif Display', serif; font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--white); line-height: 1.2; }
  .feature-desc { font-size: 0.83rem; color: var(--slate); line-height: 1.7; }
  .feature-tag {
    display: inline-block; margin-top: 1rem;
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.4px; color: var(--gold-light);
    background: var(--gold-glow); border: 1px solid var(--border-gold);
    padding: 0.2rem 0.5rem; border-radius: 3px;
  }

  @media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 640px)  { .features-grid { grid-template-columns: 1fr; } }

  /* ── MCP FEATURE ROW ── */
  .mcp-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem;
  }
  .mcp-feature-card {
    background: rgba(200,149,42,0.04); border: 1px solid rgba(200,149,42,0.12);
    border-radius: var(--radius-lg); padding: 1.5rem;
  }
  .mcp-feature-title {
    font-size: 1.05rem; font-weight: 600; color: var(--white);
    margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; line-height: 1.3;
  }
  .mcp-feature-icon {
    width: 20px; height: 20px; stroke: var(--gold);
    stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
  }
  .mcp-feature-desc {
    font-size: 0.9rem; color: var(--slate); line-height: 1.6; margin-bottom: 0.75rem;
  }
  .mcp-feature-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .mcp-feature-tag {
    font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--gold);
    border: 1px solid rgba(200,149,42,0.25); padding: 0.2rem 0.6rem; border-radius: 4px;
  }

  /* â•â• VALIDATION â•â• */
  .benchmark { background: var(--navy); }

  .val-hero {
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-elevated) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
  }
  .val-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at left center, rgba(200,149,42,0.06) 0%, transparent 60%);
    pointer-events: none;
  }
  .val-hero-num {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3.5rem, 7vw, 5rem);
    color: var(--gold);
    line-height: 1;
    letter-spacing: -2px;
  }
  .val-hero-body { }
  .val-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--white);
    margin-bottom: 0.3rem;
  }
  .val-hero-sub { font-size: 0.82rem; color: var(--slate); line-height: 1.5; }
  .val-hero-badge {
    font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 1px;
    text-transform: uppercase; background: rgba(200,149,42,0.12);
    border: 1px solid rgba(200,149,42,0.3); color: var(--gold);
    padding: 0.4rem 0.9rem; border-radius: 3px; white-space: nowrap;
    text-align: center;
  }
  .val-hero-badge span { display: block; font-size: 0.75rem; color: var(--slate); margin-top: 0.2rem; font-family: 'Outfit', sans-serif; letter-spacing: 0; text-transform: none; }

  /* Card grid */
  .val-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .val-card {
    background: var(--navy-mid);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .val-card:hover { border-color: var(--border-gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
  .val-card-hd {
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  }
  .val-card-hd-title {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate);
  }
  .val-card-hd-n {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    color: var(--slate-dark); white-space: nowrap;
  }
  .val-card-body { padding: 1.25rem; flex: 1; min-width: 0; }
  .val-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -0.25rem; padding: 0 0.25rem; }

  /* Big percentage */
  .val-pct {
    font-family: 'DM Serif Display', serif;
    font-size: 3.2rem; line-height: 1; letter-spacing: -1px;
    margin-bottom: 0.3rem;
  }
  .val-pct-green { color: #4ADE80; }
  .val-pct-blue  { color: #60A5FA; }
  .val-pct-gold  { color: var(--gold-light); }
  .val-desc { font-size: 0.82rem; color: var(--slate); line-height: 1.55; margin-bottom: 1rem; }
  .val-note { font-size: 0.75rem; color: var(--slate-dark); line-height: 1.5; }

  /* Comparison bar (Before / After) */
  .val-compare { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
  .val-compare-row { display: grid; grid-template-columns: 48px 1fr 36px; align-items: center; gap: 0.6rem; }
  .val-compare-lbl { font-size: 0.72rem; font-weight: 600; }
  .val-compare-lbl.before { color: #F87171; }
  .val-compare-lbl.after  { color: #4ADE80; }
  .val-bar-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
  .val-bar-fill  { height: 100%; border-radius: 3px; }
  .val-bar-fill.before { background: #F87171; }
  .val-bar-fill.after  { background: #4ADE80; }
  .val-compare-val { font-family: 'DM Mono', monospace; font-size: 0.72rem; font-weight: 700; text-align: right; }
  .val-compare-val.before { color: #F87171; }
  .val-compare-val.after  { color: #4ADE80; }

  /* Hurricane table */
  .val-table { width: 100%; min-width: 260px; border-collapse: collapse; }
  .val-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .val-table tr:last-child { border-bottom: none; }
  .val-table td { padding: 0.45rem 0; font-size: 0.8rem; color: var(--slate); vertical-align: middle; }
  .val-table td:first-child { color: var(--white); font-weight: 500; }
  .val-table .t-pct { color: #4ADE80; font-weight: 700; text-align: right; font-family: 'DM Mono', monospace; font-size: 0.78rem; }
  .val-table .t-loss { color: #60A5FA; text-align: right; font-family: 'DM Mono', monospace; font-size: 0.75rem; }
  .val-table tr.combined td { color: var(--white); font-weight: 600; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 0.65rem; }
  .val-table tr.combined .t-pct { color: var(--gold-light); font-size: 0.85rem; }

  /* Peril bar */
  .val-peril-rows { display: flex; flex-direction: column; gap: 0.75rem; }
  .val-peril-row { }
  .val-peril-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
  .val-peril-name { font-size: 0.8rem; color: var(--white); font-weight: 500; }
  .val-peril-pct { font-family: 'DM Mono', monospace; font-size: 0.78rem; font-weight: 700; }
  .val-peril-track { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
  .val-peril-fill { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

  /* CAT / SRL wide cards */
  .val-wide { grid-column: span 2; }
  .val-wide-inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
  .val-wide-num { font-family: 'DM Serif Display', serif; font-size: 4.5rem; line-height: 1; letter-spacing: -2px; }
  .val-wide-right { }
  .val-wide-label { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 0.35rem; }
  .val-wide-sub { font-size: 0.82rem; color: var(--slate); line-height: 1.55; }
  .val-wide-events { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
  .val-event-chip {
    font-family: 'DM Mono', monospace; font-size: 0.63rem;
    padding: 0.18rem 0.55rem; border-radius: 2px;
    background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2);
    color: #93C5FD;
  }

  /* â”€â”€ CAT TIMELINE â”€â”€ */
  .val-timeline {
    display: flex; flex-direction: column; justify-content: center;
    gap: 0; padding-left: 0.5rem;
    border-left: 2px solid rgba(96,165,250,0.2);
    margin-left: 0.5rem;
  }
  .val-tl-row {
    display: flex; align-items: flex-start; gap: 0.65rem;
    position: relative; padding: 0.28rem 0 0.28rem 0.9rem;
  }
  .val-tl-row::before {
    content: '';
    position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px; border-radius: 50%;
    background: #60A5FA; border: 2px solid var(--navy-mid);
    flex-shrink: 0;
  }
  .val-tl-year {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    color: var(--slate-dark); width: 28px; flex-shrink: 0; padding-top: 1px;
  }
  .val-tl-events { display: flex; flex-wrap: wrap; gap: 0.3rem; }
  .val-tl-event {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    color: #93C5FD; background: rgba(96,165,250,0.08);
    border: 1px solid rgba(96,165,250,0.18);
    padding: 0.1rem 0.45rem; border-radius: 2px; white-space: nowrap;
  }
  .val-tl-event.major { border-color: rgba(96,165,250,0.4); color: #BAD9FB; background: rgba(96,165,250,0.14); }

  @media (max-width: 640px) {
    .val-timeline { border-left: none; padding-left: 0; margin-left: 0; margin-top: 1rem; }
    .val-tl-row::before { display: none; }
    .val-tl-row { padding-left: 0; }
  }

  /* ── TIER 2 — STORM PERIL ADDRESS RISK ── */
  .val-full { grid-column: 1 / -1; }

  /* Hotspot differentiation */
  .val-hotspot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .val-hotspot-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
  .val-hotspot-peril { font-size: 0.9rem; font-weight: 600; color: var(--white); }
  .val-hotspot-ratio {
    font-family: 'DM Serif Display', serif; font-size: 1.9rem; color: var(--gold);
    letter-spacing: -1px; line-height: 1;
  }
  .val-hotspot-rows { display: flex; flex-direction: column; gap: 1rem; }
  .val-hotspot-lbl { font-size: 0.78rem; color: var(--white); font-weight: 500; margin-bottom: 0.35rem; }
  .val-hotspot-lbl span {
    display: block; font-size: 0.65rem; color: var(--slate-dark); font-weight: 400;
    font-family: 'DM Mono', monospace; margin-top: 0.15rem; letter-spacing: 0.3px;
  }
  .val-hotspot-bar { display: grid; grid-template-columns: 1fr 56px; gap: 0.6rem; align-items: center; }
  .val-hotspot-val { font-family: 'DM Mono', monospace; font-size: 0.78rem; font-weight: 700; text-align: right; color: var(--white); }
  .val-bar-fill.hot  { background: var(--gold-light); }
  .val-bar-fill.base { background: #60A5FA; }

  /* Field-level validation stat grid */
  .val-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .val-stat-cell { text-align: center; padding: 0.5rem 0.25rem; }
  .val-stat-cell .val-pct { font-size: 2.1rem; margin-bottom: 0.25rem; }
  .val-stat-lbl { font-size: 0.72rem; color: var(--white); font-weight: 500; line-height: 1.35; margin-bottom: 0.25rem; }
  .val-stat-n { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--slate-dark); }

  /* Methodology callout */
  .val-method-badge {
    display: inline-block; margin-bottom: 0.85rem;
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.4px; color: var(--gold-light);
    background: var(--gold-glow); border: 1px solid var(--border-gold);
    padding: 0.2rem 0.5rem; border-radius: 3px;
  }
  .val-method-formula {
    font-family: 'DM Mono', monospace; font-size: 0.78rem; color: var(--gold-light);
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; margin: 0.85rem 0;
    text-align: center;
  }

  @media (max-width: 768px) {
    .val-hotspot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .val-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .val-grid { grid-template-columns: 1fr 1fr; }
    .val-wide { grid-column: span 2; }
    .val-hero { grid-template-columns: auto 1fr; gap: 1.5rem; padding: 1.75rem 2rem; }
    .val-hero-badge { display: none; }
  }
  @media (max-width: 768px) {
    .val-hero { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem; text-align: left; }
    .val-hero-num { font-size: clamp(2.5rem, 12vw, 3.5rem); }
    .val-hero-badge { display: block; white-space: normal; width: fit-content; margin-top: 0.5rem; }
    .val-pct { font-size: 2.5rem; }
    .val-card-hd { flex-wrap: wrap; }
    .val-compare-row { grid-template-columns: 44px 1fr 32px; gap: 0.4rem; }
  }
  @media (max-width: 640px) {
    .val-grid { grid-template-columns: 1fr; }
    .val-wide { grid-column: span 1; }
    .val-wide-inner { grid-template-columns: 1fr; gap: 0.75rem; }
    .val-wide-num { font-size: 3rem; }
    .val-hero { padding: 1.25rem; }
    .val-pct { font-size: 2.2rem; }
  }

.code-block { background: var(--code-bg); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; font-family: 'DM Mono', monospace; }
  .code-header { background: rgba(255,255,255,0.04); padding: 0.6rem 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.7rem; color: var(--slate); letter-spacing: 1px; text-transform: uppercase; }
  .code-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
  .code-body { padding: 1.5rem; font-size: 0.78rem; line-height: 1.8; overflow-x: auto; }
  .c-key { color: #7DC4E4; } .c-str { color: #A6DA95; } .c-num { color: #EE99A0; } .c-gold { color: #EED49F; } .c-gray { color: #6E738D; } .c-flag { color: #F5A97F; }

  .perils {
    background: var(--navy);
    border-top: 1px solid var(--border-subtle);
  }
  .perils-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
  .peril-card {
    background: var(--navy-mid); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md); padding: 1.5rem 1.25rem;
    display: flex; flex-direction: column; gap: 0.65rem;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
  }
  .peril-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--peril-color, var(--gold)); opacity: 0.8;
  }
  .peril-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
  .peril-dot { width: 8px; height: 8px; border-radius: 2px; }
  .peril-name { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-top: 0.25rem; }
  .peril-src { font-size: 0.74rem; color: var(--slate); line-height: 1.55; }

  .cta-section {
    padding: 5.5rem 2.5rem; text-align: center; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--gold) 0%, #D4A030 40%, var(--gold-light) 100%);
  }
  .cta-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section .section-inner { position: relative; z-index: 1; }
  .cta-section .section-label {
    color: rgba(8,20,32,0.55); background: rgba(8,20,32,0.08);
    border-color: rgba(8,20,32,0.15); display: inline-flex;
  }
  .cta-section .section-inner { display: flex; flex-direction: column; align-items: center; }
  .cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--navy);
    line-height: 1.08; letter-spacing: -0.8px; margin-bottom: 1rem;
  }
  .cta-sub { font-size: 1.05rem; color: rgba(8,20,32,0.65); margin-bottom: 2.25rem; max-width: 480px; margin-left: auto; margin-right: auto; }

  /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
     PLATFORM PAGE â€” API Reference
  â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

  /* â”€â”€ Hero â”€â”€ */
  .plat-hero {
    padding: 7.5rem 3rem 5rem;
    position: relative; overflow: hidden;
    background:
      radial-gradient(ellipse 80% 60% at 15% 0%, rgba(200,149,42,0.09) 0%, transparent 55%),
      radial-gradient(ellipse 50% 40% at 85% 20%, rgba(46,109,164,0.07) 0%, transparent 50%),
      linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  }
  .plat-hero-grid {
    position: absolute; inset: 0; opacity: 0.035;
    background-image: linear-gradient(rgba(200,149,42,0.7) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(200,149,42,0.7) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  }
  .plat-hero-glow {
    position: absolute; top: -15%; right: 5%; width: 560px; height: 560px;
    border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(200,149,42,0.07) 0%, transparent 68%);
  }
  .plat-hero-inner {
    max-width: 1240px; margin: 0 auto; position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr minmax(0, 500px); gap: 3.5rem; align-items: center;
  }
  .plat-eyebrow {
    font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
    display: inline-flex; align-items: center; gap: 0.6rem;
  }
  .plat-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
  .plat-eyebrow a { color: var(--slate); text-decoration: none; transition: color 0.2s; }
  .plat-eyebrow a:hover { color: var(--white); }
  .plat-eyebrow-sep { color: var(--slate-dark); }
  .plat-headline {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 4.8vw, 4rem);
    line-height: 1.02; letter-spacing: -1.5px; margin-bottom: 1.25rem;
  }
  .plat-headline em { font-style: italic; color: var(--gold); }
  .plat-sub {
    font-size: 1.05rem; font-weight: 300; color: var(--slate);
    max-width: 520px; line-height: 1.75; margin-bottom: 1.75rem;
  }
  .plat-hero-actions {
    display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem;
  }
  .plat-base-url {
    display: flex; align-items: stretch; max-width: 100%;
    background: rgba(6,15,26,0.85); border: 1px solid rgba(200,149,42,0.22);
    border-radius: 6px; overflow: hidden; margin-bottom: 1.75rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  }
  .plat-base-url-method {
    display: flex; align-items: center; padding: 0.75rem 1rem;
    background: rgba(26,122,64,0.2); border-right: 1px solid rgba(255,255,255,0.08);
    font-family: 'DM Mono', monospace; font-size: 0.72rem; font-weight: 700;
    color: #8EC49A; letter-spacing: 0.5px; flex-shrink: 0;
  }
  .plat-base-url-path {
    flex: 1; padding: 0.75rem 1rem; font-family: 'DM Mono', monospace;
    font-size: 0.78rem; color: var(--white); overflow-x: auto;
    -webkit-overflow-scrolling: touch; word-break: break-all;
    display: flex; align-items: center;
  }
  .plat-badge-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .plat-badge-group-label {
    font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--slate-dark); margin-bottom: 0.5rem; display: block;
  }
  .plat-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .badge {
    font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.3px;
    padding: 0.3rem 0.65rem; border-radius: 3px;
  }
  .badge-gold { background: rgba(200,149,42,0.1); border: 1px solid rgba(200,149,42,0.28); color: var(--gold-light); }
  .badge-blue { background: rgba(46,109,164,0.12); border: 1px solid rgba(46,109,164,0.28); color: #7DC4E4; }
  .badge-green { background: rgba(26,122,64,0.12); border: 1px solid rgba(26,122,64,0.28); color: #8EC49A; }

  /* hero right â€” live code block */
  .plat-hero-code-wrap { position: relative; }
  .plat-code-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--slate-dark); margin-bottom: 0.65rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .plat-code-label span { color: var(--slate); letter-spacing: 0.5px; text-transform: none; font-size: 0.68rem; }
  .plat-hero-code {
    background: var(--code-bg);
    border: 1px solid rgba(200,149,42,0.18);
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset;
    position: sticky; top: 88px;
  }
  .plat-code-hd {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.85rem 1.1rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .plat-code-hd-left { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
  .plat-code-dots { display: flex; gap: 6px; flex-shrink: 0; }
  .plat-code-dot { width: 11px; height: 11px; border-radius: 50%; }
  .plat-code-title {
    font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--white);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .plat-live-dot {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: 'DM Mono', monospace; font-size: 0.62rem; color: #8EC49A;
    background: rgba(26,122,64,0.15); border: 1px solid rgba(26,122,64,0.3);
    padding: 0.2rem 0.55rem; border-radius: 20px; flex-shrink: 0;
  }
  .plat-live-dot::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: #8EC49A; display: block;
    box-shadow: 0 0 8px #8EC49A;
    animation: platPulse 2s ease-in-out infinite;
  }
  @keyframes platPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
  .plat-code-body {
    padding: 1.25rem 1.35rem; max-height: 380px;
    font-family: 'DM Mono', monospace; font-size: 0.74rem; line-height: 1.7;
    color: #8FA3B8; overflow: auto; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(180deg, black 85%, transparent 100%);
  }
  .plat-code-footer {
    display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
    padding: 0.75rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--slate-dark);
  }
  .plat-code-metric { color: var(--slate); }
  .plat-code-metric strong { color: var(--gold); font-weight: 500; }

  /* â”€â”€ Stats bar (floating ribbon) â”€â”€ */
  .plat-stats-bar {
    position: relative; z-index: 2;
    padding: 0 3rem; margin-top: -2.5rem; margin-bottom: 0;
  }
  .plat-stats-bar-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(6,15,26,0.92);
    border: 1px solid rgba(200,149,42,0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(12px);
  }
  .plat-stat-item {
    padding: 1.35rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-direction: column; gap: 0.35rem;
    transition: background 0.2s;
    position: relative;
  }
  .plat-stat-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gold); opacity: 0; transition: opacity 0.2s;
  }
  .plat-stat-item:hover { background: rgba(200,149,42,0.04); }
  .plat-stat-item:hover::before { opacity: 1; }
  .plat-stat-item:last-child { border-right: none; }
  .plat-stat-val {
    font-family: 'DM Serif Display', serif; font-size: 1.65rem;
    color: var(--white); line-height: 1;
  }
  .plat-stat-val em { color: var(--gold); font-style: normal; }
  .plat-stat-lbl {
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 1px;
    text-transform: uppercase; color: var(--slate-dark);
  }

  /* â”€â”€ Executive summary strip â”€â”€ */
  .plat-exec-strip {
    background: var(--navy);
    padding: 4.5rem 3rem 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .plat-exec-hdr {
    max-width: 1240px; margin: 0 auto 2rem;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  }
  .plat-exec-hdr-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem); color: var(--white); line-height: 1.15;
  }
  .plat-exec-hdr-sub { font-size: 0.88rem; color: var(--slate); max-width: 420px; line-height: 1.6; }
  .plat-exec-inner {
    max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  }
  .plat-exec-card {
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 1.5rem 1.4rem;
    position: relative; overflow: hidden;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
  }
  .plat-exec-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200,149,42,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  }
  .plat-exec-card::after {
    content: ''; position: absolute; inset: 0; opacity: 0;
    background: radial-gradient(ellipse at top left, rgba(200,149,42,0.06) 0%, transparent 60%);
    transition: opacity 0.2s; pointer-events: none;
  }
  .plat-exec-card:hover::after { opacity: 1; }
  .plat-exec-card-accent {
    position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  }
  .plat-exec-icon-wrap {
    width: 36px; height: 36px; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .plat-exec-card:nth-child(1) .plat-exec-icon-wrap { background: rgba(200,149,42,0.1); border-color: rgba(200,149,42,0.25); }
  .plat-exec-card:nth-child(2) .plat-exec-icon-wrap { background: rgba(46,109,164,0.12); border-color: rgba(46,109,164,0.25); }
  .plat-exec-card:nth-child(3) .plat-exec-icon-wrap { background: rgba(26,122,64,0.12); border-color: rgba(26,122,64,0.25); }
  .plat-exec-card:nth-child(4) .plat-exec-icon-wrap { background: rgba(29,158,117,0.12); border-color: rgba(29,158,117,0.25); }
  .plat-exec-title {
    font-family: 'DM Serif Display', serif; font-size: 1.05rem;
    color: var(--white); margin-bottom: 0.45rem; line-height: 1.2;
  }
  .plat-exec-desc { font-size: 0.8rem; color: var(--slate); line-height: 1.65; }
  .plat-exec-tag {
    margin-top: 1rem; font-family: 'DM Mono', monospace; font-size: 0.62rem;
    color: var(--gold); letter-spacing: 0.3px;
    background: rgba(200,149,42,0.08); border: 1px solid rgba(200,149,42,0.2);
    padding: 0.25rem 0.55rem; border-radius: 3px; display: inline-block;
  }

  /* â”€â”€ Main layout â”€â”€ */
  .plat-layout {
    display: grid; grid-template-columns: 240px 1fr;
    max-width: 1240px; margin: 0 auto;
    min-height: calc(100vh - 72px);
    gap: 0;
    background: var(--navy);
  }
  .plat-docs-hdr {
    grid-column: 1 / -1;
    padding: 2.5rem 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
  }
  .plat-docs-label {
    font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .plat-docs-label::after { content: ''; flex: 0 0 28px; height: 1px; background: var(--gold); }
  .plat-docs-title {
    font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white); margin-bottom: 0.4rem;
  }
  .plat-docs-sub { font-size: 0.88rem; color: var(--slate); max-width: 560px; line-height: 1.6; }

  /* â”€â”€ Sidebar â”€â”€ */
  .plat-sidebar {
    position: sticky; top: 72px; height: calc(100vh - 72px);
    overflow-y: auto; overflow-x: hidden;
    padding: 1.5rem 0 2rem;
    border-right: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, var(--navy) 0%, rgba(13,31,51,0.98) 100%);
  }
  .plat-sidebar::-webkit-scrollbar { width: 3px; }
  .plat-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

  /* sidebar search */
  .plat-sidebar-search {
    padding: 0 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1rem;
  }
  .plat-search-input {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 4px; padding: 0.55rem 0.8rem;
    font-family: 'DM Mono', monospace; font-size: 0.72rem;
    color: var(--white); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .plat-search-input::placeholder { color: var(--slate-dark); }
  .plat-search-input:focus { border-color: rgba(200,149,42,0.4); box-shadow: 0 0 0 3px rgba(200,149,42,0.12); }

  .plat-sb-group { margin-bottom: 1.5rem; }
  .plat-sb-group-label {
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--slate-dark);
    padding: 0 1rem 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .plat-sb-group-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.05); }
  .plat-sb-item {
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.4rem 1rem; margin: 0 0.5rem;
    font-size: 0.78rem; color: var(--slate); border-radius: 3px;
    cursor: pointer; transition: color 0.15s, background 0.15s;
    border-left: 2px solid transparent;
    user-select: none;
  }
  .plat-sb-item:hover { color: var(--white); background: rgba(255,255,255,0.04); }
  .plat-sb-item.active { color: var(--white); border-left-color: var(--gold); background: rgba(200,149,42,0.07); }
  .plat-sb-dot { width: 5px; height: 5px; border-radius: 1px; flex-shrink: 0; }
  .plat-sb-get {
    font-family: 'DM Mono', monospace; font-size: 0.55rem; font-weight: 600;
    padding: 1px 5px; border-radius: 2px;
    background: rgba(26,122,64,0.25); color: #8EC49A;
    margin-left: auto; flex-shrink: 0;
  }
  .plat-sb-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* mobile tag pills */
  .plat-mobile-tags {
    display: none;
    padding: 1rem 1.25rem; gap: 0.5rem;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: var(--navy);
  }
  .plat-mobile-tag {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    padding: 0.3rem 0.8rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1); color: var(--slate);
    white-space: nowrap; cursor: pointer; transition: all 0.15s;
    flex-shrink: 0; scroll-snap-align: start;
  }
  .plat-mobile-tag:hover { border-color: var(--gold); color: var(--gold); }

  /* â”€â”€ Main content â”€â”€ */
  .plat-main { padding: 1.5rem 2.5rem 4rem; min-width: 0; }

  /* â”€â”€ Endpoint group â”€â”€ */
  .plat-group {
    margin-bottom: 2.5rem; scroll-margin-top: 5.5rem;
    border-radius: 6px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  }
  .plat-group-hdr {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.35rem;
    margin-bottom: 0;
    border-left: 4px solid;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .plat-group-hdr-title {
    font-family: 'DM Serif Display', serif; font-size: 1.05rem;
    color: var(--white); flex: 1;
  }
  .plat-group-count {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    padding: 0.2rem 0.6rem; border-radius: 20px;
    background: rgba(255,255,255,0.07); color: var(--slate);
  }
  .plat-group-desc {
    font-size: 0.82rem; color: var(--slate); padding: 0.85rem 1.35rem 1rem 1.5rem;
    background: rgba(255,255,255,0.015);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.65;
  }

  /* â”€â”€ Endpoint cards â”€â”€ */
  .ep-card {
    background: var(--navy-mid);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin: 0; overflow: hidden;
    transition: background 0.15s;
  }
  .ep-card:last-child { border-radius: 0; }
  .ep-card:hover { background: rgba(30,58,87,0.55); }
  .ep-card.ep-master {
    border-left: 3px solid var(--gold);
  }
  .ep-card.ep-master .ep-header { padding-left: calc(1.25rem - 2px); }

  .ep-header {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.9rem 1.25rem; cursor: pointer;
    user-select: none;
  }
  .ep-method {
    font-family: 'DM Mono', monospace; font-size: 0.62rem; font-weight: 700;
    padding: 0.22rem 0.6rem; border-radius: 2px; letter-spacing: 0.5px;
    background: rgba(26,122,64,0.25); color: #8EC49A;
    flex-shrink: 0; min-width: 36px; text-align: center;
  }
  .ep-path {
    font-family: 'DM Mono', monospace; font-size: 0.83rem;
    color: var(--white); flex-shrink: 0;
  }
  .ep-summary {
    font-size: 0.8rem; color: var(--slate); flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .ep-right { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; flex-shrink: 0; }
  .ep-tags { display: flex; gap: 0.35rem; }
  .ep-tag {
    font-family: 'DM Mono', monospace; font-size: 0.6rem;
    padding: 0.15rem 0.5rem; border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.08); color: var(--slate);
    white-space: nowrap;
  }
  .ep-tag.t-master { border-color: rgba(200,149,42,0.35); color: var(--gold); background: rgba(200,149,42,0.07); }
  .ep-tag.t-jwt { border-color: rgba(96,165,250,0.3); color: #93C5FD; }
  .ep-tag.t-perf { border-color: rgba(26,122,64,0.3); color: #8EC49A; }
  .ep-try-btn {
    font-family: 'DM Mono', monospace; font-size: 0.62rem;
    padding: 0.25rem 0.7rem; border-radius: 2px; cursor: default;
    border: 1px solid rgba(200,149,42,0.25); color: var(--gold);
    background: rgba(200,149,42,0.05);
    white-space: nowrap; opacity: 0.7;
  }
  .ep-chevron {
    color: var(--slate); font-size: 0.65rem; flex-shrink: 0;
    transition: transform 0.2s; line-height: 1;
  }
  .ep-card.open .ep-chevron { transform: rotate(90deg); }

  /* expanded body */
  .ep-body {
    display: none; padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .ep-card.open .ep-body { display: block; }

  .ep-desc { font-size: 0.85rem; color: var(--slate); line-height: 1.7; margin: 1.1rem 0; }

  /* params table */
  .ep-params-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--slate-dark); margin: 1.1rem 0 0.5rem;
  }
  .ep-params-table { width: 100%; border-collapse: collapse; font-size: 0.81rem; }
  .ep-params-table thead tr {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .ep-params-table thead th {
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 1px;
    text-transform: uppercase; color: var(--slate-dark); font-weight: 500;
    padding: 0.4rem 0.75rem 0.4rem 0; text-align: left;
  }
  .ep-params-table thead th:first-child { padding-left: 0; }
  .ep-params-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .ep-params-table tbody tr:last-child { border-bottom: none; }
  .ep-params-table td {
    padding: 0.5rem 0.75rem 0.5rem 0; vertical-align: top;
  }
  .ep-params-table td:first-child { padding-left: 0; }
  .ep-param-name-cell {
    font-family: 'DM Mono', monospace; color: var(--white); font-size: 0.79rem;
    white-space: nowrap;
  }
  .ep-param-req {
    font-family: 'DM Mono', monospace; font-size: 0.58rem; color: #EE99A0;
    display: block; margin-top: 1px;
  }
  .ep-param-type-cell {
    font-family: 'DM Mono', monospace; color: #7DC4E4; font-size: 0.72rem;
    white-space: nowrap;
  }
  .ep-param-desc-cell { color: var(--slate); line-height: 1.5; font-size: 0.8rem; }

  /* returns row */
  .ep-returns-row { margin-top: 1.1rem; display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
  .ep-returns-label {
    font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 1px;
    text-transform: uppercase; color: var(--slate-dark); flex-shrink: 0;
    padding-top: 3px;
  }
  .ep-return-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .ep-return-pill {
    font-family: 'DM Mono', monospace; font-size: 0.68rem;
    padding: 0.22rem 0.6rem; border-radius: 2px;
    background: rgba(46,109,164,0.12); border: 1px solid rgba(46,109,164,0.22);
    color: #7DC4E4;
  }

  /* highlight callout */
  .ep-callout {
    background: rgba(200,149,42,0.06); border: 1px solid rgba(200,149,42,0.18);
    border-left: 3px solid var(--gold); padding: 0.75rem 1rem;
    border-radius: 0 2px 2px 0; margin: 0.9rem 0;
    font-size: 0.82rem; color: #D4A85A; line-height: 1.6;
  }
  .ep-code { margin-top: 1rem; overflow-x: auto; }
  .ep-code .code-block { margin: 0; }

  /* â”€â”€ Platform responsive â”€â”€ */
  @media (max-width: 1100px) {
    .plat-hero-inner { grid-template-columns: 1fr; align-items: start; }
    .plat-hero-code { position: static; }
    .plat-hero-code-wrap { margin-top: 0.5rem; }
    .plat-exec-inner { grid-template-columns: repeat(2, 1fr); }
    .plat-badge-groups { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 900px) {
    .plat-layout { grid-template-columns: 1fr; }
    .plat-docs-hdr { padding: 2rem 1.25rem 0; }
    .plat-sidebar { display: none; }
    .plat-mobile-tags { display: flex; }
    .plat-stats-bar { padding: 0 1.25rem; margin-top: -2rem; }
    .plat-stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .plat-stat-item:nth-child(2n) { border-right: none; }
    .plat-stat-item:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .plat-exec-strip { padding: 3.5rem 1.25rem 2.5rem; }
    .plat-exec-hdr { margin-bottom: 1.5rem; }
  }
  @media (max-width: 640px) {
    .plat-hero { padding: max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem)) 1.25rem 3rem; }
    .plat-hero-inner { gap: 2rem; }
    .plat-hero-actions { flex-direction: column; }
    .plat-hero-actions .btn-primary, .plat-hero-actions .btn-ghost { width: 100%; justify-content: center; }
    .plat-badge-groups { grid-template-columns: 1fr; }
    .plat-base-url { flex-direction: column; }
    .plat-base-url-method { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); justify-content: center; }
    .plat-code-body { max-height: 280px; font-size: 0.68rem; }
    .plat-stats-bar { margin-top: -1.5rem; }
    .plat-stats-bar-inner { grid-template-columns: 1fr 1fr; }
    .plat-stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .plat-stat-item:last-child { grid-column: 1 / -1; }
    .plat-exec-inner { grid-template-columns: 1fr; }
    .plat-main { padding: 1.25rem 1rem 3rem; }
    .ep-summary { display: none; }
    .ep-header { flex-wrap: wrap; gap: 0.5rem; }
    .ep-right { margin-left: 0; }
    .ep-params-table thead th:nth-child(3),
    .ep-params-table td:nth-child(3) { display: none; }
    .plat-group-hdr { flex-wrap: wrap; gap: 0.5rem; }
    .ep-code .code-body { font-size: 0.7rem; }
  }

  /* â”€â”€ SHARED FOOTER â”€â”€ */
  .site-footer {
    background: var(--code-bg); padding: 3rem 2.5rem 2rem;
    border-top: 1px solid var(--border-subtle);
  }
  .footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto auto; gap: 2rem 3rem; align-items: start;
  }
  .footer-brand { }
  .footer-logo { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; }
  .footer-tagline { font-size: 0.8rem; color: var(--slate-dark); line-height: 1.5; max-width: 280px; }
  .footer-col-title {
    font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--slate-dark); margin-bottom: 0.85rem;
  }
  .footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
  .footer-links a { font-size: 0.82rem; color: var(--slate); text-decoration: none; cursor: pointer; transition: color 0.2s; }
  .footer-links a:hover { color: var(--gold-light); }
  .footer-bottom {
    max-width: var(--max-w); margin: 2rem auto 0; padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  }
  .footer-copy { font-size: 0.72rem; color: var(--slate-dark); }
  .footer-badge {
    font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 1px;
    text-transform: uppercase; color: var(--slate-dark);
    border: 1px solid var(--border-subtle); padding: 0.25rem 0.6rem; border-radius: var(--radius-sm);
  }

  /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
     RESPONSIVE â€” TABLET & MOBILE
  â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

  @media (max-width: 1200px) {
    nav { padding-left: max(2rem, env(safe-area-inset-left)); padding-right: max(2rem, env(safe-area-inset-right)); }
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 0.75rem; }
    section { padding: 5rem 2rem; }
    .hero { padding-left: 2rem; padding-right: 2rem; }
    .cta-section { padding-left: 2rem; padding-right: 2rem; }
    .site-footer { padding-left: 2rem; padding-right: 2rem; }
  }

  @media (max-width: 1024px) {
    .nav-logo-tag { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .perils-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-glow { width: 420px; height: 420px; top: -10%; right: -20%; }
    .plat-hero-glow { width: 360px; height: 360px; }
    .feature-card { padding: 1.5rem 1.25rem; }
    .plat-exec-card { padding: 1.5rem 1.25rem; }
    .plat-stats-bar { padding: 0 2rem; }
  }

  @media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  @media (max-width: 768px) {
    nav {
      padding: 1rem 1.25rem;
      padding-top: max(1rem, env(safe-area-inset-top));
      padding-left: max(1.25rem, env(safe-area-inset-left));
      padding-right: max(1.25rem, env(safe-area-inset-right));
    }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .hero {
      min-height: auto;
      padding: max(6rem, calc(env(safe-area-inset-top) + 5rem)) 1.25rem 2.5rem;
    }
    .hero-glow { width: 280px; height: 280px; }
    .hero-headline { font-size: clamp(2.2rem, 8vw, 3.5rem); letter-spacing: -1px; }
    .hero-sub { font-size: 1rem; max-width: 100%; }
    .hero-actions { flex-direction: column; gap: 0.75rem; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { width: 100%; justify-content: center; }
    .mcp-features { grid-template-columns: 1fr; }

    section { padding: 4rem 1.25rem; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    .section-sub { max-width: 100%; margin-bottom: 2.5rem; }

    .features-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .perils-grid { grid-template-columns: repeat(2, 1fr); }
    .peril-card { padding: 1.25rem 1rem; }

    .cta-section { padding: 3.5rem 1.25rem; }
    .cta-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
    .btn-dark { width: 100%; justify-content: center; }

    .plat-hero-glow { width: 240px; height: 240px; right: -10%; }
    .plat-headline { font-size: clamp(1.8rem, 6vw, 2.8rem); }
    .plat-sub { max-width: 100%; }
    .plat-badges { gap: 0.35rem; }
    .badge { font-size: 0.62rem; }
    .plat-base-url { width: 100%; }
    .plat-base-url-path { font-size: 0.72rem; }
    .plat-exec-card { padding: 1.25rem 1rem; }
    .plat-stats-bar { padding: 0 1.25rem; }

    .page-banner { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 2rem; }

    .ep-header { flex-wrap: wrap; gap: 0.5rem; }
    .ep-path { font-size: 0.75rem; word-break: break-all; flex: 1 1 100%; min-width: 0; }
    .ep-tags { margin-left: 0; }
    .ep-summary { display: none; }
    .ep-body { padding: 0 1rem 1.25rem; }
    .ep-params-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .code-body, .plat-code-body { -webkit-overflow-scrolling: touch; }

    .site-footer { padding: 2rem 1.25rem 1.5rem; padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
    .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .footer-tagline { max-width: none; margin: 0 auto; }
    .footer-links { align-items: center; }
    .footer-bottom { flex-direction: column; text-align: center; margin-top: 1.5rem; }
  }

  @media (max-width: 480px) {
    .nav-logo { font-size: 1.2rem; }
    .perils-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .scroll-top { bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.75rem); right: max(1rem, env(safe-area-inset-right, 0px) + 0.75rem); }
    .plat-code-hd { flex-wrap: wrap; gap: 0.5rem; }
    .plat-code-title { font-size: 0.62rem; }
    .ep-right { width: 100%; justify-content: space-between; }
    .ep-try-btn { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-eyebrow, .hero-headline, .hero-sub, .hero-actions { opacity: 1; animation: none; }
  }

  /* ── VERTICAL LANDING PAGES ────────────────────────────────────────────── */

  /* Tabler icon sizing inside existing .feature-icon wrapper */
  .feature-icon .ti {
    font-size: 18px; color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
  }

  /* ── Pricing section (agents vertical) ── */
  .pricing-section {
    background: var(--navy-mid);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 5.5rem 2.5rem;
  }
  .pricing-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem;
  }
  .pricing-card {
    background: var(--navy-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 2rem 1.75rem;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .pricing-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .pricing-card.highlighted {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, var(--navy-elevated) 0%, rgba(200,149,42,0.05) 100%);
  }
  .pricing-card-name {
    font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  }
  .pricing-card-price {
    font-family: 'DM Serif Display', serif; font-size: 3rem;
    color: var(--white); line-height: 1; letter-spacing: -1px;
  }
  .pricing-card-period { font-size: 0.85rem; color: var(--slate); margin-bottom: 1.5rem; }
  .pricing-card-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 1.25rem 0; }
  .pricing-features {
    list-style: none; display: flex; flex-direction: column;
    gap: 0.65rem; margin-bottom: 1.75rem; flex: 1;
  }
  .pricing-features li {
    font-size: 0.85rem; color: var(--slate);
    display: flex; align-items: flex-start; gap: 0.55rem; line-height: 1.45;
  }
  .pricing-features li::before {
    content: ''; width: 14px; height: 14px; border-radius: 50%;
    background: var(--gold-glow); border: 1px solid var(--border-gold);
    flex-shrink: 0; margin-top: 2px;
  }
  .pricing-cta {
    display: block; text-align: center; padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem;
    text-decoration: none; margin-top: auto;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .pricing-card.highlighted .pricing-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy); box-shadow: 0 4px 20px var(--gold-glow);
  }
  .pricing-card.highlighted .pricing-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px var(--gold-glow); }
  .pricing-card:not(.highlighted) .pricing-cta {
    border: 1px solid var(--border-gold); color: var(--gold-light); background: transparent;
  }
  .pricing-card:not(.highlighted) .pricing-cta:hover { background: var(--gold-glow); }

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

  /* ── CONTACT PAGE ── */
  .contact-section {
    padding: calc(var(--nav-h) + 4rem) 2.5rem 5rem;
    background: var(--navy);
    min-height: 100vh;
  }
  .contact-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start;
  }
  .contact-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.25rem; line-height: 1.2; color: var(--white); margin-bottom: 1rem;
  }
  .contact-sub {
    font-size: 1rem; color: var(--slate); line-height: 1.7;
    margin-bottom: 2rem; max-width: 400px;
  }
  .contact-info-block { margin-top: 2rem; }
  .contact-info-item { margin-bottom: 1rem; }
  .contact-info-label {
    display: block; font-family: 'DM Mono', monospace;
    font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--slate-dark); margin-bottom: 0.25rem;
  }
  .contact-info-value { color: var(--gold); text-decoration: none; font-size: 0.95rem; }
  .contact-info-value:hover { text-decoration: underline; }

  /* Form */
  .contact-form {
    background: var(--navy-elevated); border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg); padding: 2rem;
  }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { margin-bottom: 1.25rem; }
  .form-label { display: block; font-size: 0.85rem; color: var(--slate); margin-bottom: 0.4rem; }
  .form-required { color: var(--gold); }
  .form-input,
  .form-select,
  .form-textarea {
    width: 100%; padding: 0.65rem 0.85rem;
    font-size: 0.9rem; font-family: 'Outfit', sans-serif; color: var(--white);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md); outline: none; transition: border-color 0.2s;
    box-sizing: border-box;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
  .form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
  .form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.85rem center;
    padding-right: 2.5rem; cursor: pointer;
  }
  .form-select option { background: var(--navy-mid); color: var(--white); }
  .form-textarea { resize: vertical; min-height: 100px; }
  .form-checkbox-group { display: flex; align-items: flex-start; gap: 0.6rem; }
  .form-checkbox { margin-top: 0.2rem; accent-color: var(--gold); flex-shrink: 0; }
  .form-checkbox-label { font-size: 0.8rem; color: var(--slate); line-height: 1.5; }
  .form-checkbox-label a { color: var(--gold); text-decoration: underline; }
  .contact-submit { width: 100%; margin-top: 0.5rem; justify-content: center; cursor: pointer; }
  .contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
  .form-success p { color: #5DCAA5; font-size: 1rem; text-align: center; padding: 2rem 0; margin: 0; }
  .form-error p { color: #F09595; font-size: 0.9rem; text-align: center; padding: 1rem 0; margin: 0; }
  .form-error a { color: var(--gold); }

  @media (max-width: 768px) {
    .contact-section { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
    .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .contact-title { font-size: 1.75rem; }
  }
