@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght,SOFT@9..144,500..700,75&display=swap");

:root {
  color-scheme: light;
  --ink: #201915;
  --muted: #665b54;
  --line: #d8cec2;
  --surface: #f5efe7;
  --surface-strong: #fffaf4;
  --surface-soft: rgba(255, 250, 244, 0.8);
  --blue: #4a6a63;
  --green: #6c8d74;
  --gold: #b57933;
  --plum: #7c5a6c;
  --hero-glow: rgba(181, 121, 51, 0.16);
  --hero-shadow: 0 24px 70px rgba(52, 38, 27, 0.12);
  --hero-shadow-strong: 0 30px 90px rgba(52, 38, 27, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f5ede4;
    --muted: #cabfb4;
    --line: #3b3028;
    --surface: #17120f;
    --surface-strong: #231b17;
    --surface-soft: rgba(35, 27, 23, 0.86);
    --blue: #9fc0b4;
    --green: #97b698;
    --gold: #d8a15e;
    --plum: #d2afc0;
    --hero-glow: rgba(216, 161, 94, 0.16);
    --hero-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --hero-shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.4);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background-image:
    radial-gradient(circle at top left, var(--hero-glow), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(124, 90, 108, 0.12), transparent 22%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 70%, transparent), transparent 45%);
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(20px, 4vw, 48px);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--gold) 54%, transparent), transparent 58%),
    linear-gradient(90deg, transparent 46%, color-mix(in srgb, var(--ink) 24%, transparent) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, color-mix(in srgb, var(--ink) 24%, transparent) 46% 54%, transparent 54%),
    var(--surface-strong);
  box-shadow: 0 10px 28px rgba(52, 38, 27, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 96px clamp(20px, 6vw, 72px) 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, var(--hero-glow), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(124, 90, 108, 0.11), transparent 26%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 44%, transparent), transparent 46%);
  pointer-events: none;
}

.workspace-scene {
  position: absolute;
  inset: 64px clamp(14px, 3vw, 36px) 30px;
  opacity: 0.82;
}

.scene-bar,
.scene-sidebar,
.scene-editor,
.scene-tools,
.scene-activity {
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  background: var(--surface-soft);
  box-shadow: var(--hero-shadow);
  backdrop-filter: blur(12px);
}

.scene-bar {
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  border-radius: 10px 10px 0 0;
}

.scene-sidebar {
  top: 66px;
  bottom: 0;
  left: 0;
  width: min(220px, 26vw);
  padding: 24px;
  border-radius: 0 0 0 10px;
}

.scene-sidebar span,
.scene-line,
.tool-row,
.scene-eyebrow,
.scene-activity span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 30%, var(--surface-strong));
}

.scene-sidebar span {
  width: 100%;
  margin-bottom: 18px;
}

.scene-sidebar span:nth-child(2) {
  width: 74%;
  background: color-mix(in srgb, var(--blue) 36%, transparent);
}

.scene-sidebar span:nth-child(3) {
  width: 88%;
}

.scene-sidebar span:nth-child(4) {
  width: 62%;
  background: color-mix(in srgb, var(--green) 34%, transparent);
}

.scene-editor {
  top: 66px;
  bottom: 0;
  left: min(244px, 30vw);
  right: min(282px, 30vw);
  padding: clamp(28px, 5vw, 72px);
}

.scene-eyebrow {
  width: 140px;
  margin-bottom: 26px;
  background: color-mix(in srgb, var(--gold) 40%, transparent);
}

.scene-line {
  width: min(560px, 74%);
  height: 18px;
  margin-bottom: 16px;
}

.scene-line.wide {
  width: min(680px, 88%);
  height: 32px;
  background: color-mix(in srgb, var(--ink) 64%, transparent);
}

.scene-line.short {
  width: min(420px, 58%);
}

.scene-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(56px, 1fr));
  gap: 8px;
  width: min(640px, 100%);
  margin-top: 42px;
}

.scene-table span {
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  border-radius: 6px;
}

.scene-tools {
  top: 66px;
  right: 0;
  width: min(258px, 28vw);
  padding: 22px;
  border-radius: 0 0 10px 0;
}

.tool-row {
  width: 100%;
  margin-bottom: 16px;
}

.tool-row.strong {
  height: 22px;
  background: color-mix(in srgb, var(--plum) 52%, transparent);
}

.scene-activity {
  right: min(36px, 4vw);
  bottom: 30px;
  width: min(320px, 42vw);
  padding: 20px;
  border-radius: 10px;
}

.scene-activity span {
  width: 100%;
  margin-bottom: 12px;
  background: color-mix(in srgb, var(--green) 34%, transparent);
}

.scene-activity span:last-child {
  margin-bottom: 0;
  width: 64%;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(720px, 100%);
  padding-top: 24px;
}

.status-pill,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(52px, 10vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

h2 {
  font-family: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy {
  width: min(640px, 100%);
  margin-top: 24px;
  color: color-mix(in srgb, var(--ink) 84%, var(--muted));
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.28;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--ink) 28%, var(--line));
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--hero-shadow);
}

.button.primary {
  background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--plum) 34%, var(--ink)));
  color: #ffffff;
  box-shadow: var(--hero-shadow-strong);
}

.button.secondary {
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
}

.content-band,
.mcp-band {
  padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 72px);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.content-grid p,
.mcp-copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.mcp-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  background: color-mix(in srgb, var(--surface-strong) 90%, var(--surface));
  border-top: 1px solid var(--line);
}

.endpoint-box {
  min-width: 0;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--line) 84%, transparent);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--hero-shadow);
}

code {
  color: var(--blue);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.95em;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .topbar {
    height: 58px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 88px;
  }

  .workspace-scene {
    inset: 58px 8px 24px;
  }

  .scene-sidebar,
  .scene-tools {
    display: none;
  }

  .scene-editor {
    left: 0;
    right: 0;
    padding: 28px;
  }

  .scene-activity {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .content-grid,
  .mcp-band {
    grid-template-columns: 1fr;
  }
}
