/* forge landing — modern SaaS design system.
   Completely distinct from ezx (blocky light) and phpv (terminal dark).
   Warm dark theme with gradient accents, bento grids, soft shadows. */

:root {
  --bg-base: #0c0e14;
  --bg-surface: #13161f;
  --bg-elevated: #1a1e2a;
  --bg-hover: #222738;
  
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  
  --text-primary: #f4f4f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;
  
  --accent-primary: #f59e0b;
  --accent-secondary: #fbbf24;
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --accent-glow: rgba(245, 158, 11, 0.15);
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.2);
  
  --container: 1280px;
  --gutter: clamp(24px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

code, pre, kbd {
  font-family: var(--font-mono);
}

::selection {
  background: var(--accent-primary);
  color: var(--bg-base);
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: 5px;
  border: 2px solid var(--bg-base);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
}

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg-base);
  font-size: 18px;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-gradient);
  color: var(--bg-base);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: var(--bg-base);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 70%);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-base);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  color: var(--bg-base);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.hero-install {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.hero-install-prompt {
  color: var(--accent-primary);
  font-weight: 600;
}

.hero-install-cmd {
  color: var(--text-primary);
}

.hero-install-copy {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.hero-install-copy:hover {
  color: var(--accent-primary);
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section {
  padding: 120px var(--gutter);
  position: relative;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Bento Grid (Features) ───────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
  opacity: 0.03;
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

.bento-card-lg {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card-wide {
  grid-column: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.bento-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Code Panel (Split Pane) ─────────────────────────────────────────────── */
.code-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 400px;
}

.code-sidebar {
  background: var(--bg-base);
  border-right: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.code-sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
}

.code-file-list {
  list-style: none;
}

.code-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-file-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.code-file-item.active {
  background: var(--bg-elevated);
  color: var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
}

.code-file-icon {
  font-size: 14px;
}

.code-content {
  display: flex;
  flex-direction: column;
}

.code-tabs {
  display: flex;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.code-tab {
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.code-tab:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.code-tab.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.code-body {
  flex: 1;
  overflow: auto;
  padding: 20px;
}

.code-block {
  display: none;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  white-space: pre;
}

.code-block.active {
  display: block;
}

/* Syntax highlighting */
.token-keyword { color: #c084fc; }
.token-string { color: #86efac; }
.token-number { color: #fbbf24; }
.token-comment { color: var(--text-tertiary); font-style: italic; }
.token-section { color: #60a5fa; font-weight: 600; }
.token-key { color: var(--accent-primary); }

/* ── Flow Diagram (How it works) ─────────────────────────────────────────── */
.flow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 0;
  overflow-x: auto;
}

.flow-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.flow-node {
  background: var(--bg-surface);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  min-width: 140px;
  transition: all 0.3s ease;
}

.flow-node:hover {
  border-color: var(--accent-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.flow-node-active {
  background: var(--accent-glow);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--text-tertiary);
  font-size: 24px;
}

.flow-parallel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-parallel-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Operations Grid ─────────────────────────────────────────────────────── */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ops-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s ease;
}

.ops-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.ops-name {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.ops-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Install Cards ───────────────────────────────────────────────────────── */
.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.install-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s ease;
}

.install-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.install-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.install-card-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.install-card-title {
  font-size: 18px;
  font-weight: 700;
}

.install-card-cmd {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-card-copy {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.install-card-copy:hover {
  color: var(--accent-primary);
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-default);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── CTA Section ─────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px var(--gutter);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px var(--gutter);
  text-align: center;
}

.footer-text {
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  list-style: none;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-link:hover {
  color: var(--accent-primary);
}

/* ── Docs Page ───────────────────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.docs-toc-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.docs-toc-list {
  list-style: none;
}

.docs-toc-item {
  margin-bottom: 4px;
}

.docs-toc-link {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.docs-toc-link:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.docs-toc-link.active {
  background: var(--bg-elevated);
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
}

.docs-content {
  min-width: 0;
}

.docs-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.docs-section-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-block {
  margin-bottom: 24px;
}

.docs-block p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.docs-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.docs-block ul {
  list-style: none;
  padding-left: 0;
}

.docs-block li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.docs-block li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 16px;
}

.docs-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-default);
}

.docs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.docs-table tr:hover td {
  background: var(--bg-elevated);
}

.docs-table code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-primary);
}

.docs-callout {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.docs-callout-title {
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.docs-callout p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-card-lg {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .code-panel {
    grid-template-columns: 1fr;
  }
  
  .code-sidebar {
    display: none;
  }
  
  .docs-layout {
    grid-template-columns: 1fr;
  }
  
  .docs-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card-lg,
  .bento-card-wide {
    grid-column: span 1;
  }
  
  .flow-container {
    flex-direction: column;
  }
  
  .flow-arrow {
    transform: rotate(90deg);
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .section {
    padding: 80px var(--gutter);
  }
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
