/* Fonts: self-hosted (SIL Open Font License, public/fonts/LICENSE.txt). One variable file each, latin subset. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Local Pinmeter marketing site.
   Brand (Erik, 2026-10-16): warm ivory page, white cards, forest green #054531 as the dominant brand colour,
   navy #0F1B2D for text, signal green #08E77E only for important signals. Type: Cormorant Garamond + Manrope. */

:root {
  --ivory: #faf8f4;
  --ivory-2: #f3f2ec;
  --card: #ffffff;
  --forest: #054531;
  --forest-ink: #04452f;
  --forest-hover: #0a5a41;
  --signal: #08e77e;
  --mint: #eaf5ee;
  --mint-2: #ddebdc;
  --navy: #0f1b2d;
  --body: #344256;
  --slate: #5e6970;
  --line: #dce4e0;
  --control-line: #7a8b84;
  --line-dark: #356957;
  --err: #b42318;
  --ok: #15803d;
  /* Heatmap bands */
  --r1: #16a34a;
  --r2: #f6c84a;
  --r3: #ee8247;
  --r4: #df5657;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.05), 0 8px 24px rgba(15, 27, 45, 0.06);
  --shadow-lg: 0 2px 6px rgba(15, 27, 45, 0.06), 0 24px 60px rgba(15, 27, 45, 0.12);
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--body);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-hover); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; }
h3 { font: 700 1.08rem/1.35 var(--sans); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.icon { flex: none; }

.eyebrow { font: 800 0.72rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 14px; }
.lead { font-size: 1.14rem; line-height: 1.6; color: var(--body); }
.muted { color: var(--slate); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section-white { background: var(--card); }
.section-ivory { background: var(--ivory); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius-sm);
  font: 700 0.95rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-hover); color: #fff; }
.btn-outline { background: var(--card); color: var(--navy); border-color: var(--control-line); }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }
.btn-signal { background: var(--signal); color: var(--navy); }
.btn-signal:hover { background: #3ff09b; color: var(--navy); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { height: 56px; width: auto; }
.nav-desktop > ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
nav.nav-desktop { margin-left: auto; }
.nav-desktop a:not(.btn), .nav-mobile nav a:not(.btn) { color: var(--navy); font-weight: 600; font-size: 0.93rem; text-decoration: none; }
.nav-desktop a:not(.btn):hover, .nav-mobile nav a:not(.btn):hover { color: var(--forest); }
.nav-desktop a[aria-current='page'] { color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .login { font-weight: 600; font-size: 0.93rem; color: var(--navy); text-decoration: none; }
.nav-desktop a:not(.btn), .header-actions .login { white-space: nowrap; }
.nav-mobile { display: none; margin-left: auto; }
.nav-mobile > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-mobile[open] > summary { background: var(--mint); }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px; box-shadow: var(--shadow); max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.nav-mobile ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-mobile li a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
.nav-mobile .header-actions { justify-content: space-between; }
/* Features menu. Desktop: a panel under the header that opens on hover or via the keyboard toggle button (aria-expanded/Escape);
   the link still opens /features or /guides cleanly without trapping keyboard Tab focus inside hidden panels. Phones: a fold inside the menu. */
.nav-drop { padding: 26px 0; margin: -26px 0; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 2px; }
.nav-toggle { display: inline-grid; place-items: center; width: 28px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 6px; }
.nav-toggle:hover { color: var(--forest); background: var(--mint); }
.nav-toggle span { display: inline-block; width: 6px; height: 6px; margin-bottom: 3px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); transition: transform 0.15s; }
.nav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 26px 0 20px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s; }
.nav-drop:hover:not(.is-dismissed) .nav-panel, .nav-drop.is-open .nav-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-drop:hover:not(.is-dismissed) .nav-toggle span, .nav-drop.is-open .nav-toggle span { transform: translateY(3px) rotate(225deg); }
.nav-groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.nav-group-title { display: flex; align-items: center; gap: 8px; font: 800 0.72rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; padding: 0 10px; }
.nav-group-title .icon { width: 18px; height: 18px; flex: none; color: var(--forest); }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop .nav-panel a:not(.btn) { display: block; white-space: normal; padding: 8px 10px; border-radius: var(--radius-sm); }
.nav-desktop .nav-panel a:not(.btn):hover { background: var(--mint); }
.nav-groups a strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.9rem; line-height: 1.35; }
.nav-groups a:hover strong { color: var(--forest); }
.nav-groups a span { display: block; color: var(--slate); font-weight: 500; font-size: 0.8rem; line-height: 1.4; margin-top: 2px; }
.nav-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 10px 0; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--slate); }
.nav-panel-links { display: flex; gap: 28px; }
.nav-desktop .nav-panel-foot a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; padding: 0; color: var(--forest); white-space: nowrap; }
.nav-desktop .nav-panel-foot a:not(.btn):hover { background: none; color: var(--forest-hover); }
.nav-panel-foot .icon { width: 16px; height: 16px; }
.nav-sub summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 0.93rem; }
.nav-sub summary::-webkit-details-marker { display: none; }
.nav-sub summary::after { content: ''; width: 8px; height: 8px; margin: 0 6px 4px 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nav-sub[open] summary::after { margin-bottom: -4px; transform: rotate(225deg); }
.nav-mobile .nav-sub .nav-sub-all { padding: 12px 0 2px; border: 0; color: var(--forest); }
.nav-mobile .nav-groups { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 24px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.nav-mobile .nav-group-title { padding: 0; margin-bottom: 2px; }
.nav-mobile .nav-sub ul { margin: 0; }
.nav-mobile .nav-sub li a { padding: 7px 0; border: 0; }

/* Hero */
.hero { background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr 0.98fr; min-height: 640px; }
.hero-copy { padding: 84px 48px 64px 0; display: flex; flex-direction: column; justify-content: center; }
.pill { display: inline-block; align-self: flex-start; background: var(--mint); color: var(--forest); font: 800 0.7rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 16px; border-radius: 99px; margin-bottom: 28px; }
.hero h1 { max-width: 620px; text-wrap: balance; }
.hero .lead { margin: 26px 0 34px; max-width: 520px; }
.slogan { font: italic 600 clamp(1.45rem, 2.6vw, 1.95rem)/1.15 var(--serif); color: var(--forest); margin: 18px 0 0; }
.hero .slogan + .lead { margin-top: 14px; }
.cta-slogan { font: 800 0.72rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0 0 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font: 700 0.78rem/1.3 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest-ink); }
.hero-points .icon { width: 18px; height: 18px; color: var(--r1); }
.hero-visual {
  position: relative; display: grid; place-items: center; padding: 56px 0 56px 40px;
  background:
    radial-gradient(circle at 52% 48%, transparent 0 150px, rgba(5, 69, 49, 0.07) 151px 152px, transparent 153px 235px, rgba(5, 69, 49, 0.06) 236px 237px, transparent 238px 330px, rgba(5, 69, 49, 0.05) 331px 332px, transparent 333px),
    var(--ivory-2);
}
.hero-visual::before { content: ''; position: absolute; inset: 0 -100vw 0 0; background: inherit; z-index: 0; }
.hero-visual > * { position: relative; z-index: 1; }

.phone {
  width: 300px; border-radius: 42px; background: var(--card); padding: 14px 14px 20px;
  border: 10px solid var(--navy); box-shadow: var(--shadow-lg);
}
.phone-status { display: flex; align-items: center; justify-content: space-between; font: 700 0.72rem/1 var(--sans); color: var(--navy); padding: 4px 8px 12px; }
.phone-notch { width: 82px; height: 22px; background: var(--navy); border-radius: 20px; }
.phone-icons { display: flex; gap: 3px; }
.phone-icons i { width: 4px; height: 9px; background: var(--navy); border-radius: 1px; }
.phone-icons i:nth-child(2) { height: 7px; margin-top: 2px; }
.phone-icons i:nth-child(3) { width: 14px; border-radius: 3px; }
.phone-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 0.84rem; color: var(--navy); box-shadow: 0 2px 8px rgba(15, 27, 45, 0.06); }
.phone-search .icon { width: 17px; height: 17px; color: var(--slate); }
.phone-search .x { margin-left: auto; color: var(--slate); }
.phone-meta { display: flex; justify-content: space-between; font: 800 0.6rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); padding: 14px 4px 10px; }

.score-card {
  position: absolute; left: 6%; bottom: 52px; background: var(--card); border-radius: 14px; padding: 16px 20px 14px;
  box-shadow: var(--shadow-lg); min-width: 200px;
}
.score-card .k { font: 700 0.78rem/1 var(--sans); color: var(--slate); }
.score-card .v { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; }
.score-card strong { font: 800 2.3rem/1 var(--sans); color: var(--navy); letter-spacing: -0.02em; }
.score-card .up { font: 800 1.05rem/1 var(--sans); color: var(--r1); }
.score-card .since { font-size: 0.72rem; color: var(--slate); }

