/* ==========================================================================
   paperputty: marketing site
   BEM: .block, .block__element, .block--modifier
   Sections: 1 Fonts & tokens · 2 Base · 3 Shared components · 4 Layout
             5 Home · 6 Features · 7 How it works · 8 Pricing
             9 Case studies · 10 Insights & article · 11 Book a call · 12 404
   ========================================================================== */

/* 1. Fonts & tokens
   ========================================================================== */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/caveat-notes.woff2") format("woff2");
}

:root {
  --c-paper: #faf7f2;
  --c-ink: #0b0b0b;
  --c-ink-hover: #2a2724;
  --c-ink-soft: #1c1b19;
  --c-body: #3a3632;
  --c-muted: #55504a;
  --c-line: #e8e2d9;
  --c-line-strong: #d9d2c7;
  --c-line-dark: #34312d;
  --c-border: #cfc7bb;
  --c-white: #fff;
  --c-stone: #efeae2;
  --c-sand: #ede6de;
  --c-on-dark: #d6d0c7;
  --c-on-dark-muted: #c8c1b6;
  --c-lilac: #c9b4f0;
  --c-lilac-deep: #a893d4;
  --c-lilac-wash: #f1ebfc;
  --c-peach: #ffd6c8;
  --c-sky: #d7e6f7;

  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --f-mono: ui-monospace, Menlo, monospace;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(48px, 6vw, 80px);
  --pill: 999px;
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-ink); text-decoration: none; }
a:hover { color: var(--c-muted); }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 2px; }

/* Controls that only work with JS. The .js class is set inline in <head>
   before first paint, so these never shift the layout when main.js loads. */
html:not(.js) .js-only { display: none !important; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--pill);
  background: var(--c-ink);
  color: var(--c-paper);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--c-paper); }

/* 3. Shared components
   ========================================================================== */

