/* SKU Profit — test-environment waitlist page */
:root {
  --ink: #1a2418;
  --ink-soft: #3d4a38;
  --muted: #5e6b59;
  --line: #d8d2c6;
  --line-strong: #c4bdb0;
  --paper: #f4f0e8;
  --paper-2: #ebe6db;
  --card: #fffcf7;
  --green: #1f7a4d;
  --green-dark: #165a39;
  --green-soft: #e4f2ea;
  --warn: #8a3b16;
  --focus: #1f7a4d;
  --shadow: 0 1px 2px rgba(26, 36, 24, 0.06), 0 8px 24px rgba(26, 36, 24, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Consolas", "Liberation Mono", Menlo, monospace;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.mark {
  width: 28px;
  height: 28px;
  flex: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--green-dark); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 16px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 20px;
}
.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 38em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 7px;
  background: var(--green);
  color: #fff !important;
}
.btn:hover { background: var(--green-dark); }
.btn:focus-visible, .nav-cta:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.fine {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Sample card */
.sample {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sample-label {
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.sample table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sample th, .sample td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.sample th { font-size: 11px; font-weight: 650; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.sample tr:last-child td { border-bottom: 0; }
.neg { color: var(--warn); font-weight: 650; }
.pos { color: var(--green-dark); font-weight: 650; }
.sku { font-family: var(--mono); font-size: 12px; }

/* Sections */
section { padding: 64px 0; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-lead { color: var(--ink-soft); margin: 0 0 32px; max-width: 40em; }

.pain { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #efeae0; }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.pain ul { margin: 12px 0 0; padding: 0 0 0 1.15em; color: var(--ink-soft); }
.pain li { margin: 0 0 8px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.feature-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 650;
  margin: 0 0 12px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.step {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step-index {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.arrow { color: var(--muted); font-weight: 600; }

/* Pricing */
.pricing {
  background: var(--ink);
  color: var(--paper);
}
.pricing .section-title { color: var(--paper); }
.pricing-card {
  max-width: 560px;
  border: 1px solid rgba(244, 240, 232, 0.18);
  border-radius: 12px;
  padding: 28px;
  background: rgba(255, 252, 247, 0.04);
}
.price-line {
  font-family: var(--serif);
  font-size: 1.85rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.price-early {
  font-weight: 650;
  color: #c9e8d6;
  margin: 0 0 12px;
}
.pricing p { color: rgba(244, 240, 232, 0.82); margin: 0; }
.pricing .price-early { color: #c9e8d6; }
.pricing .btn { background: var(--paper); color: var(--ink) !important; }
.pricing .btn:hover { background: #fff; }

/* Form */
.form-section { background: var(--paper-2); border-top: 1px solid var(--line); }
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
form.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.field { margin: 0 0 16px; }
.field label, .field .label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 0 0 6px;
}
.req { color: var(--green-dark); }
.optional { font-weight: 500; color: var(--muted); }
input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 84px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.status {
  display: none;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14.5px;
}
.status.ok { display: block; background: var(--green-soft); color: var(--green-dark); }
.status.err { display: block; background: #f8e6de; color: var(--warn); }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 4px; color: var(--ink-soft); max-width: 48em; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .hero, .pain-grid, .form-layout, .features-grid, .steps {
    grid-template-columns: 1fr;
  }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .hero { padding-top: 40px; }
  section { padding: 48px 0; }
}

/* Tally embed (static / Cloudflare Pages build only) */
.tally-embed-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 320px;
}
