/* slopit.io homepage only ("Ledger", design-a.html, NJ 24 Nov 2026).
   The other landing pages keep style.css. */

:root {
  --paper: #fbfaf7;
  --panel: #ffffff;
  --ink: #111110;
  --ink-2: #55534d;
  --ink-3: #6f6c64;
  --rule: #e3e0d8;
  --rule-strong: #111110;
  --orange: #ff5a1f;
  --orange-text: #b83a0a;
  --wash: #f3f1ea;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Helvetica, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- nav ---------- */
.nav {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  z-index: 10;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.045em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  flex: none;
}
.wordmark i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  margin-left: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
}
/* "For agents" on desktop, "Agents" on phones. */
.ed-nav-short {
  display: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.01em;
  padding: 16px 22px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn-primary .arr {
  color: var(--orange);
  transition:
    transform 0.15s ease,
    color 0.15s ease;
}
.btn-primary:hover .arr {
  color: var(--ink);
  transform: translateX(3px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.nav .btn {
  padding: 11px 16px;
  font-size: 14px;
}
.nav-links a.btn-primary {
  color: #fff;
}
.nav-links a.btn-primary:hover {
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 120px) 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
h1 {
  grid-column: 1 / span 8;
  font-weight: 600;
  font-size: clamp(40px, 6.3vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-side {
  grid-column: 9 / -1;
  padding-bottom: 8px;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 26px;
  line-height: 1.5;
  text-wrap: pretty; /* no one-word last line ("first.") on phones */
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-ctas .btn {
  width: 100%;
  justify-content: space-between;
}

/* ---------- results panel (static example layout) ---------- */
.results {
  margin-top: clamp(48px, 7vw, 88px);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  box-shadow: 10px 10px 0 var(--wash);
}
.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
}
.panel-bar .site {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.panel-bar .mono {
  white-space: nowrap;
}
.panel-bar .site span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.panel-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 24px 20px 22px;
  border-right: 1px solid var(--rule);
}
.stat:last-child {
  border-right: 0;
}
.stat .num {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 14px;
}
.stat .num small {
  font-size: 0.45em;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 4px;
}
.ai-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-top: 26px;
}
.tick {
  width: 14px;
  height: 14px;
  flex: none;
}
.sk {
  display: block;
  height: 9px;
  border-radius: 2px;
  background: var(--wash);
}
.sk + .sk {
  margin-top: 7px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.col {
  padding: 20px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.col:last-child {
  border-right: 0;
}
.col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.item {
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.item-title {
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.item-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink-2);
}
.pill.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pill.wait {
  border-color: var(--orange);
  color: var(--orange-text);
}
.item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mini {
  font: 600 13px/1 var(--sans);
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.mini.fill {
  background: var(--ink);
  color: #fff;
}
.panel-note {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-3);
  max-width: 70ch;
}

/* ---------- numbered sections ---------- */
section.block {
  padding: clamp(72px, 10vw, 136px) 0 0;
}
.sec {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}
.sec-label {
  grid-column: 1 / span 3;
}
.sec-label b {
  color: var(--orange-text);
  font-weight: 500;
  margin-right: 10px;
}
.sec-body {
  grid-column: 4 / -1;
  min-width: 0;
}
h2 {
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 20ch;
}

/* ---------- proof: Google's AI answers (first, with the screenshot) + Google search ---------- */
.proofs {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 40px;
  align-items: start;
}
.proof {
  min-width: 0;
}
.proof + .proof {
  padding-left: 40px;
  border-left: 1px solid var(--rule);
}
/* "Mara Hilltop, a safari lodge in the Masai Mara  See their blog live →" */
.proof-top {
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.proof-blog {
  display: inline-block;
  margin-left: 10px;
  color: var(--orange-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}
.proof-blog span {
  display: inline-block;
  transition: transform 0.15s ease;
}
.proof-blog:hover span {
  transform: translateX(3px);
}
.proof-kicker {
  margin-bottom: 12px;
}
/* The two big numbers: the same size as the section H2s, on both sides. */
.proof-num {
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  box-shadow: inset 0 -0.08em 0 var(--orange);
  display: inline-block;
}
.proof-what {
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.proof-note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.proof-search .proof-links {
  margin-top: 20px;
}
.gsc-shot {
  margin: 18px 0 0;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 10px;
}
.gsc-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.proof-source {
  margin-top: 14px;
}
.proof-links {
  display: grid;
}
.proof-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.proof-links a:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.proof-links a span {
  color: var(--orange-text);
  transition: transform 0.15s ease;
}
.proof-links a:hover span {
  transform: translateX(4px);
}
.proof-links .mono {
  margin-top: 14px;
}

/* ---------- how it works: "the studio" animation (anim-studio.html) ----------
   One SVG, two layouts (desktop row, phone column, switched at 760px by the
   script in index.html). Ported from docs/plans/2026-11-24-how-it-works-studio-mockup.html.
   Everything is scoped to #how: the prototype's class names are short. */
#how .stage {
  --slop: #aaa69c;
  grid-column: 1 / -1;
  margin-top: 40px;
  background: var(--panel);
  border: 1px solid var(--ink);
  border-radius: 3px;
  box-shadow: 10px 10px 0 var(--wash);
}
#how .an {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 1128 / 424; /* the desktop viewBox: no layout shift before the script */
}
#how .an * {
  vector-effect: non-scaling-stroke;
}
#how .k {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#how .f {
  fill: var(--panel);
}
#how .p {
  fill: var(--paper);
}
#how .g {
  stroke: var(--slop);
}
#how .o {
  stroke: var(--orange);
}
#how .h {
  stroke: var(--rule);
}
#how .q {
  stroke: var(--ink-3);
}
#how .b {
  stroke-width: 3;
}
#how .od {
  fill: var(--orange);
}
#how .an .lad {
  vector-effect: none;
  stroke-width: 7;
  stroke-dasharray: 1.5 5;
  stroke-linecap: butt;
}
#how .m {
  font: 500 12px var(--mono);
  fill: var(--ink);
}
#how .sl {
  font: 500 10px var(--mono);
  letter-spacing: 0.18em;
  fill: var(--ink-2);
  text-anchor: middle;
}
#how .lt {
  font: 600 17px var(--sans);
  letter-spacing: -0.015em;
  fill: var(--ink-3);
  text-anchor: middle;
  transition: fill 0.35s;
}
#how .on .lt,
#how .st .lt {
  fill: var(--ink);
}
#how .lab line {
  stroke-linecap: butt;
}
#how .st .lab line {
  display: none;
}
#how .wm {
  font: 800 17px var(--sans);
  letter-spacing: -0.045em;
  fill: var(--ink);
}
/* Research first (revised): the search bar, its question bubbles, the small
   pinned "YOUR FACTS" card and the dotted line checking the page against it. */