/* Logo */
.logo { display: inline-flex; align-items: baseline; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo__word { font-weight: 800; font-size: clamp(22px, 5vw, 26px); letter-spacing: -0.055em; }
.logo__dot { width: 8px; height: 8px; margin-left: 2px; border-radius: 50%; background: var(--c-lilac); }
.logo--large .logo__word { font-size: 30px; }
.logo--large .logo__dot { width: 9px; height: 9px; }

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 18px 32px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--c-ink);
  color: var(--c-paper);
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.button:hover { background: var(--c-ink-hover); color: var(--c-paper); }
.button--small { padding: 0 20px; font-size: 15px; align-self: auto; }
.button--compact { padding: 16px 28px; font-size: 15px; }
.button--outline { background: transparent; color: var(--c-ink); border-color: var(--c-border); padding: 17px 26px; }
.button--outline:hover { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.button--invert-hover:hover { background: var(--c-paper); color: var(--c-ink); }
.button--soft { background: var(--c-stone); color: var(--c-ink); }
.button--soft:hover { background: var(--c-ink); color: var(--c-paper); }
.button--block { align-self: stretch; min-height: 48px; padding: 0 20px; font-size: 15px; }
.button--ghost {
  padding: 0 18px;
  border-color: var(--c-line-strong);
  background: transparent;
  color: var(--c-ink);
  font-size: 14px;
}
.button--ghost:hover { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }

/* Text link with lilac underline */
.text-link {
  align-self: flex-start;
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
  text-decoration-color: var(--c-lilac);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.text-link--small { font-size: 15px; }
.text-link--tiny { font-size: 14px; }
.text-link--light { color: var(--c-paper); }
.text-link--light:hover { color: var(--c-lilac); }

/* Eyebrow */
.eyebrow {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow--small { font-size: 11px; letter-spacing: 0.28em; }
.eyebrow--on-dark { color: var(--c-on-dark-muted); }
.eyebrow--peach { color: #4a3530; }
.eyebrow--number { text-transform: none; }

/* Headings */
.title {
  font-family: var(--f-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.title--hero { font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.title--page { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.025em; }
.title--section { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; }
.title--block { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.04; }
.title--panel { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.title--cta { font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -0.025em; }

.heading {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.heading--lg { font-size: 28px; letter-spacing: -0.035em; }
.heading--md { font-size: 22px; }
.heading--sm { font-size: 18px; letter-spacing: -0.02em; }

/* Body copy */
.lede {
  max-width: 520px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--c-body);
  text-wrap: pretty;
}
.lede--18 { font-size: 18px; }
.lede--17 { font-size: 17px; }
.lede--wide { max-width: 640px; }
.copy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-body);
  text-wrap: pretty;
}
.copy--on-dark { color: var(--c-on-dark); }
.small-print { font-size: 14px; color: var(--c-muted); }

/* Handwritten note */
.note {
  margin: 0;
  font-family: var(--f-hand);
  font-size: 26px;
  line-height: 1.05;
  color: var(--c-body);
}
.note--tilt { align-self: flex-start; transform: rotate(-5deg); }
.note--badge {
  position: absolute;
  left: 18px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(250, 247, 242, .75);
  color: #2a2e36;
  font-size: 24px;
  transform: rotate(-7deg);
}

/* Chips (pill labels) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--c-stone);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.chip--sm { padding: 9px 16px; }
.chip--tag { padding: 6px 12px; font-size: 13px; font-weight: 600; }
.chip--label { padding: 8px 14px; font-size: 13px; font-weight: 600; }
.chip--dark { background: var(--c-ink); color: var(--c-paper); }
.chip--lilac { background: var(--c-lilac); }
.chip--peach { background: var(--c-peach); }
.chip--sky { background: var(--c-sky); }

/* Radio-style pill buttons (plan finder, filters, member ranges) */
.choice {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--pill);
  background: var(--c-stone);
  color: var(--c-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.choice[aria-checked="true"] { background: var(--c-ink); color: var(--c-paper); }
.choice--white { background: var(--c-white); }
label.choice { display: inline-flex; align-items: center; }
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-input:checked + .choice { background: var(--c-ink); color: var(--c-paper); }
.choice-input:focus-visible + .choice { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }

/* Screenshot / media placeholder */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 20px;
  background: repeating-linear-gradient(135deg, #f4f0ea 0 12px, var(--c-stone) 12px 24px);
}
.placeholder--peach { background: repeating-linear-gradient(135deg, #ffe3d9 0 12px, #ffdccf 12px 24px); }
.placeholder--sky { background: repeating-linear-gradient(135deg, #e3eefa 0 12px, #dce9f8 12px 24px); }
.placeholder--lilac { background: repeating-linear-gradient(135deg, #d8c9f4 0 12px, #d1bff2 12px 24px); }
.placeholder--16x9 { aspect-ratio: 16 / 9; }
.placeholder--16x10 { aspect-ratio: 16 / 10; }
.placeholder--4x3 { aspect-ratio: 4 / 3; }
.placeholder--3x4 { aspect-ratio: 3 / 4; }
.placeholder--9x17 { aspect-ratio: 9 / 17; padding: 8px; }
.placeholder--round { border-radius: 28px; }
.placeholder--rounder { border-radius: 32px; }
.placeholder__label {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--c-paper);
  color: var(--c-muted);
  font-family: var(--f-mono);
  font-size: 12px;
  text-align: center;
}
.placeholder--peach .placeholder__label { color: #6b4e44; }
.placeholder--sky .placeholder__label { color: #3e4e62; }
.placeholder--lilac .placeholder__label { color: #3e3356; }

/* Placeholder content marker: remove once real content is in */
.is-placeholder { outline: 1.5px dashed rgba(0, 0, 0, .28); outline-offset: -10px; }
.placeholder-tag { font-family: var(--f-mono); font-size: 12px; color: #6b4e44; }

/* Screenshot of a real site, cropped from the top */
.shot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  background: var(--c-sand);
  box-shadow: 0 1px 2px rgb(30 24 20 / .06), 0 16px 36px -18px rgb(30 24 20 / .28);
}
.shot--16x9 { aspect-ratio: 16 / 9; }
.shot--16x10 { aspect-ratio: 16 / 10; }
.shot--3x4 { aspect-ratio: 3 / 4; }
.shot--round { border-radius: 28px; }

/* Dot list (rows with a coloured bullet) */
.dot-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
  font-size: 15px;
  font-weight: 500;
}
.dot-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
}
.dot-list__item::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-lilac);
}
.dot-list--sky .dot-list__item::before { background: var(--c-sky); box-shadow: inset 0 0 0 1px #a9c0dc; }

/* Tile (small rounded fact card) */
.tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--c-paper);
  color: var(--c-ink);
}
.tile__title { font-weight: 700; font-size: 16px; }
.tile__text { font-size: 14px; line-height: 1.5; color: var(--c-muted); }
.tile--round { border-radius: 24px; padding: 20px 22px; }
.tile--lilac { background: var(--c-lilac); }
.tile--lilac .tile__text { color: #1e1a24; }
.tile--peach { background: var(--c-peach); }
.tile--peach .tile__text { color: #2a1e1a; }
.tile--sky { background: var(--c-sky); }
.tile--sky .tile__text { color: #1a2230; }
.tile--dark { background: var(--c-ink-soft); color: var(--c-paper); }
.tile--dark .tile__text { color: var(--c-on-dark-muted); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles--auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tiles--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.tiles--narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

/* Pill row (label left, value right) */
.pill-rows { display: flex; flex-direction: column; gap: 8px; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 14px 22px;
  border-radius: var(--pill);
  background: var(--c-paper);
}
.pill-row__label { font-weight: 600; font-size: 15px; }
.pill-row__value { font-size: 14px; color: var(--c-muted); }
.pill-row--bold .pill-row__label { font-weight: 700; }
.pill-row--lg { padding: 16px 24px; }
.pill-row--lg .pill-row__label { font-size: 16px; }
.pill-row--dark { background: var(--c-ink); color: var(--c-paper); }
.pill-row--dark .pill-row__value { color: var(--c-lilac); font-weight: 600; }

/* Feature list (name + description rows) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0 32px;
  border-top: 1px solid var(--c-line);
}
.feature-list__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.feature-list__name { font-weight: 600; font-size: 16px; }
.feature-list__desc { font-size: 15px; line-height: 1.5; color: var(--c-muted); }
.feature-list--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 24px; }
.feature-list--compact .feature-list__item { gap: 2px; padding: 16px 0; }
.feature-list--compact .feature-list__desc { font-size: 14px; }

/* Panel (big rounded block) */
.panel {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 40px;
}
.panel--dark { background: var(--c-ink); color: var(--c-paper); }
.panel--peach { background: var(--c-peach); justify-content: space-between; gap: 24px 56px; }
.panel--stack { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 36px; }
.panel--top { align-items: flex-start; }
.panel__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.panel__text--tight { gap: 14px; }
.panel__aside { flex: 1 1 420px; }
.panel__aside--wide { flex-basis: 480px; }

/* CTA band (book a call) */
.cta-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: center;
  overflow: hidden;
  border-radius: 40px;
  background: var(--c-lilac);
}
.cta-band--peach { background: var(--c-peach); }
.cta-band__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(36px, 6vw, 80px);
}
.cta-band__text { max-width: 480px; font-size: 18px; line-height: 1.6; color: #1e1a24; }
.cta-band--peach .cta-band__text { color: #2a1e1a; }
.cta-band__media {
  position: relative;
  align-self: stretch;
  min-height: 320px;
  background: var(--c-sand);
}
.cta-band__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 48px;
}
.faq__intro { display: flex; flex-direction: column; gap: 18px; max-width: 420px; }
.faq__list { border-top: 1px solid var(--c-line-strong); }
.faq__item { border-bottom: 1px solid var(--c-line-strong); }
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__sign {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  background: var(--c-lilac);
  font-size: 0; /* the "+" text is drawn with bars below so it sits dead centre */
  transition: transform .2s;
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 14px;
  height: 2px;
  margin: auto;
  border-radius: 1px;
  background: currentColor;
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign { transform: rotate(45deg); }
.faq__item:nth-child(3n + 2) .faq__sign { background: var(--c-peach); }
.faq__item:nth-child(3n) .faq__sign { background: var(--c-sky); }
.faq__answer { max-width: 620px; margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--c-body); }

/* Material band (image / motto / image) */
.material {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
}
.material__tile { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 28px; background: var(--c-sand); }
.material__tile--sky { background: #e9edf2; }
.material__tile--paper { background: #f1efec; }
.material__tile--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  background: #f1ece4;
  text-align: center;
}
.material__image { width: 100%; height: 100%; object-fit: cover; }
.material__motto { font-size: 13px; font-weight: 600; letter-spacing: 0.34em; line-height: 2; text-transform: uppercase; }
.rule { display: block; width: 36px; height: 1px; background: var(--c-ink); }
.rule--40 { width: 40px; }

/* Stats & quotes */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 26px; border-radius: 28px; }
.stat__value { font-size: 44px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.stat__label { font-size: 14px; }
.stat--lg { padding: 28px; }
.stat--lg .stat__value { font-size: 48px; }
.stat--lg .stat__label { font-size: 15px; }
.stat--lilac { background: var(--c-lilac); }
.stat--lilac .stat__value { color: #4a3d66; }
.stat--lilac .stat__label { color: #1e1a24; }
.stat--sky { background: var(--c-sky); }
.stat--sky .stat__value { color: #3e4e62; }
.stat--sky .stat__label { color: #1a2230; }
.stat--dark { background: var(--c-ink); color: var(--c-paper); }
.stat--dark .stat__label { color: var(--c-on-dark); }

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 28px;
  background: var(--c-peach);
  color: #4a3530;
}
.quote__text { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.quote__cite { font-size: 14px; font-style: normal; }
.quote--large { padding: clamp(28px, 4vw, 48px); border-radius: 32px; }
.quote--large .quote__text {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #2a1e1a;
  text-wrap: balance;
}
.quote--large .quote__cite { font-size: 15px; font-weight: 600; }

/* Plan card */
.plan {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--c-line);
  border-radius: 28px;
  background: var(--c-white);
}
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan__title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan__name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.plan__range { font-size: 14px; color: var(--c-muted); }
.plan__badge {
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 12px;
  font-weight: 600;
}
.plan__pricing { display: flex; flex-direction: column; gap: 6px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
/* Keeps "£1,500/month" together so only "from" wraps in narrow cards */
.plan__figure { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.plan__amount { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.plan__period, .plan__from { font-size: 15px; color: var(--c-muted); }
.plan__setup { font-size: 14px; color: var(--c-body); }
.plan__setup b { color: var(--c-ink); }
.plan__features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--c-body);
}
.plan__features b { color: var(--c-ink); }
.plan__features--ruled { flex: 1; gap: 0; border-top: 1px solid var(--c-line); }
.plan__features--ruled li { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.plan__features--ruled li:last-child { border-bottom: 0; }
.plan--featured { background: var(--c-lilac); border-color: var(--c-lilac); }
.plan--featured .plan__range,
.plan--featured .plan__period { color: #2e2640; }
.plan--featured .plan__features,
.plan--featured .plan__setup { color: #1e1a24; }
.plan--featured .plan__features--ruled,
.plan--featured .plan__features--ruled li { border-color: var(--c-lilac-deep); }
.plan--large { gap: 22px; border-radius: 32px; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color .2s; }
.plan--large.is-picked { outline-color: var(--c-ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.plans--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

/* Card link (post cards, featured posts) */
.card-link { color: var(--c-ink); transition: border-color .15s; }
.card-link:hover { color: var(--c-ink); border-color: var(--c-ink); }

/* 4. Layout
   ========================================================================== */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.section--ruled { border-top: 1px solid var(--c-line); }
.section--hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 40px; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--pad-top-sm { padding-top: clamp(24px, 4vw, 40px); }
.section--pad-y-sm { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.section--pad-bottom-sm { padding-bottom: clamp(40px, 5vw, 64px); }
.section--pad-bottom-xs { padding-bottom: 16px; }
.section--end { padding-bottom: clamp(64px, 8vw, 96px); }
.section--stack { display: flex; flex-direction: column; gap: 48px; }
.section--stack-sm { display: flex; flex-direction: column; gap: 28px; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--12 { gap: 12px; }
.stack--20 { gap: 20px; }
.stack--24 { gap: 24px; }
.stack--28 { gap: 28px; }

.split-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 64px;
  align-items: end;
}
.row-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.row-head--center { align-items: center; gap: 16px 24px; }
.row-head--baseline { align-items: baseline; gap: 12px 24px; }

/* Inner page hero: title left, note + lede right */
.page-hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 32px 64px;
  align-items: end;
}
.page-hero--wide-bottom { padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero--40 { padding-bottom: 40px; }
.page-hero__title { display: flex; flex-direction: column; gap: 24px; }
.page-hero__aside { display: flex; flex-direction: column; gap: 18px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__brand { flex: 1; }
.site-header__actions { flex: 1; display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.site-header__menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--c-ink);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.js .site-header__menu-toggle { display: inline-flex; align-items: center; }

.primary-nav { display: none; }
.primary-nav__list { display: flex; gap: 32px; margin: 0 20px; }
.primary-nav__link { font-size: 15px; font-weight: 500; }
.primary-nav__link--current {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--c-lilac);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.mobile-menu { border-top: 1px solid var(--c-line); background: var(--c-paper); padding: 8px 16px 24px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__item + .mobile-menu__item { border-top: 1px solid var(--c-line); }
.mobile-menu__link {
  display: block;
  padding: 14px 4px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.mobile-menu__link--current { text-decoration: underline; text-decoration-color: var(--c-lilac); text-underline-offset: 6px; }

@media (min-width: 900px) {
  .primary-nav { display: block; }
  .js .site-header__menu-toggle,
  .mobile-menu { display: none; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--c-line); }
.site-footer__main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__tagline,
.site-footer__heading {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.site-footer__tagline { text-wrap: balance; }
.site-footer__about { max-width: 280px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.site-footer__nav { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__legal {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-muted);
}
.site-footer__motto { flex: 1; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; }
.site-footer__legal-link { color: var(--c-muted); }
.site-footer__legal-link:hover { color: var(--c-ink); }

/* Signup forms (footer + newsletter) */
.signup { display: flex; flex-direction: column; gap: 12px; }
.signup__label { font-weight: 600; font-size: 15px; }
.signup__row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup__input {
  flex: 1;
  min-width: 180px;
  min-height: 44px;
  padding: 13px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--pill);
  background: var(--c-white);
  color: var(--c-ink);
  font: inherit;
  font-size: 15px;
}
.signup__button { align-self: auto; padding: 13px 22px; font-size: 15px; border: 0; }
.signup__status { min-height: 21px; font-size: 14px; font-weight: 500; }

.signup--newsletter { flex: 1 1 360px; gap: 10px; }
.signup--newsletter .signup__label { font-size: 14px; }
.signup--newsletter .signup__input { min-width: 200px; min-height: 52px; padding: 0 20px; border: 0; background: var(--c-paper); font-size: 16px; }
.signup--newsletter .signup__button { min-height: 52px; padding: 0 28px; background: var(--c-lilac); color: var(--c-ink); font-size: 16px; }
.signup--newsletter .signup__button:hover { background: var(--c-paper); color: var(--c-ink); }
.signup--newsletter .signup__status { color: var(--c-lilac); }

/* 5. Home
   ========================================================================== */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__aside { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.hero__aside-text { max-width: 420px; font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.hero__media { position: relative; }
.hero__image {
  width: 100%;
  aspect-ratio: 994 / 960;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.hero__note {
  position: absolute;
  top: 4%;
  right: 2%;
  font-size: clamp(20px, 2vw, 26px);
  text-align: right;
  transform: rotate(-8deg);
}
.hero__note-arrow { display: block; margin-top: 2px; font-size: 30px; line-height: 1; transform: rotate(20deg); }

.pillars { display: flex; flex-direction: column; gap: 44px; }
.pillars__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.pillars__more { display: flex; flex-direction: column; gap: 22px; padding-top: 20px; }

.pillar-card { display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 3.5vw, 44px); border-radius: 32px; }
.pillar-card__body { display: flex; flex-direction: column; gap: 12px; }
.pillar-card__text { font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.pillar-card__footer { margin-top: auto; }
.pillar-card__link {
  color: var(--c-paper);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--c-lilac);
  text-underline-offset: 5px;
}
.pillar-card__link:hover { color: var(--c-lilac); }
.pillar-card--lilac { background: var(--c-lilac); }
.pillar-card--lilac .pillar-card__text { color: #1e1a24; }
.pillar-card--ink { background: var(--c-ink); color: var(--c-paper); }
.pillar-card--ink .pillar-card__text { color: var(--c-on-dark); }
.pillar-card--peach { background: var(--c-peach); }
.pillar-card--peach .pillar-card__text { color: #2a1e1a; }
.pillar-card--sky { background: var(--c-sky); }
.pillar-card--sky .pillar-card__text { color: #1a2230; }

.protect-list { border-top: 1px solid var(--c-line-dark); }
.protect-list__item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-line-dark);
  font-size: 15px;
}
.protect-list__event { color: var(--c-on-dark); }
.protect-list__result { font-weight: 600; text-align: right; }
.protect-list__result--lilac { color: var(--c-lilac); }
.protect-list__result--peach { color: var(--c-peach); }
.protect-list__result--sky { color: var(--c-sky); }

.case-study {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--c-line);
  border-radius: 36px;
  background: var(--c-white);
}
.case-study__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.case-study__proof { display: flex; flex-direction: column; gap: 12px; }
.client-logo { width: min(280px, 100%); aspect-ratio: 482 / 112; mix-blend-mode: multiply; }
.client-logo--sm { width: min(240px, 100%); }
.title--case { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__marker { display: flex; align-items: center; gap: 14px; }
.step__marker::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}
.step__number--lilac { background: var(--c-lilac); }
.step__number--peach { background: var(--c-peach); }
.step__number--sky { background: var(--c-sky); }
.step__text { font-size: 16px; line-height: 1.65; color: var(--c-body); }

/* 6. Features
   ========================================================================== */
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-card__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(20px, 2.5vw, 36px);
  background: repeating-linear-gradient(135deg, #f1ece4 0 14px, #eae3d9 14px 28px);
  text-align: center;
}
.video-card__caption { font-size: 14px; color: var(--c-muted); }

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
  border-radius: 50%;
  background: var(--c-ink);
}
.play-icon::before {
  content: "";
  margin-left: 6px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--c-paper);
}
.play-icon--small { width: 68px; height: 68px; background: var(--c-lilac); }
.play-icon--small::before { margin-left: 5px; border-top-width: 11px; border-bottom-width: 11px; border-left: 17px solid var(--c-ink); }

.jump-nav__list { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  background: var(--c-stone);
  font-size: 14px;
  font-weight: 500;
  transition: background-color .15s;
}
.jump-nav__link:hover { background: var(--c-lilac); color: var(--c-ink); }

.feature-sections { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.feature-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: center;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--c-line);
}
.feature-section--reverse { flex-direction: row-reverse; flex-wrap: wrap-reverse; }
.feature-section__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.feature-section__media { flex: 1 1 440px; min-width: 0; }

.visual { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 36px); border-radius: 32px; }
.visual--lilac { background: var(--c-lilac); }
.visual--peach { background: var(--c-peach); }
.visual--dark { gap: 16px; background: var(--c-ink); color: var(--c-paper); }
.visual--sky { aspect-ratio: 4 / 3; padding: clamp(16px, 2.5vw, 28px); background: var(--c-sky); }
.visual--sky .placeholder { flex: 1; }
.visual__gap { margin-top: 12px; }

.download-steps { border-top: 1px solid var(--c-line-dark); }
.download-steps__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-dark);
  font-size: 15px;
  line-height: 1.45;
  color: #e6e0d7;
}
.download-steps__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-lilac);
  color: var(--c-ink);
  font-size: 14px;
  font-weight: 700;
}
.download-steps__item:nth-child(2) .download-steps__num { background: var(--c-peach); }
.download-steps__item:nth-child(3) .download-steps__num { background: var(--c-sky); }

.stamped-pdf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--c-paper);
  color: var(--c-ink);
}
.stamped-pdf__lines { display: flex; flex-direction: column; gap: 6px; }
.stamped-pdf__line { height: 7px; width: 85%; border-radius: 4px; background: var(--c-line); }
.stamped-pdf__line--short { width: 60%; }
.stamped-pdf__stamp {
  padding-top: 10px;
  border-top: 1px dashed var(--c-border);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--c-body);
}

.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.shot-pair__offset { margin-top: 48px; }
.shot-duo { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: end; }

.video-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  aspect-ratio: 16 / 10;
  border-radius: 32px;
  background: var(--c-ink);
}
.video-mock__label { font-family: var(--f-mono); font-size: 12px; color: var(--c-on-dark-muted); text-align: center; }

.serp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  background: var(--c-white);
}
.serp__url { font-size: 13px; color: #1a7f37; }
.serp__title { font-size: 17px; font-weight: 600; color: #1a4fbf; }
.serp__meta { font-size: 13px; color: var(--c-muted); }
.serp__stars { color: #9a6416; letter-spacing: 1px; }

.timeline {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: 32px;
  background: var(--c-white);
}
.timeline__item { display: flex; gap: 18px; padding-bottom: 22px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__track { display: flex; flex-direction: column; align-items: center; }
.timeline__dot { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--c-lilac); }
.timeline__item:nth-child(2) .timeline__dot { background: var(--c-peach); }
.timeline__item:nth-child(3) .timeline__dot { background: var(--c-sky); }
.timeline__item:last-child .timeline__dot { background: var(--c-ink); }
.timeline__track::after { content: ""; flex: 1; width: 1px; margin-top: 6px; background: var(--c-line-strong); }
.timeline__item:last-child .timeline__track::after { display: none; }
.timeline__body { display: flex; flex-direction: column; gap: 2px; }
.timeline__title { font-weight: 700; font-size: 16px; }
.timeline__text { font-size: 15px; line-height: 1.5; color: var(--c-muted); }

/* 7. How it works
   ========================================================================== */
.process { border-top: 1px solid var(--c-line-strong); }
.process__item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px 48px;
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--c-line-strong);
}
.process__head { display: flex; gap: 20px; align-items: baseline; }
/* Slightly deeper than --c-lilac-deep so large numbers meet 3:1 contrast */
.process__number { font-family: var(--f-serif); font-size: clamp(48px, 5vw, 72px); line-height: .9; color: #9580c9; }
.process__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.process__body { display: flex; flex-direction: column; gap: 14px; }
.process__meta { font-size: 14px; font-weight: 600; }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.split__card { display: flex; flex-direction: column; gap: 4px; padding: 28px; border-radius: 28px; background: var(--c-ink-soft); }
.split__card--lilac { background: var(--c-lilac); color: var(--c-ink); }
.split__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.split__item { padding: 12px 0; border-top: 1px solid var(--c-line-dark); font-size: 15px; line-height: 1.5; color: var(--c-on-dark); }
.split__card--lilac .split__item { border-color: var(--c-lilac-deep); color: #1e1a24; }

/* 8. Pricing
   ========================================================================== */
.plan-finder {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  padding: 12px 12px 12px 28px;
  border: 1px solid var(--c-line);
  border-radius: 40px;
  background: var(--c-white);
}
.plan-finder__label { flex: 0 0 auto; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.plan-finder__choices { flex: 1 1 auto; }
.plan-finder__result { flex: 0 0 auto; align-self: center; padding: 0 16px; }
.plan-finder__result[hidden] { display: none; }
.plan-finder--slider { gap: 30px 24px; padding: 28px 32px 28px 28px; }
.plan-finder--slider .plan-finder__result { padding: 0; }
/* Scale sits above the slider, out of the flow, so the slider lines up with the label and plan link */
.plan-finder__control { position: relative; flex: 1 1 240px; }
.plan-finder__scale { position: absolute; bottom: 100%; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 12px; line-height: 1; color: var(--c-muted); }
.plan-finder__count { flex: 0 0 auto; min-width: 9.5em; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Range slider */
.range {
  --fill: 0%;
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.range:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 4px; border-radius: var(--pill); }
.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: var(--pill);
  background: linear-gradient(to right, var(--c-lilac-deep) var(--fill), var(--c-stone) var(--fill));
}
.range::-moz-range-track { height: 8px; border-radius: var(--pill); background: var(--c-stone); }
.range::-moz-range-progress { height: 8px; border-radius: var(--pill); background: var(--c-lilac-deep); }
.range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 2px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-lilac);
  box-shadow: 0 1px 4px rgb(0 0 0 / .2);
  -webkit-appearance: none;
  appearance: none;
}
.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--c-ink);
  border-radius: 50%;
  background: var(--c-lilac);
  box-shadow: 0 1px 4px rgb(0 0 0 / .2);
}

.compare { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 32px; background: var(--c-white); }
.compare__table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; text-align: left; }
.compare__table th, .compare__table td { padding: 16px; }
.compare__table thead th { padding: 22px 16px; font-weight: 700; font-size: 16px; }
.compare__table thead th:first-child { width: 28%; padding-left: 28px; }
.compare__table tbody tr { border-top: 1px solid var(--c-line); }
.compare__table tbody th { padding-left: 28px; font-weight: 600; }
.compare__table td { color: var(--c-body); }
.compare__table .compare__featured { background: var(--c-lilac-wash); color: var(--c-ink); font-weight: 600; }
.compare__table thead .compare__featured { background: var(--c-lilac); font-weight: 700; }

/* 9. Case studies
   ========================================================================== */
.case-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 36px;
  background: var(--c-white);
}
.case-feature__content { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 5vw, 56px); }
.case-feature__media { position: relative; min-height: 380px; background: var(--c-sand); }
.case-feature__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-feature__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--c-paper);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-body);
}
.title--feature { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; }

.story { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.results__full { grid-column: 1 / -1; }
.case-feature__image--shot { object-position: top left; }

/* Laura's whole home page in a scrollable browser frame, with page shots beside it */
.site-tour { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 48px; align-items: start; }
.site-tour__intro { display: flex; flex-direction: column; gap: 20px; }
.site-frame { overflow: hidden; margin: 0; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); box-shadow: 0 16px 40px -24px rgb(30 24 20 / .35); }
.site-frame__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.site-frame__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line-strong); }
.site-frame__name { margin-left: 10px; font-size: 13px; color: var(--c-muted); }
.site-frame__scroll { height: clamp(420px, 70vh, 720px); overflow-y: auto; overscroll-behavior: contain; }
.site-frame__scroll:focus-visible { outline: 3px solid var(--c-lilac-deep); outline-offset: -3px; }
.site-frame__scroll img { display: block; width: 100%; height: auto; }
.site-tour__pages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.site-tour__page { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.site-tour__caption { font-size: 14px; color: var(--c-muted); }

/* 10. Insights & article
   ========================================================================== */
.post-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 36px;
  background: var(--c-white);
}
.post-feature__media { position: relative; min-height: 340px; background: var(--c-sand); }
.post-feature__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: clamp(28px, 5vw, 56px); }
.post-feature__cta {
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--c-lilac);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.title--post { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.06; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); }
.post-meta .chip { color: var(--c-ink); }
.post-meta--sm { font-size: 13px; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 28px;
  background: var(--c-white);
}
.post-card[hidden] { display: none; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--c-sand); }
.post-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px; }
.post-card__title { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; text-wrap: balance; }
.post-card__blurb { font-size: 15px; line-height: 1.55; color: var(--c-body); text-wrap: pretty; }
.post-card__soon { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--c-muted); }

.article__header { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 40px); }
.article__back { display: flex; align-items: center; align-self: flex-start; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--c-muted); }
.article__back:hover { color: var(--c-ink); }
.article__title { max-width: 900px; }
.article__standfirst { max-width: 720px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--c-body); text-wrap: pretty; }
.article__byline { display: flex; align-items: center; gap: 14px; padding-top: 8px; font-size: 14px; }
.article__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-peach);
  font-weight: 700;
  font-size: 15px;
}
.article__author { display: flex; flex-direction: column; gap: 2px; }
.article__author-name { font-weight: 600; }
.article__date { color: var(--c-muted); }
.article__figure { position: relative; aspect-ratio: 21 / 9; min-height: 240px; overflow: hidden; border-radius: 36px; background: var(--c-sand); }
.article__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.article__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 48px;
  align-items: start;
}
.article__toc { display: none; }
.article__body {
  grid-column: span 2;
  min-width: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--c-ink-hover);
}
.article__body p { text-wrap: pretty; }
.article__body h2 {
  margin-top: 24px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--c-ink);
  scroll-margin-top: 96px;
}
.article__note { align-self: flex-start; padding: 8px 0; font-size: 28px; line-height: 1.2; transform: rotate(-3deg); }
@media (min-width: 900px) {
  .article__toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; max-width: 260px; }
}
@media (max-width: 899px) {
  .article__body { grid-column: auto; }
}
.toc__heading { margin: 0 0 8px; }
.toc__link { display: block; padding: 8px 0; border-top: 1px solid var(--c-line); font-size: 15px; }
.toc__item:last-child .toc__link { border-bottom: 1px solid var(--c-line); }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 24px 28px;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.5;
}
.checklist__title { margin-bottom: 8px; font-weight: 700; color: var(--c-ink); }
.checklist__item { padding: 10px 0; border-top: 1px solid var(--c-line); }

