*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --ink: #0a0a0a;
    --paper: #f5f0e8;
    --accent: #e63f2a;
    --accent2: #2a7ae6;
    --muted: #6b6560;
    --border: #d4cfc6;
    --code-bg: #1a1a18;
    --mono: 'Space Mono', monospace;
    --sans: 'Syne', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NOISE TEXTURE OVERLAY ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
  }

  * { position: relative; z-index: 1; }

  /* ── NAV ── */
  nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 4rem;
    border-bottom: 1px solid var(--border);
  }

  .logo {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
  }

  .logo span { color: var(--accent); }

  nav a {
    font-size: 0.8rem;
    font-family: var(--mono);
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 2rem;
    transition: color 0.15s;
  }

  nav a:hover { color: var(--ink); }

  .nav-cta {
    background: var(--ink) !important;
    color: var(--paper) !important;
    padding: 0.5rem 1.25rem;
    border: none;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.78rem;
  }

  /* ── HERO ── */
  .hero {
    padding: 7rem 4rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .hero-badge {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.25rem 0.75rem;
    margin-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
  }

  h1 em {
    font-style: normal;
    color: var(--accent);
    display: block;
  }

  .hero-sub {
    font-family: var(--mono);
    font-size: 1rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 3rem;
  }

  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

  .btn-primary {
    background: var(--ink);
    color: var(--paper);
    padding: 0.85rem 2rem;
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 4px 4px 0 var(--accent);
  }

  .btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--accent);
  }

  .btn-secondary {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.85rem 0;
  }

  /* ── DEMO TERMINAL ── */
  .demo-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 4rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
  }

  .demo-pane {
    background: var(--code-bg);
    padding: 1.75rem;
  }

  .demo-label {
    font-family: var(--mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .demo-label::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #e63f2a;
  }

  .demo-label.output::before { background: #2ae664; }

  pre {
    font-family: var(--mono);
    font-size: 0.78rem;
    line-height: 1.7;
    color: #c8c0b0;
    overflow-x: auto;
    white-space: pre-wrap;
  }

  .c-key { color: #7eb8f7; }
  .c-str { color: #a8e6a3; }
  .c-num { color: #f7c07e; }
  .c-null { color: #e68a7e; }
  .c-comment { color: #555; }

  /* ── FEATURES ── */
  .features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 4rem;
  }

  .section-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .features h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
    line-height: 1.05;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
  }

  .feature {
    padding: 2.5rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
  }

  .feature:hover { background: rgba(230, 63, 42, 0.04); }
  .feature:nth-child(3n) { border-right: none; }
  .feature:nth-last-child(-n+3) { border-bottom: none; }

  .feature-num {
    font-family: var(--mono);
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
  }

  .feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
  }

  .feature p {
    font-family: var(--mono);
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.7;
  }

  /* ── PRICING ── */
  .pricing {
    background: var(--ink);
    color: var(--paper);
    padding: 6rem 4rem;
  }

  .pricing-inner { max-width: 1100px; margin: 0 auto; }

  .pricing .section-label { color: var(--accent); }

  .pricing h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
  }

  .plans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #333;
  }

  .plan {
    background: #111;
    padding: 2rem 1.75rem;
    transition: background 0.2s;
  }

  .plan:hover { background: #161616; }

  .plan.featured {
    background: var(--accent);
    color: var(--paper);
  }

  .plan-name {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1.5rem;
  }

  .plan.featured .plan-name { color: rgba(255,255,255,0.7); }

  .plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .plan-period {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: #666;
    margin-bottom: 2rem;
  }

  .plan.featured .plan-period { color: rgba(255,255,255,0.6); }

  .plan-features {
    list-style: none;
    margin-bottom: 2rem;
  }

  .plan-features li {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: #888;
    padding: 0.5rem 0;
    border-bottom: 1px solid #222;
    display: flex;
    gap: 0.5rem;
  }

  .plan.featured .plan-features li {
    color: rgba(255,255,255,0.8);
    border-bottom-color: rgba(255,255,255,0.2);
  }

  .plan-features li::before { content: '→'; color: #555; flex-shrink: 0; }
  .plan.featured .plan-features li::before { color: rgba(255,255,255,0.5); }

  .plan-btn {
    width: 100%;
    padding: 0.75rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #333;
    background: transparent;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.15s;
  }

  .plan-btn:hover { border-color: #888; color: var(--paper); }

  .plan.featured .plan-btn {
    background: var(--paper);
    color: var(--accent);
    border-color: var(--paper);
  }

  /* ── CTA FINAL ── */
  .final-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8rem 4rem;
    text-align: center;
  }

  .final-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
  }

  .final-cta p {
    font-family: var(--mono);
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 3rem;
  }

  /* ── FOOTER ── */
  footer {
    border-top: 1px solid var(--border);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer p {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--muted);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-badge   { animation: fadeUp 0.5s ease both; }
  h1            { animation: fadeUp 0.5s 0.1s ease both; }
  .hero-sub     { animation: fadeUp 0.5s 0.2s ease both; }
  .hero-actions { animation: fadeUp 0.5s 0.3s ease both; }
  .demo-section { animation: fadeUp 0.6s 0.4s ease both; }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    nav a:not(.nav-cta) { display: none; }
    .hero, .features, .final-cta { padding-left: 1.5rem; padding-right: 1.5rem; }
    .pricing { padding-left: 1.5rem; padding-right: 1.5rem; }
    footer { padding: 1.5rem; flex-direction: column; gap: 0.5rem; }
    .demo-section { grid-template-columns: 1fr; padding: 0 1.5rem 4rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature { border-right: none; }
    .plans { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 480px) {
    .plans { grid-template-columns: 1fr; }
  }