/* EditorLoop - shared styles for editorloop.com
   Plain CSS, system fonts, no external requests.
   After changing this file, raise the ?v= number in every <link rel="stylesheet">
   (one search-and-replace), because /assets/ is cached for a year. */

:root {
  --ink: #16181d;
  --text: #2b2f38;
  --muted: #555c69;
  --paper: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --line: #e3ded3;
  --line-strong: #cbc4b5;
  --accent: #0d6b5b;
  --accent-strong: #08503f;
  --accent-soft: #e3f1ec;
  --warm: #b4470f;
  --warm-soft: #fbeee4;
  --gold: #ffcf70;
  --focus: #0d6b5b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .05), 0 12px 32px -14px rgba(22, 24, 29, .22);
  --wrap: 1140px;
  --gutter: 24px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -.012em;
}

h1 { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.005em; }

p, ul, ol, dl { margin: 0 0 1em; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--surface-2);
  padding: .1em .35em;
  border-radius: 4px;
}

strong { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover { color: var(--ink); }

.brand-mark { display: block; width: 32px; height: 32px; flex-shrink: 0; }

.brand-name {
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1;
}

.brand-name span { color: var(--accent); }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 550;
  font-size: .98rem;
  text-decoration: none;
}

.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-strong); color: #fff; }

.button-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); color: var(--ink); background: var(--surface); }

.button-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.button-block { display: flex; width: 100%; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* ---------- Shared section parts ---------- */

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  line-height: 1.4;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow a { color: inherit; }

.lede {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .lede { color: var(--muted); }

.note { color: var(--muted); font-size: .95rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.check-list, .plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li { margin-bottom: 6px; }

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .38em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: calc(.38em + 4px);
  width: 4px;
  height: 7px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { max-width: 620px; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .97rem;
  color: var(--muted);
}

.hero-points li { position: relative; padding-left: 20px; }

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--warm);
}

/* Illustration of a draft in the review inbox (HTML/CSS only) */
.review-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rc-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 650;
  color: var(--muted);
}

.rc-pill {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--warm-soft);
  color: var(--warm);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.rc-body { padding: 20px 20px 6px; }

.rc-line {
  display: block;
  height: 10px;
  margin-bottom: 9px;
  border-radius: 6px;
  background: var(--surface-2);
}

.rc-line.title { height: 16px; width: 88%; background: #d9d3c6; margin-bottom: 12px; }
.rc-line.title2 { height: 16px; width: 56%; background: #d9d3c6; margin-bottom: 18px; }
.rc-line.w90 { width: 92%; }
.rc-line.w70 { width: 72%; }

.rc-checks {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.rc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  line-height: 1.4;
}

.rc-checks li:last-child { border-bottom: 0; }

.rc-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.rc-checks .rc-label { font-weight: 650; color: var(--ink); }
.rc-checks .rc-detail { color: var(--muted); }

.rc-actions {
  display: flex;
  gap: 8px;
  padding: 14px 20px 18px;
  background: var(--surface);
}

.rc-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-size: .85rem;
  font-weight: 650;
  color: var(--ink);
}

.rc-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.review-card figcaption {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- How it works ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 24px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 750;
  font-size: .95rem;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 41px;
  right: -13px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line-strong);
  border-right: 2px solid var(--line-strong);
  transform: rotate(45deg);
}

.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: .95rem; color: var(--muted); }