/* Heatmap */
.heatmap {
  border-radius: 12px; overflow: hidden; padding: 12px;
  background:
    linear-gradient(118deg, transparent 0 46%, rgba(255, 255, 255, 0.95) 46% 49%, transparent 49%),
    linear-gradient(28deg, transparent 0 70%, rgba(255, 255, 255, 0.8) 70% 72%, transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255, 255, 255, 0.85) 30px 33px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.85) 38px 41px),
    radial-gradient(ellipse at 78% 82%, #d7e8d3 0 18%, transparent 19%),
    #e8ece6;
}
.pins { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.pin {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font: 800 0.66rem/1 var(--sans); font-variant-numeric: tabular-nums; color: #fff; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.25), inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.pin.r1 { background: var(--r1); }
.pin.r2 { background: var(--r2); color: var(--navy); }
.pin.r3 { background: var(--r3); }
.pin.r4 { background: var(--r4); font-size: 0.56rem; }
.heatmap-sm .pins { gap: 5px; }
.heatmap-sm .pin { font-size: 0.6rem; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 14px 0 0; font-size: 0.8rem; color: var(--slate); }
.legend li { display: flex; align-items: center; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot.r1 { background: var(--r1); } .dot.r2 { background: var(--r2); } .dot.r3 { background: var(--r3); } .dot.r4 { background: var(--r4); }

/* Proof */
.proof { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.proof h2 { margin-bottom: 22px; }
.stat-list { list-style: none; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.stat-list li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat-list strong { font: 800 1.5rem/1 var(--sans); color: var(--forest); letter-spacing: -0.01em; min-width: 98px; }
.proof-sets { display: grid; gap: 26px; }
.proof-set-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.match { font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); color: var(--slate); }
.match-all { background: var(--mint); border-color: var(--mint-2); color: var(--forest); }
.match-all::before { content: "✓ "; }
.proof-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pin.diff { box-shadow: 0 1px 2px rgba(15, 27, 45, 0.25), inset 0 0 0 2.5px var(--navy); }
.dot-ring { background: #fff; box-shadow: inset 0 0 0 2.5px var(--navy); }
.grid-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.grid-card h3 { text-align: center; margin-bottom: 14px; font-size: 0.98rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.grid-card h3 img { height: 22px; width: auto; }
.caption { font-size: 0.84rem; color: var(--slate); margin-top: 14px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* The home feature grid: a last card left alone on its row spans the row. */
.cards-features > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.cards-features > .card:last-child:nth-child(3n+2) { grid-column: span 2; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature-card { scroll-margin-top: 96px; }
.feature-card .checks { margin-top: 16px; gap: 8px; }
.card .tile { width: 46px; height: 46px; border-radius: 11px; background: var(--mint); color: var(--forest); display: grid; place-items: center; margin-bottom: 22px; }
.card h3, .card .card-title { font: 700 1.12rem/1.35 var(--sans); color: var(--navy); margin-bottom: 8px; }

/* How it works: a real three-step sequence, so the numbers carry meaning */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; font: 800 0.95rem/1 var(--sans); margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.95rem; }
.card p { color: var(--body); font-size: 0.95rem; }
.card .more { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font: 800 0.7rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--forest); }
.card p + .more { margin-top: 22px; }
.card .post-date { font-size: 0.82rem; color: var(--slate); margin-bottom: 8px; }
.card .more .icon { width: 18px; height: 18px; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--ivory-2); border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin: 0 auto 34px; }
.billing-toggle button { border: 0; background: transparent; font: 700 0.88rem/1 var(--sans); color: var(--slate); padding: 11px 18px; border-radius: 99px; cursor: pointer; }
.billing-toggle button[aria-pressed='true'] { background: var(--card); color: var(--navy); box-shadow: 0 1px 3px rgba(15, 27, 45, 0.12); }
.billing-toggle .save { color: var(--r1); }
.toggle-row { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 18px 20px; text-align: center; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--r1); background: #f3fbf5; }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--forest); color: #fff; font: 800 0.68rem/1 var(--sans); padding: 8px 12px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 1rem; }
.plan .price { font: 800 2.5rem/1 var(--sans); color: var(--navy); letter-spacing: -0.03em; margin: 18px 0 4px; }
.plan .per { font-size: 0.78rem; color: var(--slate); min-height: 1.3em; }
.plan .credits { font-weight: 700; color: var(--navy); margin: 14px 0 4px; font-size: 0.95rem; }
.plan.featured .credits { color: var(--forest); }
.plan .fit { font-size: 0.8rem; color: var(--slate); min-height: 2.6em; }
.plan .rule { border-top: 1px solid var(--line); margin: 16px 0 14px; }
.plan .k { font: 800 0.62rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.plan .btn { margin-top: auto; width: 100%; min-height: 44px; font-size: 0.86rem; }
.plans-note { text-align: center; margin-top: 26px; font-size: 0.9rem; color: var(--slate); }

.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 36px; list-style: none; padding: 0; margin: 0; }
.includes li, .checks li { display: flex; gap: 10px; align-items: flex-start; }
.includes .icon, .checks .icon { width: 20px; height: 20px; color: var(--r1); margin-top: 2px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.calc label { display: block; font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-bottom: 8px; }
.calc .field { margin-bottom: 18px; }
.calc input, .calc select { width: 100%; font: 600 1rem var(--sans); color: var(--navy); padding: 12px 14px; border: 1.5px solid var(--control-line); border-radius: 10px; background: var(--card); }
.calc input:focus, .calc select:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(8, 231, 126, 0.25); }
.calc input[aria-invalid='true'], .calc select[aria-invalid='true'], .tool textarea[aria-invalid='true'], .launch-row input[aria-invalid='true'] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.14); }
input::placeholder, textarea::placeholder { color: #556168; opacity: 1; }
.plan .price, .calc-out .big, .num, .stat-list strong, .score-card strong, .kpi strong { font-variant-numeric: tabular-nums; }
.calc-out { background: var(--mint); border-radius: var(--radius); padding: 26px; }
.calc-out .big { font: 800 2.2rem/1.1 var(--sans); color: var(--navy); letter-spacing: -0.02em; }
.calc-out .plan-pick { font: 700 1.1rem/1.4 var(--sans); color: var(--forest); margin-top: 16px; }
.calc-out p { margin-top: 8px; font-size: 0.92rem; }
.calc p.muted + .field { margin-top: 18px; }
.calc .field-hint { font-size: 0.82rem; color: var(--slate); margin-top: 6px; }
.calc-more { margin: 4px 0 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.calc-more summary { cursor: pointer; font-weight: 700; color: var(--forest); min-height: 44px; display: flex; align-items: center; }
.calc-more[open] summary { margin-bottom: 12px; }
.calc-out .calc-hint { margin: 0 0 14px; padding: 10px 12px; background: var(--card); border-left: 4px solid var(--forest); border-radius: 8px; font-weight: 700; color: var(--navy); }
.calc-out.is-stale > :not(.calc-hint) { opacity: 0.45; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.95rem; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font: 700 0.86rem/1.3 var(--sans); color: var(--navy); background: var(--card); }
tbody th { font-weight: 700; color: var(--navy); width: 22%; }
table.cost { table-layout: fixed; }
table.cost tbody th, table.cost thead th:first-child { width: 22%; }
td.us, th.us { background: var(--mint); color: var(--forest-ink); font-weight: 700; }
thead th.us { display: table-cell; }
.th-brand { display: inline-flex; align-items: center; gap: 8px; }
.th-brand img { height: 22px; width: auto; }
.num { font: 800 1.25rem/1 var(--sans); color: var(--navy); }
td.us .num { color: var(--forest); }
.footnote { font-size: 0.82rem; color: var(--slate); margin-top: 14px; text-align: center; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; overflow: hidden; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 30px; }
.cta-band h2 span { font-size: 0.82em; }
.cta-mark { width: 170px; height: auto; margin-right: 40px; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35)); }

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--line); font-size: 0.9rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding-top: 56px; padding-bottom: 36px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--slate); max-width: 300px; }
.site-footer .footer-why { margin-top: 16px; gap: 8px; }
.footer-why li { display: flex; gap: 8px; color: var(--slate); font-size: 0.85rem; line-height: 1.45; }
.footer-why .icon { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--forest); }
.footer-title { font: 800 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--forest); }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: var(--slate); font-size: 0.82rem; }

/* Inner pages */
.page-hero { background: var(--ivory); padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 18px; max-width: 720px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { min-width: 0; font-size: 0.9rem; margin: 10px 0 20px; background: var(--card); border: 1px solid var(--line); }
.prose th, .prose td { padding: 10px 12px; }
.prose code { font-size: 0.9em; background: var(--ivory-2); padding: 1px 5px; border-radius: 4px; }
/* Code to copy (the reviews widget page): long lines wrap at the box's edge, so the page never scrolls sideways. */
.code-block { margin: 0 0 12px; padding: 16px 18px; background: var(--navy); color: #fff; border-radius: 10px; font: 0.84rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.notice { display: flex; gap: 12px; background: #fff7df; border: 1px solid #f1dc9a; color: #6b4e00; border-radius: 12px; padding: 14px 18px; font-size: 0.92rem; margin-bottom: 28px; }
.notice-soft { background: var(--mint); border-color: var(--mint-2); color: var(--forest-ink); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.feature-row:last-child { border-bottom: 0; }
.feature-row .tile { width: 52px; height: 52px; border-radius: 13px; background: var(--mint); color: var(--forest); display: grid; place-items: center; margin-bottom: 18px; }
.feature-row h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.feature-row p { margin-bottom: 14px; }
.feature-row .checks { margin-top: 18px; }
.feature-art { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
/* App screenshots (components.mjs shot()): a bordered image, full width of its column, with a caption under it. */
.shot { margin: 0; }
.shot + .shot, .shot-pair + .shot, .shot + .shot-pair { margin-top: 22px; }
.shot-link { display: block; line-height: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); }
.shot .caption { margin-top: 10px; line-height: 1.45; }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.34fr); gap: 16px; align-items: end; }
.shot-narrow { max-width: 82%; margin-top: 22px; }
@media (max-width: 640px) {
  .shot-pair { grid-template-columns: 1fr; }
  .shot-pair .shot:last-child { width: 46%; margin: 0 auto; }
  .shot-narrow { max-width: 100%; }
}
@media (min-width: 941px) {
  .feature-row.wide { grid-template-columns: 5fr 7fr; }
  .feature-row.wide.flip { grid-template-columns: 7fr 5fr; }
  .feature-row.flip > div:first-child { order: 2; }
}
.badge { display: inline-block; font: 800 0.66rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--mint); color: var(--forest); margin-left: 8px; vertical-align: middle; }
.badge-soon { background: #fff4d6; color: #7a5600; }
.mini-table { width: 100%; min-width: 0; font-size: 0.86rem; }
.mini-table th, .mini-table td { padding: 10px 8px; }
/* Words that must stay on one line: a hyphenated word in a heading or the footer (build.mjs), a plan and its price, a p-value. */
.nw { white-space: nowrap; }
.mini-table thead th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.up { color: var(--ok); font-weight: 800; }
.down { color: var(--err); font-weight: 800; }

.compare-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--forest); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; }
.embed-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 420px; padding: 8px; }
.embed-fallback { padding: 40px; text-align: center; color: var(--slate); }

/* Responsive */
/* The menu button takes over at 940px and below (the block further down): with four menu items (homepage review of 2026-11-07)
   every link fits on one line beside the logo and the buttons above that. */
