:root {
  --bg: #F4EFE3;
  --panel: #FFFDF8;
  --ink: #1C2B26;
  --muted: #5E6B63;
  --accent: #065F46;
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  --btn-ink: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, Cambria, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header { padding: 56px 0 8px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.brand b {
  font-size: 25px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.14;
  margin: 30px 0 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.lede { font-size: 20px; color: var(--muted); margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 8px; }
.buy {
  background: var(--accent);
  color: var(--btn-ink);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 9px;
  display: inline-block;
}
.buy:hover { filter: brightness(1.08); }
.second {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.second:hover { border-bottom-color: var(--accent); }
main a:not(.buy):not(.second):not(.nav-cta) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
section { padding: 40px 0; border-top: 1px solid var(--line); margin-top: 34px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 18px; margin: 18px 0 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 15px; opacity: 0.82; }
.nav-links a:hover { opacity: 1; }
.nav-links a.nav-cta { opacity: 1; }
.nav-cta {
  background: var(--accent); color: var(--btn-ink) !important;
  padding: 9px 16px; border-radius: 8px; font-weight: 700; font-size: 15px;
}
.hero { border-top: 0; margin-top: 0; padding-top: 26px; text-align: center; }
.hero .cta { justify-content: center; }
.pill {
  display: inline-block; margin: 0 0 22px; padding: 7px 15px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
h1 em { color: var(--accent); font-style: normal; }
.eyebrow {
  margin: 0 0 8px; color: var(--accent);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
}
.steps, .items { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.items { grid-template-columns: repeat(2, 1fr); }
.step, .items .item {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; margin: 0;
}
.num { color: var(--accent); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.pending { cursor: default; opacity: 0.55; }
.tier.paid { border-color: var(--accent); }
.demo {
  margin: 40px auto 0; max-width: 780px; text-align: left;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.demo-head {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.demo-head i {
  width: 11px; height: 11px; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
}
.demo-url {
  margin-left: 10px; color: var(--muted); font-size: 12.5px;
  font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, monospace;
}
.demo-tabs { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 16px 0; }
.tab {
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line);
}
.tab.on {
  color: var(--btn-ink); background: var(--accent);
  border-color: var(--accent);
}
.demo-body { padding: 16px; }
.demo-panel { display: none; }
.demo-panel.on { display: block; }
.tab {
  font-family: inherit;
  cursor: pointer;
  background: transparent;
}
.tab:hover { color: var(--ink); }
.tab.on:hover { color: var(--btn-ink); }
.out-row.quiet {
  grid-template-columns: auto 1fr;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border-color: var(--line);
}
.demo-in {
  padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.55;
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid var(--line);
}
.demo-in .dim { color: var(--muted); }
.demo-in u { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.demo-arrow { text-align: center; color: var(--muted); padding: 9px 0; font-size: 18px; }
.demo-out { display: flex; flex-direction: column; gap: 8px; }
.demo-after {
  padding: 14px 16px; border-radius: 10px; font-size: 15px; line-height: 1.55;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.demo-in .was {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: color-mix(in srgb, var(--muted) 60%, transparent);
}
.demo-after .now {
  color: var(--accent); font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.demo-cap { margin: 10px 2px 0; color: var(--muted); font-size: 13.5px; }
.demo-note { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 12.5px; }
.out-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline;
  padding: 11px 14px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.out-label { font-weight: 700; font-size: 14px; }
.out-detail { color: var(--muted); font-size: 14px; }
.out-value { color: var(--accent); font-weight: 700; font-size: 13.5px; font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 560px) {
  .out-row { grid-template-columns: 1fr; gap: 3px; }
}
h2 { font-size: 24px; margin: 0 0 18px; font-weight: 700; }
h3 { font-size: 18px; margin: 0 0 6px; }
.item { margin: 0 0 22px; }
.item p { margin: 0; color: var(--muted); }
ul { padding-left: 20px; color: var(--muted); }
li { margin: 7px 0; }
.tiers { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.hero h1 { max-width: 860px; margin-left: auto; margin-right: auto; }
.hero .lede { margin-left: auto; margin-right: auto; max-width: 620px; }
/* The line under the hero button: centred as a box, not only as text, or the
   max-width on section notes pins it left of the button on wide screens. */
.hero > .note { margin-left: auto; margin-right: auto; }
.hero .works {
  margin: -12px auto 28px; max-width: 620px; padding: 12px 16px;
  font-size: 15px; line-height: 1.55; color: var(--ink); text-align: left;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.hero .works b { color: var(--accent); }
section > h2, section > .eyebrow, section > .note { max-width: 860px; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.tier h3 { margin-bottom: 8px; }
.tier p { margin: 0; color: var(--muted); font-size: 16px; }
.key { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
footer { padding: 40px 0 64px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); margin-top: 40px; }
footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer a:hover { text-decoration-thickness: 2px; }
code { font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.legal h2 { margin-top: 30px; }
.legal p, .legal li { color: var(--muted); }
@media (max-width: 720px) {
  .steps, .items { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
