:root {
  --bg: #f1ecdf;
  --ink: #1f2a2c;
  --accent: #cb5a2e;
  --accent-2: #164b6b;
  --accent-3: #6f7c4d;
  --panel: rgba(255, 255, 255, 0.72);
  --line: rgba(31, 42, 44, 0.14);
  --soft-ink: rgba(31, 42, 44, 0.72);
  --shadow: 0 20px 50px rgba(31, 42, 44, 0.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(203, 90, 46, 0.18), transparent 28%),
    radial-gradient(circle at 80% 14%, rgba(111, 124, 77, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(22, 75, 107, 0.18), transparent 34%),
    var(--bg);
}

a {
  color: inherit;
}

code, pre {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px 28px;
}

.hero-panel {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 75, 107, 0.2), transparent 68%);
}

.hero h1,
.guide-hero h1 {
  margin: 0 0 16px;
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent-2);
}

.lede {
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--soft-ink);
}

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

.button-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button-link:hover,
button:hover {
  transform: translateY(-1px);
}

.button-link-primary,
button {
  color: white;
  background: linear-gradient(135deg, var(--accent), #e27d4f);
  box-shadow: 0 12px 24px rgba(203, 90, 46, 0.22);
}

.button-link-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
}

.panel-label,
.card-kicker,
.section-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.status-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.section-header {
  margin-top: 40px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}

.grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: var(--soft-ink);
}

.card ul,
.card ol {
  padding-left: 18px;
  margin: 0;
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 75, 107, 0.1);
  color: var(--accent-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.text-link {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

pre {
  overflow-x: auto;
  margin: 14px 0 16px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(31, 42, 44, 0.06);
}

#statusText {
  margin-top: 12px;
  min-height: 1.6em;
}

.guide-shell {
  max-width: 980px;
}

.guide-hero {
  padding: 8px 0 8px;
}

.site-footer {
  margin-top: 34px;
  padding: 18px 4px 0;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0 0 6px;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .guide-hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .shell {
    padding: 28px 14px 56px;
  }

  .hero-copy,
  .hero-panel,
  .card {
    padding: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .button-link,
  button {
    width: 100%;
  }
}
