/* ── Reset & base ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:         #ffffff;
      --bg-2:       #ffffff;
      --bg-3:       #f4f7ff;
      --bg-4:       #e8eeff;
      --border:     rgba(0,0,0,0.08);
      --border-2:   rgba(0,0,0,0.14);
      --accent:     #1d4ed8;
      --accent-mid: #2563eb;
      --accent-dim: rgba(29,78,216,0.08);
      --accent-dim2:rgba(29,78,216,0.04);
      --text-1:     #0f172a;
      --text-2:     #374151;
      --text-3:     #6b7280;
      --mono:       'DM Mono', monospace;
      --sans:       'DM Sans', sans-serif;
      --radius:     5px;
      --radius-lg:  9px;
      --radius-xl:  14px;
    }

    html { scroll-behavior: smooth; }

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

    a { color: inherit; text-decoration: none; }

    /* ── Nav ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      height: 56px;
      background: rgba(255,255,255,0.97);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 1px 0 var(--border), 0 2px 12px rgba(0,0,0,0.04);
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: var(--mono);
      font-size: 13px;
      font-weight: 500;
      color: var(--text-1);
      letter-spacing: 0.02em;
      text-decoration: none;
    }

    .nav-logo-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 13px;
      color: var(--text-2);
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--text-1); }

    .nav-cta {
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 500;
      color: var(--accent) !important;
      border: 1px solid rgba(29,78,216,0.3);
      padding: 6px 16px;
      border-radius: var(--radius);
      transition: background 0.2s, border-color 0.2s !important;
    }

    .nav-cta:hover {
      background: var(--accent-dim);
      border-color: rgba(29,78,216,0.5) !important;
    }

    /* ── Hero ── */
    .hero {
      position: relative;
      overflow: hidden;
      padding: 5.5rem 2rem 4.5rem;
      text-align: center;
      background: var(--bg-2);
      border-bottom: 1px solid var(--border);
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(29,78,216,0.05) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(29,78,216,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29,78,216,0.04) 1px, transparent 1px);
      background-size: 48px 48px;
      mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 70%);
      pointer-events: none;
      opacity: 0.7;
    }

    .hero-eyebrow {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
      padding: 5px 14px;
      border: 1px solid rgba(29,78,216,0.18);
      border-radius: 100px;
      background: rgba(29,78,216,0.05);
    }

    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
    }

    .hero h1 {
      position: relative;
      font-size: clamp(32px, 5vw, 56px);
      font-weight: 300;
      line-height: 1.12;
      letter-spacing: -0.02em;
      color: var(--text-1);
      margin-bottom: 1.5rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero h1 em {
      font-style: normal;
      color: var(--accent);
    }

    .hero-sub {
      position: relative;
      font-size: 16px;
      color: var(--text-2);
      max-width: 480px;
      margin: 0 auto 2rem;
      font-weight: 300;
    }

    .hero-actions {
      position: relative;
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 13px;
      font-weight: 500;
      color: #ffffff;
      background: var(--accent);
      border: none;
      padding: 11px 24px;
      border-radius: var(--radius);
      cursor: pointer;
      transition: opacity 0.2s;
      letter-spacing: 0.01em;
    }

    .btn-primary:hover { opacity: 0.85; }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--mono);
      font-size: 13px;
      font-weight: 400;
      color: var(--text-2);
      background: transparent;
      border: 1px solid var(--border-2);
      padding: 11px 24px;
      border-radius: var(--radius);
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
      letter-spacing: 0.01em;
    }

    .btn-ghost:hover { color: var(--text-1); border-color: rgba(0,0,0,0.25); }

    /* hero stats strip */
    .hero-stats {
      position: relative;
      display: flex;
      justify-content: center;
      gap: 0;
      max-width: 560px;
      margin: 0 auto;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--bg);
      overflow: hidden;
    }

    .hero-stat {
      flex: 1;
      padding: 1rem 1rem;
      text-align: center;
      border-right: 1px solid var(--border);
    }

    .hero-stat:last-child { border-right: none; }

    .hero-stat-n {
      font-family: var(--mono);
      font-size: 20px;
      font-weight: 500;
      color: var(--accent);
      display: block;
      line-height: 1;
      margin-bottom: 4px;
    }

    .hero-stat-l {
      font-size: 11px;
      color: var(--text-3);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* ── Shared section styles ── */
    section { padding: 4rem 2rem; }

    .container { max-width: 1000px; margin: 0 auto; }

    .section-tag {
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 400;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }

    .section-h {
      font-size: clamp(22px, 3vw, 32px);
      font-weight: 300;
      letter-spacing: -0.015em;
      color: var(--text-1);
      margin-bottom: 0.6rem;
    }

    .section-h em { font-style: normal; color: var(--accent); }

    .section-p {
      font-size: 15px;
      color: var(--text-2);
      font-weight: 300;
      max-width: 520px;
      margin-bottom: 2.5rem;
    }

    /* ── Divider ── */
    .divider {
      height: 1px;
      background: var(--border);
      margin: 0 2rem;
    }

    /* ── Feature grid ── */
    .feat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    @media (max-width: 700px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 460px) { .feat-grid { grid-template-columns: 1fr; } }

    .feat-cell {
      background: var(--bg-2);
      padding: 1.25rem 1.5rem;
      transition: background 0.2s;
    }

    .feat-cell:hover { background: var(--bg-3); }

    .feat-icon {
      width: 32px;
      height: 32px;
      border-radius: var(--radius);
      border: 1px solid var(--border-2);
      background: var(--bg-4);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
    }

    .feat-icon svg {
      width: 15px;
      height: 15px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 1.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .feat-cell h3 {
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 5px;
      color: var(--text-1);
    }

    .feat-cell p {
      font-size: 13px;
      color: var(--text-2);
      line-height: 1.6;
      font-weight: 300;
    }

    /* ── Plans ── */
    .plans-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      max-width: 820px;
      margin: 0 auto;
    }

    @media (max-width: 600px) { .plans-wrap { grid-template-columns: 1fr; } }

    .plan {
      background: var(--bg-2);
      border: 1px solid var(--border-2);
      border-radius: var(--radius-xl);
      padding: 1.75rem;
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .plan:hover { border-color: rgba(0,0,0,0.22); box-shadow: 0 2px 16px rgba(0,0,0,0.05); }

    .plan.pro {
      border-color: rgba(29,78,216,0.28);
      background: linear-gradient(160deg, rgba(29,78,216,0.05) 0%, var(--bg-2) 55%);
      box-shadow: 0 4px 24px rgba(29,78,216,0.07), 0 1px 4px rgba(29,78,216,0.05);
    }

    .plan.pro .plan-price-n { color: var(--accent); }

    .plan.pro:hover { border-color: rgba(29,78,216,0.5); box-shadow: 0 6px 32px rgba(29,78,216,0.1), 0 1px 4px rgba(29,78,216,0.06); }

    .plan-header { margin-bottom: 1.5rem; }

    .plan-pill {
      display: inline-block;
      font-family: var(--mono);
      font-size: 10px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 10px;
      border-radius: 100px;
      margin-bottom: 0.75rem;
    }

    .plan-pill.free { color: var(--text-2); background: var(--bg-3); border: 1px solid var(--border-2); }
    .plan-pill.pro  { color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(29,78,216,0.22); }

    .plan-name {
      font-size: 20px;
      font-weight: 400;
      color: var(--text-1);
      letter-spacing: -0.01em;
      margin-bottom: 4px;
    }

    .plan-tagline {
      font-size: 12px;
      color: var(--text-3);
      font-weight: 300;
    }

    .plan-price-row {
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border);
    }

    .plan-price-n {
      font-family: var(--mono);
      font-size: 32px;
      font-weight: 500;
      color: var(--text-1);
      line-height: 1;
    }

    .plan-price-s {
      font-size: 12px;
      color: var(--text-3);
    }

    .plan-features {
      list-style: none;
      flex: 1;
      margin-bottom: 1.5rem;
    }

    .plan-features li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--text-2);
      padding: 7px 0;
      border-bottom: 1px solid var(--border);
      font-weight: 300;
      line-height: 1.4;
    }

    .plan-features li:last-child { border-bottom: none; }

    .chk {
      flex-shrink: 0;
      margin-top: 2px;
      width: 14px;
      height: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .chk svg {
      width: 12px;
      height: 12px;
      stroke: var(--accent);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .plan-btn-primary {
      display: block;
      width: 100%;
      text-align: center;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: #ffffff;
      background: var(--accent);
      border: none;
      padding: 12px;
      border-radius: var(--radius);
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .plan-btn-primary:hover { opacity: 0.85; }

    .btn-soon {
      opacity: 0.55;
      cursor: default;
      pointer-events: none;
    }

    .plan-btn-ghost {
      display: block;
      width: 100%;
      text-align: center;
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--text-2);
      background: transparent;
      border: 1px solid var(--border-2);
      padding: 12px;
      border-radius: var(--radius);
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
    }

    .plan-btn-ghost:hover { color: var(--text-1); border-color: rgba(0,0,0,0.25); }

    /* ── Threat detectors ── */
    .threats-section { background: var(--bg-3); }

    .detectors-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

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

    .detector {
      background: var(--bg-3);
      padding: 1.25rem 1.25rem 1.25rem 1rem;
      border-left: 2px solid transparent;
      transition: background 0.2s, border-color 0.2s;
    }

    .detector:hover {
      background: var(--bg-2);
      border-left-color: var(--accent);
    }

    .detector-sev {
      display: inline-block;
      font-family: var(--mono);
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 2px 7px;
      border-radius: 3px;
      margin-bottom: 0.6rem;
    }

    .sev-critical { color: #b91c1c; background: rgba(185,28,28,0.08); }
    .sev-high     { color: #c2410c; background: rgba(194,65,12,0.08); }
    .sev-medium   { color: #1d4ed8; background: rgba(29,78,216,0.08); }
    .sev-info     { color: var(--text-3); background: var(--bg-2); border: 1px solid var(--border); }

    .detector h4 {
      font-size: 13px;
      font-weight: 500;
      color: var(--text-1);
      margin-bottom: 4px;
    }

    .detector p {
      font-size: 12px;
      color: var(--text-3);
      line-height: 1.5;
      font-weight: 300;
    }

    /* ── Comparison table ── */
    .compare-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      background: var(--bg-2);
    }

    .compare-table th {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-3);
      text-align: left;
      padding: 0.85rem 1rem;
      border-bottom: 1px solid var(--border-2);
      background: var(--bg-3);
    }

    .compare-table th:last-child {
      color: var(--accent);
      text-align: center;
    }

    .compare-table th:nth-child(2) { text-align: center; }

    .compare-table td {
      padding: 0.7rem 1rem;
      border-bottom: 1px solid var(--border);
      color: var(--text-2);
      font-weight: 300;
      vertical-align: middle;
      background: var(--bg-2);
    }

    .compare-table td:first-child { color: var(--text-1); font-weight: 400; }

    .compare-table td:nth-child(2),
    .compare-table td:last-child {
      text-align: center;
    }

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

    .compare-table tr:hover td { background: var(--bg-3); }

    .tick-y {
      color: var(--accent);
      font-size: 15px;
    }

    .tick-n {
      color: var(--text-3);
      font-size: 13px;
    }

    .tick-partial {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--text-3);
    }

    /* ── Footer CTA ── */
    .footer-cta {
      text-align: center;
      padding: 4.5rem 2rem;
      position: relative;
      overflow: hidden;
      background: var(--bg-3);
      border-top: 1px solid var(--border);
    }

    .footer-cta h2 {
      position: relative;
      font-size: clamp(22px, 3.5vw, 36px);
      font-weight: 300;
      letter-spacing: -0.015em;
      margin-bottom: 1rem;
    }

    .footer-cta p {
      position: relative;
      font-size: 14px;
      color: var(--text-3);
      margin-bottom: 2.5rem;
      font-family: var(--mono);
      font-weight: 300;
    }

    .footer-cta-actions {
      position: relative;
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* ── Footer ── */
    footer {
      padding: 1.5rem 2rem;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      background: var(--bg);
    }

    .footer-logo {
      font-family: var(--mono);
      font-size: 12px;
      color: var(--text-3);
    }

    .footer-note {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--text-3);
    }

    .footer-note span {
      color: var(--accent);
    }

    /* ── Reveal — no animation, always visible ── */
    .reveal {
      opacity: 1;
    }

    /* ── Mobile nav ── */
    @media (max-width: 580px) {
      nav {
        padding: 0 1rem;
        gap: 1.5rem;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: flex-start;
      }
      nav::-webkit-scrollbar { display: none; }
      .nav-logo { flex-shrink: 0; }
      .nav-links {
        display: flex;
        gap: 1.25rem;
        flex-shrink: 0;
      }
      .nav-links a { font-size: 12px; }
      .nav-cta { padding: 5px 12px; font-size: 11px; }
    }

    /* ── Hero stats 2×2 on small screens ── */
    @media (max-width: 480px) {
      .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
      }
      .hero-stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
      }
      .hero-stat:nth-child(odd)  { border-right: 1px solid var(--border); }
      .hero-stat:nth-child(3),
      .hero-stat:nth-child(4)    { border-bottom: none; }
    }

    /* ── Comparison table wrapper ── */
    .compare-wrap {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
    }

    @media (max-width: 640px) {
      .compare-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius);
      }
    }

    /* ── Page switcher ── */
    .page-switcher {
      background: var(--bg);
      border-bottom: 1px solid var(--border);
    }

    .page-switcher-inner {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      align-items: center;
      height: 40px;
    }

    .switcher-group {
      display: flex;
      align-items: center;
    }

    .sw-link {
      font-family: var(--mono);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.04em;
      color: var(--text-3);
      padding: 0 14px;
      height: 40px;
      display: flex;
      align-items: center;
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      transition: color 0.2s, border-color 0.2s;
    }

    .sw-link:hover { color: var(--text-1); }

    .sw-link.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
      font-weight: 500;
    }

    .switcher-sep {
      width: 1px;
      height: 18px;
      background: var(--border-2);
      margin: 0 6px;
    }
