:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-accent: #111111;
  --card: rgba(16, 16, 16, 0.92);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f7f7f5;
  --muted: #b8b8b1;
  --accent: #d8d8d2;
  --accent-strong: #ffffff;
  --button: #f2f2ed;
  --button-text: #0b0b0b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  color: var(--text);
}

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

.page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.hero {
  padding: 36px;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.96));
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.tagline-badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  font-weight: 600;
}

.lede {
  margin: 0 0 10px;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.hero-body {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.dock-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 24px;
}

.dock-main,
.index-panel {
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.98), rgba(11, 11, 11, 0.95));
  box-shadow: var(--shadow);
}

.dock-main {
  padding: 28px;
}

.dock-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.dock-header h2,
.index-panel h2 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.dock-header p,
.index-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dock-ctas,
.dock-modes,
.index-actions,
.index-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dock-modes,
.index-actions {
  margin-top: 14px;
}

.button.compact {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.92rem;
}

.mode-chip,
.route-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.route-pill {
  width: fit-content;
  color: var(--accent);
  font-size: 0.86rem;
}

.route-pill.inline {
  margin-top: 10px;
}

.prompt-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.prompt-label {
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prompt-placeholder {
  color: var(--muted);
}

.route-list {
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.route-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.route-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.route-item strong {
  color: var(--text);
  font-size: 0.95rem;
}

.index-panel {
  padding: 24px;
}

.index-section {
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.index-section h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-weight: 700;
}

.button.ghost {
  border-color: var(--card-border);
  background: transparent;
  color: var(--text);
}

.manifesto,
.launcher-card,
.focus-card,
.product-section,
.copy-card,
.prompt-block {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.manifesto {
  margin-top: 24px;
  padding: 28px 30px;
}

.section-heading {
  margin: 42px 0 20px;
}

.section-heading.narrow {
  margin: 0;
}

.section-heading h2 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.section-heading p,
.stack p,
.section-copy,
.copy-card p,
.product-section p,
.list {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.stack {
  display: grid;
  gap: 10px;
}

.launcher-grid,
.focus-grid,
.execution-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.launcher-card,
.focus-card,
.execution-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.card-topline {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.launcher-card h3,
.focus-card h3,
.product-section h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.product-sections {
  display: grid;
  gap: 20px;
}

.product-section {
  padding: 24px;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.headline {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 700;
}

.subheadline {
  margin-bottom: 20px;
  color: var(--accent-strong);
  font-size: 1.02rem;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.copy-card {
  padding: 18px;
}

.copy-card h4 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.list {
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.prompt-section {
  margin-top: 42px;
}

.execution-card {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.registry-instruction {
  margin: 14px 0 0;
  color: var(--text);
  line-height: 1.6;
}

.prompt-block {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  white-space: pre-wrap;
  font: 0.92rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1200px);
    padding-top: 20px;
  }

  .hero,
  .manifesto,
  .launcher-card,
  .focus-card,
  .execution-card,
  .product-section,
  .copy-card,
  .prompt-block {
    border-radius: 18px;
  }

  .product-header {
    flex-direction: column;
  }
}

@media (max-width: 980px) {
  .dock-shell,
  .dock-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .route-list {
    min-width: 0;
  }
}