#how .pn {
  fill: var(--ink-3);
}
#how .an .fd {
  stroke-dasharray: 2 4;
}
#how .fx {
  font: 500 8.5px var(--mono);
  letter-spacing: 0.14em;
  fill: var(--ink-3);
}
#how .qy {
  font: 500 13px var(--sans);
  fill: var(--ink);
}
#how .qt {
  font: 500 11.5px var(--sans);
  fill: var(--ink-2);
  text-anchor: middle;
}
#how .how-sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 18px;
  max-width: 46ch;
}
#how .after {
  grid-column: 4 / -1;
  min-width: 0;
}

.results-line {
  margin-top: 28px;
  color: var(--ink-2);
  max-width: 64ch;
}
.built {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
}
.built p {
  font-weight: 600;
  letter-spacing: -0.015em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.chips li {
  font-family: var(--mono);
  font-size: 13px;
  padding: 7px 11px;
  background: var(--wash);
  border-radius: 2px;
}

/* ---------- pricing (cards rendered from src/editorial/offer.ts) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.plan {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan:first-child {
  padding-left: 0;
}
.plan:last-child {
  border-right: 0;
  padding-right: 0;
}
.plan.hot {
  background: var(--panel);
  box-shadow: inset 0 3px 0 var(--orange);
}
.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 24px;
}
.plan-name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.plan .amt {
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 22px 0 16px;
}
.plan .amt small {
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}
/* Holiday launch price: a label over the price, the future regular price
   under it. Free carries empty slots of the same height so the prices line up. */
.plan .launch-tag {
  margin: 22px 0 0;
  min-height: 16px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.06em;
  color: var(--orange-text);
}
.plans.is-launch .plan .amt {
  margin: 8px 0 10px;
}
.plan .launch-note {
  min-height: 4.35em; /* three lines at desktop widths, so Free lines up */
  margin-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}
/* Checkout mode: the first-post guarantee under each paid price. */
.plan .refund-note {
  min-height: 1.45em;
  margin: -6px 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.plan .desc {
  color: var(--ink-2);
  min-height: 4.7em;
}
.plan ul {
  list-style: none;
  margin: 18px 0 30px;
}
.plan li {
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  font-size: 15.5px;
}
.plan .btn {
  margin-top: auto;
  justify-content: space-between;
}
.fine {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 18px;
}

/* ---------- agents (inside the pricing section) ---------- */
.agents {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  align-items: start;
  scroll-margin-top: 80px;
}
.agents h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.agents p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-top: 8px;
}
.agents p a {
  color: var(--ink);
}
.prompt-box {
  background: var(--ink);
  color: #f4f2ec;
  padding: 20px 22px;
  border-radius: 3px;
  min-width: 0;
}
.prompt-label {
  font-family: var(--mono);
  color: #a19d93;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.prompt-label.is-done {
  color: var(--orange);
}
.prompt-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.prompt-text {
  display: block;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-text u {
  color: var(--orange);
  text-decoration: none;
}
.copy-btn {
  background: transparent;
  color: #f4f2ec;
  border-color: #4a4843;
  padding: 10px 14px;
  font-size: 14px;
}
.copy-btn:hover {
  border-color: #f4f2ec;
}

/* ---------- faq ---------- */
.faq {
  margin-top: 36px;
}
.faq div {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.faq div:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq dt {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq dd {
  color: var(--ink-2);
  max-width: 52ch;
}

/* ---------- closing band ---------- */
.closer {
  margin-top: clamp(80px, 11vw, 150px);
  background: var(--ink);
  color: #fff;
}
.closer .wrap {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.closer h2 {
  grid-column: 1 / span 8;
  font-size: clamp(44px, 7.4vw, 108px);
  letter-spacing: -0.05em;
  line-height: 1.02;
  max-width: none;
}
/* The pen circle around "SlopIt". Its own inline-block with room above and
   below, so the stroke never reaches the line before or after. */
.circled {
  position: relative;
  display: inline-block;
  padding: 0 0.06em;
  /* At least the circle's overhang (below) on every side. */
  margin: 0.22em 0.1em 0.16em;
}
.circled svg {
  position: absolute;
  left: -0.09em;
  top: -0.16em;
  width: calc(100% + 0.18em);
  height: calc(100% + 0.28em);
  overflow: visible;
  pointer-events: none;
}
.circled path {
  fill: none;
  stroke: var(--orange);
  stroke-width: clamp(2px, 0.32vw, 4px);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.closer-side {
  grid-column: 9 / -1;
}
.closer-side p {
  color: #c9c6bd;
  margin-bottom: 22px;
  font-size: 18px;
}
.closer .btn {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  width: 100%;
  justify-content: space-between;
}
.closer .btn:hover {
  background: #fff;
  border-color: #fff;
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: #c9c6bd;
  border-top: 1px solid #2c2b28;
}
footer .wrap {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
footer .wordmark {
  color: #fff;
  font-size: 18px;
  margin-right: 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer nav a {
  text-decoration: none;
  color: #c9c6bd;
}
footer nav a:hover {
  color: #fff;
}
/* Two link columns (src/site-chrome.ts): the guides, then the site links. */
footer .wrap.foot {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px 40px;
  align-items: start;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px 40px;
}
footer nav.foot-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 20px;
  align-content: start;
}
footer nav.foot-col[aria-label='Footer'] {
  grid-template-columns: 1fr 1fr;
}
footer .foot-col .mono {
  grid-column: 1 / -1;
  color: #8f8b81;
  margin-bottom: 4px;
}

/* ---------- homepage: links to the full pricing and the case study ---------- */
.more-link {
  margin-top: 22px;
  font-weight: 600;
}
.more-link a {
  color: var(--orange-text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- guide pages (src/site-pages.ts) ---------- */
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--rule);
}
.crumbs a {
  color: var(--ink-2);
}
.guide-hero {
  padding: clamp(40px, 6vw, 88px) 0 0;
}
.guide-hero h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.02;
  max-width: 18ch;
  margin-top: 14px;
}
.guide-hero .lede {
  margin-top: 24px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.guide section.block {
  padding-top: clamp(56px, 7vw, 96px);
}
.prose > * + *,
.prose .qa > * + * {
  margin-top: 16px;
}
.prose h2 {
  max-width: 24ch;
}
.sec-body > .fine + .prose {
  margin-top: 56px;
}
.prose h2 + .answer {
  margin-top: 18px;
}
.prose * + h2 {
  margin-top: 56px;
}
.prose p,
.prose li {
  max-width: 68ch;
  text-wrap: pretty;
}
.prose .answer {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}
.prose a:not(.btn) {
  color: var(--orange-text);
}
.prose .src {
  font-size: 14px;
  color: var(--ink-3);
}
.prose .src a {
  color: var(--ink-2);
}
.qa h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.qa h3 + .answer {
  margin-top: 8px;
  font-size: 17px;
  color: var(--ink-2);
}
.prose .qa {
  margin-top: 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.prose .cta-row {
  margin-top: 28px;
}
.guide-hero .cta-row .btn,
.prose .cta-row .btn {
  white-space: normal;
}
.step-list {
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--rule);
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 44px;
  border-bottom: 1px solid var(--rule);
  max-width: none;
}
.step-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 17px;
  font: 500 12px/1 var(--mono);
  color: var(--orange-text);
}
.prose .step-list li + li {
  margin-top: 0;
}

/* Comparison tables: real <table>s; on phones each row turns into a card. */
.table-wrap {
  margin-top: 28px;
  max-width: 100%;
  overflow-x: auto;
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.45;
  background: var(--panel);
}
.cmp th,
.cmp td {
  text-align: left;
  vertical-align: top;
  padding: 13px 14px;
  border-bottom: 1px solid var(--rule);
}
.cmp thead th {
  font: 500 12px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule-strong);
}
.cmp tbody th {
  font-weight: 600;
  width: 30%;
}
.cmp td:nth-child(2) {
  background: #fff8f4;
}
.cmp small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-2);
}
.cmp .yes {
  font-weight: 600;
}
.cmp a {
  color: var(--orange-text);
}

/* Case study: the three numbers, the bar chart, the screenshot. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--rule-strong);
}
.stat-row div {
  padding: 18px 20px 0 0;
}
.stat-row div + div {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}
.stat-row dd {
  color: var(--ink-2);
  font-size: 15px;
}
.stat-row .big {
  display: block;
  margin: 8px 0 6px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
}
.bars {
  margin-top: 32px;
  max-width: 520px;
}
.bars-plot {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 220px;
  border-bottom: 1px solid var(--rule-strong);
}
.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.bar {
  display: block;
  width: 56%;
  background: var(--ink);
  border-radius: 4px 4px 0 0;
}
.bar-col:last-child .bar {
  background: var(--orange);
}
.bar-val {
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.bar-labels {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}
.bar-labels span {
  flex: 1;
  text-align: center;
}
.bars figcaption,
.shot-wide figcaption,
.email-sample figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-3);
  max-width: 60ch;
}
.gsc-shot.shot-wide {
  margin-top: 28px;
}
.gsc-shot img {
  max-width: 100%;
  height: auto;
}
.post-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.post-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  max-width: none;
}
.prose .post-list li + li {
  margin-top: 0;
}
.post-list a {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
}
.prose .post-list a {
  color: var(--ink);
}
.post-list a:hover {
  color: var(--orange-text);
}
.post-list p {
  margin-top: 6px;
  color: var(--ink-2);
}
.post-list p.mono {
  margin: 0 0 6px;
}
.sources {
  padding-left: 20px;
  font-size: 15.5px;
}
.sources li + li {
  margin-top: 8px;
}

/* /samples: the engine's own email, framed as an email. */
.email-sample {
  margin-top: 28px;
  max-width: 600px;
}
.email-tag {
  color: var(--orange-text);
  margin-bottom: 10px;
}
.email-head,
.email-body {
  background: var(--panel);
  border: 1px solid var(--rule);
  padding: 16px 20px;
}
.email-head {
  border-bottom: 0;
  font-size: 15px;
}
.email-head p {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: baseline;
}
.email-head p + p {
  margin-top: 4px;
}
.email-body {
  box-shadow: 6px 6px 0 var(--wash);
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1a1a1a;
  overflow-wrap: anywhere;
}
.email-body p + p {
  margin-top: 14px;
}
.email-link {
  color: #1a5fb4;
  text-decoration: underline;
}

/* The closing band's line, as on the homepage (a <p> here: not a question H2). */
.closer .closer-h {
  grid-column: 1 / span 8;
  font-weight: 600;
  font-size: clamp(44px, 7.4vw, 108px);
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- load motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .rise.d1 {
    animation-delay: 0.08s;
  }
  .rise.d2 {
    animation-delay: 0.16s;
  }
  .rise.d3 {
    animation-delay: 0.28s;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ---------- smaller screens ---------- */
@media (max-width: 760px) {
  #how .an {
    aspect-ratio: 350 / 924;
  }
  #how .stage {
    box-shadow: 6px 6px 0 var(--wash);
    margin-top: 32px;
  }
}
@media (max-width: 980px) {
  #how .after {
    grid-column: 1 / -1;
  }
  h1 {
    grid-column: 1 / -1;
  }
  .hero-side {
    grid-column: 1 / -1;
    margin-top: 28px;
    max-width: 520px;
  }
  .sec-label {
    grid-column: 1 / -1;
    margin-bottom: 22px;
  }
  .sec-body {
    grid-column: 1 / -1;
  }
  .closer h2,
  .closer .closer-h,
  .closer-side {
    grid-column: 1 / -1;
  }
  footer .wrap.foot {
    grid-template-columns: 1fr;
  }
  .closer-side {
    margin-top: 32px;
    max-width: 520px;
  }
  /* The two proof points stack; the second gets a rule above instead of beside. */
  .proofs {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .proof + .proof {
    padding-left: 0;
    border-left: 0;
    padding-top: 36px;
    border-top: 1px solid var(--rule);
  }
  .plans {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .plan,
  .plan:first-child,
  .plan:last-child {
    padding: 28px 0 32px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .plan.hot {
    padding: 28px 20px 32px;
    margin: 0 -20px;
  }
  .plan .desc {
    min-height: 0;
  }
  /* Stacked cards don't need Free's empty launch slots. */
  .plan .launch-tag:empty,
  .plan .launch-note:empty,
  .plan .refund-note:empty {
    display: none;
  }
  .plans.is-launch .plan-free .amt {
    margin-top: 22px;
  }
  .plan .launch-note {
    min-height: 0;
  }
  /* Phones and tablets: the paid plans first (SLO-23 review). */
  .plan-growth {
    order: 1;
  }
  .plan-studio {
    order: 2;
  }
  .plan-free {
    order: 3;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav-desk {
    display: none;
  }
  .nav-links {
    gap: 18px;
  }
  .ed-nav-long {
    display: none;
  }
  .ed-nav-short {
    display: inline;
  }
  .panel {
    box-shadow: 6px 6px 0 var(--wash);
  }
  .panel-top {
    grid-template-columns: 1fr 1fr;
  }
  .stat.ai {
    grid-column: 1 / -1;
    border-top: 1px solid var(--rule);
    border-right: 0;
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .ai-row {
    margin-top: 12px;
  }
  .cols {
    grid-template-columns: 1fr;
  }
  .col {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .col:last-child {
    border-bottom: 0;
  }
  .built,
  .agents,
  .faq div {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .foot-cols {
    grid-template-columns: 1fr;
  }
  .guide-hero .lede,
  .prose .answer {
    font-size: 17.5px;
  }
  .stat-row {
    grid-template-columns: 1fr;
  }
  .stat-row div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--rule);
    margin-top: 18px;
  }
  /* Tables: each row becomes a small card, the column names repeated inline. */
  .table-wrap {
    overflow-x: visible;
  }
  table.cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
    width: 100%;
  }
  .cmp thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .cmp tr {
    border-top: 1px solid var(--rule-strong);
    padding: 4px 0 10px;
  }
  .cmp tbody th {
    width: 100%;
    border-bottom: 0;
    padding: 10px 0 4px;
  }
  .cmp td {
    border-bottom: 0;
    padding: 6px 12px;
  }
  .cmp td::before {
    display: block;
    font: 500 11px/1.4 var(--mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-3);
    margin-bottom: 2px;
  }
  .cmp td:nth-child(2)::before {
    content: var(--col-a, 'SlopIt');
  }
  .cmp td:nth-child(3)::before {
    content: var(--col-b, '');
  }
}
/* Small phones: Pricing, Agents and the CTA still fit on one line. */
@media (max-width: 400px) {
  .nav .wrap {
    gap: 8px;
  }
  .nav-links {
    gap: 12px;
    font-size: 14px;
  }
  .wordmark {
    font-size: 20px;
  }
  .nav .btn {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}
@media (max-width: 350px) {
  .wrap {
    padding: 0 14px;
  }
  /* The highlighted card bleeds to the edge of the 14px gutter, not past it. */
  .plan.hot {
    padding-left: 14px;
    padding-right: 14px;
    margin: 0 -14px;
  }
  .nav-links {
    gap: 10px;
    font-size: 13px;
  }
  .wordmark {
    font-size: 18px;
  }
  .nav .btn {
    padding: 9px 9px;
    font-size: 13px;
  }
}
