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

    /* ABOUT / CITABILITY */
    .qh-about { background: var(--bg3); border-top: 1px solid var(--border2); border-bottom: 1px solid var(--border2); padding: 3rem 1.5rem }
    .qh-about-i { max-width: var(--max); margin: 0 auto }
    .qh-about-label { font-family: var(--mono); font-size: 0.72rem; color: var(--green); margin-bottom: 1.5rem; letter-spacing: 0.05em }
    .qh-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem }
    .qh-about-item { background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.5rem; position: relative; overflow: hidden }
    .qh-about-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green) }
    .qh-ai-num { font-family: var(--mono); font-size: 0.68rem; color: var(--green); margin-bottom: 0.75rem; letter-spacing: 0.04em }
    .qh-ai-text { font-family: var(--sans); font-size: 0.88rem; color: var(--text); line-height: 1.75 }
    .qh-ai-text strong { color: var(--green); font-weight: 500 }
    @media (max-width: 768px) { .qh-about-grid { grid-template-columns: 1fr } }

    /* INSIGHTS CROSS-LINKS */
    .qh-insights { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 1.5rem }
    .qh-insights-i { max-width: var(--max); margin: 0 auto }
    .qh-insights-label { font-family: var(--mono); font-size: 0.72rem; color: var(--green); margin-bottom: 0.35rem; letter-spacing: 0.05em }
    .qh-insights-sub { font-size: 0.85rem; color: var(--text2); margin-bottom: 1.6rem }
    .qh-insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem }
    .qh-ins-card { display: block; text-decoration: none; background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; position: relative; overflow: hidden; transition: border-color 0.2s, transform 0.2s }
    .qh-ins-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green) }
    .qh-ins-card:hover { border-color: var(--green-border); transform: translateY(-2px) }
    .qh-ins-tag { font-family: var(--mono); font-size: 0.65rem; color: var(--green); margin-bottom: 0.5rem; letter-spacing: 0.04em }
    .qh-ins-title { font-family: var(--sans); font-size: 0.93rem; font-weight: 500; color: var(--text); line-height: 1.35; margin-bottom: 0.45rem }
    .qh-ins-desc { font-size: 0.82rem; color: var(--text2); line-height: 1.6; margin-bottom: 0.85rem }
    .qh-ins-link { font-family: var(--mono); font-size: 0.75rem; color: var(--green) }
    @media (max-width: 768px) { .qh-insights-grid { grid-template-columns: 1fr } }

    :root {
      --bg: #0c0c0e;
      --bg2: #111114;
      --bg3: #18181c;
      --bg4: #1e1e24;
      --border: rgba(255, 255, 255, 0.07);
      --border2: rgba(255, 255, 255, 0.13);
      --text: #e8e6e0;
      --text2: #9a9892;
      --text3: #5a5856;
      --green: #22c55e;
      --green-dim: rgba(34, 197, 94, 0.15);
      --green-border: rgba(34, 197, 94, 0.25);
      --accent: #e8562a;
      --accent-dim: rgba(232, 86, 42, 0.12);
      --blue: #60a5fa;
      --blue-dim: rgba(96, 165, 250, 0.1);
      --r: 6px;
      --r-lg: 12px;
      --max: 1080px;
      --mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
      --sans: 'Syne', 'Trebuchet MS', Arial, sans-serif;
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--text);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden
    }

    /* GRID TEXTURE */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0
    }

    /* NAV VARIABLE OVERRIDES — nav.js uses light-theme vars not defined in this dark page */
    nav {
      --ink: #0a0a0a;
      --ink2: #444444;
      --surface: #fafaf8;
      --border: rgba(0, 0, 0, 0.08);
      --accent: #e8562a;
      --serif: 'Georgia', 'Times New Roman', serif;
      --r: 4px;
      --max: 1080px
    }

    /* HERO */
    .hero {
      padding: 6rem 2rem 5rem;
      position: relative;
      z-index: 1
    }

    .hero-i {
      max-width: var(--max);
      margin: 0 auto
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      border-radius: 50px;
      padding: 0.3rem 0.9rem;
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--green);
      margin-bottom: 2rem;
      letter-spacing: 0.04em
    }

    .badge-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green)
    }

    .hero h1 {
      font-size: clamp(2.4rem, 6vw, 4.2rem);
      line-height: 1.08;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #fff;
      max-width: 820px;
      margin-bottom: 1.5rem
    }

    .hero h1 .hl {
      color: var(--green)
    }

    .hero h1 .dim {
      color: rgba(255, 255, 255, 0.35)
    }

    .hero-sub {
      font-size: 1rem;
      color: var(--text2);
      max-width: 560px;
      line-height: 1.75;
      margin-bottom: 2.5rem;
      font-weight: 400;
      text-align: justify;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
      margin-bottom: 3.5rem
    }

    .btn-primary {
      background: var(--green);
      color: #0c0c0e;
      padding: 0.78rem 1.6rem;
      border-radius: var(--r);
      font-size: 0.85rem;
      text-decoration: none;
      font-weight: 500;
      font-family: var(--mono);
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem
    }

    .btn-primary:hover {
      background: #16a34a
    }

    .btn-outline {
      border: 1px solid var(--border2);
      color: var(--text);
      padding: 0.78rem 1.6rem;
      border-radius: var(--r);
      font-size: 0.85rem;
      text-decoration: none;
      font-family: var(--mono);
      transition: all 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem
    }

    .btn-outline:hover {
      border-color: var(--text2)
    }

    .hero-meta {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap
    }

    .hero-m {
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 0.4rem
    }

    .hero-m span {
      color: var(--text2)
    }

    /* HERO TWO-COLUMN */
    .hero-two-col {
      display: grid;
      grid-template-columns: 1fr 0.72fr;
      gap: 4rem;
      align-items: start
    }

    .hero-l,
    .hero-r {
      min-width: 0
    }

    /* CHAT DEMO WIDGET */
    .qd {
      background: var(--bg2);
      border: 1px solid rgba(34, 197, 94, 0.35);
      border-radius: var(--r-lg);
      overflow: hidden;
      font-family: var(--mono);
      box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08), 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 197, 94, 0.07)
    }

    .qd-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.9rem 1.1rem;
      background: var(--bg3);
      border-bottom: 1px solid var(--border)
    }

    .qd-logo {
      width: 28px;
      height: 28px;
      border-radius: 7px;
      background: var(--green);
      color: #0c0c0e;
      font-size: 0.8rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    .qd-header-info {
      display: flex;
      flex-direction: column;
      gap: 0.1rem
    }

    .qd-title {
      font-size: 0.78rem;
      color: var(--text);
      font-weight: 500
    }

    .qd-user {
      font-size: 0.68rem;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 0.35rem
    }

    .qd-user-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0
    }

    .qd-body {
      padding: 1.1rem;
      display: flex;
      flex-direction: column;
      gap: 1rem
    }

    .qd-user-msg {
      align-self: flex-end;
      background: var(--bg4);
      border: 1px solid var(--border);
      border-radius: 10px 10px 2px 10px;
      padding: 0.55rem 0.85rem;
      font-size: 0.78rem;
      color: var(--text2);
      max-width: 85%
    }

    .qd-ai-turn {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start
    }

    .qd-ai-av {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      color: var(--green);
      font-size: 0.68rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px
    }

    .qd-ai-content {
      flex: 1;
      min-width: 0
    }

    .qd-ai-text {
      font-size: 0.78rem;
      color: var(--text);
      line-height: 1.6;
      margin-bottom: 0.5rem
    }

    .qd-ai-list {
      font-size: 0.78rem;
      color: var(--text2);
      padding-left: 1.1rem;
      margin-bottom: 0.8rem;
      line-height: 1.8
    }

    .qd-sources {
      display: flex;
      flex-direction: column;
      gap: 0.4rem
    }

    .qd-src-lbl {
      font-size: 0.64rem;
      color: var(--text3);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.1rem
    }

    .qd-src-card {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 0.45rem 0.65rem;
      cursor: default
    }

    .qd-src-icon {
      width: 12px;
      height: 12px;
      color: var(--green);
      flex-shrink: 0;
      margin-top: 1px
    }

    .qd-src-title {
      font-size: 0.72rem;
      color: var(--text);
      font-weight: 500
    }

    .qd-src-path {
      font-size: 0.64rem;
      color: var(--text3);
      margin-top: 0.1rem
    }

    .qd-chips {
      display: flex;
      flex-direction: column;
      gap: 0.4rem
    }

    .qd-chip {
      background: none;
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 0.4rem 0.7rem;
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--text3);
      cursor: pointer;
      text-align: left;
      transition: border-color 0.15s, color 0.15s;
      line-height: 1.4
    }

    .qd-chip:hover {
      border-color: var(--border2);
      color: var(--text2)
    }

    .qd-input-row {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      border-top: 1px solid var(--border)
    }

    .qd-input {
      flex: 1;
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 0.5rem 0.75rem;
      font-family: var(--mono);
      font-size: 0.78rem;
      color: var(--text3);
      outline: none
    }

    .qd-send {
      width: 30px;
      height: 30px;
      border-radius: var(--r);
      background: var(--green);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #0c0c0e;
      flex-shrink: 0;
      transition: background 0.15s
    }

    .qd-send:hover {
      background: #16a34a
    }

    .qd-caption {
      font-size: 0.68rem;
      color: var(--text3);
      text-align: center;
      margin-top: 0.65rem;
      font-family: var(--mono)
    }

    @media (max-width: 860px) {
      .hero-two-col {
        grid-template-columns: 1fr;
        gap: 3rem
      }

      .hero-r {
        overflow: hidden
      }

      .hero-r [data-qhub-chat] {
        max-width: 100%;
        overflow: hidden
      }
    }

    @media (max-width: 600px) {
      .hero-two-col {
        gap: 2rem
      }

      .hero-l,
      .hero-r {
        min-width: 0;
        max-width: 100%
      }
    }

    /* TERMINAL DEMO */
    .term-wrap {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 2rem;
      position: relative;
      z-index: 1
    }

    .terminal {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      margin-bottom: 1rem
    }

    .term-bar {
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      border-bottom: 1px solid var(--border)
    }

    .term-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%
    }

    .td-r {
      background: #ff5f57
    }

    .td-y {
      background: #febc2e
    }

    .td-g {
      background: #28c840
    }

    .term-title {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--text3);
      margin-left: auto;
      margin-right: auto
    }

    .term-body {
      padding: 1.5rem;
      font-family: var(--mono);
      font-size: 0.82rem;
      line-height: 1.8
    }

    .t-prompt {
      color: var(--green)
    }

    .t-cmd {
      color: var(--text)
    }

    .t-comment {
      color: var(--text3)
    }

    .t-out {
      color: var(--text2);
      padding-left: 1rem
    }

    .t-success {
      color: var(--green)
    }

    .t-url {
      color: var(--blue)
    }

    .t-line {
      display: block;
      margin: 0.1rem 0
    }

    /* LIVE INSTANCES */
    .instances {
      padding: 3rem 2rem;
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg2)
    }

    .inst-i {
      max-width: var(--max);
      margin: 0 auto
    }

    .inst-heading {
      font-family: var(--sans);
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--green);
      letter-spacing: -0.01em;
      margin-bottom: 0.35rem
    }

    .inst-sub {
      font-size: 0.83rem;
      color: var(--text2);
      margin-bottom: 1.4rem
    }

    .inst-label {
      font-family: var(--mono);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text3);
      margin-bottom: 1.2rem
    }

    .inst-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border)
    }

    .inst-card {
      background: var(--bg2);
      padding: 1.25rem 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.8rem
    }

    .inst-status {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0
    }

    .inst-name {
      font-family: var(--mono);
      font-size: 0.83rem;
      color: var(--text);
      font-weight: 500
    }

    .inst-type {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--text3)
    }

    /* WHAT IT IS */
    .what {
      padding: 5.5rem 2rem;
      position: relative;
      z-index: 1
    }

    .c {
      max-width: var(--max);
      margin: 0 auto
    }

    .sec-label {
      font-family: var(--mono);
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 0.8rem
    }

    .sec-title {
      font-size: clamp(1.7rem, 3.5vw, 2.4rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #fff;
      margin-bottom: 1rem;
      line-height: 1.18
    }

    .sec-sub {
      font-size: 0.93rem;
      color: var(--text2);
      max-width: 480px;
      line-height: 1.75;
      text-align: justify;
    }

    .two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start
    }

    .feature-list {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      margin-top: 1.5rem
    }

    .feat {
      display: flex;
      gap: 1rem;
      align-items: flex-start
    }

    .feat-icon {
      width: 32px;
      height: 32px;
      border-radius: var(--r);
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0
    }

    .feat-icon svg {
      width: 14px;
      height: 14px;
      stroke: var(--green);
      fill: none;
      stroke-width: 1.8
    }

    .feat-title {
      font-size: 0.9rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 0.2rem
    }

    .feat-body {
      font-size: 0.82rem;
      color: var(--text2);
      line-height: 1.6
    }

    /* ARCHITECTURE */
    .arch {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 5rem 2rem;
      position: relative;
      z-index: 1
    }

    .arch-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      margin-top: 3rem
    }

    .arch-card {
      background: var(--bg2);
      padding: 1.75rem
    }

    .arch-num {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--text3);
      margin-bottom: 0.8rem
    }

    .arch-name {
      font-size: 1rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 0.3rem
    }

    .arch-role {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--green);
      margin-bottom: 0.8rem
    }

    .arch-desc {
      font-size: 0.8rem;
      color: var(--text2);
      line-height: 1.6
    }

    .arch-tag {
      display: inline-block;
      background: var(--bg3);
      border: 1px solid var(--border);
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--text3);
      padding: 0.15rem 0.5rem;
      border-radius: 3px;
      margin-top: 0.6rem
    }

    /* COMPARISON */
    .compare {
      padding: 5.5rem 2rem;
      position: relative;
      z-index: 1
    }

    .comp-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 3rem;
      font-size: 0.85rem
    }

    .comp-table th {
      text-align: left;
      padding: 0.75rem 1.25rem;
      font-family: var(--mono);
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text3);
      border-bottom: 1px solid var(--border);
      font-weight: 400
    }

    .comp-table th:first-child {
      width: 35%
    }

    .comp-table td {
      padding: 0.8rem 1.25rem;
      border-bottom: 1px solid var(--border);
      vertical-align: middle
    }

    .comp-table tr:last-child td {
      border-bottom: none
    }

    .comp-table tr:hover td {
      background: rgba(255, 255, 255, 0.02)
    }

    .comp-yes {
      color: var(--green);
      font-family: var(--mono);
      font-size: 0.8rem
    }

    .comp-no {
      color: var(--text3);
      font-family: var(--mono);
      font-size: 0.8rem
    }

    .comp-qhub {
      font-weight: 500;
      color: #fff;
      font-family: var(--mono);
      font-size: 0.78rem
    }

    .comp-header-qhub {
      color: var(--green) !important
    }

    .comp-table .feature-name {
      font-size: 0.85rem;
      color: var(--text)
    }

    .highlight-row td {
      background: rgba(34, 197, 94, 0.04)
    }

    /* =========================
   RESPONSIVE TABLE FIX
========================= */

    /* wrapper scroll (core fix) */
    .compare {
      overflow-x: hidden;
    }

    .comp-table {
      min-width: 700px;
      /* keeps layout intact */
    }

    /* enable horizontal scroll on small screens */
    @media (max-width: 900px) {
      .compare .c {
        overflow-x: auto;
      }

      .compare .c::-webkit-scrollbar {
        height: 6px;
      }

      .compare .c::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.15);
        border-radius: 10px;
      }
    }

    /* mobile tweaks */
    @media (max-width: 600px) {

      .compare {
        padding: 4rem 1.5rem;
      }

      .comp-table th,
      .comp-table td {
        padding: 0.7rem 0.9rem;
        font-size: 0.8rem;
      }

      .comp-table th:first-child {
        width: 45%;
        /* slightly more room for feature text */
      }
    }

    /* USE CASES - DEPLOYMENTS */
    .deployments {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 5rem 2rem;
      position: relative;
      z-index: 1
    }

    .dep-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden;
      margin-top: 3rem
    }

    .dep-card {
      background: var(--bg2);
      padding: 1.75rem
    }

    .dep-tag {
      font-family: var(--mono);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text3);
      margin-bottom: 0.6rem
    }

    .dep-name {
      font-size: 0.95rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 0.5rem
    }

    .dep-use {
      font-size: 0.82rem;
      color: var(--text2);
      line-height: 1.6;
      text-align: justify;
    }

    .dep-status {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 0.8rem;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--green)
    }

    .dep-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--green)
    }

    /* INSTALL OPTIONS */
    .install {
      padding: 5.5rem 2rem;
      position: relative;
      z-index: 1
    }

    .install-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      margin-top: 3rem
    }

    .inst-opt {
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      overflow: hidden
    }

    .inst-opt.featured {
      border-color: var(--green-border)
    }

    .inst-opt-hdr {
      padding: 1.5rem;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: flex-start
    }

    .inst-opt.featured .inst-opt-hdr {
      background: var(--green-dim);
      border-bottom-color: var(--green-border)
    }

    .inst-opt-title {
      font-size: 1rem;
      font-weight: 500;
      color: #fff
    }

    .inst-opt-price {
      font-family: var(--mono);
      font-size: 1.2rem;
      color: #fff;
      font-weight: 500
    }

    .inst-opt.featured .inst-opt-price {
      color: var(--green)
    }

    .inst-opt-psub {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--text3);
      margin-top: 0.1rem;
      text-align: right
    }

    .inst-opt-body {
      padding: 1.5rem
    }

    .inst-steps {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      margin-bottom: 1.5rem
    }

    .inst-step {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
      font-size: 0.82rem;
      color: var(--text2)
    }

    .step-n {
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--text3);
      background: var(--bg3);
      border: 1px solid var(--border);
      width: 20px;
      height: 20px;
      border-radius: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px
    }

    .inst-opt.featured .step-n {
      border-color: var(--green-border);
      color: var(--green);
      background: var(--green-dim)
    }

    .inst-cta {
      display: block;
      text-align: center;
      padding: 0.72rem;
      border-radius: var(--r);
      font-size: 0.85rem;
      text-decoration: none;
      font-weight: 500;
      font-family: var(--mono);
      transition: all 0.2s
    }

    .cta-green {
      background: var(--green);
      color: #0c0c0e
    }

    .cta-green:hover {
      background: #16a34a
    }

    .cta-outline {
      border: 1px solid var(--border2);
      color: var(--text)
    }

    .cta-outline:hover {
      border-color: var(--text2)
    }

    .inst-guarantee {
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--text3);
      text-align: center;
      margin-top: 0.6rem
    }

    /* LEAD FORM */
    .lead-section {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 5rem 2rem;
      position: relative;
      z-index: 1
    }

    .lead-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
      max-width: var(--max);
      margin: 0 auto
    }

    .lead-form-wrap {
      background: var(--bg3);
      border: 1px solid var(--green-border);
      border-radius: var(--r-lg);
      padding: 2rem
    }

    .form-title {
      font-size: 1.1rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 0.3rem
    }

    .form-sub {
      font-family: var(--mono);
      font-size: 0.75rem;
      color: var(--text3);
      margin-bottom: 1.5rem
    }

    .fg {
      margin-bottom: 1rem
    }

    .fl {
      display: block;
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--text3);
      margin-bottom: 0.35rem;
      text-transform: uppercase;
      letter-spacing: 0.06em
    }

    .fi {
      width: 100%;
      padding: 0.62rem 0.85rem;
      background: var(--bg);
      border: 1px solid var(--border2);
      border-radius: var(--r);
      font-size: 0.85rem;
      font-family: var(--mono);
      color: var(--text);
      outline: none;
      transition: border-color 0.2s
    }

    .fi:focus {
      border-color: var(--green)
    }

    .fs {
      width: 100%;
      padding: 0.62rem 0.85rem;
      background: var(--bg);
      border: 1px solid var(--border2);
      border-radius: var(--r);
      font-size: 0.82rem;
      font-family: var(--mono);
      color: var(--text);
      outline: none;
      cursor: pointer
    }

    .fb {
      width: 100%;
      padding: 0.75rem;
      background: var(--green);
      color: #0c0c0e;
      border: none;
      border-radius: var(--r);
      font-size: 0.85rem;
      font-family: var(--mono);
      cursor: pointer;
      font-weight: 500;
      transition: all 0.2s;
      margin-top: 0.5rem
    }

    .fb:hover {
      background: #16a34a
    }

    .f-note {
      font-family: var(--mono);
      font-size: 0.68rem;
      color: var(--text3);
      margin-top: 0.6rem;
      text-align: center
    }

    .f-legal {
      font-family: var(--mono);
      font-size: 0.63rem;
      color: var(--text3);
      margin-top: 0.5rem;
      text-align: center;
      line-height: 1.6
    }

    .f-legal a {
      color: var(--green);
      text-decoration: none
    }

    .f-legal a:hover {
      text-decoration: underline
    }

    .lead-value h3 {
      font-size: 1.35rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 1rem;
      line-height: 1.35
    }

    .lead-value p {
      font-size: 0.88rem;
      color: var(--text2);
      line-height: 1.75;
      margin-bottom: 1.5rem
    }

    .value-items {
      display: flex;
      flex-direction: column;
      gap: 0.8rem
    }

    .vi {
      display: flex;
      gap: 0.8rem;
      align-items: flex-start
    }

    .vi-check {
      color: var(--green);
      font-family: var(--mono);
      font-size: 0.85rem;
      flex-shrink: 0;
      margin-top: 2px
    }

    .vi-text {
      font-size: 0.85rem;
      color: var(--text2);
      line-height: 1.5
    }

    .hormozi-box {
      background: var(--accent-dim);
      border: 1px solid rgba(232, 86, 42, 0.2);
      border-radius: var(--r);
      padding: 1.2rem;
      margin-top: 1.5rem
    }

    .hz-label {
      font-family: var(--mono);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-bottom: 0.5rem
    }

    .hz-eq {
      font-family: var(--mono);
      font-size: 0.8rem;
      color: var(--text2);
      line-height: 1.8
    }

    .hz-eq strong {
      color: #fff
    }

    /* =========================
   FINAL LEAD SECTION FIX
========================= */

    /* Tablet */
    @media (max-width: 1024px) {
      .lead-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
    }

    /* Mobile */
    @media (max-width: 600px) {

      .lead-section {
        padding: 3.5rem 1.5rem;
      }

      .lead-grid {
        gap: 2rem;
      }

      /* =========================
     CRITICAL WIDTH FIXES
  ========================= */

      .lead-grid>*,
      .lead-form-wrap,
      #sib-form-container,
      .sib-form,
      .sib-form-container {
        width: 100%;
        max-width: 100% !important;
        min-width: 0;
      }

      /* fix message panels */
      #error-message,
      #success-message {
        max-width: 100% !important;
      }

      /* form card padding */
      .lead-form-wrap {
        padding: 1.5rem;
      }

      /* =========================
     INPUT FIX (IMPORTANT)
  ========================= */

      .lead-form-wrap input,
      .lead-form-wrap textarea,
      .lead-form-wrap select {
        width: 100%;
        box-sizing: border-box;
      }

      /* =========================
     CAPTCHA FIX
  ========================= */

      .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left;
      }

      /* =========================
     TEXT SAFETY
  ========================= */

      .lead-value,
      .lead-value p,
      .vi-text,
      .hz-eq {
        word-break: break-word;
      }

      /* =========================
     TYPOGRAPHY (very minimal)
  ========================= */

      .lead-value h3 {
        font-size: 1.2rem;
      }

      .vi-text {
        font-size: 0.82rem;
      }

      .hz-eq {
        font-size: 0.75rem;
      }
    }

    /* COMING SOON */
    .coming {
      padding: 5rem 2rem;
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--border)
    }

    .coming-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3rem
    }

    .cs-card {
      border: 1px dashed var(--border2);
      border-radius: var(--r-lg);
      padding: 1.5rem;
      position: relative
    }

    .cs-badge {
      font-family: var(--mono);
      font-size: 0.66rem;
      background: var(--bg3);
      border: 1px solid var(--border);
      color: var(--text3);
      padding: 0.18rem 0.5rem;
      border-radius: 3px;
      display: inline-block;
      margin-bottom: 0.8rem
    }

    .cs-name {
      font-size: 0.95rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 0.4rem
    }

    .cs-desc {
      font-size: 0.8rem;
      color: var(--text3);
      line-height: 1.6
    }

    .notify-form {
      display: flex;
      gap: 0.5rem;
      margin-top: 3rem;
      max-width: 420px
    }

    .notify-form input {
      flex: 1;
      padding: 0.62rem 0.85rem;
      background: var(--bg2);
      border: 1px solid var(--border2);
      border-radius: var(--r);
      font-size: 0.82rem;
      font-family: var(--mono);
      color: var(--text);
      outline: none
    }

    .notify-form input:focus {
      border-color: var(--green)
    }

    .submit-btn svg {
      width: 16px;
      height: 16px;
      display: none;
    }

    .notify-form button {
      padding: 0.62rem 1.2rem;
      background: transparent;
      border: 1px solid var(--green-border);
      color: var(--green);
      border-radius: var(--r);
      font-size: 0.8rem;
      font-family: var(--mono);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap
    }

    .notify-form button:hover {
      background: var(--green);
      color: #0c0c0e
    }

    /* ZAPCONNECT */
    .ventures {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 4rem 2rem;
      position: relative;
      z-index: 1
    }

    .vent-card {
      max-width: var(--max);
      margin: 0 auto;
      border: 1px solid var(--border2);
      border-radius: var(--r-lg);
      padding: 2rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 2rem;
      align-items: center
    }

    .vent-tag {
      font-family: var(--mono);
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--blue);
      margin-bottom: 0.5rem
    }

    .vent-name {
      font-size: 1.2rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 0.5rem
    }

    .vent-desc {
      font-size: 0.85rem;
      color: var(--text2);
      line-height: 1.6;
      max-width: 560px
    }

    .vent-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(96, 165, 250, 0.1);
      border: 1px solid rgba(96, 165, 250, 0.2);
      border-radius: 50px;
      padding: 0.28rem 0.8rem;
      font-family: var(--mono);
      font-size: 0.7rem;
      color: var(--blue);
      margin-top: 0.8rem
    }

    .vent-cta {
      background: transparent;
      border: 1px solid var(--border2);
      color: var(--text);
      padding: 0.65rem 1.5rem;
      border-radius: var(--r);
      font-family: var(--mono);
      font-size: 0.8rem;
      text-decoration: none;
      white-space: nowrap;
      transition: all 0.2s;
      flex-shrink: 0
    }

    .vent-cta:hover {
      border-color: var(--blue);
      color: var(--blue)
    }

    /* FOOTER */
    .pg-footer {
      padding: 3rem 2rem;
      border-top: 1px solid var(--border);
      position: relative;
      z-index: 1
    }

    .pf-i {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem
    }

    .pf-logo {
      font-family: var(--mono);
      font-size: 0.85rem;
      color: var(--text2);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 0.5rem
    }

    .pf-links {
      display: flex;
      gap: 1.5rem
    }

    .pf-link {
      font-family: var(--mono);
      font-size: 0.75rem;
      color: var(--text3);
      text-decoration: none;
      transition: color 0.2s
    }

    .pf-link:hover {
      color: var(--text)
    }

    .pf-copy {
      font-family: var(--mono);
      font-size: 0.72rem;
      color: var(--text3)
    }

    /* SUCCESS STATE */
    .success-msg {
      display: none;
      background: var(--green-dim);
      border: 1px solid var(--green-border);
      border-radius: var(--r);
      padding: 1rem;
      font-family: var(--mono);
      font-size: 0.82rem;
      color: var(--green);
      text-align: center;
      margin-top: 1rem
    }

    @media(max-width:900px) {

      .two-col,
      .install-grid,
      .lead-grid,
      .vent-card {
        grid-template-columns: 1fr
      }

      .arch-grid,
      .dep-grid,
      .coming-grid,
      .inst-grid {
        grid-template-columns: 1fr 1fr
      }
    }

    @media(max-width:600px) {
      .hero {
        padding: 4rem 1.25rem 3.5rem
      }

      .hero h1 {
        font-size: 2rem
      }

      .notify-form {
        flex-direction: column
      }

      .arch-grid,
      .dep-grid,
      .coming-grid,
      .inst-grid {
        grid-template-columns: 1fr
      }

      .nav-right {
        gap: 0.5rem
      }

      .nav-link {
        display: none
      }
    }
