/* ======================== RESET & BASE ======================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #111111;
  --bg-raised: #1a1a1a;
  --bg-elevated: #222222;
  --surface: #2a2a2a;
  --border: #333333;
  --text: #e8e8e8;
  --text-secondary: #999999;
  --text-muted: #666666;
  --accent: #d63031;
  --accent-soft: #e17055;
  --green: #00b894;
  --blue: #0984e3;
  --yellow: #fdcb6e;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --max-width: 1120px;
  --nav-height: 64px;
  --nav-bg: rgba(17, 17, 17, 0.85);
  --nav-border: rgba(255, 255, 255, 0.06);
  --window-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 20px 60px rgba(0,0,0,0.5), 0 0 120px rgba(214, 48, 49, 0.05);
  --edge-primary: #555;
  --edge-secondary: #444;
  --edge-dashed: #333;
  --icon-muted: #888;
  --graph-label: #ddd;
  --btn-primary-text: #fff;
  --code-keyword: #c678dd;
  --code-fn: #61afef;
  --code-string: #98c379;
  --code-prop: #e06c75;
  --code-number: #d19a66;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-raised: #f8f8f8;
    --bg-elevated: #f0f0f0;
    --surface: #e8e8e8;
    --border: #d4d4d4;
    --text: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #c0392b;
    --accent-soft: #d35400;
    --green: #00a381;
    --blue: #0770c2;
    --yellow: #e6a817;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --nav-border: rgba(0, 0, 0, 0.08);
    --window-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 20px 60px rgba(0,0,0,0.12), 0 0 120px rgba(214, 48, 49, 0.03);
    --edge-primary: #c0c0c0;
    --edge-secondary: #d0d0d0;
    --edge-dashed: #ddd;
    --icon-muted: #999;
    --graph-label: #444;
    --btn-primary-text: #fff;
    --code-keyword: #a626a4;
    --code-fn: #4078f2;
    --code-string: #50a14f;
    --code-prop: #e45649;
    --code-number: #c18401;
  }
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent-soft);
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius);
}

/* ======================== NAV ======================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  z-index: 100;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

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

.nav-cta {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  background: var(--accent);
  color: var(--btn-primary-text);
  border-radius: var(--radius-xs);
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #c0392b;
}

/* ======================== HERO ======================== */
.hero {
  padding: 160px 32px 80px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-soft);
  background: rgba(214, 48, 49, 0.1);
  border: 1px solid rgba(214, 48, 49, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* ======================== APP MOCKUP ======================== */
.hero-window {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  box-shadow: var(--window-shadow);
}

.window-chrome {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
}

.window-dots span:nth-child(1) { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:nth-child(3) { background: #28c840; }

.window-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.window-body {
  display: grid;
  grid-template-columns: 160px 220px 1fr;
  height: 420px;
}

/* Sidebar mock */
.mock-sidebar {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  font-size: 12px;
}

.mock-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 16px 0 8px;
  padding: 0 8px;
}

.mock-section-label:first-child {
  margin-top: 0;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: default;
}

.mock-item.active {
  background: rgba(214, 48, 49, 0.12);
  color: var(--accent-soft);
}

/* Note list mock */
.mock-list {
  padding: 8px;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.mock-note-item {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  cursor: default;
}

.mock-note-item.active {
  background: var(--surface);
}

.mock-note-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.mock-note-preview {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mock-note-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-state {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-state.published { background: rgba(0, 184, 148, 0.15); color: var(--green); }
.mock-state.review { background: rgba(253, 203, 110, 0.15); color: var(--yellow); }
.mock-state.draft { background: rgba(99, 110, 114, 0.2); color: var(--text-muted); }

/* Editor mock */
.mock-editor {
  padding: 24px;
  overflow: hidden;
}

.mock-editor-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.mock-md {
  font-size: 13px;
  line-height: 1.8;
}

.md-h2 { color: var(--text); font-weight: 600; font-size: 16px; }
.md-h3 { color: var(--text); font-weight: 600; font-size: 14px; }
.md-text { color: var(--text-secondary); }
.md-bold { color: var(--text); font-weight: 600; }
.md-link { color: var(--accent-soft); }
.md-code {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--surface);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--accent-soft);
}
.md-list { color: var(--text-muted); }
.md-tag {
  color: var(--accent-soft);
  font-size: 12px;
}

/* ======================== PHILOSOPHY ======================== */
.philosophy {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.philosophy-card {
  text-align: center;
}

.philosophy-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent-soft);
}

.philosophy-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.philosophy-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ======================== FEATURES ======================== */
.features {
  padding: 120px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.feature-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.feature-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-highlights {
  display: flex;
  gap: 32px;
}

.feature-highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.feature-highlight span:last-child {
  font-size: 13px;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
}

/* Code block */
.code-block {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.code-block.compact {
  max-width: 520px;
  margin: 40px auto 0;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
}

.code-block pre {
  padding: 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.code-comment { color: var(--text-muted); }
.code-keyword { color: var(--code-keyword); }
.code-fn { color: var(--code-fn); }
.code-string { color: var(--code-string); }
.code-prop { color: var(--code-prop); }
.code-number { color: var(--code-number); }

/* Graph demo */
.graph-demo {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-svg {
  width: 100%;
  max-width: 400px;
}

/* Search demo */
.search-demo {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.search-text {
  flex: 1;
  font-size: 14px;
  color: var(--text);
}

.search-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(214, 48, 49, 0.12);
  color: var(--accent-soft);
}

.search-results {
  padding: 8px;
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
}

.search-result:first-child {
  background: var(--surface);
}

.search-result.faded {
  opacity: 0.5;
}

.search-result-title {
  font-size: 13px;
  font-weight: 500;
}

.search-result-score {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--green);
}

/* State demo */
.state-demo {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.state-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.state-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

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

.draft-dot { background: var(--text-muted); }
.review-dot { background: var(--yellow); }
.published-dot { background: var(--green); }

.state-actor {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.state-arrow {
  flex-shrink: 0;
}

.state-activity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.activity-actor {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.activity-actor.agent {
  background: rgba(9, 132, 227, 0.15);
  color: var(--blue);
}

.activity-actor.human {
  background: rgba(0, 184, 148, 0.15);
  color: var(--green);
}

.activity-time {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 11px;
}

/* ======================== MORE FEATURES ======================== */
.more-features {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.more-features h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.more-card {
  padding: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.more-card:hover {
  border-color: var(--text-muted);
}

.more-card svg {
  color: var(--accent-soft);
  margin-bottom: 16px;
}

.more-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.more-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======================== MCP SECTION ======================== */
.mcp-section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}

.mcp-header {
  text-align: center;
  margin-bottom: 56px;
}

.mcp-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.mcp-intro {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.mcp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.mcp-tier {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mcp-tier-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.mcp-tier-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.mcp-tier-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-secondary);
}

.mcp-tier-badge.accent {
  background: rgba(214, 48, 49, 0.12);
  color: var(--accent-soft);
}

.mcp-tool-list {
  padding: 12px;
}

.mcp-tool {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mcp-tool:hover {
  background: var(--surface);
}

.mcp-tool code {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: none;
  padding: 0;
}

.mcp-tool span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================== MCP INSTALL ======================== */
.mcp-install {
  margin-top: 48px;
}

/* ======================== ARCHITECTURE ======================== */
.architecture {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.architecture h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 56px;
  letter-spacing: -0.03em;
}

.arch-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
}

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

.arch-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-raised);
}

.arch-box strong {
  font-size: 16px;
}

.arch-box span {
  font-size: 12px;
  color: var(--text-muted);
}

.agent-box { border-color: rgba(9, 132, 227, 0.3); }
.agent-box svg { color: var(--blue); }

.core-box {
  border-color: rgba(214, 48, 49, 0.3);
  background: rgba(214, 48, 49, 0.05);
}
.core-box svg { color: var(--accent); }

.human-box { border-color: rgba(0, 184, 148, 0.3); }
.human-box svg { color: var(--green); }

.arch-connector {
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-elevated);
}

.arch-sub-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-chip {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-secondary);
}

.arch-sync {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 400px;
  margin: 0 auto;
}

/* ======================== TECH STACK ======================== */
.tech-stack {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.tech-stack h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.tech-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tech-item strong {
  font-size: 15px;
  font-weight: 600;
}

.tech-item span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================== DOWNLOAD ======================== */
.download {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
}

.download h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.download p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.download-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-logo {
  width: 24px;
  height: 24px;
}

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

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

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

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
  }

  .window-body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .mock-sidebar,
  .mock-list {
    display: none;
  }

  .mock-editor {
    min-height: 280px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

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

  .mcp-tiers {
    grid-template-columns: 1fr;
  }

  .arch-diagram {
    flex-direction: column;
    gap: 24px;
  }

  .tech-grid {
    gap: 24px;
  }

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

  .download-actions {
    flex-direction: column;
    align-items: center;
  }

  .state-flow {
    flex-direction: column;
  }

  .state-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 28px;
  }

  .feature-text h2 {
    font-size: 28px;
  }

  .feature-highlights {
    gap: 24px;
  }

  .mcp-header h2,
  .architecture h2 {
    font-size: 28px;
  }

  .download h2 {
    font-size: 32px;
  }
}
