/* ─── HERO ─── */

    .hero {
      min-height: 90dvh;
      display: flex; align-items: center;
      padding-block: clamp(var(--space-16), 10vw, var(--space-24));
      position: relative; overflow: hidden;
    }
    .hero__bg {
      position: absolute; inset: 0; z-index: 0;
      background:
        radial-gradient(ellipse 60% 50% at 70% 40%, oklch(from var(--color-primary) l c h / 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 70%, oklch(from var(--color-primary) l c h / 0.04) 0%, transparent 60%);
      pointer-events: none;
    }
    .hero__grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(var(--space-8), 6vw, var(--space-16));
      align-items: center;
      position: relative; z-index: 1;
    }
    .hero__eyebrow {
      display: inline-flex; align-items: center; gap: var(--space-2);
      font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
      color: var(--color-primary); letter-spacing: 0.08em; text-transform: uppercase;
      background: var(--color-accent-dim);
      border: 1px solid oklch(from var(--color-primary) l c h / 0.2);
      padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
      margin-bottom: var(--space-6);
    }
    .hero__title {
      font-family: var(--font-mono);
      font-size: var(--text-hero);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 0.95;
      color: var(--color-text);
      margin-bottom: var(--space-6);
    }
    .hero__title .accent { color: var(--color-primary); }
    .hero__subtitle {
      font-size: var(--text-lg);
      color: var(--color-text-muted);
      max-width: 48ch;
      margin-bottom: var(--space-8);
      line-height: 1.5;
    }
    .hero__ctas {
      display: flex; gap: var(--space-3); flex-wrap: wrap;
    }
    .btn {
      display: inline-flex; align-items: center; gap: var(--space-2);
      padding: var(--space-3) var(--space-5);
      font-size: var(--text-sm); font-weight: 500;
      border-radius: var(--radius-md); text-decoration: none;
      white-space: nowrap; transition: all var(--transition);
    }
    .btn--primary {
      background: var(--color-primary); color: var(--color-text-inverse);
      box-shadow: var(--shadow-sm);
    }
    .btn--primary:hover {
      background: var(--color-primary-hover);
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }
    .btn--primary:active { background: var(--color-primary-active); transform: translateY(0); }
    .btn--ghost {
      background: transparent; color: var(--color-text-muted);
      border: 1px solid oklch(from var(--color-text) l c h / 0.15);
    }
    .btn--ghost:hover {
      background: var(--color-surface-offset); color: var(--color-text);
      border-color: oklch(from var(--color-text) l c h / 0.25);
    }
    .hero__visual {
      display: flex; justify-content: flex-end; align-items: center;
    }
    .hero__terminal {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-xl);
      padding: var(--space-6);
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      box-shadow: var(--shadow-lg);
      width: 100%; max-width: 440px;
      position: relative; overflow: hidden;
    }
    .hero__terminal::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at top right, oklch(from var(--color-primary) l c h / 0.04), transparent 60%);
      pointer-events: none;
    }
    .terminal__bar {
      display: flex; align-items: center; gap: var(--space-2);
      margin-bottom: var(--space-4); padding-bottom: var(--space-3);
      border-bottom: 1px solid var(--color-divider);
    }
    .terminal__dot {
      width: 10px; height: 10px; border-radius: 50%;
    }
    .terminal__dot--r { background: #ff5f56; }
    .terminal__dot--y { background: #ffbd2e; }
    .terminal__dot--g { background: #27c93f; }
    .terminal__title { font-size: var(--text-xs); color: var(--color-text-faint); margin-left: auto; }
    .terminal__line {
      margin-bottom: var(--space-1);
      white-space: pre;
    }
    .terminal__prompt { color: var(--color-primary); }
    .terminal__cmd { color: var(--color-text); }
    .terminal__comment { color: var(--color-text-faint); font-style: italic; }
    .terminal__key { color: #e8a87c; }
    .terminal__val { color: #a8d8a8; }
    .terminal__str { color: #7ec8e3; }
    .terminal__num { color: #c8a8e8; }
    .terminal__cursor {
      display: inline-block; width: 8px; height: 1.1em;
      background: var(--color-primary); vertical-align: text-bottom;
      animation: blink 1.1s step-start infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

    @media (max-width: 768px) {
      .hero__grid { grid-template-columns: 1fr; }
      .hero__visual { justify-content: flex-start; }
      .hero__terminal { max-width: 100%; }
    }
