/* ============================================================
   HPR Website — Design System
   Dark, minimal, technical. No gradients. Sharp edges.
   ============================================================ */

/* --- Reset & Base --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  /* Palette — warm technical */
  --bg-primary: #0a0a0b;
  --bg-secondary: #111113;
  --bg-card: #141416;
  --bg-card-hover: #1a1a1d;
  --bg-code: #0d0d0f;
  --bg-nav: rgba(10, 10, 11, 0.92);

  --border-primary: #1e1e22;
  --border-subtle: #161618;
  --border-accent: #2a2a2e;

  --text-primary: #e8e6e3;
  --text-secondary: #8a8a8d;
  --text-tertiary: #5a5a5d;
  --text-muted: #444447;

  --accent-green: #3ddc84;
  --accent-green-dim: rgba(61, 220, 132, 0.12);
  --accent-amber: #f0a030;
  --accent-amber-dim: rgba(240, 160, 48, 0.10);
  --accent-red: #e05252;
  --accent-red-dim: rgba(224, 82, 82, 0.10);
  --accent-cyan: #56c8d8;
  --accent-cyan-dim: rgba(86, 200, 216, 0.10);

  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1120px;
  --nav-height: 64px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(61, 220, 132, 0.25);
  color: var(--text-primary);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand-logo {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.nav-brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
}

.nav-brand-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-left: 4px;
  letter-spacing: 0;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-links a.active {
  color: var(--accent-green);
}

.nav-github {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav-github:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-card);
}

.nav-github svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-primary);
  color: var(--text-secondary);
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- Layout --- */
.page-content {
  padding-top: var(--nav-height);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section-border {
  border-top: 1px solid var(--border-primary);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

/* --- Hero --- */
.hero {
  padding: 160px 0 100px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-primary) 20%, var(--border-primary) 80%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent-green);
  background: var(--accent-green-dim);
  border: 1px solid rgba(61, 220, 132, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 .text-accent {
  color: var(--accent-green);
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.hero-screenshot {
  width: 100%;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.hero-screenshot-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-primary);
  z-index: 1;
}

.hero-screenshot-frame::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 14px 0 0 var(--accent-amber), 28px 0 0 var(--accent-green);
  z-index: 2;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}

.btn--primary {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.btn--primary:hover {
  background: #4ae892;
  box-shadow: 0 0 20px rgba(61, 220, 132, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-card);
}

.btn--small {
  font-size: 0.75rem;
  padding: 8px 16px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 1.25rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent-green-dim);
  border-radius: var(--radius-sm);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-weight: 700;
}

.card-icon--amber {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
}

.card-icon--red {
  background: var(--accent-red-dim);
  color: var(--accent-red);
}

.card-icon--cyan {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

/* --- Code Blocks --- */
.code-block {
  background: var(--bg-code);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  overflow-x: auto;
  position: relative;
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.code-block .code-comment {
  color: var(--text-muted);
}

.code-block .code-keyword {
  color: var(--accent-amber);
}

.code-block .code-string {
  color: var(--accent-green);
}

.code-block .code-fn {
  color: var(--accent-cyan);
}

.code-label {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 6px 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Table --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-primary);
  background: var(--bg-card);
}

td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

tr:hover td {
  background: var(--bg-card);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.badge--green {
  background: var(--accent-green-dim);
  color: var(--accent-green);
}

.badge--red {
  background: var(--accent-red-dim);
  color: var(--accent-red);
}

.badge--amber {
  background: var(--accent-amber-dim);
  color: var(--accent-amber);
}

.badge--cyan {
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
}

/* --- Callout --- */
.callout {
  border: 1px solid var(--border-primary);
  border-left: 3px solid var(--accent-green);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  background: var(--bg-card);
}

.callout--amber {
  border-left-color: var(--accent-amber);
}

.callout--red {
  border-left-color: var(--accent-red);
}

.callout-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-green);
  margin-bottom: 10px;
}

.callout--amber .callout-title {
  color: var(--accent-amber);
}

.callout--red .callout-title {
  color: var(--accent-red);
}

.callout p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Interpreter Showcase --- */
.interpreter-showcase {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 48px;
  margin-top: 48px;
}

.interpreter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.interpreter-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.interpreter-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: var(--accent-amber-dim);
  border-radius: var(--radius-sm);
}

.interpreter-step-text h4 {
  color: var(--text-primary);
  margin-bottom: 6px;
}

.interpreter-step-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Platform Cards --- */
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.platform-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.platform-card h4 {
  color: var(--text-primary);
}

.platform-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.platform-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Comparison highlight --- */
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.comparison-verdict {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 32px;
}

.comparison-verdict h3 {
  margin-bottom: 16px;
}

.comparison-verdict p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Stats row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 48px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.stat-card-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.stat-card-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-primary);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.footer-middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer-middle a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-middle a:hover {
  color: var(--text-primary);
}

.footer-left {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* --- Screenshot with title bar --- */
.screenshot-container {
  position: relative;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.screenshot-titlebar {
  height: 32px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.screenshot-dot--red { background: var(--accent-red); }
.screenshot-dot--amber { background: var(--accent-amber); }
.screenshot-dot--green { background: var(--accent-green); }

.screenshot-container img {
  display: block;
  width: 100%;
}

/* --- Inline code --- */
code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--accent-amber);
}

/* --- Divider --- */
.divider {
  border: none;
  height: 1px;
  background: var(--border-primary);
  margin: 48px 0;
}

/* --- Anchor offset for fixed nav --- */
.anchor {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

/* --- Animated entrance --- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Architecture diagram --- */
.arch-diagram {
  background: var(--bg-code);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre;
}

/* --- Video container --- */
.video-container {
  position: relative;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.video-container video {
  display: block;
  width: 100%;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-primary);
}

.tab-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.02em;
}

.tab-btn:hover {
  color: var(--text-secondary);
}

.tab-btn.active {
  color: var(--accent-green);
  border-bottom-color: var(--accent-green);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- Two column info --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Tag --- */
.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  color: var(--text-tertiary);
  margin-right: 6px;
  margin-bottom: 6px;
}

/* --- Highlight box for interpreted mode --- */
.highlight-box {
  position: relative;
  border: 1px solid rgba(240, 160, 48, 0.3);
  border-radius: var(--radius-md);
  padding: 40px;
  background: linear-gradient(135deg, rgba(240, 160, 48, 0.03) 0%, transparent 60%);
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
}

/* --- Grid backgrounds --- */
.grid-bg {
  position: relative;
}

.grid-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero {
    padding: 120px 0 64px;
  }

  h1 { font-size: 2.25rem; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-header {
    grid-template-columns: 1fr;
  }

  .interpreter-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-primary);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-github {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .interpreter-showcase {
    padding: 28px;
  }

  .highlight-box {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }

  .hero {
    padding: 100px 0 48px;
  }

  .hero-stat-value {
    font-size: 1.25rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .nav-brand-sub {
    display: none;
  }
}