@media (max-width: 1080px) {
  .nav-desktop > ul { gap: 20px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  :root { --gutter: 20px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .header-inner { min-height: 66px; }
  .brand img { height: 46px; }
  .hero-inner, .proof, .calc, .two-col, .feature-row { grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 0 36px; }
  .hero-visual { padding: 40px 0 56px; margin: 0 calc(-1 * var(--gutter)); }
  .hero-visual::before { display: none; }
  .score-card { left: 50%; transform: translateX(-118%); bottom: 34px; }
  .cards, .compare-cards { grid-template-columns: 1fr 1fr; }
  .cards-features > .card:last-child:nth-child(n) { grid-column: auto; }
  .cards-features > .card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
  .feature-row { gap: 28px; padding: 48px 0; }
  .cta-mark { width: 120px; margin-right: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .cards, .compare-cards, .includes, .steps { grid-template-columns: 1fr; }
  /* Keep each proof pair side by side so the two grids can be compared at a glance. */
  .proof-pair { gap: 10px; }
  .proof-pair .grid-card { padding: 10px 8px; }
  .proof-pair .grid-card h3 { font-size: 0.8rem; gap: 5px; margin-bottom: 8px; }
  .proof-pair .grid-card h3 img { height: 16px; }
  .proof-pair .heatmap { padding: 6px; }
  .proof-pair .pins { gap: 3px; }
  .proof-pair .pin { font-size: 0.56rem; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding-top: 26px; }
  .phone { width: 270px; }
  .score-card { position: relative; left: auto; bottom: auto; transform: none; margin-top: -34px; min-width: 0; padding: 12px 16px; }
  .score-card strong { font-size: 1.8rem; }
  .cta-inner { flex-direction: column-reverse; align-items: flex-start; gap: 16px; padding-top: 40px; padding-bottom: 40px; }
  .cta-mark { width: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 36px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .panel { padding: 20px; }
  .actions .btn { flex: 1 1 100%; }
  .page-hero { padding: 36px 0 28px; }
}

/* Proof links: the real business and agency behind the numbers, on their own sites */
.proof-row { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; }
.proof-check { font-weight: 700; color: var(--navy); }
.proof-row .proof-links { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .proof-row .proof-links { grid-template-columns: 1fr; } }
.proof-links { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.proof-links li { display: flex; gap: 12px; align-items: flex-start; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.proof-links .icon { width: 20px; height: 20px; color: var(--forest); margin-top: 2px; }
.proof-links a { font-weight: 700; text-decoration: none; }
.proof-links a:hover { text-decoration: underline; }
.proof-links small { display: block; color: var(--slate); font-size: 0.8rem; margin-top: 2px; }
.built-by { background: var(--card); border-top: 1px solid var(--line); }
.built-by-inner { padding-top: 34px; padding-bottom: 40px; max-width: 900px; text-align: center; }
.built-by-text { font-size: 1.05rem; color: var(--body); }
.built-by-text a { font-weight: 700; }

/* Case study: five real salons */
.pin.r0 { background: #c9cfcb; color: var(--navy); }
.heatmap-xs { padding: 8px; }
.heatmap-xs .pins { gap: 3px; }
.heatmap-xs .pin { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.salon-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.salon-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 12px 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--body); display: flex; flex-direction: column; gap: 4px; transition: border-color 0.15s, transform 0.15s; }
.salon-card:hover { border-color: var(--forest); transform: translateY(-2px); color: var(--body); }
.salon-card .heatmap { margin-bottom: 8px; }
.salon-name { font-weight: 800; color: var(--navy); }
.salon-score { font-size: 0.9rem; }
.salon-score strong { font-size: 1.15rem; color: var(--forest); }
.salon-avg { font-size: 0.8rem; color: var(--slate); }
.score-card .avg { font: 700 0.85rem/1 var(--sans); color: var(--slate); }
.case-table td .num { font-size: 1.1rem; }
.takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 8px; }
.takeaways .panel { padding: 22px; }
.takeaways h3 { font: 700 1.3rem/1.2 var(--serif); font-size: 1.5rem; margin: 2px 0 6px; }
.case-salon { background: var(--ivory); padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.case-salon.alt { background: var(--card); }
.case-salon-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.case-salon-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.case-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.case-links li { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 0.9rem; }
.case-salon.alt .case-links li { background: var(--ivory); }
.case-links a { text-decoration: none; }
.case-links .icon { width: 18px; height: 18px; color: var(--forest); }
.case-grids { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-grids figure { margin: 0; }
.case-grids figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; color: var(--navy); }
.case-grids figcaption span { font-size: 0.88rem; color: var(--forest-ink); font-weight: 700; }
@media (max-width: 1080px) { .salon-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 940px) { .takeaways { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .case-grids { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .salon-cards { grid-template-columns: 1fr 1fr; } .case-salon { padding: 32px 0; } }

/* Numbered steps ("check the results yourself") and the competitor group rows on the compare page */
.numbered, .prose .numbered { counter-reset: step; list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 12px; }
.numbered li, .prose .numbered li { counter-increment: step; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; margin: 0; }
.numbered li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--forest); font: 800 0.85rem/28px var(--sans); text-align: center; }
.panel .numbered + .muted { margin-bottom: 16px; }
.plan-table tr.group th, .race-table tr.group th { background: var(--ivory); color: var(--navy); font-weight: 800; text-align: left; padding-top: 14px; }
/* Feature rows: let the text and art columns shrink on phones instead of widening the page */
.feature-row > * { min-width: 0; }
.feature-art { overflow-x: auto; }
/* Feature pages (src/pages/feature-pages.mjs): the steps under the example (in the opening), the details beside what it costs. */
.section-head.left { margin-left: 0; text-align: left; margin-bottom: 28px; }
.menu-path { display: block; width: fit-content; margin: 4px 0 2px; padding: 1px 8px; border-radius: 6px; background: var(--mint); color: var(--slate); font-size: 0.8rem; font-weight: 600; line-height: 1.5; }
.more-details > summary { cursor: pointer; color: var(--forest); font-weight: 700; margin: 4px 0 10px; }
.more-details[open] > summary { margin-bottom: 4px; }
.feature-how .numbered li strong { color: var(--navy); }
.feature-details { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.feature-details .panel .section-cta { margin-top: 18px; align-items: flex-start; }
.feature-details .panel .section-cta .start-note { text-align: left; }
@media (max-width: 940px) { .feature-details { grid-template-columns: 1fr; gap: 28px; } }
.feature-link { margin: 14px 0 0; font-weight: 700; }
.feature-link a { text-decoration: none; }
.feature-link a:hover { text-decoration: underline; }
.race-steps { display: grid; gap: 14px; }
.race-step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); }
.race-step strong { color: var(--navy); }
.race-step p { margin: 2px 0 0; font-size: 0.92rem; }
/* Market analysis page: the sample map beside the nine parts of the map, laid out as the app lays them out (north at the
   top), each verdict in the map's own colour and word; on phones a list, the part around the business first. */
.ma-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; margin-bottom: 26px; }
.ma-lines { margin: 0 0 12px; padding-left: 18px; font-size: 0.9rem; }
.ma-lines li + li { margin-top: 4px; }
.zone-board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.zone { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 9px; border: 1px solid var(--line); border-left: 4px solid var(--r4); border-radius: 9px; background: var(--card); font-size: 0.78rem; line-height: 1.35; overflow-wrap: anywhere; }
.zone-empty { border: 1px dashed var(--line); background: none; }
.zone-r1 { border-left-color: var(--r1); } .zone-r2 { border-left-color: var(--r2); } .zone-r3 { border-left-color: var(--r3); }
.zone-head { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.zone-head strong { font-size: 0.82rem; color: var(--navy); }
.zone-verdict { padding: 1px 7px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; color: #fff; background: #b42318; }
.zone-r1 .zone-verdict { background: #15803d; } .zone-r2 .zone-verdict { background: #8a5d00; } .zone-r3 .zone-verdict { background: #b4470f; }
@media (max-width: 760px) { .ma-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .zone-board { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .zone-empty { display: none; }
  .zone-head { justify-content: space-between; }
  .zone-at-centre { order: 0; } .zone-at-north { order: 1; } .zone-at-north-east { order: 2; } .zone-at-east { order: 3; } .zone-at-south-east { order: 4; }
  .zone-at-south { order: 5; } .zone-at-south-west { order: 6; } .zone-at-west { order: 7; } .zone-at-north-west { order: 8; }
}

/* Glossary page, "How to read these maps", and the glossary link in map keys */
.dot.r0 { background: #c9cfcb; }
.legend-link a { font-weight: 700; }
.glossary-nav ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.glossary-nav a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
.glossary { max-width: 860px; }
.glossary-group { scroll-margin-top: 90px; padding-bottom: 12px; }
.glossary-group + .glossary-group { margin-top: 36px; }
.glossary-group h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
.glossary dl { margin: 0; }
.glossary-term { scroll-margin-top: 90px; display: grid; grid-template-columns: 220px 1fr; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossary-term:target { background: var(--mint); border-radius: 10px; padding-left: 12px; padding-right: 12px; }
.glossary dt { font-weight: 800; color: var(--navy); }
.glossary dd { margin: 0; }
.glossary dd .legend { margin-top: 10px; }
@media (max-width: 640px) { .glossary-term { grid-template-columns: 1fr; } }
.reading-key { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.reading-key summary { cursor: pointer; font-weight: 800; color: var(--forest); }
.reading-key ul { margin: 10px 0 8px; padding-left: 1.2em; }
.reading-key li { margin-bottom: 6px; }
.reading-key a { font-weight: 700; }

/* ---- UI tidy (2026-10-16, Erik: "Tidy up all the UI") ---- */

/* Stat rows: the number never breaks; on phones it sits above its text instead of squeezing it. */
.stat-list strong { white-space: nowrap; min-width: 116px; }
@media (max-width: 640px) {
  .stat-list li { display: block; padding: 14px 0; }
  .stat-list strong { display: block; min-width: 0; font-size: 1.3rem; margin-bottom: 6px; }
  .stat-list span { display: block; }
}

/* Labels that shouldn't break or be too small */
.badge { white-space: nowrap; }
.plan .k { font-size: 0.7rem; }
.pill { line-height: 1.35; }
@media (max-width: 640px) { .pill { letter-spacing: 0.08em; padding: 9px 14px; } }
.phone-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-meta span:first-child { min-width: 0; margin-right: 8px; }

/* Tap targets at least 44px tall */
.billing-toggle button { padding: 15px 18px; }
.card .more { min-height: 44px; }
.reading-key { padding: 2px 16px; }
.reading-key summary { padding: 12px 0; }
.reading-key[open] { padding-bottom: 14px; }

/* Tables on phones: each row becomes a card, each cell shows its column name (labels added by build.mjs). */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .table-wrap table { min-width: 0; font-size: 0.92rem; background: transparent; border: 0; margin: 0; }
  .table-wrap thead { display: none; }
  .table-wrap table, .table-wrap tbody, .table-wrap tfoot, .table-wrap tr, .table-wrap tbody th, .table-wrap tfoot th, .table-wrap td { display: block; width: auto; }
  .table-wrap tbody tr, .table-wrap tfoot tr { background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
  .table-wrap tbody th, .table-wrap tfoot th { padding: 14px 16px 10px; border: 0; font-size: 1rem; background: var(--card); color: var(--navy); }
  .table-wrap td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 16px; border: 0; border-top: 1px solid var(--line); text-align: right; }
  .table-wrap td::before { content: attr(data-label); flex: 0 0 42%; text-align: left; font: 700 0.8rem/1.35 var(--sans); color: var(--slate); }
  .table-wrap td.us::before { color: var(--forest); }
  .table-wrap td .cell { min-width: 0; }
  .table-wrap table.stack td { display: block; text-align: left; }
  .table-wrap table.stack td::before { display: block; margin-bottom: 4px; }
  .table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
  .table-wrap tr:last-child td + td, .table-wrap td + td { border-top: 1px solid var(--line); }
  .table-wrap tbody tr.group { background: transparent; border: 0; box-shadow: none; margin: 20px 0 8px; }
  .table-wrap tbody tr.group th { background: transparent; padding: 0 2px; font-size: 1.1rem; }
  .table-wrap tbody tr:first-child.group { margin-top: 0; }
  .mini-table.stack thead { display: none; }
  .mini-table.stack, .mini-table.stack tbody, .mini-table.stack tr, .mini-table.stack td { display: block; width: auto; }
  .mini-table.stack tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .mini-table.stack td { padding: 4px 0; border: 0; }
  .mini-table.stack td::before { content: attr(data-label); display: block; font: 700 0.7rem/1.5 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
  table.cost { table-layout: auto; }
}
@media (max-width: 640px) {
  /* Plan by plan: on phones, the plan, our plan and the difference; the per-1,000 prices stay on wider screens. */
  .plan-table td:nth-child(2), .plan-table td:nth-child(4) { display: none; }
  .plan-table tbody th { padding-bottom: 8px; }
}
@media (max-width: 640px) {
  /* Plan cards on phones: name and credits left, price right, button below, so all five fit in about a screen. */
  .plans { gap: 12px; }
  .plan { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "credits per" "fit fit" "btn btn"; align-items: baseline; gap: 2px 12px; text-align: left; padding: 18px 18px 16px; }
  .plan.featured { padding-top: 24px; }
  .plan h3 { grid-area: name; font-size: 1.05rem; }
  .plan .price { grid-area: price; font-size: 1.9rem; margin: 0; text-align: right; }
  .plan .per { grid-area: per; text-align: right; min-height: 0; }
  .plan .credits { grid-area: credits; margin: 0; }
  .plan .fit { grid-area: fit; min-height: 0; margin-top: 4px; }
  .plan .rule, .plan .k { display: none; }
  .plan .btn { grid-area: btn; margin-top: 12px; }
}
@media (max-width: 640px) {
  /* Cards and steps on phones: icon or number beside the title, tighter padding. */
  .cards { gap: 12px; }
  .cards .card { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 20px; }
  .cards .card > * { grid-column: 1 / -1; }
  .cards .card > .tile { grid-column: 1; width: 40px; height: 40px; margin: 0; }
  .cards .card > .tile .icon { width: 20px; height: 20px; }
  .cards .card > h3 { margin: 0; }
  .cards .card > .tile + h3 { grid-column: 2; }
  .cards .card > p { margin-top: 12px; }
  .card p + .more, .card ul + .more { margin-top: 16px; padding-top: 12px; }
  .steps { gap: 12px; }
  .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; padding: 20px; }
  .steps li::before { margin: 0; }
  .steps li > p { grid-column: 1 / -1; margin-top: 10px; }
  .steps h3 { margin: 0; }
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 22px; }
  .feature-row { gap: 20px; padding: 32px 0; }
  .hero-copy { padding: 36px 0 24px; }
  .hero-visual { padding: 28px 0 40px; }
  .prose h2 { margin-top: 32px; }
  .section-white + .section-white, .section-ivory + .section-ivory { padding-top: 0; }
  .footnote { text-align: left; }
  .footer-base { flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; }
  .footer-base > span:first-child { flex: 1 0 100%; }
}
@media (max-width: 640px) { .table-wrap table.cost tbody th, .table-wrap table tbody th { width: auto; } }
.phone-meta span:last-child { flex: none; }

/* ---- Desktop tidy (2026-10-16) ---- */
/* Even line breaks: no single word left alone on the last line of a heading or intro. */
h1, h2, h3, .lead, .section-head p, .built-by-text { text-wrap: balance; }
p, li, dd, td, th, figcaption { text-wrap: pretty; }
.btn { text-wrap: balance; }
.section-head .lead + .muted, .section-head .muted + .muted { margin-top: 12px; }
.faq summary { text-wrap: balance; align-items: center; }
/* Readable line lengths */
.faq details p { max-width: 68ch; }
.footnote, .caption { max-width: 82ch; }
.plans-note { max-width: 82ch; margin-left: auto; margin-right: auto; }
.built-by-text { max-width: 64ch; }
.reading-key { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Card links line up across a row */
@media (min-width: 641px) {
  .cards .card p + .more, .cards .card .checks + .more { margin-top: auto; }
  .cards .card > p, .cards .card > .checks { margin-bottom: 22px; }
}
.footnote { margin-left: auto; margin-right: auto; }
.plan .fit, .plan .per, .caption, .footnote, .plans-note { text-wrap: balance; }

/* Analytics choice (only on the Render build, where Tag Manager loads). A slim bar along the bottom, not a card over the page
   (website review of 2026-11-07: it covered a quarter of a phone's first screen); the words are the cookie notice's, unchanged. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px 24px; padding: 12px max(16px, calc((100vw - 1100px) / 2)); padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(15, 27, 45, 0.12); }
.consent[hidden] { display: none; }
.consent p { margin: 0; max-width: 820px; font-size: 0.85rem; line-height: 1.45; color: var(--slate); }
.consent p a { color: var(--forest); }
.consent-actions { display: flex; gap: 8px; flex: none; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 640px) {
  .consent { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .consent p { font-size: 0.78rem; line-height: 1.4; }
  .consent-actions .btn { flex: 1; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
  .glossary-nav a, .jump-links a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Opening soon (until SITE_APP_OPEN=1) */
.soon-bar { background: var(--navy); color: #e6ecf2; font-size: 0.84rem; line-height: 1.4; text-align: center; padding: 9px 0; }
.soon-bar strong { color: var(--signal); }
.new-bar a { color: #fff; text-decoration: underline; margin-left: 4px; }
.soon-panel { max-width: 760px; margin: 0 auto; text-align: center; }
.soon-panel .actions { justify-content: center; }

/* Sales pass: "You get" lines, sample report, hero links */
.gets { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--mint); color: var(--forest-ink); font-size: 0.9rem; line-height: 1.45; }
.card .gets, .feature-row .gets { margin-bottom: 4px; }
.card p + .gets { margin-top: auto; }
.gets strong { display: block; font: 800 0.66rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; color: var(--forest); }
.card .gets + .more { margin-top: 18px; }
.hero-links { margin: 14px 0 0; font-size: 0.95rem; }
.art-title { font: 800 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.art-list { margin-top: 18px; }
.sample-banner { max-width: 880px; margin: 0 auto 18px; padding: 12px 16px; border: 1px dashed var(--forest); border-radius: 10px; background: #fff; font-size: 0.9rem; color: var(--body); }
.report { max-width: 880px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 28px; border-bottom: 1px solid var(--line); }
.report-logo { display: flex; align-items: center; gap: 12px; }
.report-logo .box { width: 52px; height: 52px; border: 2px dashed var(--line); border-radius: 10px; display: grid; place-items: center; text-align: center; color: var(--slate); font: 800 0.58rem/1.2 var(--sans); text-transform: uppercase; }
.report-logo strong, .report-meta strong { display: block; color: var(--navy); }
.report-logo span:not(.box), .report-meta span { display: block; font-size: 0.84rem; color: var(--slate); }
.report-meta { text-align: right; }
.report-body { padding: 28px; display: grid; gap: 32px; }
.report-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.report-body h3 { margin-bottom: 12px; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--ivory); }
.kpi .k { display: block; font: 800 0.66rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.kpi strong { display: block; font: 800 1.5rem/1.2 var(--sans); color: var(--forest); margin: 6px 0 2px; }
.kpi .s { font-size: 0.8rem; color: var(--slate); }
.report-map { max-width: 460px; }
.report-foot { padding: 14px 28px; border-top: 1px solid var(--line); background: var(--ivory); text-align: center; font-size: 0.85rem; color: var(--slate); }
@media (max-width: 640px) {
  .report-head, .report-body, .report-foot { padding-left: 18px; padding-right: 18px; }
  .report-meta { text-align: left; }
  .report-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* Ad landing page (/start/): no menu, one button */
.site-header-bare .header-actions { margin-left: auto; }
.site-header-bare .brand img { height: 48px; }
.start-note { margin-top: 14px; font-size: 0.9rem; color: var(--slate); }
.start-note.center { text-align: center; }
.site-footer-bare .footer-base { border-top: 0; flex-wrap: wrap; gap: 10px 28px; padding-top: 28px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.built-for { max-width: 760px; margin: 0 auto; }
.built-for h2 { margin-bottom: 20px; }
@media (max-width: 640px) {
  .site-header-bare .brand img { height: 40px; }
  .site-header-bare .header-inner { gap: 12px; }
}

/* Sales blocks (src/sales.mjs): offer after each section, proof wall, with/without, coming next */
.h1-long { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; }
.hero-fine { font-size: 0.86rem; color: var(--slate); margin: -14px 0 24px; max-width: 520px; }
.section-cta { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 40px; }
.section-cta .start-note { margin-top: 10px; text-align: center; }
.proof-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-card { padding: 22px; }
.card .proof-num { font: 700 clamp(1.7rem, 2.6vw, 2.3rem)/1.05 var(--serif); color: var(--forest); letter-spacing: -0.01em; margin-bottom: 10px; }
.proof-card .proof-line { font-size: 0.92rem; color: var(--body); }
.proof-card .more { margin-top: auto; }
.proof-card .proof-line + .more { margin-top: 18px; }
.proof-quote blockquote { margin: 0 0 12px; font: 600 1.2rem/1.35 var(--serif); color: var(--navy); }
.proof-disclosure { font-size: 0.8rem; color: var(--slate); margin-top: 8px; }
.vs .panel h3 { margin-bottom: 14px; }
.vs-with { border-color: var(--forest); box-shadow: var(--shadow-lg); }
.vs .numbered li > span { padding-top: 3px; }
.coming-next { margin-top: 40px; background: var(--card); border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: 22px 26px; }
.coming-title { font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.coming-next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.coming-next li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; }
.coming-next li .icon { flex: none; width: 22px; height: 22px; color: var(--forest); margin-top: 2px; }
.coming-more { margin-top: 12px; font-size: 0.9rem; }
.glance { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 28px; max-width: 900px; margin: 0 auto; }
.glance div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance div:last-child { border-bottom: 0; }
.glance dt { font: 800 0.74rem/1.5 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.glance dd { margin: 0; color: var(--navy); }
@media (max-width: 1080px) { .proof-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .proof-wall { grid-template-columns: 1fr; }
  .glance { padding: 4px 18px; }
  .glance div { grid-template-columns: 1fr; gap: 4px; }
  .hero-fine { margin-top: -8px; }
}

/* Conversion pass: stat strip, email form, sticky bar, animated phone */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; padding: 0; margin: 26px 0 0; }
.stat-strip li { display: flex; flex-direction: column; max-width: 150px; font-size: 0.8rem; line-height: 1.35; color: var(--slate); }
.stat-strip strong { font: 700 1.9rem/1 var(--serif); color: var(--forest); margin-bottom: 4px; }
.launch-form { width: 100%; max-width: 560px; }
.section-cta .launch-form { margin: 0 auto; }
.launch-row { display: flex; gap: 10px; }
.launch-row input { flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--control-line); border-radius: 12px; font: inherit; background: var(--card); color: var(--navy); }
.launch-row .btn { flex: none; }
.launch-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 0.82rem; line-height: 1.45; color: var(--slate); text-align: left; }
.launch-consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--forest); }
.launch-status { margin-top: 8px; min-height: 1.3em; font-size: 0.88rem; color: var(--forest-ink); font-weight: 600; }
.hero-sample { margin-top: 14px; font-size: 0.92rem; }
.demo-line { margin-top: 14px; font-size: 0.95rem; color: var(--slate); }
/* Phones: the two links sit on their own lines, so neither breaks in the middle of its words. */
@media (max-width: 520px) { .hero-sample > span { display: block; } .hero-sample > span + span { margin-top: 6px; } .hero-sample .hero-sample-sep { display: none; } }
.calc-cta { margin-top: 18px; }
.calc-cta .start-note { margin-top: 8px; }
.sticky-cta { display: none; }
@property --reveal { syntax: '<number>'; initial-value: 84; inherits: true; }
@keyframes reveal { 0% { --reveal: 0; } 40% { --reveal: 84; } 92% { --reveal: 84; } 100% { --reveal: 0; } }
@keyframes report-in { 0%, 48% { opacity: 0; transform: translateY(18px); } 56%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(0); } }
.phone-anim { position: relative; animation: reveal 11s linear infinite; }
.phone-anim .pin { opacity: clamp(0, calc(var(--reveal) - var(--i)), 1); transform: scale(clamp(0.5, calc(0.5 + var(--reveal) - var(--i)), 1)); }
.phone-report { position: absolute; left: 8px; right: 8px; bottom: 10px; top: 46px; background: var(--card); border-radius: 22px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; animation: report-in 11s ease-in-out infinite; box-shadow: 0 -6px 22px rgba(15, 27, 45, 0.1); }
.pr-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pr-logo { flex: none; display: grid; place-items: center; width: 64px; height: 44px; border: 1.5px dashed var(--forest); border-radius: 8px; color: var(--forest); font: 800 0.58rem/1.15 var(--sans); text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.pr-agency { display: flex; flex-direction: column; font-size: 0.7rem; color: var(--slate); line-height: 1.3; }
.pr-agency strong { color: var(--navy); font-size: 0.8rem; }
.pr-title { font: 700 1.05rem/1.2 var(--serif); color: var(--navy); margin-top: 4px; }
.pr-client { font-size: 0.74rem; color: var(--body); line-height: 1.35; }
.pr-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pr-kpis div { background: var(--mint); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; }
.pr-kpis span { font: 700 0.58rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.pr-kpis strong { font: 800 1.5rem/1.1 var(--sans); color: var(--forest); }
.pr-foot { margin-top: auto; font-size: 0.62rem; color: var(--slate); text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .phone-anim { animation: none; --reveal: 84; }
  .phone-report { display: none; }
}
@media (max-width: 640px) {
  .launch-row { flex-direction: column; }
  .launch-row .btn { width: 100%; }
  .stat-strip { gap: 12px 18px; }
  .stat-strip li { max-width: 31%; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 27, 45, 0.1); transform: translateY(110%); transition: transform 0.2s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; }
  body.has-sticky { padding-bottom: 76px; }
}
.cta-band .launch-consent { color: #cfe3d9; }
.cta-band .launch-consent a { color: #fff; }
.cta-band .launch-status { color: var(--signal); }
.cta-band .launch-row .btn { background: var(--signal); color: var(--navy); }

/* Selling blocks: who this is not for, no contract, the free-switch offer */
.not-list .icon { color: var(--r4); }
.no-contract { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 22px auto 0; padding: 14px 18px; background: var(--mint); border-radius: 12px; color: var(--forest-ink); font-weight: 600; font-size: 0.95rem; line-height: 1.45; text-align: left; }
.no-contract .icon { flex: none; width: 20px; height: 20px; color: var(--r1); margin-top: 2px; }
.no-contract.top-up-note { margin-top: 12px; font-weight: 500; }
.offer-line { display: inline-block; margin-top: 22px; padding: 12px 18px; background: var(--mint); border-left: 4px solid var(--forest); border-radius: 8px; color: var(--forest-ink); max-width: 720px; }

/* SEO pass: guide pages, footer, contrast */
.updated { margin-top: 14px; font-size: 0.86rem; color: var(--slate); }
.in-short { margin-top: 22px; max-width: 720px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.in-short-title { font: 800 0.72rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); margin-bottom: 10px; }
/* The next step on a page's first screen (heroCta in components.mjs). */
.hero-cta { margin-top: 24px; }
.hero-cta + .start-note { margin-top: 10px; }
.quote { margin: 18px 0; padding: 14px 18px; border-left: 4px solid var(--forest); background: var(--mint); border-radius: 8px; font-style: italic; color: var(--navy); }
.template { background: var(--card); border: 1px dashed var(--line-dark); border-radius: var(--radius); padding: 18px 22px; margin: 16px 0; }
.template p { margin: 0 0 10px; }
.template ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 6px; }
.prose .grid-card { max-width: 420px; margin: 8px 0 20px; }
/* A wide guide section (a table or cards across the page): the same gaps as the prose around it. */
.guide-wide > h2 { margin-bottom: 14px; }
.guide-wide > p { margin: 0 0 14px; max-width: 760px; }
.guide-wide > .table-wrap { margin: 20px 0 0; }
.guide-wide > .footnote + p { margin-top: 20px; }
/* A row of buttons right under a paragraph in a panel or card gets room to breathe. */
.panel p + .actions, .card p + .actions { margin-top: 20px; }
/* Two paragraphs in a row inside a panel or card don't run together. */
.panel p + p, .card p + p { margin-top: 12px; }
/* The footer, kept clean (Erik 2026-11-06: "clean up the footer"): the logo and its three reasons, then five columns as
   wide as their names and spread evenly, each name on one line until a phone. The legal pages and the copyright share the
   bottom row, which lines up with the columns above it. */
.footer-inner { grid-template-columns: minmax(200px, 250px) repeat(5, max-content); justify-content: space-between; gap: 28px 20px; }
.footer-inner a { white-space: nowrap; }
.footer-bottom { display: grid; gap: 8px; border-top: 1px solid var(--line); padding: 18px 0 24px; color: var(--slate); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }
.site-footer .footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-legal-links a, .footer-legal-links .link-button { color: var(--slate); text-decoration: none; }
.footer-legal-links .link-button:hover { color: var(--forest); }
/* A tablet: the logo and its line on the left, the three reasons beside them, the five columns in one row below. */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: repeat(5, max-content); }
  .footer-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .site-footer .footer-brand > ul { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; } }
@media (max-width: 640px) { .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-inner a { white-space: normal; } .footer-brand { display: block; } .site-footer .footer-brand > ul { margin-top: 16px; } }
.pin { color: var(--navy); }
.pin.r1, .pin.r3, .pin.r4, .pin.r0 { color: var(--navy); }
.proof-disclosure { font-size: 0.8rem; color: var(--slate); margin-top: 10px; }

/* Phone-precision pieces: PinProof chart, definition box, five steps, three questions */
.billing-toggle .save { color: var(--forest-ink); }
.pp-chart { margin: 22px 0; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pp-chart figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; color: var(--navy); }
.pp-chart figcaption span { font-size: 0.84rem; color: var(--slate); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(150px, 34%) 1fr 78px; align-items: center; gap: 12px; font-size: 0.9rem; }
.bar-label { color: var(--body); line-height: 1.3; }
.bar-track { display: block; height: 14px; background: var(--ivory-2); border-radius: 8px; overflow: hidden; }
.bar { display: block; height: 100%; border-radius: 8px; background: var(--forest); }
.bar-computer .bar { background: var(--r3); }
.bar-near .bar { background: var(--r4); }
.bar-val { font-weight: 800; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pp-limits { margin-top: 14px; font-size: 0.82rem; color: var(--slate); line-height: 1.5; }
.pp-small { padding: 16px 18px; box-shadow: none; }
.pp-small .bars li { grid-template-columns: minmax(120px, 38%) 1fr 70px; font-size: 0.84rem; }
.define { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0; }
.define > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.define h3 { margin-bottom: 12px; }
.pin-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.pin-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pin-steps li + li::before { content: '→'; position: absolute; left: -13px; top: 38px; color: var(--forest); font-weight: 800; }
.step-badge { align-self: flex-start; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: #fff; font: 800 0.8rem/1 var(--sans); text-transform: uppercase; }
.step-art { width: 100%; max-width: 130px; height: auto; }
.pin-steps h3 { font-size: 0.95rem; }
.pin-steps p { font-size: 0.85rem; color: var(--body); }
.qa li > span { line-height: 1.5; }
.proof-line { margin-top: 12px; font-size: 0.95rem; color: var(--forest-ink); font-weight: 600; }
@media (max-width: 1080px) { .pin-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pin-steps li + li::before { display: none; } }
@media (max-width: 640px) {
  .pin-steps { grid-template-columns: 1fr; }
  .define { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 1fr 88px; gap: 4px 10px; }
  .bars li .bar-track { grid-column: 1 / -1; order: 3; }
  .pp-small .bars li { grid-template-columns: 1fr 84px; }
}

/* Pin numbers grow with the pin, so big maps stay readable and small ones still fit (SEO team, 2026-11-04).
   The phone pictures keep their fixed size. */
.heatmap { container-type: inline-size; }
.heatmap .pin { font-size: clamp(0.62rem, calc(36cqi / var(--n, 9)), 1.15rem); }
.heatmap .pin.r4 { font-size: clamp(0.56rem, calc(30cqi / var(--n, 9)), 0.95rem); }
.phone .heatmap .pin { font-size: 0.66rem; }
.phone .heatmap .pin.r4 { font-size: 0.56rem; }

/* Free tools and checklists (Erik 2026-11-06, Q3 A; src/pages/free-tools.mjs, public/tools.js). */
.tool textarea { width: 100%; font: 500 0.95rem/1.5 var(--sans); color: var(--navy); padding: 12px 14px; border: 1.5px solid var(--control-line); border-radius: 10px; background: var(--card); resize: vertical; }
.tool textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(8, 231, 126, 0.25); }
.tool .code-out, .code-block { font: 500 0.82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tool .code-out { margin-top: 4px; }
.tool .field-hint { font-size: 0.82rem; color: var(--slate); margin-top: 6px; }
.tool .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.tool legend { font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.tool .hours-row { display: grid; grid-template-columns: 92px 1fr 1fr auto; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 0.9rem; }
.tool .hours-row input[type=time] { padding: 8px 10px; font-size: 0.9rem; }
.tool .check-inline { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin: 0 0 8px; }
.tool .check-inline input, .checklist input[type=checkbox] { width: 20px; height: 20px; padding: 0; flex: none; accent-color: var(--forest); }
.tool .tool-hint { font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.tool-out .big { font-size: 1.6rem; margin-bottom: 12px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 12px; }
.index-list { padding-left: 1.4em; margin: 0 0 14px; display: grid; gap: 8px; }
.index-list li { padding-left: 4px; }
.index-list .index-url { display: block; overflow-wrap: anywhere; color: var(--navy); font-weight: 600; }
.code-block { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; overflow-x: auto; white-space: pre; margin: 0 0 18px; }
.keyword-example { columns: 2; column-gap: 28px; }
.checklist-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.checklist-progress { font: 800 1.1rem/1.3 var(--sans); color: var(--forest); margin: 0; }
.checklist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.checklist-section { margin-top: 30px; }
.checklist-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.checklist-section ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 2px; }
.checklist-section label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; }
.checklist-section label:hover { background: var(--ivory-2); }
.checklist-section input { margin-top: 2px; }
.checklist-section input:checked + span { color: var(--slate); }
@media (max-width: 640px) {
  .tool .hours-row { grid-template-columns: 1fr 1fr; }
  .tool .hours-row > span { grid-column: 1 / -1; font-weight: 700; color: var(--navy); }
  .keyword-example { columns: 1; }
  .checklist-section label { padding: 10px 2px; }
}
@media print {
  .soon-bar, .site-header, .site-footer, .consent, .cta-band, .related, .section-cta, .checklist-actions, .page-hero .updated, .skip { display: none !important; }
  body, .section, .section-ivory, .section-white { background: #fff !important; }
  .section { padding: 12px 0 !important; }
  .panel { box-shadow: none; border: 0; padding: 0; }
  .checklist-section li { break-inside: avoid; }
  .faq details { display: block; }
}
.tool-more { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.tool-more > summary { cursor: pointer; font-weight: 700; color: var(--forest); margin-bottom: 16px; }
@media (min-width: 941px) { .tool-out { position: sticky; top: 96px; } }

/* ---- Livelier pages (Erik 2026-11-06: every page livelier, with balance: more than plain, never busy). One accent at a time: a pin on a grid in every page hero, a dark band for speed, cards that answer the mouse,
   a soft rise as sections scroll in. Colours stay the brand's; nothing blinks or counts down. The ad page (/start/, its
   own chat's) and browsers without :has() or nesting keep the look above. Motion stops with "reduce motion". */
@keyframes lp-rise { from { opacity: 0; translate: 0 26px; } }
@keyframes lp-float { 50% { translate: 0 -8px; } }
@keyframes lp-ping { 0% { opacity: 0.55; transform: scale(0.3); } 60%, 100% { opacity: 0; transform: scale(1.45); } }
:where(body:not(:has(.site-header-bare))) {
  --gold-tint: #fff4d6;
  --gold-ink: #7a5600;
  --sky-tint: #e8eef6;
  --sky-ink: #23406b;
  --grid-dots: radial-gradient(circle, rgba(5, 69, 49, 0.2) 1.6px, transparent 2.2px);
  --grid-dots-light: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.6px, transparent 2.2px);
  /* Where the pin sits in a page hero: its distance from the right edge. */
  --motif-x: max(150px, calc(50vw - var(--wrap) / 2 + 170px));

  /* Header: frosted, so the page shows through as it scrolls. */
  .site-header { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); }

  /* Buttons lift a little under the mouse. */
  .btn { transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s; }
  .btn-primary { box-shadow: 0 1px 2px rgba(5, 69, 49, 0.18), 0 8px 18px -8px rgba(5, 69, 49, 0.55); }
  .btn-signal { box-shadow: 0 8px 22px -8px rgba(8, 231, 126, 0.6); }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary:hover { box-shadow: 0 2px 4px rgba(5, 69, 49, 0.2), 0 12px 24px -10px rgba(5, 69, 49, 0.6); }

  /* Section labels carry a small signal-green pin dot. */
  .section-head > .eyebrow::before, .page-hero .eyebrow::before, .prose > .eyebrow::before, .guide-wide > .eyebrow::before, .built-by .eyebrow::before {
    content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: 1px; border-radius: 50%;
    background: var(--signal); box-shadow: 0 0 0 3px rgba(8, 231, 126, 0.2);
  }

  /* Page heroes: a pin dropped on a grid, on the right, with one slow ring going out from it. */
  .page-hero { position: relative; overflow: clip; isolation: isolate; background: radial-gradient(52% 120% at 100% 0%, rgba(8, 231, 126, 0.09), transparent 70%), var(--ivory); }
  .page-hero::after {
    content: ''; position: absolute; z-index: -2; top: 0; bottom: 0; right: 0; width: calc(var(--motif-x) * 2);
    background: var(--grid-dots) center / 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent); mask-image: radial-gradient(closest-side, #000 25%, transparent);
  }
  .page-hero::before {
    content: ''; position: absolute; z-index: -1; top: 50%; right: var(--motif-x); height: min(220px, 84%); aspect-ratio: 1; translate: 50% -50%;
    border-radius: 50%; border: 2px solid rgba(5, 69, 49, 0.35); opacity: 0.25;
  }
  .page-hero > .wrap::after {
    content: ''; position: absolute; z-index: -1; top: calc(50% - 52px); right: calc(var(--motif-x) - 34px); width: 68px; height: 91px;
    background: url(/brand/mark.svg) center / contain no-repeat; filter: drop-shadow(0 14px 18px rgba(5, 69, 49, 0.28));
  }
  .page-hero.center::after { left: 0; width: auto; -webkit-mask-image: radial-gradient(ellipse 50% 90% at 50% 50%, transparent 55%, #000); mask-image: radial-gradient(ellipse 50% 90% at 50% 50%, transparent 55%, #000); opacity: 0.8; }
  .page-hero.center::before, .page-hero.center > .wrap::after { display: none; }
  @media (min-width: 1081px) { .page-hero:not(.center) > .wrap > * { max-width: 780px; } }
  @media (max-width: 1080px) {
    .page-hero::before, .page-hero > .wrap::after { display: none; }
    .page-hero::after, .page-hero.center::after { left: auto; width: 320px; height: 260px; bottom: auto; opacity: 0.7; -webkit-mask-image: radial-gradient(circle 280px at 100% 0%, #000 20%, transparent); mask-image: radial-gradient(circle 280px at 100% 0%, #000 20%, transparent); }
  }

  /* Home hero: the grid under the phone, and the score card floats. */
  .hero-visual { background: var(--grid-dots) center / 22px 22px, radial-gradient(circle at 52% 48%, transparent 0 150px, rgba(5, 69, 49, 0.07) 151px 152px, transparent 153px 235px, rgba(5, 69, 49, 0.06) 236px 237px, transparent 238px 330px, rgba(5, 69, 49, 0.05) 331px 332px, transparent 333px), var(--ivory-2); }
  .hero-visual::before { background: var(--ivory-2); }
  .phone { box-shadow: 0 2px 6px rgba(15, 27, 45, 0.08), 0 40px 80px -20px rgba(5, 69, 49, 0.35); }

  /* Speed: the one dark band in the middle of a page. */
  #speed { position: relative; overflow: clip; isolation: isolate; color: #cfe3d9; background: radial-gradient(70% 130% at 50% 0%, #0b5c42 0%, var(--forest) 55%, #033524 100%); }
  #speed::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grid-dots-light) center / 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, transparent 40%, #000); mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, transparent 40%, #000); }
  #speed h2 { color: #fff; }
  #speed .eyebrow { color: var(--signal); }
  #speed .lead { color: #eef7f2; }
  #speed .muted { color: #a9cbbd; }
  #speed a { color: var(--signal); }
  #speed a:hover { color: #fff; }

  /* Cards: a line of brand colour runs in along the top, and cards with a link rise. */
  .card { position: relative; overflow: clip; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
  .card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--forest), var(--signal)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
  .card:hover { border-color: #c3d6cc; }
  .card:hover::before, .proof-card::before { transform: none; }
  .card:has(.more):hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .card .tile { transition: background 0.25s, color 0.25s; }
  .cards > .card:nth-child(3n+2) .tile { background: var(--gold-tint); color: var(--gold-ink); }
  .cards > .card:nth-child(3n) .tile { background: var(--sky-tint); color: var(--sky-ink); }
  .cards > .card:hover .tile { background: var(--forest); color: #fff; }
  .card .more .icon { transition: translate 0.2s; }
  .card .more:hover .icon, .card:hover .more .icon { translate: 4px 0; }
  .card .proof-num { font-size: clamp(2rem, 3vw, 2.7rem); }
  .salon-card { transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
  .salon-card:hover { box-shadow: var(--shadow-lg); }

  /* Steps: bigger numbers in a soft ring. */
  .steps li { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .steps li::before { width: 42px; height: 42px; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--mint); }
  .steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

  /* With and without: the "with" side stands forward. */
  .vs-with { background: linear-gradient(180deg, #f3fbf5, var(--card) 45%); }
  .vs-without { background: var(--ivory-2); box-shadow: none; }

  /* Plans: the plan most agencies fit stands forward; the others rise under the mouse. */
  .plan { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
  .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c3d6cc; }
  .plan.featured { box-shadow: 0 2px 6px rgba(5, 69, 49, 0.08), 0 28px 60px -24px rgba(5, 69, 49, 0.45); }
  .plan.featured:hover { border-color: var(--r1); }
  @media (min-width: 1081px) {
    .plan.featured { transform: translateY(-10px); }
    .plan.featured:hover { transform: translateY(-14px); }
  }

  /* Features page: the rows take turns on white and ivory, and each picture sits on a soft offset card. */
  .feature-row.flip { background: var(--ivory); box-shadow: 0 0 0 100vmax var(--ivory); clip-path: inset(0 -100vmax); border-bottom-color: transparent; }
  .feature-row .feature-art { box-shadow: 14px 14px 0 -2px var(--mint), var(--shadow); }
  .feature-row.flip .feature-art { box-shadow: -14px 14px 0 -2px var(--mint-2), var(--shadow); }
  .feature-row.flip .tile { background: var(--gold-tint); color: var(--gold-ink); }

  /* "Used first by a real agency": a mint band with the pin mark behind it. */
  .built-by { position: relative; overflow: clip; isolation: isolate; background: linear-gradient(180deg, var(--mint), #f4faf6); border-top: 0; }
  .built-by::after { content: ''; position: absolute; z-index: -1; right: 6%; top: 50%; width: 150px; height: 201px; translate: 0 -50%; background: url(/brand/mark.svg) center / contain no-repeat; opacity: 0.08; }
  .built-by-text { font-size: 1.12rem; color: var(--navy); }

  /* Questions: the open one is outlined, the plus sits in a soft circle. */
  .faq details { transition: border-color 0.2s, box-shadow 0.2s; }
  .faq details:hover { border-color: #c3d6cc; }
  .faq details[open] { border-color: var(--forest); box-shadow: var(--shadow); }
  .faq summary::after { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); font-size: 1.15rem; transition: background 0.2s, color 0.2s; }
  .faq details[open] summary::after { background: var(--forest); color: #fff; }

  /* Tables, charts and short answers. */
  .table-wrap thead th:not(.us) { background: var(--ivory-2); }
  .bar { background: linear-gradient(90deg, var(--forest), #0e7a55); }
  .in-short { background: linear-gradient(180deg, #f3fbf5, var(--card)); border-left: 4px solid var(--forest); box-shadow: var(--shadow); }
  .prose ul:not(.checks):not(.numbered) > li::marker { color: var(--forest); }
  .glossary-nav a { transition: background 0.2s, border-color 0.2s; }
  .glossary-nav a:hover { background: var(--mint); border-color: var(--mint-2); }

  /* Closing band: the grid fades in from the right, behind a soft green glow, and the mark floats. */
  .cta-band { position: relative; isolation: isolate; background: radial-gradient(55% 120% at 88% 50%, rgba(8, 231, 126, 0.16), transparent 70%), var(--navy); }
  .cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grid-dots-light) center / 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
  .site-footer { background: linear-gradient(90deg, var(--forest), var(--signal)) top / 100% 3px no-repeat, var(--card); border-top: 0; }

  @media (prefers-reduced-motion: no-preference) {
    .page-hero::before { animation: lp-ping 4.8s ease-out 1s infinite; }
    .score-card { animation: lp-float 6s ease-in-out 1.2s infinite; }
    .cta-mark { animation: lp-float 7s ease-in-out infinite; }
    /* The first screen settles in once, a beat apart. The headline itself is there from the start. */
    .page-hero > .wrap > :not(h1), .hero-copy > :not(h1), .hero-visual > .phone { animation: lp-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .page-hero > .wrap > :nth-child(3), .hero-copy > :nth-child(3) { animation-delay: 0.08s; }
    .page-hero > .wrap > :nth-child(4), .hero-copy > :nth-child(4) { animation-delay: 0.16s; }
    .page-hero > .wrap > :nth-child(n+5), .hero-copy > :nth-child(n+5) { animation-delay: 0.24s; }
    .hero-visual > .phone { animation-delay: 0.1s; }
    /* Further down, blocks rise as they scroll into view (browsers that tie animation to scrolling; others show them as they are). */
    @supports (animation-timeline: view()) {
      .section-head, .cards > *, .steps > li, .plans > .plan, .proof-wall > *, .feature-row > *, .faq details, .two-col > *, .proof > *, .salon-cards > *, .takeaways > *, .compare-cards > *, .pin-steps > li, .glance, .pp-chart, .in-short, .coming-next {
        animation: lp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 75%;
      }
    }
  }
}
@media print { *, *::before, *::after { animation: none !important; } }

/* ---- Pictures for readers who skim (src/diagrams.mjs; Erik 2026-11-06: "add some pictures, diagrams for demonstration for those
   reader who are lazy to read", "for all pages wherever applicable"). Each shows what the text beside it says, from the same numbers. */
.dg { margin: 24px 0; }
.dg > figcaption { margin-top: 12px; text-align: center; font-size: 0.86rem; color: var(--slate); }
.section-head + .dg, .section-head + .pp-chart { margin-top: 0; }

/* Credits as a sum */
.dg-math-row { display: flex; align-items: stretch; justify-content: center; gap: 10px; }
.dg-term { flex: 1 1 0; max-width: 210px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 14px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dg-term-art { display: grid; place-items: center; height: 52px; margin-bottom: 6px; }
.dg-term strong { font: 700 2.1rem/1 var(--serif); color: var(--navy); }
.dg-term span:not(.dg-term-art) { font-size: 0.84rem; line-height: 1.35; color: var(--slate); }
.dg-op { align-self: center; font: 600 1.7rem/1 var(--sans); color: var(--forest); }
.dg-result { justify-content: center; background: var(--forest); border-color: var(--forest); }
.dg-result strong { font-size: 2.4rem; color: #fff; }
.dg-term.dg-result span { color: #cfe3d9; }
.dg-result em { margin-top: 8px; padding: 5px 11px; border-radius: 99px; background: rgba(8, 231, 126, 0.16); color: var(--signal); font: 700 0.8rem/1.2 var(--sans); }
.dg-dots { display: inline-grid; grid-template-columns: repeat(var(--n), 5px); gap: 3px; }
.dg-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--forest); opacity: 0.55; }
.dg-dots i:nth-child(odd) { opacity: 0.8; }
.dg-chips { display: grid; gap: 5px; justify-items: start; }
.dg-chips i { display: block; width: 44px; height: 10px; border-radius: 5px; background: var(--forest); }
.dg-chips i:nth-child(2) { width: 34px; background: #0e7a55; }
.dg-chips i:nth-child(3) { width: 40px; background: var(--mint-2); }
.dg-people { display: flex; }
.dg-people i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--card); background: #c5d4e6; }
.dg-people i + i { margin-left: -7px; background: #8fa9c9; }
.dg-people i:nth-child(3) { background: var(--sky-ink, #23406b); }
@media (max-width: 640px) {
  /* Phones: the terms side by side without their drawings, then "=" and the total on lines of their own. */
  .dg-math-row { flex-wrap: wrap; gap: 6px 4px; }
  .dg-term { min-width: 0; padding: 12px 6px; }
  .dg-term-art { display: none; }
  .dg-term strong { font-size: 1.5rem; }
  .dg-term span:not(.dg-term-art) { font-size: 0.74rem; }
  .dg-op { font-size: 1.15rem; }
  .dg-eq { flex-basis: 100%; text-align: center; }
  .dg-result { flex-basis: 100%; max-width: none; padding: 14px; }
  .dg-result strong { font-size: 2rem; }
}

/* Bars: the PinProof chart's look (.pp-chart, .bars), with our bar in green and the others in grey */
.dg-bars .bars li { grid-template-columns: minmax(120px, 28%) 1fr 116px; }
.dg-bars .bar-label small { display: block; font-size: 0.76rem; color: var(--slate); }
.dg-bars .bar-us .bar-label { font-weight: 800; color: var(--forest); }
.dg-bars .bar.bar-ours, .dg-bars .bar.dg-key-0, .dg-key.dg-key-0 { background: linear-gradient(90deg, var(--forest), #0e7a55); }
.dg-bars .bar.bar-them { background: #b4c2bc; }
.dg-bars .bar.dg-key-1, .dg-key.dg-key-1 { background: #7d9cc4; }
.dg-race-chart .dg-key.dg-key-1 { background: #b4c2bc; }
.dg-bars .bar.dg-under { background: repeating-linear-gradient(90deg, #b4c2bc 0 5px, transparent 5px 8px); }
.dg-ranges .bar-track, .dg-race-chart .bar-track { position: relative; }
.dg-keys { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 14px; padding: 0; font-size: 0.82rem; color: var(--body); }
.dg-keys li { display: flex; align-items: center; gap: 7px; }
.dg-key { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 3px; }
.dg-bars .bars li.dg-pair { grid-template-columns: minmax(120px, 28%) 1fr; }
.dg-pair-bars { display: grid; gap: 5px; }
.dg-pair-row { display: grid; grid-template-columns: 1fr 116px; align-items: center; gap: 12px; }
.dg-pair .bar-track { height: 10px; }
.dg-race-chart .bars { gap: 12px; }
@media (max-width: 640px) {
  .dg-bars .bars li { grid-template-columns: 1fr auto; }
  .dg-bars .bars li.dg-pair { grid-template-columns: 1fr; gap: 6px; }
  .dg-pair-row { grid-template-columns: 1fr 84px; gap: 10px; }
  .dg-bars .dg-pair-row .bar-track { grid-column: auto; order: 0; }
}
/* Lists inside a guide's text keep their indent; the charts' own lists don't. */
.prose .bars, .prose .dg-keys { padding: 0; }
.prose .bars li, .prose .dg-keys li { margin: 0; }

/* The fifteen races as dots, inside the speed band */
.dg-races { margin: 30px auto 0; }
.dg-races ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 34px; margin: 0; padding: 0; }
.dg-races li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dg-race-part { font: 800 0.68rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.dg-race-dots { display: flex; gap: 8px; }
.dg-race { display: inline-block; width: 22px; height: 22px; border-radius: 50%; }
.dg-race.first { background: var(--forest); }
.dg-race.close { border: 2px solid var(--forest); }
.dg-races figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; font-size: 0.86rem; color: var(--body); }
.dg-races figcaption > span { display: inline-flex; align-items: center; gap: 8px; }
.dg-races figcaption .dg-race { width: 12px; height: 12px; }
:where(body:not(:has(.site-header-bare))) {
  #speed .dg-race-part { color: #a9cbbd; }
  #speed .dg-race.first { background: var(--signal); box-shadow: 0 0 0 4px rgba(8, 231, 126, 0.18); }
  #speed .dg-race.close { border-color: rgba(255, 255, 255, 0.75); }
  #speed .dg-races figcaption { color: #e8f3ee; }
}

/* A real map with parts of it marked, and the notes beside it */
.pins { position: relative; }
.pin-zone { position: absolute; inset: -4px; border: 2.5px solid var(--navy); border-radius: 12px; pointer-events: none; }
.pin-zone.round { border-radius: 50%; }
.pin-zone.dashed { border-style: dashed; }
.pin-zone b { position: absolute; top: -10px; right: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 0.66rem/20px var(--sans); text-align: center; }
.dg-marked { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: center; }
.dg-marked .grid-card, .prose .dg-marked .grid-card { max-width: none; margin: 0; }
.dg-marked .dg-notes { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.dg-marked .dg-notes li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin: 0; }
.dg-badge { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 0.8rem/26px var(--sans); text-align: center; }
@media (max-width: 760px) { .dg-marked { grid-template-columns: 1fr; gap: 18px; } }

/* Grids drawn to one scale in miles */
.dg.dg-scale { padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dg-scale > figcaption { display: flex; flex-direction: column; gap: 2px; margin: 0 0 18px; text-align: left; color: var(--navy); }
.dg-scale > figcaption span { font-size: 0.84rem; color: var(--slate); }
.dg.dg-scale ul { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-around; gap: 22px 30px; margin: 0; padding: 0; }
.dg.dg-scale li { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.dg-scale svg { max-width: 100%; height: auto; }
.dg-scale svg circle { fill: var(--forest); opacity: 0.55; }
.dg-scale svg circle.c { fill: var(--signal); opacity: 1; }
.dg.dg-scale li p { margin: 0; text-align: center; font-size: 0.8rem; line-height: 1.4; color: var(--slate); }
.dg-scale li p strong { display: block; font-size: 1rem; color: var(--navy); }
.dg-scale li p span { display: block; }
@media (max-width: 640px) {
  /* Phones: each grid beside its numbers, drawn smaller but still to one scale. */
  .dg.dg-scale { --k: 0.62; padding: 16px; }
  .dg.dg-scale ul { flex-direction: column; align-items: stretch; gap: 16px; }
  .dg.dg-scale li { display: grid; grid-template-columns: calc(var(--max) * var(--k)) 1fr; align-items: center; gap: 16px; }
  .dg-scale li svg { justify-self: center; }
  .dg.dg-scale li p { text-align: left; }
}

/* One bar split into parts */
.dg-split-bar { display: flex; gap: 2px; height: 28px; border-radius: 8px; overflow: hidden; }
.dg-split-keys { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 22px; margin: 14px 0 0; padding: 0; font-size: 0.88rem; }
.prose .dg-split-keys { padding: 0; }
.dg-split-keys li { display: flex; align-items: center; gap: 8px; margin: 0; }
.dg-split-keys strong { margin-left: auto; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dg-s0 { background: var(--forest); } .dg-s1 { background: #2f8a63; } .dg-s2 { background: #86c7a5; }
.dg-s3 { background: var(--r2); } .dg-s4 { background: var(--r3); } .dg-s5 { background: #9aa8a2; }

/* Step sketches and layout sketches */
.dg-step-art, .dg-card-art { display: grid; place-items: center; margin: 0 0 18px; padding: 12px; border-radius: 10px; background: var(--ivory); }
.dg-sketch { display: block; width: 100%; max-width: 210px; height: auto; }
.dg-sketch .s-card { fill: #fff; stroke: #cfdad5; stroke-width: 1.5; }
.dg-sketch .s-ln { fill: #dfe7e3; } .dg-sketch .s-ln-d { fill: #9fb4ab; } .dg-sketch .s-ln-w { fill: rgba(255, 255, 255, 0.85); }
.dg-sketch .s-dt { fill: #a9beb5; } .dg-sketch .s-fg { fill: var(--forest); } .dg-sketch .s-bg { fill: #fff; }
.dg-sketch .s-bgs { fill: none; stroke: #fff; stroke-width: 2; }
.dg-sketch .s-st, .dg-sketch .s-ar { fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dg-sketch .s-tr { fill: none; stroke: #0e7a55; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-sketch .s-tk { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dg-sketch .s-sg { fill: var(--signal); } .dg-sketch .s-sg-soft { fill: #c8f1da; }
.dg-sketch .s-chip { fill: var(--forest); } .dg-sketch .s-chip-2 { fill: #0e7a55; }
.dg-sketch .s-logo { fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-dasharray: 3 2; }
.dg-sketch .s-star { fill: #f2cf68; }
.dg-sketch .s-r1 { fill: var(--r1); } .dg-sketch .s-r2 { fill: var(--r2); } .dg-sketch .s-r3 { fill: var(--r3); } .dg-sketch .s-r4 { fill: var(--r4); } .dg-sketch .s-r0 { fill: #c9cfcb; }
.section-white .dg-step-art, .section-white .dg-card-art { background: var(--ivory-2); }
@media (max-width: 640px) {
  .dg-steps li > .dg-step-art { grid-column: 1 / -1; grid-row: 2; margin: 14px 0 0; }
  .dg-steps li::before, .dg-steps li > h3 { grid-row: 1; }
  .dg-steps li > p { grid-row: 3; }
  .dg-sketch { max-width: 180px; }
}

/* ---- Less dead space (Erik 2026-11-06: "make minimize the dead spaces tho"). Sections 64px apart on a computer (were 96),
   52px on a tablet, 32px on a phone (were 40); two sections in a row on the same background share one gap; heroes, feature
   rows, the closing band, the footer and the pictures are tighter. The ad page (/start/) keeps its spacing. */
:where(body:not(:has(.site-header-bare))) {
  .section { padding: 64px 0; }
  .section-white:not(#speed) + .section-white:not(#speed), .section-ivory:not(#speed) + .section-ivory:not(#speed) { padding-top: 0; }
  .section-head { margin-bottom: 32px; }
  .section-cta { margin-top: 28px; }
  .page-hero { padding: 64px 0 44px; }
  .hero-inner { min-height: 580px; }
  .hero-copy { padding: 60px 48px 48px 0; }
  .hero-visual { padding: 44px 0 44px 40px; }
  .feature-row { padding: 48px 0; }
  .case-salon { padding: 48px 0; }
  .cta-inner { padding-top: 52px; padding-bottom: 52px; }
  .footer-inner { padding-top: 44px; padding-bottom: 28px; }
  .built-by-inner { padding-top: 28px; padding-bottom: 32px; }
  .prose h2 { margin-top: 36px; }
  /* The last thing in a section adds no margin of its own to the gap below it. */
  .section > .wrap > :last-child, .prose > :last-child, .guide-wide > :last-child, .section .panel > :last-child, .faq details:last-child { margin-bottom: 0; }
  .dg { margin: 18px 0; }
  .pp-chart { margin: 18px 0; }
  .dg-step-art, .dg-card-art { margin-bottom: 14px; padding: 8px; }
  .dg-races { margin-top: 22px; }
  .dg-race-chart .bars { gap: 8px; }
  /* Card grids leave no hole beside their last card: four cards go four across (two by two on a tablet), and a last card
     left alone on its row widens to fill it. */
  @media (min-width: 1081px) { .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (min-width: 641px) and (max-width: 1080px) { .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 941px) {
    .cards:not(:has(> :nth-child(4):last-child)) > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
    .cards:not(:has(> :nth-child(4):last-child)) > :last-child:nth-child(3n+2) { grid-column: span 2; }
  }
  @media (min-width: 641px) and (max-width: 940px) { .cards > :last-child:nth-child(2n+1) { grid-column: 1 / -1; } }
  /* Five plans or five salons on a tablet: three, then the last two centred under them. On a phone the fifth salon is centred. */
  @media (min-width: 641px) and (max-width: 1080px) {
    .plans, .salon-cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .plans > *, .salon-cards > * { grid-column: span 2; }
    .plans > :nth-child(4):nth-last-child(2), .salon-cards > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
  }
  /* A short column beside a long one starts at the top and stays in view while the long one scrolls past, instead of
     floating in the middle with empty space above and below it. */
  .proof:has(> .panel) { align-items: start; }
  @media (min-width: 941px) { .proof > .panel { position: sticky; top: 100px; } }
  /* A map beside a short text: the map no wider than it needs, so the text isn't left in a sea of space. */
  .proof > .grid-card { width: 100%; max-width: 500px; justify-self: center; }
  @media (max-width: 640px) { .salon-cards > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); } }
  @media (max-width: 940px) {
    .section { padding: 52px 0; }
    .page-hero { padding: 52px 0 36px; }
    .hero-copy { padding: 44px 0 28px; }
    .hero-visual { padding: 32px 0 44px; }
    .feature-row { padding: 36px 0; gap: 24px; }
  }
  @media (max-width: 640px) {
    .section { padding: 32px 0; }
    .section-head { margin-bottom: 18px; }
    .section-cta { margin-top: 22px; }
    .page-hero { padding: 28px 0 24px; }
    .hero-copy { padding: 28px 0 20px; }
    .hero-visual { padding: 24px 0 32px; }
    .feature-row { padding: 26px 0; gap: 18px; }
    .case-salon { padding: 28px 0; }
    .cta-inner { padding-top: 32px; padding-bottom: 32px; }
    .footer-inner { padding-top: 28px; padding-bottom: 20px; }
    .prose h2 { margin-top: 28px; }
    .cards .card, .proof-card, .steps li { padding: 16px; }
    .card .proof-num { margin-bottom: 6px; }
    .panel, .pp-chart, .dg.dg-scale { padding: 16px; }
  }
}
/* Named comparison pages (Erik 2026-11-06, Q1 B; src/pages/compare-named.mjs). */
@media (min-width: 641px) { .named-table th[scope="row"] { width: 22%; } .named-table td { width: 39%; } }
.named-fit .panel h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.named-fit ul { padding-left: 1.2em; margin: 0 0 14px; }
.named-fit li { margin-bottom: 8px; }

/* The home page's product evidence (website notes of 2026-11-07, "Less copy, more product evidence"): the real report, large, with
   numbered callouts on a computer and the phone capture on a phone; the three stories; the line that replaced the feature cards. */
.report-preview { margin: 0; }
.rp-frame { position: relative; display: block; line-height: 0; }
.rp-frame img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--ivory); box-shadow: var(--shadow); }
.rp-badge { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 0.9rem/30px var(--sans); text-align: center; box-shadow: 0 0 0 3px #fff; }
.rp-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rp-notes li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.report-preview .caption { margin-top: 14px; }
.progress-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.progress-pair .grid-card { margin: 0; max-width: none; }
.progress-pair .caption { margin-top: 8px; text-align: center; }
.aeo-q { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--navy); margin-bottom: 12px; }
.story-links { margin-top: 6px; }
.stories .feature-row:first-child { padding-top: 0; }
.stories .dg-marked { grid-template-columns: 1fr; gap: 18px; }
.stories .dg-marked .grid-card { max-width: 420px; width: 100%; margin: 0 auto; }
.also-line { max-width: 760px; margin: 28px auto 0; line-height: 1.6; }
@media (max-width: 760px) { .rp-notes { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 640px) {
  .rp-badge { display: none; }
  .rp-frame img { max-height: 700px; object-fit: cover; object-position: top; }
}

/* Resources panel in the menu: three groups (homepage review of 2026-11-07). */
.nav-panel .nav-groups.nav-groups-3 { grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: start; gap: 24px 48px; }

/* Home (homepage review of 2026-11-07): the calculator one click from the plans; on a phone the real report follows the buttons. */
.calc-link { margin: 18px 0 22px; }
@media (max-width: 640px) {
  .hero-home .hero-visual { display: none; }
}
.rp-phone-more { display: none; }
@media (max-width: 640px) {
  .rp-phone-more { display: block; margin-top: 14px; }
  .rp-phone-more img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fbf9f5; }
  .rp-phone-more .caption { margin: 0 0 8px; }
}

/* /features as a directory (subpage review of 2026-11-07): the menu's groups, one line per feature, each linking to its page. */
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; align-items: start; }
.dir-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px 14px; }
.dir-title { display: flex; align-items: center; gap: 10px; font: 800 0.78rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin: 0 0 10px; padding: 0 8px; }
.dir-title .icon { width: 20px; height: 20px; color: var(--forest); }
.dir-group ul { list-style: none; margin: 0; padding: 0; }
.dir-group li { scroll-margin-top: 96px; }
.dir-group li + li { border-top: 1px solid var(--line); }
.dir-group a { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 11px 8px; border-radius: var(--radius-sm); text-decoration: none; }
.dir-group a:hover { background: var(--mint); }
.dir-group a strong { color: var(--navy); font-size: 1rem; }
.dir-group a span { grid-column: 1; color: var(--slate); font-size: 0.9rem; line-height: 1.45; }
.dir-group a .icon { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--forest); }
.dir-group li:target a { background: var(--mint); }

/* Pricing (subpage review of 2026-11-07): what every plan includes, in four groups, then the spending rules beside them. */
.included-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.included-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 14px; }
.included-group h3 { font-size: 1rem; margin: 0 0 10px; }
.included-group ul { list-style: none; margin: 0; padding: 0; }
.included-group li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.93rem; line-height: 1.45; }
.included-group li:first-child { border-top: 0; }
.panel.no-surprises { margin-top: 28px; }
.panel.no-surprises .checks { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 1080px) { .included-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .included-groups { grid-template-columns: 1fr; } .panel.no-surprises .checks { grid-template-columns: 1fr; } }

/* Compare: which one fits, first (subpage review of 2026-11-07). */
.fit-cols .panel h3 { margin-top: 0; }
.fit-cols .muted { margin-top: 12px; }

/* Jump links under a reference page's opening (accuracy page, subpage review of 2026-11-07). */
.jump-links { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 4px; }
.jump-links a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--forest); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.jump-links a:hover { background: var(--mint); }
#results, #method, #limits, #data { scroll-margin-top: 80px; }

/* Feature pages (website review of 2026-11-07): the example beside the opening on a computer, under it when wide or on a phone. */
.page-hero.feature-hero > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.page-hero.feature-hero.art-wide > .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.page-hero.feature-hero > .wrap > * { max-width: none; }
.page-hero.feature-hero.art-wide .feature-hero-text { max-width: 780px; }
.page-hero.feature-hero h1 { font-size: clamp(2.1rem, 3.3vw, 3rem); line-height: 1.06; }
.page-hero.feature-hero::before, .page-hero.feature-hero::after, .page-hero.feature-hero > .wrap::after { display: none; }
.hero-art { scroll-margin-top: 90px; }
.page-hero .hero-art .caption { margin-bottom: 0; }
.feature-how .section-head.left { max-width: 760px; }
.feature-how .feature-steps { max-width: 820px; }
@media (max-width: 940px) {
  .page-hero.feature-hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* LeadPin: the setup screenshots under the steps, smaller than the visitor's view above. */
.setup-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
@media (max-width: 640px) { .setup-shots { grid-template-columns: 1fr; } }

/* Compare: two extra comparisons folded into one section (website review of 2026-11-07: Compare made its case six times). */
.compare-fold { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; }
.compare-fold > summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.compare-fold > summary::-webkit-details-marker { display: none; }
.compare-fold > summary::after { content: '+'; color: var(--forest); font-size: 1.3rem; line-height: 1; }
.compare-fold[open] > summary::after { content: '−'; }
.compare-fold > :not(summary) { margin-left: 22px; margin-right: 22px; }
.compare-fold > :last-child { margin-bottom: 22px; }

/* The white-label add-on: a link at the top of the home page, and a card under the plan cards (home and pricing). */
.hero-new { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px 6px 6px; margin-bottom: 14px; font-size: 0.86rem; font-weight: 700; color: var(--navy); text-decoration: none; box-shadow: 0 1px 3px rgba(15, 27, 45, 0.08); }
.hero-new:hover { border-color: var(--r1); }
.hero-new::after { content: "→"; color: var(--forest); }
.hero-new-tag { background: var(--forest); color: #fff; font: 800 0.66rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; margin-top: 14px; background: var(--card); border: 2px dashed var(--r1); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.addon-tag { display: inline-block; background: var(--mint); color: var(--forest); font: 800 0.66rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; }
.addon h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.addon p { margin: 0; font-size: 0.9rem; color: var(--slate); }
.addon-price { text-align: center; min-width: 180px; }
.addon-price .price { font: 800 2.2rem/1 var(--sans); color: var(--navy); letter-spacing: -0.03em; }
.addon-price .per { font-size: 0.8rem; color: var(--slate); margin: 4px 0 10px; }
@media (max-width: 760px) {
  .addon { grid-template-columns: 1fr; padding: 18px; }
  .addon-price { text-align: left; min-width: 0; }
  .hero-new { font-size: 0.8rem; }
}
