/* Full polished CSS: home */
/* ============================================================
       CSS CUSTOM PROPERTIES - Design System Tokens
    ============================================================ */
    :root {
      /* Color Primitives */
      --primitive-blue-950: #001A24;
      --primitive-blue-900: #002A3A;
      --primitive-blue-800: #003D54;
      --primitive-blue-700: #005070;
      --primitive-blue-100: #E8F4F9;
      --primitive-blue-50:  #F4F9FC;

      --primitive-green-700: #006B44;
      --primitive-green-600: #009D64;
      --primitive-green-500: #00C07A;
      --primitive-green-100: #D6F5E9;
      --primitive-green-50:  #EDFAF4;

      --primitive-yellow-600: #E6A800;
      --primitive-yellow-500: #FFC107;
      --primitive-yellow-400: #FFCD38;
      --primitive-yellow-100: #FFF3CC;
      --primitive-yellow-50:  #FFFAE8;

      --primitive-neutral-950: #0B1220;
      --primitive-neutral-800: #1E293B;
      --primitive-neutral-700: #475569;
      --primitive-neutral-400: #94A3B8;
      --primitive-neutral-200: #DCE3EA;
      --primitive-neutral-100: #F1F5F9;
      --primitive-neutral-50:  #FDFBF4;
      --primitive-white: #FFFFFF;

      --primitive-red-600: #DC2626;
      --primitive-red-100: #FEE2E2;

      /* Semantic Colors */
      --color-bg:              var(--primitive-neutral-50);
      --color-surface:         var(--primitive-white);
      --color-surface-raised:  var(--primitive-neutral-100);
      --color-surface-overlay: rgba(0,42,58,.04);

      --color-ink-strong:   var(--primitive-neutral-950);
      --color-ink-base:     var(--primitive-neutral-800);
      --color-ink-muted:    var(--primitive-neutral-700);
      --color-ink-disabled: var(--primitive-neutral-400);
      --color-ink-inverse:  var(--primitive-white);

      --color-brand-primary:      var(--primitive-blue-900);
      --color-brand-secondary:    var(--primitive-blue-800);
      --color-brand-action:       var(--primitive-green-600);
      --color-brand-action-hover: var(--primitive-green-700);
      --color-brand-signal:       var(--primitive-yellow-500);

      --color-border:        var(--primitive-neutral-200);
      --color-border-strong: var(--primitive-neutral-400);
      --color-border-brand:  var(--primitive-green-600);

      --color-focus:         #86B7FE;
      --color-hover-overlay: rgba(0,42,58,.05);

      --color-success:    var(--primitive-green-600);
      --color-success-bg: var(--primitive-green-50);
      --color-warning:    var(--primitive-yellow-500);
      --color-warning-bg: var(--primitive-yellow-50);
      --color-error:      var(--primitive-red-600);
      --color-error-bg:   var(--primitive-red-100);

      /* Typography */
      --font-display: 'Space Grotesk', system-ui, sans-serif;
      --font-body:    'Inter', system-ui, sans-serif;
      --font-mono:    'JetBrains Mono', ui-monospace, monospace;

      /* Spacing (8pt grid) */
      --space-1:  4px;
      --space-2:  8px;
      --space-3:  12px;
      --space-4:  16px;
      --space-5:  24px;
      --space-6:  32px;
      --space-7:  40px;
      --space-8:  48px;
      --space-9:  64px;
      --space-10: 80px;
      --space-11: 96px;
      --space-12: 128px;

      /* Border Radius */
      --radius-xs:   4px;
      --radius-sm:   8px;
      --radius-md:   12px;
      --radius-lg:   16px;
      --radius-xl:   24px;
      --radius-full: 9999px;

      /* Shadows */
      --shadow-sm:    0 1px 3px rgba(2,6,23,.06);
      --shadow-md:    0 4px 12px rgba(2,6,23,.08);
      --shadow-lg:    0 8px 22px rgba(2,6,23,.10);
      --shadow-xl:    0 20px 44px rgba(2,6,23,.14);
      --shadow-focus: 0 0 0 3px var(--color-focus);
      --shadow-brand: 0 4px 16px rgba(0,157,100,.25);

      /* Motion */
      --dur-instant: 60ms;
      --dur-fast:    120ms;
      --dur-base:    200ms;
      --dur-slow:    320ms;
      --ease:        cubic-bezier(.2,.8,.2,1);
      --ease-decel:  cubic-bezier(.0,.0,.2,1);
      --ease-spring: cubic-bezier(.34,1.56,.64,1);

      /* Layout */
      --container-sm: 640px;
      --container-md: 800px;
      --container-lg: 1120px;
      --container-xl: 1280px;
      --nav-height:   64px;
    }

    /* Dark mode tokens */
    

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* ============================================================
       RESET + BASE
    ============================================================ */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.625;
      color: var(--color-ink-strong);
      background: var(--color-bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    body {
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      overflow-x: hidden;
    }

    main { flex: 1; }

    h1, h2, h3, h4, h5 {
      font-family: var(--font-display);
      font-weight: 700;
      color: var(--color-ink-strong);
    }

    h1 { font-size: 52px; line-height: 60px; letter-spacing: -0.02em; }
    h2 { font-size: 38px; line-height: 48px; font-weight: 600; }
    h3 { font-size: 28px; line-height: 36px; font-weight: 600; }
    h4 { font-size: 22px; line-height: 30px; font-weight: 600; }
    h5 { font-size: 18px; line-height: 26px; font-weight: 600; }

    p { max-width: 70ch; }
    p + p { margin-top: var(--space-4); }

    a {
      color: var(--color-brand-action);
      text-decoration: none;
      transition: color var(--dur-fast) var(--ease);
    }
    a:hover { color: var(--color-brand-action-hover); }
    a:focus-visible {
      outline: none;
      box-shadow: var(--shadow-focus);
      border-radius: var(--radius-xs);
    }

    img { max-width: 100%; display: block; }

    ul { list-style: none; }

    code, pre {
      font-family: var(--font-mono);
    }

    /* ============================================================
       LAYOUT UTILITIES
    ============================================================ */
    .container {
      width: 100%;
      max-width: var(--container-xl);
      margin: 0 auto;
      padding: 0 var(--space-4);
    }

    .container-lg {
      max-width: var(--container-lg);
    }

    @media (min-width: 640px) {
      .container { padding: 0 var(--space-6); }
    }

    @media (min-width: 1024px) {
      .container { padding: 0 var(--space-8); }
    }

    /* ============================================================
       BUTTONS
    ============================================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      font-family: var(--font-body);
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: all var(--dur-fast) var(--ease);
      white-space: nowrap;
    }
    .btn:active { transform: scale(0.98); }
    .btn:focus-visible { box-shadow: var(--shadow-focus); outline: none; }
    .btn:disabled { opacity: 0.4; pointer-events: none; }

    .btn-lg {
      height: 48px;
      padding: 0 var(--space-5);
      border-radius: var(--radius-md);
      font-size: 16px;
    }

    .btn-md {
      height: 40px;
      padding: 0 var(--space-4);
      border-radius: var(--radius-md);
    }

    .btn-sm {
      height: 32px;
      padding: 0 var(--space-3);
      border-radius: var(--radius-md);
      font-size: 14px;
      font-weight: 500;
    }

    .btn-primary {
      background: var(--color-brand-action);
      color: #fff;
      box-shadow: 0 6px 24px rgba(0,157,100,.40);
    }
    .btn-primary:hover {
      background: var(--color-brand-action-hover);
      color: #fff;
      box-shadow: 0 6px 28px rgba(0,157,100,.50);
    }

    .btn-secondary {
      background: var(--color-surface);
      color: var(--color-brand-primary);
      border: 1.5px solid var(--color-border-strong);
      box-shadow: var(--shadow-sm);
    }
    .btn-secondary:hover {
      background: var(--color-hover-overlay);
      color: var(--color-brand-primary);
    }

    .btn-ghost {
      background: transparent;
      color: var(--color-brand-primary);
    }
    .btn-ghost:hover {
      background: var(--color-hover-overlay);
      color: var(--color-brand-primary);
    }

    .btn-ghost-inv {
      background: transparent;
      color: rgba(255,255,255,.85);
      border: 1.5px solid rgba(255,255,255,.25);
    }
    .btn-ghost-inv:hover {
      background: rgba(255,255,255,.08);
      color: #fff;
      border-color: rgba(255,255,255,.5);
    }

    /* ============================================================
       NAVIGATION
    ============================================================ */
    .nav {
      position: sticky;
      top: 0;
      z-index: 200;
      height: var(--nav-height);
      display: flex;
      align-items: center;
      background: var(--color-surface);
      border-bottom: 1px solid var(--color-border);
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      background-color: #FFFFFF;
    }

    .nav > .container { height: 100%; }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      gap: var(--space-6);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--color-brand-primary);
      text-decoration: none;
      flex-shrink: 0;
    }
    .nav-logo:hover { color: var(--color-brand-primary); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: var(--space-1);
      flex: 1;
      justify-content: center;
    }

    .nav-link {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 500;
      line-height: 1;
      color: var(--color-ink-base);
      text-decoration: none;
      padding: var(--space-2) var(--space-3);
      border-radius: var(--radius-sm);
      transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
    }
    .nav-link:hover {
      color: var(--color-brand-action);
      background: var(--color-success-bg);
    }

    .nav-link.active { color: var(--color-brand-action); background: var(--color-success-bg); }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      flex-shrink: 0;
    }

    .nav-signin {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 500;
      color: var(--color-ink-base);
      text-decoration: none;
      padding: var(--space-2) var(--space-3);
      border-radius: var(--radius-sm);
      transition: color var(--dur-fast) var(--ease);
    }
    .nav-signin:hover { color: var(--color-brand-action); }

    /* Hamburger */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      padding: var(--space-2);
      border-radius: var(--radius-sm);
      transition: background var(--dur-fast) var(--ease);
      flex-shrink: 0;
    }
    .nav-hamburger:hover { background: var(--color-surface-raised); }
    .nav-hamburger:focus-visible { box-shadow: var(--shadow-focus); outline: none; }

    .nav-hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--color-ink-base);
      border-radius: 2px;
      transition: all var(--dur-base) var(--ease);
      transform-origin: center;
    }

    .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile nav drawer */
    .nav-mobile {
      display: none;
      position: fixed;
      top: var(--nav-height);
      left: 0;
      right: 0;
      background: var(--color-surface);
      border-bottom: 1px solid var(--color-border);
      box-shadow: var(--shadow-lg);
      z-index: 190;
      padding: var(--space-4) var(--space-4) var(--space-5);
    }

    .nav-mobile.is-open { display: block; }

    .nav-mobile-links {
      display: flex;
      flex-direction: column;
      gap: var(--space-1);
      margin-bottom: var(--space-5);
    }

    .nav-mobile-link {
      font-family: var(--font-body);
      font-size: 16px;
      font-weight: 500;
      color: var(--color-ink-base);
      text-decoration: none;
      padding: var(--space-3) var(--space-2);
      border-radius: var(--radius-sm);
      border-bottom: 1px solid var(--color-border);
    }
    .nav-mobile-link:last-child { border-bottom: none; }
    .nav-mobile-link:hover { color: var(--color-brand-action); }

    .nav-mobile-actions {
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-signin { display: none; }
      .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .nav-actions { gap: var(--space-2); }
      .site-nav .container { padding: 0 var(--space-3); }
    }

    /* ============================================================
       HERO
    ============================================================ */
    /* ============================================================
       HOMEPAGE DARK HERO + NAV
       Nav and hero share the dark teal palette
    ============================================================ */
    .nav {
      position: sticky !important;
      top: 0 !important;
      background: #001A24 !important;
      background-color: #001A24 !important;
      border-bottom-color: rgba(0,157,100,0.15) !important;
    }
    .nav-logo-text,
    .nav-link,
    .nav-link:visited {
      color: rgba(255,255,255,0.85) !important;
    }
    .nav-logo svg path, .nav-logo svg polygon, .nav-logo svg rect {
      fill: #ffffff !important;
    }
    .nav-link:hover,
    .nav-link.is-active {
      color: #009D64 !important;
    }
    .btn-ghost-nav {
      color: rgba(255,255,255,0.85) !important;
      border-color: rgba(255,255,255,0.2) !important;
    }
    .btn-ghost-nav:hover {
      background: rgba(255,255,255,0.08) !important;
    }

    /* Logo and hamburger white on dark nav */
    .nav-logo {
      color: #FFFFFF !important;
    }
    .nav-logo svg {
      stroke: #FFFFFF !important;
    }
    .nav-hamburger span {
      background-color: #FFFFFF !important;
    }

    /* Mobile nav — dark to match homepage */
    .nav-mobile {
      background: #001A24 !important;
      border-bottom-color: rgba(0,157,100,0.15) !important;
    }
    .nav-mobile-link {
      color: rgba(255,255,255,0.85) !important;
      border-bottom-color: rgba(255,255,255,0.08) !important;
    }
    .nav-mobile-link:hover {
      color: #009D64 !important;
    }
    .hamburger span {
      background: #FFFFFF !important;
    }

    .hero {
      padding: var(--space-12) 0 var(--space-10);
      text-align: center;
      overflow: visible;
      position: relative;
      background:
        radial-gradient(ellipse 700px 500px at 50% 25%, rgba(0,157,100,0.22) 0%, rgba(0,157,100,0.08) 50%, transparent 75%),
        radial-gradient(circle 300px at 85% 45%, rgba(255,193,7,0.06) 0%, transparent 70%),
        #001A24;
    }
    

    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.6; transform: scale(0.8); }
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(36px, 5.5vw, 64px);
      line-height: 1.1;
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--color-ink-inverse);
      max-width: 14ch;
      margin: 0 auto;
      position: relative;
      z-index: 3;
    }

    .hero-title .accent {
      color: #00C07A;
    }

    .hero-sub {
      font-family: var(--font-body);
      font-size: 20px;
      line-height: 32px;
      color: rgba(255,255,255,0.65);
      max-width: 46ch;
      margin: var(--space-5) auto 0;
      position: relative;
      z-index: 3;
    }

    .hero-actions {
      display: flex;
      gap: var(--space-3);
      justify-content: center;
      flex-wrap: wrap;
      margin-top: var(--space-8);
      position: relative;
      z-index: 3;
    }

    @media (max-width: 639px) {
      .devex-section, .devex-split, .devex-wrap, .devex-inner {
        min-width: 0;
        max-width: 100%;
      }
      .devex-code, .devex-code-block, .code-block, .response-block {
        width: 100%;
        max-width: calc(100vw - 48px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
      }
      .code-block-body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .code-block pre {
        white-space: pre;
        max-width: none;
        min-width: min-content;
        overflow-x: visible;
      }
      .hero {
        padding: var(--space-10) 0 var(--space-8);
      }
      .hero-sub {
        font-size: 17px;
        line-height: 28px;
      }
      .hero-actions {
        flex-direction: column;
        align-items: center;
      }
      .hero-visual {
        margin-top: var(--space-7);
      }
    }

    /* ============================================================
       TRUST BAR
    ============================================================ */
    .trust-bar-section {
      padding: var(--space-4) 0 var(--space-9);
    }

    .trust-divider {
      width: 100%;
      height: 1px;
      background: var(--color-border);
      margin-bottom: var(--space-9);
    }

    .trust-bar {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-5);
    }

    .trust-stat {
      text-align: center;
      padding: var(--space-4);
    }

    .trust-stat-value {
      font-family: var(--font-display);
      font-size: 38px;
      line-height: 48px;
      font-weight: 700;
      color: var(--color-brand-action);
      letter-spacing: -0.02em;
      display: block;
    }

    .trust-stat-label {
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 22px;
      color: var(--color-ink-muted);
      margin-top: var(--space-1);
      display: block;
    }

    @media (max-width: 768px) {
      .trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
      }
    }

    @media (max-width: 479px) {
      .trust-bar { grid-template-columns: 1fr 1fr; }
      .trust-stat-value { font-size: 28px; }
    }

    /* ============================================================
       VALUE PROPS
    ============================================================ */
    .section {
      padding: var(--space-10) 0;
    }

    .section-header {
      text-align: center;
      margin-bottom: var(--space-9);
    }

    .section-label {
      display: inline-block;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-brand-action);
      margin-bottom: var(--space-3);
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 3.5vw, 38px);
      font-weight: 600;
      letter-spacing: -0.01em;
      color: var(--color-ink-strong);
    }

    .section-sub {
      font-family: var(--font-body);
      font-size: 18px;
      line-height: 30px;
      color: var(--color-ink-muted);
      max-width: 52ch;
      margin: var(--space-4) auto 0;
    }

    /* Feature cards grid */
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-5);
    }

    .feature-card {
      background: #FFFFFF;
      border-radius: var(--radius-xl);
      padding: var(--space-8) var(--space-6);
      box-shadow: var(--shadow-md);
      border: 1px solid var(--color-border);
      transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
    }

    .feature-card:hover {
      box-shadow: var(--shadow-xl);
      transform: translateY(-3px);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      margin-bottom: var(--space-5);
      display: block;
      flex-shrink: 0;
    }

    .feature-card h3 {
      font-size: 22px;
      line-height: 30px;
      margin-bottom: var(--space-3);
    }

    .feature-card p {
      font-size: 16px;
      line-height: 26px;
      color: var(--color-ink-muted);
      max-width: none;
    }

    .feature-detail {
      margin-top: var(--space-5);
      padding-top: var(--space-5);
      border-top: 1px solid var(--color-border);
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
    }

    .feature-detail-item {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      font-size: 14px;
      color: var(--color-ink-base);
    }

    .feature-check {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

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

    @media (max-width: 639px) {
      .feature-grid { grid-template-columns: 1fr; }
      .feature-card { padding: var(--space-6) var(--space-5); }
    }

    /* ============================================================
       CODE EXAMPLE
    ============================================================ */
    .code-section {
      padding: var(--space-10) 0;
      background: var(--color-brand-primary);
      position: relative; overflow: hidden;
      overflow: hidden;
    }

    /* Dashed decorative arcs replaced by .section-radar HTML elements */

    .code-section .section-label {
      color: rgba(0,192,122,.9);
    }

    .code-section .section-title {
      color: #fff;
    }

    .code-section .section-sub {
      color: rgba(255,255,255,.65);
    }

    .code-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--space-9);
      align-items: start;
      margin-top: var(--space-9);
    }

    .code-explain {
      color: rgba(255,255,255,.85);
    }

    .code-explain h4 {
      color: #fff;
      font-size: 22px;
      margin-bottom: var(--space-4);
    }

    .code-explain p {
      font-size: 16px;
      line-height: 28px;
      color: rgba(255,255,255,.7);
      max-width: 42ch;
    }

    .code-steps {
      margin-top: var(--space-6);
      display: flex;
      flex-direction: column;
      gap: var(--space-4);
    }

    .code-step {
      display: flex;
      gap: var(--space-4);
      align-items: flex-start;
    }

    .code-step-num {
      width: 28px;
      height: 28px;
      background: rgba(0,157,100,.25);
      border: 1px solid rgba(0,157,100,.4);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 500;
      color: var(--primitive-green-500);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .code-step-text {
      font-size: 15px;
      line-height: 24px;
      color: rgba(255,255,255,.75);
    }

    .code-step-text strong {
      color: #fff;
      font-weight: 600;
    }

    /* Code block */
    .code-block {
      background: #001A24;
      border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
    }

    .code-block-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--space-3) var(--space-4);
      background: rgba(0,0,0,.25);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .code-block-dots {
      display: flex;
      gap: var(--space-2);
    }

    .code-block-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    .dot-red   { background: #FF5F57; }
    .dot-amber { background: #FEBC2E; }
    .dot-green { background: #28C840; }

    .code-lang {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 500;
      color: rgba(255,255,255,.45);
      letter-spacing: 0.04em;
    }

    .copy-btn {
      background: transparent;
      border: 1px solid rgba(255,255,255,.2);
      color: rgba(255,255,255,.55);
      border-radius: var(--radius-sm);
      padding: 3px 10px;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 500;
      cursor: pointer;
      transition: all var(--dur-fast) var(--ease);
    }
    .copy-btn:hover {
      background: rgba(255,255,255,.1);
      color: #fff;
      border-color: rgba(255,255,255,.4);
    }
    .copy-btn:focus-visible {
      outline: none;
      box-shadow: var(--shadow-focus);
    }

    .code-block-body {
      padding: var(--space-5) var(--space-5);
      overflow-x: auto;
    }

    .code-block pre {
      margin: 0;
      background: none;
      padding: 0;
      border-radius: 0;
      font-family: var(--font-mono);
      font-size: 13px;
      line-height: 22px;
      color: rgba(255,255,255,.85);
      white-space: pre;
    }

    /* Syntax colors */
    .tok-comment  { color: rgba(255,255,255,.35); font-style: italic; }
    .tok-keyword  { color: var(--primitive-yellow-400); }
    .tok-string   { color: var(--primitive-green-500); }
    .tok-number   { color: var(--primitive-yellow-500); }
    .tok-function { color: #86B7FE; }
    .tok-punct    { color: rgba(255,255,255,.55); }
    .tok-prop     { color: rgba(255,255,255,.85); }

    /* Response block */
    .code-response {
      margin-top: var(--space-4);
    }

    .code-response-label {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--primitive-green-500);
      margin-bottom: var(--space-2);
      padding: 0 var(--space-5);
    }

    @media (max-width: 1023px) {
      .code-layout {
        grid-template-columns: 1fr;
        gap: var(--space-7);
      }
      .code-layout > * {
        min-width: 0;
        max-width: 100%;
      }
      .code-explain p { max-width: none; }
      .code-block {
        max-width: calc(100vw - 48px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
      }
      .code-block-body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .code-block pre {
        white-space: pre;
        max-width: none;
        min-width: min-content;
        overflow-x: visible;
      }
    }

    /* ============================================================
       PRICING
    ============================================================ */
    .pricing-section {
      padding: var(--space-10) 0 var(--space-12);
    }

    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--space-4);
      margin-top: var(--space-9);
    }

    .pricing-card {
      background: #FFFFFF;
      border-radius: var(--radius-xl);
      padding: var(--space-7) var(--space-5) var(--space-6);
      box-shadow: var(--shadow-md);
      border: 1.5px solid var(--color-border);
      display: flex;
      flex-direction: column;
      transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
      position: relative;
    }

    .pricing-card:hover {
      box-shadow: var(--shadow-xl);
      transform: translateY(-2px);
    }

    .pricing-card.featured {
      border-color: var(--color-brand-action);
      box-shadow: var(--shadow-brand), var(--shadow-md);
    }

    .pricing-card.featured:hover {
      box-shadow: 0 6px 24px rgba(0,157,100,.35), var(--shadow-xl);
    }

    .featured-badge {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--color-brand-action);
      color: #fff;
      font-family: var(--font-body);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 3px 12px;
      border-radius: var(--radius-full);
      white-space: nowrap;
    }

    .pricing-icon-wrap {
      width: 44px;
      height: 44px;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-4);
    }

    .pricing-tier-name {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-ink-muted);
      margin-bottom: var(--space-2);
    }

    .pricing-price {
      font-family: var(--font-display);
      font-size: 44px;
      line-height: 1;
      font-weight: 700;
      color: var(--color-ink-strong);
      letter-spacing: -0.03em;
      margin-bottom: var(--space-1);
    }

    .pricing-price .currency {
      font-size: 24px;
      font-weight: 600;
      vertical-align: top;
      margin-top: 6px;
      display: inline-block;
    }

    .pricing-price .period {
      font-family: var(--font-body);
      font-size: 14px;
      font-weight: 400;
      color: var(--color-ink-muted);
    }

    .pricing-desc {
      font-size: 14px;
      line-height: 22px;
      color: var(--color-ink-muted);
      margin-bottom: var(--space-5);
      min-height: 44px;
    }

    .pricing-free-badge {
      display: inline-flex;
      align-items: center;
      gap: var(--space-1);
      background: var(--color-success-bg);
      color: var(--primitive-green-700);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: var(--radius-xs);
      border: 1px solid var(--primitive-green-100);
      margin-bottom: var(--space-4);
    }

    .pricing-features {
      list-style: none;
      padding: var(--space-5) 0;
      border-top: 1px solid var(--color-border);
      margin-top: auto;
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
    }

    .pricing-features li {
      display: flex;
      align-items: flex-start;
      gap: var(--space-2);
      font-size: 14px;
      line-height: 22px;
      color: var(--color-ink-base);
    }

    .pricing-check {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      margin-top: 3px;
    }

    .pricing-cta {
      margin-top: var(--space-5);
      width: 100%;
    }

    .pricing-link {
      display: block;
      text-align: center;
      margin-top: var(--space-4);
      font-size: 14px;
      color: var(--color-brand-action);
      font-weight: 500;
    }
    .pricing-link:hover { color: var(--color-brand-action-hover); }

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

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

    /* ============================================================
       CTA BLOCK
    ============================================================ */
    .cta-section {
      padding: var(--space-12) 0;
      background: var(--color-brand-primary);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

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

    .cta-content {
      position: relative;
      z-index: 1;
    }

    .cta-label {
      display: inline-block;
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(0,192,122,.9);
      margin-bottom: var(--space-3);
    }

    .cta-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #fff;
      margin-bottom: var(--space-4);
    }

    .cta-sub {
      font-size: 18px;
      line-height: 30px;
      color: rgba(255,255,255,.65);
      max-width: 44ch;
      margin: 0 auto var(--space-8);
    }

    .cta-actions {
      display: flex;
      gap: var(--space-3);
      justify-content: center;
      flex-wrap: wrap;
    }

    /* Decorative flight path in CTA */
    .cta-path {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      pointer-events: none;
      opacity: 0.07;
    }

    .cta-contrail {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 200px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(0,157,100,0.1), transparent);
    }

    @media (max-width: 639px) {
      .cta-actions { flex-direction: column; align-items: center; }
    }

    /* ============================================================
       FOOTER
    ============================================================ */
    .footer {
      background: linear-gradient(180deg, #001A24 0%, #001A24 50%, #001A24 100%);
      color: rgba(255,255,255,.75);
      padding: var(--space-10) 0 var(--space-6);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: var(--space-8);
      padding-bottom: var(--space-8);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .footer-brand-name {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      margin-bottom: var(--space-3);
    }

    .footer-brand-desc {
      font-size: 14px;
      line-height: 22px;
      color: rgba(255,255,255,.5);
      max-width: 32ch;
    }

    .footer-col-heading {
      font-family: var(--font-body);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,.4);
      margin-bottom: var(--space-4);
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
    }

    .footer-link {
      font-size: 14px;
      line-height: 22px;
      color: rgba(255,255,255,.65);
      text-decoration: none;
      transition: color var(--dur-fast) var(--ease);
      padding: var(--space-1) 0;
    }
    .footer-link:hover { color: #fff; }
    .footer-link:focus-visible {
      outline: none;
      box-shadow: var(--shadow-focus);
      border-radius: var(--radius-xs);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-4);
      padding-top: var(--space-5);
      flex-wrap: wrap;
    }

    .footer-copy {
      font-size: 13px;
      color: rgba(255,255,255,.35);
    }

    .footer-status {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 500;
      color: var(--primitive-green-500);
      text-decoration: none;
    }

    .status-dot {
      width: 7px;
      height: 7px;
      background: var(--primitive-green-500);
      border-radius: 50%;
      box-shadow: 0 0 0 0 rgba(0,192,122,.4);
      animation: ping 2.5s ease-in-out infinite;
    }

    @keyframes ping {
      0%   { box-shadow: 0 0 0 0 rgba(0,192,122,.5); }
      70%  { box-shadow: 0 0 0 6px rgba(0,192,122,0); }
      100% { box-shadow: 0 0 0 0 rgba(0,192,122,0); }
    }

    @media (max-width: 1023px) {
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .footer-brand-wrap { grid-column: 1 / -1; }
    }

    @media (max-width: 639px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
      }
      .footer-brand-wrap { grid-column: 1 / -1; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    /* ============================================================
       MISC UTILITIES
    ============================================================ */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0,0,0,0);
      white-space: nowrap;
      border: 0;
    }

    /* Section background alternation */
    .bg-surface {
      background: var(--color-surface);
    }

    .section-rule {
      width: 100%;
      height: 1px;
      background: var(--color-border);
    }

    /* Skip to content - FIX-01 */
    .skip-link {
      position: absolute; top: -100%; left: var(--space-4);
      background: var(--color-brand-primary); color: var(--color-ink-inverse);
      padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm);
      font-size: 14px; font-weight: 600; z-index: 9999;
      text-decoration: none; transition: top var(--dur-fast) var(--ease);
    }
    .skip-link:focus { top: var(--space-2); }

    /* Dark mode toggle icons - FIX-10 */
    
    

    /* ── Dark mode nav contrast ──────────────────────────────────── */
    
    
    
    
    
    
    
    

    /* Active mobile nav link - FIX-07 */
    .nav-mobile-link.active { color: var(--color-brand-action); font-weight: 600; }

    /* ============================================================
       REALISTIC RADAR ANIMATION
    ============================================================ */
    @keyframes radar-ring-pulse {
      0%   { transform: translate(-50%, -50%) scale(0.05); opacity: 0.7; }
      100% { transform: translate(-50%, -50%) scale(1);    opacity: 0; }
    }

    /* Radar wrapper - position absolutely within parent */

    /* === RADAR AMBIENT GLOW — green bloom behind each radar === */
    .radar-wrap::before {
      content: '';
      position: absolute;
      inset: -40%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,157,100,0.10) 0%, rgba(0,157,100,0.04) 35%, transparent 70%);
      pointer-events: none;
      z-index: -1;
      filter: blur(20px);
    }
    

    .radar-wrap {
      position: absolute;
      pointer-events: none;
      z-index: 0;
    }
    .radar-wrap.radar-lg,
    .radar-wrap.radar-md,
    .radar-wrap.radar-sm { width: 400px; height: 400px; }

    .radar-inner {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      overflow: hidden;
    }

    /* Static concentric rings */
    .radar-ring-static {
      position: absolute;
      border-radius: 50%;
    }
    .radar-ring-static:nth-child(1) { top: 25%; left: 25%; right: 25%; bottom: 25%; border: 1px solid rgba(0,157,100,0.06); }
    .radar-ring-static:nth-child(2) { top: 12.5%; left: 12.5%; right: 12.5%; bottom: 12.5%; border: 1px solid rgba(0,157,100,0.06); }
    .radar-ring-static:nth-child(3) { top: 2%; left: 2%; right: 2%; bottom: 2%; border: 1px solid rgba(0,157,100,0.04); }

    /* Center dot */
    .radar-center {
      position: absolute;
      top: 50%; left: 50%;
      width: 6px; height: 6px;
      background: rgba(0,157,100,0.7);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      box-shadow: 0 0 8px rgba(0,157,100,0.5);
    }

    /* Rotating sweep gradient */
    
    .radar-sweep {
      position: absolute;
      inset: 2%;
      border-radius: 50%;
      background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 270deg,
        rgba(0,157,100,0.016) 280deg,
        rgba(0,157,100,0.05) 300deg,
        rgba(0,157,100,0.12) 320deg,
        rgba(0,157,100,0.20) 340deg,
        rgba(0,157,100,0.28) 360deg
      );
      transform-origin: center;
      filter: drop-shadow(0 0 15px rgba(0,157,100,0.3));
    }

    /* Pulsing ripple rings from center */
    .radar-pulse-ring {
      position: absolute;
      border-radius: 50%;
      border: 1.5px solid rgba(0,157,100,0.45);
      top: 50%; left: 50%;
      width: 6%; height: 6%;
      animation: radar-ring-pulse 3.2s cubic-bezier(0.2,0.8,0.2,1) infinite;
    }
    .radar-pulse-ring:nth-child(6) { animation-delay: 1.06s; }
    .radar-pulse-ring:nth-child(7) { animation-delay: 2.13s; }

    /* Blip dots - injected by JS */
    .radar-blip {
      position: absolute;
      width: 5px; height: 5px;
      background: rgba(0, 157, 100, 0.85);
      border-radius: 50%;
      box-shadow: 0 0 12px rgba(0, 157, 100, 0.7);
      pointer-events: none;
    }

    /* Dark mode - richer, more atmospheric */
    
    
    
    
    
    
    

    @media (prefers-reduced-motion: reduce) {
      .radar-pulse-ring { animation: none; opacity: 0; }
    }

    /* ── Crosshair lines ─────────────────────────────────────────── */
    .radar-crosshair-h,
    .radar-crosshair-v {
      position: absolute;
      background: rgba(0,157,100,0.06);
      pointer-events: none;
      z-index: 1;
    }
    .radar-crosshair-h { top: 50%; left: 5%; right: 5%; height: 1px; }
    .radar-crosshair-v { left: 50%; top: 5%; bottom: 5%; width: 1px; }
    

    /* ── Degree tick marks (0°/90°/180°/270°) ───────────────────── */
    .radar-tick {
      position: absolute;
      background: rgba(0,157,100,0.08);
      pointer-events: none;
      z-index: 2;
    }
    .radar-tick-n { top: 0;   left: 50%;  width: 1px; height: 8px; transform: translateX(-50%); }
    .radar-tick-e { top: 50%; right: 0;   width: 8px; height: 1px; transform: translateY(-50%); }
    .radar-tick-s { bottom: 0; left: 50%; width: 1px; height: 8px; transform: translateX(-50%); }
    .radar-tick-w { top: 50%; left: 0;    width: 8px; height: 1px; transform: translateY(-50%); }
    

    /* ============================================================
       DOT + CROSS GRID PATTERN (improved)
    ============================================================ */
    .dot-grid-pattern {
      background-image:
        radial-gradient(circle, rgba(0,42,58,0.12) 1.5px, transparent 1.5px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg stroke='%23002A3A' stroke-width='1.5' stroke-opacity='0.08'%3E%3Cline x1='32' y1='28' x2='32' y2='36'/%3E%3Cline x1='28' y1='32' x2='36' y2='32'/%3E%3C/g%3E%3C/svg%3E");
      background-size: 32px 32px, 64px 64px;
      background-position: 0 0, 16px 16px;
    }
    

    /* ============================================================
       SECTION RADAR - animated expanding wave rings + blip dots
       Ambient decoration for content sections; design language
       matches the hero radar but uses expanding wave vs sweep.
    ============================================================ */
    .section-radar {
      position: absolute;
      pointer-events: none;
      z-index: 0;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: transparent;
    }

    .section-wave-ring {
      position: absolute;
      inset: 0;
      border: 2px solid rgba(0,157,100,0.5);
      border-radius: 50%;
    }

    .section-blip {
      position: absolute;
      width: 5px;
      height: 5px;
      background: rgba(0, 157, 100, 0.8);
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(0, 157, 100, 0.5);
      transition: opacity 0.6s ease-out, transform 0.4s ease-out, box-shadow 0.6s ease-out;
      opacity: 0.03;
    }

    
    

    @media (prefers-reduced-motion: reduce) {
      .section-blip { opacity: 0.1 !important; transform: none !important; box-shadow: none !important; }
    }

  
    /* Hide wave radar on mobile */
    @media (max-width: 768px) {
      .section-radar { display: none !important; }
    }

    @media (max-width: 639px) {
      .radar-wrap { width: 200px !important; height: 200px !important; }
      .radar-inner { width: 200px !important; height: 200px !important; }
      .radar-wrap::before { inset: -20% !important; filter: blur(12px) !important; }
    }

    /* Code block overflow fix */
    .devex-code, .devex-code-block, .code-block, .code-panel {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      max-width: 100%;
    }
    .devex-code pre, .code-block pre, pre {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      white-space: pre;
      word-break: normal;
      max-width: 100%;
    }
    @media (max-width: 639px) {
      .devex-panel, .devex-split, .devex-code-wrap {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
      }
      .devex-code, .response-block {
        max-width: 100%;
        overflow-x: auto;
      }
      .code-block-body {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      }
      .code-block pre {
        white-space: pre;
        max-width: none;
        min-width: min-content;
        overflow-x: visible;
      }
    }

/* 400px breakpoint */
@media (max-width: 400px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}