.step-you { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.step-you::before { background: var(--accent); color: #fff; }

.step-tag {
  position: absolute;
  top: 26px;
  right: 16px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.loop-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink);
}

.loop-note svg { flex-shrink: 0; }
.loop-note p { margin: 0; }

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.section-alt .card,
.section-alt .step { background: var(--paper); }

.feature {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 22px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature > p { color: var(--muted); }
.feature .check-list { font-size: .95rem; }

.also {
  margin-top: 28px;
  padding: 22px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
}

.also p { margin: 0; }

/* ---------- Audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audience h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; }
.audience p { color: var(--muted); }
.audience .check-list { font-size: .95rem; }

.aside-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-badge.alt { background: var(--ink); }

.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }

.plan-price {
  margin: 12px 0 2px;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}

.plan-billing { margin-bottom: 18px; color: var(--muted); font-size: .95rem; }

.plan .check-list { flex-grow: 1; margin-bottom: 22px; font-size: .95rem; }
.plan .check-list li { margin-bottom: 8px; }

.plan-foot { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

.plans-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 26px;
  color: var(--muted);
  font-size: .95rem;
}

.plans-note strong { color: var(--ink); }

/* Comparison table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: .97rem;
}

.compare caption { padding: 16px 20px 0; text-align: left; color: var(--muted); font-size: .9rem; }

.compare th, .compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
}

.compare tbody th { font-weight: 650; color: var(--ink); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .featured-col { background: var(--accent-soft); }

/* ---------- Requirements ---------- */

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.req-grid h3 { margin-bottom: 14px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 860px; }

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.08rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list summary:hover { color: var(--accent); }

.faq-answer { padding: 0 0 18px; color: var(--text); max-width: 760px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Call to action band ---------- */

.cta-band {
  padding: 80px 0;
  background: var(--ink);
  color: #e9e7e1;
}

.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { max-width: 640px; color: #d4d1c9; }
.cta-band a { color: #fff; }
.cta-band :focus-visible { outline-color: var(--gold); }
.cta-band .button-primary { background: var(--gold); color: var(--ink); }
.cta-band .button-primary:hover { background: #ffe0a3; color: var(--ink); }
.cta-band .button-secondary { border-color: #6b6f78; color: #fff; }
.cta-band .button-secondary:hover { border-color: #fff; background: transparent; color: #fff; }
.cta-band .note-light { margin: 24px 0 0; font-size: .95rem; }

/* ---------- Inner pages ---------- */

.page-intro { padding: 64px 0 40px; }
.page-intro h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); max-width: 860px; }
.page-intro .lede { max-width: 720px; color: var(--muted); }
.page-intro + .section-tight { padding-top: 16px; }

.updated {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--surface-2); color: var(--ink); }
.prose .table-scroll { margin: 0 0 1.2em; }
.prose .table-scroll table { margin: 0; min-width: 540px; }
.prose .table-scroll tbody tr:last-child td { border-bottom: 0; }

.prose-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  font-size: .93rem;
}

.toc p { margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }

.seller {
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.seller p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

.numbered {
  counter-reset: num;
  margin: 0;
  padding: 0;
  list-style: none;
}

.numbered > li {
  counter-increment: num;
  position: relative;
  padding: 0 0 22px 52px;
}

.numbered > li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 750;
}

.numbered > li:last-child { padding-bottom: 0; }
.numbered strong { display: block; color: var(--ink); }

/* ---------- Buy page ---------- */

.chosen {
  margin-bottom: 32px;
  padding: 28px;
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  border-radius: var(--radius);
  background: var(--surface);
}

.chosen[hidden] { display: none; }

.chosen-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
}

.chosen-head h2 { margin: 0; font-size: 1.9rem; }
.chosen-price { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.chosen-summary { margin: 8px 0 0; color: var(--muted); }

.licence-list { margin: 0; padding: 0; list-style: none; }

.licence-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: center;
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.licence-row.is-chosen { border-color: var(--accent); background: var(--accent-soft); }

.licence-name { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.licence-detail { margin: 2px 0 0; color: var(--muted); font-size: .93rem; }

.mail-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.mail-address {
  display: inline-block;
  margin: 4px 0 18px;
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  font-size: .95rem;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: start;
}

.footer-brand p { margin: 0 0 6px; }
.footer-brand .footer-name { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.footer-brand .footer-name a { color: var(--ink); }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a { color: var(--text); }

.copyright {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- 404 ---------- */

.not-found { padding: 96px 0; }
.not-found .lede { color: var(--muted); max-width: 620px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3)::after { display: none; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}

@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .audience-grid { grid-template-columns: minmax(0, 1fr); }
  .prose-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 4px 16px; border-left: 0; }
  .toc a { padding: 2px 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  body { font-size: 1rem; }
  .header-inner { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .brand { min-height: 44px; }
  .header-buy { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 4px 0 0; }
  .site-nav ul { justify-content: space-between; gap: 0; }
  .site-nav a { padding: 10px 8px; font-size: .95rem; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .hero-points { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .req-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .licence-row { grid-template-columns: minmax(0, 1fr); }
  .licence-row .button { justify-self: start; }
  .page-intro { padding: 44px 0 28px; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .header-buy { padding: 8px 14px; min-height: 40px; font-size: .92rem; }
  .brand-name { font-size: 1.15rem; }
  .brand-mark { width: 28px; height: 28px; }
  .card, .feature { padding: 22px 18px; }
  .plan { padding: 26px 18px 20px; }
  .chosen, .mail-card { padding: 22px 18px; }
  .button-row .button { width: 100%; }
}

@media print {
  .site-header, .site-footer, .skip-link, .cta-band { display: none; }
  body { background: #fff; }
}
