@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&display=swap');

:root {
  color-scheme: light;
  --cream: #FFFBF5;
  --cream-dark: #F5EFE6;
  --butter: #E8B923;
  --butter-light: #F5D547;
  --butter-dark: #C9A01E;
  --ink: #1A1612;
  --ink-soft: #3D3630;
  --muted: #7A756E;
  --surface: rgba(255, 255, 255, 0.85);
  --border: rgba(26, 22, 18, 0.08);
  --shadow-sm: 0 2px 8px rgba(26, 22, 18, 0.04);
  --shadow-md: 0 8px 32px rgba(26, 22, 18, 0.08);
  --shadow-lg: 0 24px 64px rgba(26, 22, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== Layout ========== */
.page-shell {
  width: min(720px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

/* ========== Hero ========== */
.hero-card {
  text-align: center;
  padding: 48px 24px 56px;
  margin-bottom: 64px;
}

.brand-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.brand-mark {
  width: 80px;
  height: 80px;
}

.brand-text h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.eyebrow {
  display: none;
}

.tagline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pill {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}

.pill-muted {
  background: transparent;
  color: var(--muted);
}

/* ========== Sections ========== */
.stack {
  display: grid;
  gap: 48px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  margin-bottom: 20px;
}

.panel-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.panel-head .subtle {
  font-size: 14px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

/* ========== Steps ========== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  counter-increment: step;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--butter);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
}

/* ========== Plain Lists ========== */
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.plain-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

.plain-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--butter);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== Code Block ========== */
.code-block {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: 12px;
  background: var(--cream-dark);
  border: 1px solid var(--border);
}

.code-block code {
  font-family: 'SF Mono', 'Fira Code', ui-monospace, monospace;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ========== Signup Form ========== */
.signup-panel {
  background: linear-gradient(180deg, #FFFDF9 0%, var(--surface) 100%);
  border: 1px solid rgba(232, 185, 35, 0.2);
}

.signup-copy {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

.signup-form {
  display: grid;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field input:focus {
  border-color: var(--butter);
  box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15);
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0 0;
  accent-color: var(--butter-dark);
  cursor: pointer;
}

.check a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.check a:hover {
  color: var(--butter-dark);
}

.check-optional {
  color: var(--muted);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: none;
  border-radius: 100px;
  background: var(--butter);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--butter-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button:active {
  transform: translateY(0);
}

.signup-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.signup-status {
  font-size: 14px;
  color: var(--butter-dark);
}

/* ========== Footer ========== */
.site-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-mark {
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

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

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

/* ========== Legal Pages ========== */
.legal-page {
  padding-top: 48px;
  padding-bottom: 64px;
}

.legal-card {
  margin-bottom: 32px;
}

.legal-card .lede {
  max-width: 100%;
  text-align: left;
}

/* ========== Responsive ========== */
@media (max-width: 640px) {
  .page-shell {
    width: calc(100vw - 32px);
    padding: 40px 0 56px;
  }

  .hero-card {
    padding: 32px 16px 40px;
    margin-bottom: 48px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .brand-text h1 {
    font-size: 44px;
  }

  .tagline {
    font-size: 22px;
  }

  .lede {
    font-size: 16px;
  }

  .panel {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .panel-head h2 {
    font-size: 22px;
  }

  .cta-button {
    width: 100%;
  }

  .stack {
    gap: 32px;
  }

  .site-footer {
    margin-top: 48px;
  }
}
