:root {
  --bg: #fbf7f0;
  --ink: #2b2620;
  --muted: #7a7166;
  --line: #e7ddcf;
  --card: #ffffff;
  --accent: #6b7d52;       /* sage/olive — fiber-arts friendly */
  --accent-ink: #55663f;
  --good: #2f7d5b;
  --sample: #b9772f;       /* highlight the sample row */
  --radius: 14px;
  --maxw: 1040px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: 8px; margin-bottom: 30px; }

.nav { position: sticky; top: 0; background: rgba(251,247,240,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 20; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }

.btn { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; font-size: .95rem; transition: transform .06s ease, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

.hero { padding: 72px 0 56px; }
.hero-inner { max-width: 780px; }
.eyebrow { color: var(--accent-ink); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin: 14px 0 18px; }
.hl { color: var(--accent); font-style: italic; }
.sub { font-size: 1.15rem; color: #4a443c; max-width: 640px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.microcopy { color: var(--muted); font-size: .9rem; }

.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 50px 0; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain span { font-size: 1.8rem; }
.pain h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.pain p { color: var(--muted); font-size: .96rem; }

.demo { padding: 60px 0; }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.tab { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--ink); }
.tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.demo-body { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 24px rgba(107,125,82,.08); }
.sample-note { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; padding: 12px 14px; background: #f6f2e8; border: 1px dashed var(--line); border-radius: 10px; margin-bottom: 18px; font-size: .9rem; }
.sample-note .k { font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.sample-note .g { color: var(--muted); }
.arrow { text-align: center; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 14px; }

.grade-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.grade-table th, .grade-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.grade-table th { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.grade-table td:first-child { font-weight: 600; }
.grade-table tr.is-sample td { background: #fbf2e3; }
.grade-table tr.is-sample td:first-child::after { content: " · sample"; color: var(--sample); font-weight: 600; font-size: .72rem; }
.tablewrap { overflow-x: auto; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 26px; }
.step { text-align: center; }
.step b { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Fraunces", serif; margin-bottom: 10px; }
.step p { color: #4a443c; font-size: .98rem; }
.trust { text-align: center; max-width: 680px; margin: 28px auto 0; color: var(--accent-ink); background: #eef0e6; border: 1px solid #dde2cd; border-radius: 12px; padding: 14px 18px; font-size: .95rem; }

.waitlist { padding: 66px 0; }
.waitlist-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.wl-form { display: flex; gap: 10px; margin: 8px auto 0; max-width: 460px; }
.wl-form input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 1rem; font-family: inherit; }
.wl-form input:focus { outline: none; border-color: var(--accent); }
.wl-note { color: var(--muted); font-size: .85rem; margin-top: 12px; }
.wl-note.ok { color: var(--good); font-weight: 600; }
.wl-note.err { color: #c0392b; font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.muted { color: var(--muted); }

@media (max-width: 720px) {
  .pains, .steps { grid-template-columns: 1fr; }
  .wl-form { flex-direction: column; }
}