/* Tickable checklist (/payhip-checklist/) */
.checklist--tick { margin: 0; list-style: none; }
.checklist--tick .checklist__item:first-child { border-top: 0; }
.checklist__label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.checklist__box { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-lilac-deep); cursor: pointer; }
.checklist__label:has(.checklist__box:checked) { color: var(--c-muted); text-decoration: line-through; text-decoration-color: var(--c-lilac-deep); }
.checklist-when { display: block; margin-top: 6px; font-family: var(--f-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--c-muted); }
.checklist-tools { display: flex; flex-wrap: wrap; gap: 8px; }

@media print {
  .site-header, .site-footer, .article__toc, .checklist-tools, .panel, .article__back, .note, .breadcrumbs { display: none !important; }
  .article__layout { display: block; }
  .checklist { break-inside: avoid; border-color: #999; }
  body { background: #fff; }
}

.pull-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--c-lilac);
}
.pull-quote__text {
  font-family: var(--f-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  text-wrap: balance;
}
.pull-quote__cite { font-size: 15px; font-weight: 600; font-style: normal; color: #1e1a24; }

.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line-strong);
}
.share__label { font-size: 14px; font-weight: 600; color: var(--c-muted); }

/* 11. Book a call
   ========================================================================== */
.booking { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; align-items: start; }
.booking__card { display: flex; flex-direction: column; gap: 20px; padding: clamp(22px, 3vw, 32px); border-radius: 32px; }
.booking__card--next { border: 1px solid var(--c-line); background: var(--c-white); }
.booking__card--message { background: var(--c-lilac); }
.booking__intro { display: flex; flex-direction: column; gap: 6px; }
.booking__sub { font-size: 15px; color: var(--c-muted); }
.booking__card--message .booking__sub { color: #2e2640; }
.booking__steps { display: flex; flex-direction: column; counter-reset: step; border-top: 1px solid var(--c-line); }
.booking__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
  counter-increment: step;
}
.booking__step:last-child { border-bottom: 0; padding-bottom: 0; }
.booking__step::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-lilac);
  font-weight: 700;
  font-size: 15px;
}
.booking__step-title { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.booking__step-text { font-size: 15px; line-height: 1.5; color: var(--c-body); }
.booking__email { padding-top: 18px; border-top: 1px solid var(--c-line); font-size: 15px; color: var(--c-body); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form[hidden] { display: none; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.contact-form__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.contact-form__fieldset { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.contact-form__legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.contact-form__control {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--c-lilac-deep);
  border-radius: var(--pill);
  background: var(--c-white);
  color: var(--c-ink);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}
.contact-form__control--area { padding: 14px 18px; border-radius: 20px; line-height: 1.5; resize: vertical; }
.contact-form__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: #1e1a24; cursor: pointer; }
.contact-form__checkbox { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-ink); }
.contact-form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form__submit { min-height: 52px; padding: 0 32px; border: 0; }
.contact-form__error { min-height: 0; font-size: 14px; font-weight: 600; color: #6b1d12; }

.sent { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 24px; background: var(--c-paper); }
.sent[hidden] { display: none; }
.sent__title { font-family: var(--f-serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.sent__text { font-size: 16px; line-height: 1.6; color: var(--c-body); }

/* 12. 404
   ========================================================================== */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; }

/* 13. Article body extras (inline links, sub-headings, lists, fee tables, FAQ)
   ========================================================================== */
.article__body p a,
.article__body li a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article__body h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--c-ink);
}
.article__list { display: flex; flex-direction: column; gap: 10px; padding-left: 1.25em; }
.article__list li { padding-left: 4px; }
ul.article__list { list-style: disc; }
ol.article__list { list-style: decimal; }
.article__list li::marker { color: var(--c-muted); }
.article__table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: 24px; background: var(--c-white); }
.article__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; text-align: left; }
.article__table caption { padding: 18px 20px 0; font-size: 14px; color: var(--c-muted); text-align: left; caption-side: bottom; padding-bottom: 16px; }
.article__table th, .article__table td { padding: 14px 20px; vertical-align: top; }
.article__table thead th { font-weight: 700; background: var(--c-stone); }
.article__table tbody tr { border-top: 1px solid var(--c-line); }
.article__table tbody th { font-weight: 600; }
.article__table td { color: var(--c-body); }
.article__small { font-size: 15px; line-height: 1.6; color: var(--c-muted); }
.article__faq { margin-top: 8px; border-top: 1px solid var(--c-line-strong); }
.article__faq .faq__question { font-size: 17px; }
.article__faq .faq__answer { font-size: 16px; }
/* Linked post cards: <li><a class="post-card card-link" data-cat> keeps the card full height and lets the filter hide the whole cell */
.post-grid > li:not(.post-card) { display: flex; }
.post-grid > li:not(.post-card) > .post-card { flex: 1; }
.post-grid > li:has(> .post-card[hidden]) { display: none; }
