:root {
  color-scheme: light;
  --bg: #f7f4ec;
  --panel: rgba(255, 250, 242, 0.82);
  --panel-strong: #fffdf7;
  --ink: #15211c;
  --muted: #53625a;
  --line: rgba(21, 33, 28, 0.12);
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #d6f0eb;
  --shadow: 0 20px 50px rgba(21, 33, 28, 0.08);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 28%),
    radial-gradient(circle at right 20%, rgba(203, 128, 72, 0.14), transparent 24%),
    linear-gradient(180deg, #f4efe4 0%, var(--bg) 100%);
}

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

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.card,
.callout {
  backdrop-filter: blur(12px);
}

.hero {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.topbar,
.hero-grid,
.section-head,
.callout {
  display: flex;
  gap: 24px;
}

.topbar,
.section-head,
.callout {
  align-items: center;
  justify-content: space-between;
}

.topbar-actions,
.actions,
.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-grid {
  margin-top: 28px;
  align-items: center;
}

.hero-copy,
.hero-card,
.section,
.wide,
.code-card pre {
  width: 100%;
}

.lede,
.card p,
.callout p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #f6fffe;
  font-weight: 600;
  transition: transform 140ms ease, background 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}

.signals {
  padding: 0;
  list-style: none;
  margin-top: 18px;
}

.signals li {
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  background: rgba(214, 240, 235, 0.6);
  color: var(--accent-strong);
  font-size: 0.95rem;
}

.hero-card img,
.flow img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.callout {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.wide {
  padding: 18px;
}

.code-card pre {
  margin-top: 14px;
  padding: 16px;
  overflow: auto;
  border-radius: 16px;
  background: #111c18;
  color: #dffaf6;
}

@media (max-width: 860px) {
  .topbar,
  .hero-grid,
  .section-head,
  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero,
  .card,
  .callout {
    border-radius: 22px;
  }
}
