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

  :root {
    --green: #c8f04a;
    --green-dark: #5a7a00;
    --red: #cc2200;
    --amber: #b35c00;
    --bg: #ffffff;
    --surface: #f4f4f4;
    --surface2: #e8e8e8;
    --border: #d8d8d8;
    --text: #0a0a0a;
    --muted: #666666;
    --mono: 'Space Mono', monospace;
    --sans: 'Space Grotesk', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  nav {
    position: sticky; top: 0; z-index: 200;
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 60px;
  }
  .nav-logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--green);
    text-decoration: none;
    flex-shrink: 0;
  }

  .nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
  .nav-item { position: relative; list-style: none; }
  .nav-item > a,
  .nav-item > button.nav-drop-btn {
    display: flex; align-items: center; gap: 0.3rem;
    padding: 0.45rem 0.75rem;
    font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
    color: #ccc; text-decoration: none; background: none; border: none;
    cursor: pointer; border-radius: 3px; letter-spacing: 0.01em;
    transition: color 0.15s, background 0.15s; white-space: nowrap;
  }
  .nav-item > a:hover,
  .nav-item > button.nav-drop-btn:hover { color: #fff; background: rgba(255,255,255,0.06); }
  .nav-item > a.active,
  .nav-item > button.nav-drop-btn.active { color: var(--green); }
  .nav-chevron { width: 10px; height: 10px; opacity: 0.5; transition: transform 0.2s; }
  .nav-item.open .nav-chevron { transform: rotate(180deg); opacity: 1; }
  .nav-item.open > .nav-drop-btn { color: #fff; background: rgba(255,255,255,0.06); }

  .nav-dropdown {
    position: absolute; top: calc(100% + 14px); left: 0;
    background: #111113; border: 0.5px solid rgba(255,255,255,0.12); border-radius: 4px;
    min-width: 260px; padding: 0.4rem; opacity: 0; pointer-events: none;
    transform: translateY(-6px); transition: opacity 0.15s, transform 0.15s;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5); z-index: 200;
  }
  .nav-item.open .nav-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

  .nav-dropdown a, .nav-dropdown span.nav-locked {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.6rem 0.8rem; border-radius: 3px; font-size: 0.83rem; font-weight: 500;
    text-decoration: none; transition: background 0.12s; gap: 0.5rem;
  }
  .nav-dropdown a { color: #ddd; }
  .nav-dropdown a:hover { background: rgba(255,255,255,0.07); color: #fff; }
  .nav-dropdown a.current-page { color: var(--green); }
  .nav-dropdown a.current-page::before {
    content: ''; display: inline-block; width: 4px; height: 4px;
    background: var(--green); border-radius: 50%; margin-right: 0.3rem; flex-shrink: 0;
  }

  .nav-locked { color: #555 !important; cursor: default; position: relative; }
  .nav-locked-label { flex: 1; }
  .nav-lock-icon { font-size: 0.7rem; opacity: 0.5; flex-shrink: 0; }

  .nav-dropdown-divider { height: 0.5px; background: rgba(255,255,255,0.08); margin: 0.3rem 0.4rem; }

  .nav-right { display: flex; align-items: center; gap: 0.25rem; }
  .nav-right a {
    padding: 0.45rem 0.75rem; font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
    color: #ccc; text-decoration: none; border-radius: 3px; transition: color 0.15s, background 0.15s;
  }
  .nav-right a:hover { color: #fff; background: rgba(255,255,255,0.06); }
  .nav-contact-btn { background: var(--green) !important; color: #0a0a0a !important; font-weight: 700 !important; padding: 0.4rem 0.9rem !important; }
  .nav-contact-btn:hover { opacity: 0.88; background: var(--green) !important; }

  .nav-btn-locked { color: #777 !important; }
  .nav-btn-locked:hover { color: #aaa !important; }
  .nav-lock-badge { font-size: 0.65rem; opacity: 0.6; margin-left: 0.1rem; }

  .nav-dropdown-locked { min-width: 240px; }
  .locked-header { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem 0.4rem; }
  .locked-header-icon { font-size: 0.75rem; opacity: 0.5; }
  .locked-header-text { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: #666; text-transform: uppercase; }

  .blur-row { padding: 0.55rem 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
  .blur-bar { height: 8px; border-radius: 4px; background: #3a3a3a; filter: blur(3px); opacity: 0.5; }
  .blur-lock { font-size: 0.65rem; opacity: 0.4; margin-left: auto; flex-shrink: 0; }

  .locked-contact-link {
    display: block; padding: 0.55rem 0.8rem !important; font-size: 0.78rem !important;
    color: var(--green) !important; text-decoration: none; font-weight: 600; letter-spacing: 0.01em;
  }
  .locked-contact-link:hover { background: rgba(200,240,74,0.08) !important; color: var(--green) !important; }

  .nav-dropdown-tools { min-width: 220px; }
  .blur-tool-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.8rem; position: relative; cursor: default; }
  .blur-tool-row:hover .blur-tool-tooltip { display: block; }
  .blur-tool-bar { height: 8px; border-radius: 4px; background: #3a3a3a; filter: blur(3px); opacity: 0.45; flex: 0 0 auto; }
  .blur-tool-lock { font-size: 0.65rem; opacity: 0.4; margin-left: auto; flex-shrink: 0; }
  .blur-tool-tooltip {
    display: none; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 8px;
    background: #1a1a1a; border: 1px solid #333; border-radius: 3px; padding: 0.45rem 0.7rem;
    font-size: 0.75rem; color: #aaa; white-space: nowrap; pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4); font-family: var(--mono); letter-spacing: 0.03em; z-index: 300;
  }
  .blur-tool-tooltip::before {
    content: ''; position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
    border: 5px solid transparent; border-right-color: #444444;
  }

  /* ── MOBILE NAV TOGGLE — hidden on desktop ── */
  .nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    width: 26px; height: 20px; position: relative; padding: 0;
    flex-shrink: 0;
  }
  .nav-toggle span {
    position: absolute; left: 0; right: 0; height: 2px;
    background: #fff; transition: transform 0.25s, opacity 0.25s;
  }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 9px; }
  .nav-toggle span:nth-child(3) { top: 18px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav-links-mobile-only { display: none; }

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    nav { padding: 0 1.5rem; height: 56px; }
    .nav-toggle { display: block; }
    .nav-right { display: none; }
    .nav-links {
      display: none;
      position: fixed; top: 56px; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: #0a0a0a; border-bottom: 1px solid #222;
      max-height: calc(100vh - 56px); overflow-y: auto;
      padding: 0.5rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-item { width: 100%; }
    .nav-item > a, .nav-item > button.nav-drop-btn { width: 100%; justify-content: space-between; padding: 0.9rem 1.5rem; }
    .nav-item .nav-dropdown {
      position: static; box-shadow: none; opacity: 1; pointer-events: all;
      transform: none; display: none; border-radius: 0;
      background: #151517; border-left: none; border-right: none;
    }
    .nav-item.open .nav-dropdown { display: block; }
    .nav-links-mobile-only { display: flex; flex-direction: column; padding: 0.75rem 1.5rem; gap: 0.6rem; border-top: 1px solid #222; margin-top: 0.25rem; }
    .nav-links-mobile-only a { color: #ccc; font-size: 0.85rem; text-decoration: none; padding: 0.4rem 0; }
  }

  /* ── HERO ── */
  .hero { max-width: 1080px; margin: 0 auto; padding: 7rem 2rem 3rem; }
  .hero-eyebrow {
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
    color: #3a5c00; text-transform: uppercase; margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; line-height: 1.08;
    letter-spacing: -0.03em; max-width: 820px; color: #0a0a0a;
  }
  .hero h1 em { font-style: normal; color: var(--red); }
  .hero-sub { margin-top: 1.8rem; font-size: 1.1rem; color: #444444; max-width: 620px; line-height: 1.7; }

  /* ── SECTION ── */
  .section { max-width: 1080px; margin: 0 auto; padding: 0 2rem 5rem; }
  .section-label {
    font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
    color: var(--muted); text-transform: uppercase; margin-bottom: 1.2rem;
  }

  /* ── REVENUE INPUT ── */
  .revenue-block {
    background: #0a0a0a; border-radius: 4px; padding: 1.8rem 2rem;
    margin-bottom: 2.5rem; display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
  }
  .revenue-label {
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
    color: #ccc; text-transform: uppercase;
  }
  .revenue-label span { display: block; font-size: 0.7rem; color: #777; margin-top: 0.3rem; letter-spacing: 0.04em; text-transform: none; }
  .revenue-input-wrap { display: flex; align-items: center; gap: 0.4rem; }
  .revenue-input-wrap .prefix { font-family: var(--mono); font-size: 1.3rem; color: var(--green); }
  input.revenue-input {
    font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--green);
    background: #151515; border: 1px solid #2a2a2a; border-radius: 3px;
    padding: 0.5rem 0.8rem; width: 190px; text-align: right;
  }
  input.revenue-input:focus { outline: none; border-color: var(--green); }

  /* ── TWO COLUMN CALC GRID ── */
  .calc-columns {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start;
  }
  @media (max-width: 780px) { .calc-columns { grid-template-columns: 1fr; } }

  .calc-panel {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 4px; overflow: hidden;
  }
  .calc-panel-header {
    background: #0a0a0a; padding: 1rem 1.5rem;
    font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
    text-transform: uppercase; display: flex; align-items: center; justify-content: space-between;
  }
  .calc-panel-header .h-title { color: var(--green); }
  .calc-panel-header .h-sub { color: #777; font-size: 0.65rem; text-transform: none; letter-spacing: 0.02em; }
  .calc-panel.real .calc-panel-header .h-title { color: var(--red); }

  .calc-row {
    display: flex; align-items: center; padding: 0.9rem 1.5rem;
    border-bottom: 1px solid var(--border); gap: 1rem; background: #ffffff;
  }
  .calc-row:last-of-type { border-bottom: none; }
  .calc-label { flex: 1; font-size: 0.87rem; color: #444444; }
  .calc-label strong { color: #0a0a0a; display: block; font-size: 0.92rem; }
  .calc-label span.note { display: block; font-size: 0.76rem; color: #777; margin-top: 0.15rem; }

  .calc-input-wrap { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
  .calc-input-wrap .prefix { font-family: var(--mono); font-size: 0.85rem; color: #999; }
  input.calc-input {
    font-family: var(--mono); font-size: 0.9rem; font-weight: 700; color: var(--red);
    background: #fff; border: 1px solid var(--border); border-radius: 2px;
    padding: 0.4rem 0.6rem; width: 110px; text-align: right;
  }
  input.calc-input:focus { outline: none; border-color: var(--red); }
  input.calc-input.locked { color: #888; background: var(--surface2); }
  input.calc-input.credit { color: var(--green-dark); }
  .calc-row.credit { background: #fbfff2; }
  .calc-row.credit .calc-label strong::before { content: '– '; color: var(--green-dark); }

  .calc-row.subtotal { background: var(--surface2); }
  .calc-row.subtotal .calc-label strong { font-size: 0.9rem; }
  .subtotal-value { font-family: var(--mono); font-size: 0.9rem; color: #444; font-weight: 700; white-space: nowrap; }

  .calc-row.total { background: #fff8f8; border-top: 2px solid #cc2200; }
  .calc-panel.real .calc-row.total { background: #fff8f8; border-top: 2px solid #cc2200; }
  .calc-row.total .calc-label strong { font-size: 1rem; }
  .total-value { font-family: var(--mono); font-size: 1.25rem; color: #cc2200; font-weight: 700; white-space: nowrap; }
  .total-pct { font-family: var(--mono); font-size: 0.72rem; color: #888; display: block; margin-top: 0.2rem; text-align: right; }

  .calc-note {
    padding: 0.9rem 1.5rem; background: #0a0a0a; font-size: 0.78rem;
    color: #888; font-family: var(--mono);
  }

  /* ── DELTA ROW ── */
  .delta-live {
    margin-top: 1.5rem; background: #0a0a0a; border-radius: 4px;
    padding: 2rem 2.2rem; position: relative; overflow: hidden;
  }
  .delta-live::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--green); }
  .delta-live-label {
    font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: #888; margin-bottom: 1.2rem; font-weight: 700;
  }
  .delta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem;
  }
  .delta-stat { display: flex; flex-direction: column; gap: 0.35rem; }
  .delta-stat-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: #999; text-transform: uppercase; }
  .delta-stat-value { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: #fff; }
  .delta-stat-value.gap { color: var(--green); }
  .delta-stat-value.mult { color: var(--red); }
  .delta-stat-sub { font-family: var(--mono); font-size: 0.72rem; color: #666; }

  /* ── CTA ── */
  .cta-section {
    max-width: 1080px; margin: 0 auto; padding: 3rem 2rem 7rem;
    border-top: 1px solid var(--border); text-align: center;
  }
  .cta-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; color: #0a0a0a; }
  .cta-section p { max-width: 520px; margin: 0 auto 2rem; color: #444444; }
  .cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
  .btn {
    display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.92rem;
    padding: 0.9rem 2.2rem; border-radius: 2px; text-decoration: none;
    letter-spacing: 0.02em; transition: opacity 0.15s, border-color 0.15s; white-space: nowrap;
    border: none; cursor: pointer;
  }
  .btn-primary { background: var(--green); color: #0a0a0a; }
  .btn-primary:hover { opacity: 0.88; }
  .btn-secondary { background: transparent; color: #0a0a0a; border: 1.5px solid #aaa; }
  .btn-secondary:hover { border-color: #0a0a0a; color: #0a0a0a; }

  .disclaimer { font-family: var(--mono); font-size: 0.75rem; color: #999; margin-top: 2rem; line-height: 1.6; }
