/* ============ Tokens ============ */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #1d1b16;
  --ink-soft: #57534a;
  --muted: #8a8478;
  --hairline: #e8e3d7;
  --accent: #4d5f3c;
  --accent-deep: #3d4c2f;
  --accent-tint: #eef0e8;
  --error: #a4452f;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 24px 48px -20px rgba(61, 56, 41, 0.18), 0 2px 6px rgba(61, 56, 41, 0.05);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Satoshi", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--accent); }

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-tint);
  border: 1px solid #dde2d2;
  border-radius: 999px;
  padding: 5px 14px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: breathe 2.4s var(--ease) infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.55; }
}

/* ============ Hero ============ */
.hero { padding: 88px 0 110px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.h1-muted {
  color: var(--ink-soft);
  font-weight: 700;
}

.subline {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-points {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-points li:last-child { border-bottom: 1px solid var(--hairline); }

.hero-points svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

/* Staggered load-in */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 120ms);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  .status-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============ Form card ============ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-size: 1.4rem;
  font-weight: 900;
}

.form-intro {
  margin-top: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
}

.field input[type="text"],
.field input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
}

.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field-error,
.form-error {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--error);
}

.form-error {
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #f9ece8;
  border: 1px solid #ecd2c9;
  border-radius: 10px;
}

/* Pills */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.25s var(--ease);
}

.pill span:hover { border-color: var(--accent); color: var(--accent-deep); }
.pill span:active { transform: scale(0.96); }

.pill input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #f7f9f3;
}

.pill input:focus-visible + span {
  box-shadow: 0 0 0 3px var(--accent-tint);
}

/* Consent */
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.consent span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

/* Honeypot */
.trap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #f7f9f3;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}

.cta svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.cta:hover { background: var(--accent-deep); }
.cta:hover svg { transform: translateX(3px); }
.cta:active { transform: scale(0.98); }

.cta:disabled {
  cursor: wait;
  background: linear-gradient(100deg, var(--accent) 40%, #66794f 50%, var(--accent) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  from { background-position: 130% 0; }
  to { background-position: -70% 0; }
}

.form-footnote {
  margin-top: 14px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Success state */
.form-success {
  text-align: left;
  animation: rise 0.7s var(--ease);
}

.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 20px;
}

.success-mark svg { width: 26px; height: 26px; }

.form-success h2 { font-size: 1.4rem; font-weight: 900; }

.form-success p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============ Steps ============ */
.steps {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 96px 0;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
}

.section-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 54ch;
  font-size: 1.05rem;
}

.step-list {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
}

.step-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.step-row:last-child { border-bottom: 1px solid var(--hairline); }

.step-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.step-body h3 { font-size: 1.15rem; font-weight: 700; }
.step-body p {
  margin-top: 8px;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ============ Values ============ */
.values { padding: 110px 0; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.value-block h3 {
  font-size: 1.3rem;
  font-weight: 900;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 18px;
}

.value-block p { color: var(--ink-soft); }

.value-block.offset { margin-top: 56px; }

/* ============ Privacy ============ */
.privacy {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding: 88px 0;
}

.privacy-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

.privacy-body strong { color: var(--ink); }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.site-footer nav a:hover { color: var(--accent); }

.footer-year {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ Mobile ============ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .value-block.offset { margin-top: 0; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 0 72px; }
  .steps, .values, .privacy { padding: 64px 0; }
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .privacy-inner { grid-template-columns: 1fr; gap: 24px; }
  .step-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .form-card { padding: 28px 20px; }
  .status-badge { display: none; }
}
