/* 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;
  --line-dark: #356957;
  /* 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: 42px; 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: #c9d3ce; }
.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-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); }
.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; }

/* 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); 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; }
.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 .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, 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(--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-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; }

/* 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; }
.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; }
.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); }
.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; }
.mini-table thead th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.up { color: var(--r1); font-weight: 800; }
.down { color: var(--r4); 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 */
@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; }
  .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; }
  .cta-mark { width: 84px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .panel { padding: 24px; }
  .actions .btn { flex: 1 1 100%; }
  .page-hero { padding: 56px 0 40px; }
}

/* 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, .case-grids { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .salon-cards { grid-template-columns: 1fr 1fr; } .case-salon { padding: 44px 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 { 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; }

/* 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 tr, .table-wrap tbody th, .table-wrap td { display: block; width: auto; }
  .table-wrap tbody 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 { 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 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; }
  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 { grid-column: 2; margin: 0; }
  .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: 60px 0; }
  .section-head { margin-bottom: 30px; }
}
@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 { text-wrap: pretty; }
/* 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) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px 20px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(15, 27, 45, 0.18); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 0.92rem; line-height: 1.45; }
.consent-actions { display: flex; gap: 10px; 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; left: 12px; right: 12px; bottom: 12px; }
  .consent-actions .btn { flex: 1; min-height: 44px; }
}

/* 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); }
.soon-panel { max-width: 760px; margin: 0 auto; text-align: center; }
.soon-panel .actions { justify-content: center; }
