* { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ds-text-primary);
      background: var(--ds-surface-base);
      min-height: 100vh;
    }

    button, a { font: inherit; }
    button { cursor: pointer; }
    .page { max-width: 1500px; margin: 0 auto; padding: 22px; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: var(--ds-surface-base);
      border-bottom: 1px solid var(--ds-border-default);
      backdrop-filter: blur(18px);
    }

    .topbar-inner {
      max-width: 1500px;
      margin: 0 auto;
      padding: 12px 22px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--ds-text-primary);
      font-weight: 950;
      letter-spacing: -.02em;
      white-space: nowrap;
    }

    .brand-mark {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--ds-surface-base);
      border: 1px solid var(--ds-border-default);
      
    }

    .nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .nav a, .pill-btn {
      text-decoration: none;
      color: var(--ds-text-primary);
      background: rgba(255,255,255,.78);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-full);
      padding: 8px 11px;
      font-weight: 850;
      font-size: 12.5px;
      transition: .2s ease;
    }

    .nav a:hover, .pill-btn:hover, .pill-btn.active {
      background: var(--ds-text-primary);
      color: var(--ds-surface-secondary);
      transform: translateY(-1px);
    }

    .hero {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      background: var(--ds-surface-base);
      
      padding: 52px;
    }

    .hero:before { display: none; }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 34px;
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      color: var(--ds-text-secondary);
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      padding: 8px 12px;
      border-radius: var(--ds-radius-full);
      text-transform: uppercase;
      letter-spacing: .12em;
      font-weight: 950;
      font-size: 12px;
      margin-bottom: 18px;
    }

    h1 {
      margin: 0 0 18px;
      color: var(--ds-text-primary);
      font-size: clamp(54px, 7.2vw, 108px);
      line-height: .88;
      letter-spacing: -.06em;
      font-weight: 980;
    }

    .subtitle {
      font-size: clamp(18px, 2vw, 25px);
      line-height: 1.36;
      color: #2d4658;
      margin: 0 0 16px;
      max-width: 900px;
    }

    .tagline {
      color: var(--ds-text-secondary);
      font-weight: 950;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 26px;
    }

    .signal-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 18px;
    }

    .signal {
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      padding: 14px;
    }

    .signal b { display: block; color: var(--ds-text-primary); font-size: 22px; margin-bottom: 3px; }
    .signal span { color: var(--ds-text-secondary); font-size: 12px; line-height: 1.3; display: block; }

    section { margin: 30px 0; }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 22px;
      margin-bottom: 18px;
    }

    .section-head h2 {
      margin: 0;
      color: var(--ds-text-primary);
      font-size: clamp(28px, 3vw, 46px);
      letter-spacing: -.04em;
    }

    .section-head p {
      margin: 8px 0 0;
      color: var(--ds-text-muted);
      line-height: 1.5;
      max-width: 860px;
      font-size: 16px;
    }

    .kicker {
      flex-shrink: 0;
      border-radius: var(--ds-radius-full);
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      color: var(--ds-text-primary);
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 950;
      white-space: nowrap;
    }

    .grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

    .flywheel {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      align-items: stretch;
    }

    .wheel {
      position: relative;
      min-height: 470px;
      background: var(--ds-surface-base);
      border-radius: var(--ds-radius-lg);
      border: 1px solid rgba(217,147,24,.24);
      overflow: hidden;
      
    }

    .wheel-center {
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: var(--ds-text-primary);
      color: var(--ds-surface-secondary);
      display: grid;
      place-items: center;
      text-align: center;
      padding: 24px;
      font-weight: 950;
      font-size: 22px;
      left: 50%; top: 50%;
      transform: translate(-50%, -50%);
      
      z-index: 2;
    }

    .wheel-item {
      position: absolute;
      width: 170px;
      min-height: 74px;
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      padding: 12px;
      color: var(--ds-text-primary);
      font-weight: 900;
      
      text-align: center;
      display: grid;
      place-items: center;
      font-size: 14px;
    }

    .w1 { left: 50%; top: 28px; transform: translateX(-50%); }
    .w2 { right: 38px; top: 112px; }
    .w3 { right: 48px; bottom: 112px; }
    .w4 { left: 50%; bottom: 28px; transform: translateX(-50%); }
    .w5 { left: 48px; bottom: 112px; }
    .w6 { left: 38px; top: 112px; }

    .tree-wrap {
      background: var(--ds-surface-base);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      
      padding: 24px;
      overflow: hidden;
    }

    .tree {
      position: relative;
      padding: 20px 0;
    }

    .tree:before { display: none; }

    .node {
      position: relative;
      z-index: 2;
      width: min(92%, 650px);
      margin: 0 auto 10px;
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 12px;
      align-items: center;
      background: var(--ds-surface-base);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      padding: 11px 15px;
      color: var(--ds-text-primary);
      font-weight: 900;
    }

    .node span {
      width: 34px; height: 34px; border-radius: var(--ds-radius-lg);
      display: grid; place-items: center;
      background: var(--ds-surface-secondary);
    }

    .node:not(:last-child):after {
      content: "";
      position: absolute;
      left: 50%; bottom: -11px;
      height: 11px;
      border-left: 2px solid var(--ds-border-default);
    }

    .agents {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 10px;
      margin-top: 14px;
    }

    .core { background: var(--ds-surface-secondary); color: var(--ds-text-primary); border-radius: var(--ds-radius-lg); padding: 22px; text-align: center; font-weight: 980; font-size: 24px; border: 1px solid var(--ds-border-default); }

    .agent {
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      color: var(--ds-text-primary);
      border-radius: var(--ds-radius-lg);
      padding: 14px 10px;
      min-height: 98px;
      display: grid;
      place-items: center;
      text-align: center;
      font-weight: 900;
      font-size: 13px;
    }

    .domain-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .domain {
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      background: var(--ds-surface-secondary);
      color: var(--ds-text-primary);
      padding: 13px 9px;
      text-align: center;
      font-weight: 900;
      font-size: 13px;
    }
    .domain span { display: block; font-size: 24px; margin-bottom: 6px; }

    .tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
    .tab-content { display: none; }
    .tab-content.active { display: block; }

    .safety {
      color: var(--ds-surface-secondary);
      border-radius: var(--ds-radius-lg);
      padding: 24px;
      min-height: 285px;
      
    }
    .safety h3 { margin: 0 0 12px; font-size: 23px; letter-spacing: -.02em; }
    .safety p, .safety li { color: var(--ds-text-secondary); line-height: 1.5; }
    .safety ul { margin: 14px 0 0; padding-left: 18px; }
    .det { background: var(--ds-surface-base); }
    .prob { background: var(--ds-surface-base); }
    .gate { background: var(--ds-surface-base); }

    .flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .roadmap { display: grid; gap: 12px; }
    .road-item {
      display: grid;
      grid-template-columns: 50px 1fr auto;
      gap: 12px;
      align-items: center;
      background: var(--ds-surface-secondary);
      border: 1px solid var(--ds-border-default);
      border-radius: var(--ds-radius-lg);
      padding: 14px;
    }
    .road-item .road-num {
      width: 42px; height: 42px; border-radius: var(--ds-radius-lg);
      background: var(--ds-text-primary); color: var(--ds-surface-secondary);
      display: grid; place-items: center; font-weight: 980;
    }
    .road-item h3 { margin: 0 0 4px; color: var(--ds-text-primary); font-size: 16px; }
    .road-item p { margin: 0; color: var(--ds-text-muted); font-size: 13px; line-height: 1.4; }
    .badge {
      padding: 8px 10px;
      border-radius: var(--ds-radius-full);
      background: var(--amber-soft);
      color: var(--ds-text-secondary);
      font-size: 12px;
      font-weight: 950;
      white-space: nowrap;
    }

    table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--ds-radius-lg); }
    th, td { padding: 14px; border-bottom: 1px solid var(--ds-border-default); text-align: left; vertical-align: top; font-size: 14px; }
    th { background: var(--amber-soft); color: var(--ds-text-primary); font-weight: 980; }
    td { background: var(--ds-surface-secondary); color: var(--ds-text-muted); line-height: 1.45; }
    tr:last-child td { border-bottom: 0; }

    .leader-select {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 16px;
    }

    .leader-view { display: none; }
    .leader-view.active { display: block; }

    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(2,13,24,.6);
      backdrop-filter: blur(8px);
      z-index: 90;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .modal-backdrop.active { display: flex; }
    .modal {
      width: min(960px, 100%);
      max-height: 88vh;
      overflow: auto;
      background: var(--ds-surface-base);
      border-radius: var(--ds-radius-lg);
      
      padding: 28px;
    }
    .modal-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid var(--ds-border-default);
      padding-bottom: 16px;
      margin-bottom: 18px;
    }
    .modal h2 { margin: 0; color: var(--ds-text-primary); font-size: 31px; letter-spacing: -.035em; }
    .close {
      width: 38px; height: 38px; border-radius: 50%; border: 0;
      background: var(--ds-text-primary); color: var(--ds-surface-secondary); font-size: 20px;
    }
    .modal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .modal-block { background: var(--ds-surface-secondary); border: 1px solid var(--ds-border-default); border-radius: var(--ds-radius-lg); padding: 16px; }
    .modal-block h4 { margin: 0 0 8px; color: var(--ds-text-primary); }
    .modal-block p { margin: 0; color: var(--ds-text-muted); line-height: 1.48; font-size: 14px; }

    .footer { margin: 36px 0 8px; border-radius: var(--ds-radius-lg); background: var(--ds-surface-base); border: 1px solid var(--ds-border-default); color: var(--ds-text-primary); padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
    .footer h2 { margin: 0 0 8px; color: var(--ds-text-primary); letter-spacing: -.02em; }
    .footer p { margin: 0; color: var(--ds-text-secondary); line-height: 1.52; }

    @media (max-width: 1180px) {
      .hero-grid, .grid-2, .flywheel { grid-template-columns: 1fr; }
      .grid-5, .grid-4, .grid-3, .flow, .domain-grid, .agents { grid-template-columns: repeat(2, 1fr); }
      .signal-strip { grid-template-columns: repeat(2, 1fr); }
      .footer { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      .page, .topbar-inner { padding: 14px; }
      .nav { display: none; }
      .hero { padding: 28px; border-radius: var(--ds-radius-lg); }
      .grid-5, .grid-4, .grid-3, .flow, .domain-grid, .agents, .grid-2, .modal-grid, .signal-strip { grid-template-columns: 1fr; }
      .section-head { flex-direction: column; align-items: flex-start; }
      .wheel { min-height: auto; padding: 20px; display: grid; gap: 10px; }
      .wheel-center, .wheel-item { position: static; transform: none; width: auto; min-height: auto; }
      .road-item { grid-template-columns: 42px 1fr; }
      .road-item .badge { grid-column: 2; width: fit-content; }
      table, thead, tbody, th, td, tr { display: block; }
      th { display: none; }
      td { border-bottom: 0; }
      tr { border-bottom: 1px solid var(--ds-border-default); }
    }

    @media print {
      .topbar, .hero-actions, .tabs, .leader-select, .modal-backdrop { display: none !important; }
      body { background: var(--ds-surface-secondary); }
      .hero, .panel, .card, .tree-wrap, .footer, .mini-panel, .safety {  }
      .page { max-width: none; padding: 0; }
    }
