/* TestConnect marketing site
   Palette: forest #1F4D3A, deep #143326, moss #3C7A5E, mint #9FD3B5,
   mist #E6EFEA, paper #F5F6F3, ink #18221D, line #E1E6E2, muted #5E6B64 */

:root {
  --forest: #1f4d3a;
  --forest-hover: #183f2f;
  --deep: #143326;
  --moss: #3c7a5e;
  --mint: #9fd3b5;
  --mist: #e6efea;
  --paper: #f5f6f3;
  --white: #ffffff;
  --ink: #18221d;
  --line: #e1e6e2;
  --muted: #5e6b64;

  --success: #1e8e5a;
  --success-ink: #166b44;
  --success-bg: #e3f3ea;
  --warning: #b7791f;
  --warning-ink: #85570f;
  --warning-bg: #fbf0dc;
  --danger: #c0392b;
  --danger-ink: #a12f23;
  --danger-bg: #fbe7e4;
  --info: #2f6fb0;
  --info-ink: #24588d;
  --info-bg: #e5eef8;

  --font: Inter, "Inter var", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --max: 1280px;
  --gutter: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 51, 38, .06), 0 1px 3px rgba(20, 51, 38, .05);
  --shadow-lg: 0 24px 48px -12px rgba(20, 51, 38, .22), 0 8px 16px -8px rgba(20, 51, 38, .12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
/* Menu links land below the sticky header (with breathing room), whatever element they point at. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 1px 2px rgba(20, 51, 38, .2); }
.btn-primary:hover { background: var(--forest-hover); color: #fff; }
.btn-outline { background: var(--white); color: var(--forest); border-color: #c3d3ca; }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); background: #fbfcfb; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--mist); color: var(--deep); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 246, 243, .9);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { display: block; height: 32px; width: auto; }
.nav-main { display: flex; gap: 4px; align-items: center; }
.nav-main a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 8px;
}
.nav-main a:hover { background: var(--mist); color: var(--forest); }
.nav-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: var(--radius);
  display: grid; place-items: center; border: 1.5px solid #c3d3ca; background: #fff; color: var(--forest);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu .i-close { display: none; }
.menu[open] .i-open { display: none; }
.menu[open] .i-close { display: block; }
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px; display: grid;
}
.menu nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; padding: 12px 14px; border-radius: 8px;
}
.menu nav a:hover { background: var(--mist); }
.menu nav hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

.nav-main a[aria-current="page"] { color: var(--forest); background: var(--mist); }
.menu nav a[aria-current="page"] { color: var(--forest); background: var(--mist); }

@media (max-width: 1100px) {
  .site-header .wrap { gap: 20px; }
  .nav-main a { padding: 8px 9px; font-size: 14.5px; }
}
@media (max-width: 1020px) {
  .nav-main { display: none; }
  .menu { display: block; }
  .nav-actions .btn-outline { display: none; }
}
@media (max-width: 380px) {
  .brand img { height: 28px; }
  .nav-actions .btn-sm { padding: 0 12px; }
}

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-mist { background: var(--mist); }
/* Jumping to a section (#pricing, #faq…) skips its top padding, so the heading sits just under the menu. */
.section[id] { scroll-margin-top: -96px; }
@media (max-width: 760px) { .section { padding: 64px 0; } .section[id] { scroll-margin-top: -64px; } }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--moss); margin-bottom: 12px;
}
.section-head h2, h2.h2 { font-size: clamp(28px, 2.2vw + 16px, 40px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 104px; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 1.6vw + 22px, 50px); line-height: 1.08; letter-spacing: -0.03em;
  max-width: 17ch;
}
.hero-lead { margin-top: 24px; font-size: 18px; color: var(--muted); max-width: 34em; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--moss); flex: none; }

@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 18ch; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 64px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ---------- hero visual: desktop dashboard + phone ---------- */
.hero-visual { position: relative; margin: 0; container-type: inline-size; padding: 0 0 104px 76px; }
@media (max-width: 1080px) { .hero-visual { padding-left: 72px; } }

.dash {
  font-size: clamp(9px, 1.8cqi, 11.5px);
  background: #fff; border: 1px solid #d7dfda; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.dash-bar {
  display: flex; align-items: center; gap: 1em; height: 3em; padding: 0 1.2em;
  background: #eef1ef; border-bottom: 1px solid #dde3df;
}
.dash-dots { display: flex; gap: .5em; }
.dash-dots i { width: .9em; height: .9em; border-radius: 50%; background: #cfd6d2; display: block; }
.dash-url {
  flex: 1; max-width: 26em; margin: 0 auto; height: 1.9em; border-radius: .6em; background: #fff;
  border: 1px solid #dde3df; display: flex; align-items: center; justify-content: center; gap: .5em;
  color: var(--muted); font-size: .95em;
}
.dash-url svg { width: 1em; height: 1em; }
.dash-body { display: grid; grid-template-columns: 13.5em minmax(0, 1fr); min-height: 36em; }
.dash-side { background: var(--deep); color: #cfe3d7; padding: 1.4em 1em; display: flex; flex-direction: column; gap: .25em; }
.dash-side .dash-logo { display: flex; align-items: center; gap: .7em; color: #fff; font-weight: 700; font-size: 1.15em; margin: 0 .3em 1.4em; }
.dash-side .dash-logo img { width: 2em; height: 2em; display: block; }
.dash-nav { display: flex; align-items: center; gap: .8em; padding: .7em .8em; border-radius: .6em; font-weight: 500; }
.dash-nav svg { width: 1.3em; height: 1.3em; flex: none; opacity: .85; }
.dash-nav.active { background: rgba(159, 211, 181, .16); color: #fff; }
.dash-nav .count { margin-left: auto; background: var(--mint); color: var(--deep); font-weight: 700; font-size: .85em; border-radius: 99em; padding: .1em .6em; }
.dash-side .dash-user { margin-top: auto; display: flex; align-items: center; gap: .7em; padding: .8em .6em 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--mint); color: var(--deep); font-weight: 700; display: grid; place-items: center; font-size: .9em; flex: none; }
.dash-user small { display: block; color: #9dbdab; font-size: .85em; }
.dash-user b { color: #fff; font-weight: 600; display: block; line-height: 1.3; }

.dash-main { padding: 1.8em 2em 2em; background: #fafbfa; min-width: 0; }
.dash-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.dash-top h3 { font-size: 1.75em; letter-spacing: -0.02em; }
.dash-top p { color: var(--muted); margin-top: .2em; }
.dash-top .dash-btn { background: var(--forest); color: #fff; font-weight: 600; padding: .65em 1em; border-radius: .6em; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9em; margin-top: 1.5em; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: .8em; padding: .95em 1em; }
.tile small { display: block; color: var(--muted); font-weight: 500; }
.tile b { display: block; font-size: 1.85em; letter-spacing: -0.02em; margin-top: .15em; line-height: 1.15; }
.tile em { font-style: normal; font-size: .9em; color: var(--success-ink); font-weight: 600; }
.tile em.warn { color: var(--warning-ink); }
.panels { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .9em; margin-top: .9em; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: .8em; padding: 1.1em 1.1em .5em; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6em; }
.panel-head b { font-size: 1.1em; }
.panel-head span { color: var(--moss); font-weight: 600; font-size: .9em; }
.sched-row { display: grid; grid-template-columns: 3em minmax(0, 1fr) auto; gap: .7em; align-items: center; padding: .7em 0; border-top: 1px solid #edf0ee; }
.sched-row time { font-weight: 600; font-variant-numeric: tabular-nums; }
.sched-row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-row small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp { padding: .7em 0; border-top: 1px solid #edf0ee; }
.opp-top { display: flex; justify-content: space-between; gap: .6em; }
.opp-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-top .fee { font-weight: 700; font-variant-numeric: tabular-nums; }
.opp small { display: block; color: var(--muted); }
.fit { display: inline-flex; align-items: center; gap: .4em; margin-top: .3em; font-weight: 600; color: var(--success-ink); font-size: .92em; }
.fit::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--success); }
.fit.amber { color: var(--warning-ink); }
.fit.amber::before { background: var(--warning); }

.chip {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  font-size: .85em; font-weight: 600; line-height: 1; padding: .45em .7em; border-radius: 99em;
  background: var(--mist); color: var(--forest);
}
.chip.ok { background: var(--success-bg); color: var(--success-ink); }
.chip.warn { background: var(--warning-bg); color: var(--warning-ink); }
.chip.bad { background: var(--danger-bg); color: var(--danger-ink); }
.chip.info { background: var(--info-bg); color: var(--info-ink); }
.chip.dot::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }

@container (max-width: 500px) {
  .dash-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash-side { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels { grid-template-columns: minmax(0, 1fr); }
  .dash { font-size: clamp(10px, 2.9cqi, 12px); }
  .dash-main { padding: 1.4em 1.2em 1.2em; }
}

/* phone (shared by hero and app screens) */
.phone {
  --pw: 250px;
  width: var(--pw); font-size: 12px;
  background: #0f1a14; border-radius: 38px; padding: 9px;
  box-shadow: 0 30px 60px -18px rgba(20, 51, 38, .45), 0 0 0 1px rgba(0, 0, 0, .25);
  color: var(--ink);
}
.phone-screen {
  background: var(--paper); border-radius: 30px; overflow: hidden; height: calc(var(--pw) * 2.05);
  display: flex; flex-direction: column; position: relative;
}
.phone-status {
  height: 34px; flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px 0 26px; font-weight: 600; font-size: 11.5px; position: relative;
}
.phone-status::after {
  content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 76px; height: 20px; border-radius: 12px; background: #0f1a14;
}
.phone-status .sig { display: flex; gap: 4px; align-items: center; }
.phone-status .sig i { display: block; width: 15px; height: 8px; border-radius: 2px; border: 1.2px solid var(--ink); position: relative; }
.phone-status .sig i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--ink); border-radius: 1px; }
.phone-status .sig b { display: block; width: 12px; height: 8px; background: linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 5px, transparent 5px 6px, var(--ink) 6px 8px, transparent 8px 9px, var(--ink) 9px 11px, transparent 11px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.app-head { padding: 6px 16px 12px; flex: none; }
.app-head small { color: var(--muted); font-weight: 500; display: block; }
.app-head h4 { font-size: 19px; letter-spacing: -0.02em; margin-top: 1px; }
.app-head.green { background: var(--forest); color: #fff; padding-bottom: 14px; }
.app-head.green h4 { color: #fff; }
.app-head.green small { color: #cfe3d7; }
.app-body { padding: 0 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.app-tabbar {
  flex: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line);
  background: #fff; padding: 7px 4px 14px; font-size: 9.5px; color: var(--muted); text-align: center; font-weight: 500;
}
.app-tabbar span { display: grid; justify-items: center; gap: 2px; }
.app-tabbar svg { width: 18px; height: 18px; }
.app-tabbar .on { color: var(--forest); font-weight: 700; }
.card-s { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 11px; }
.card-s b { font-weight: 600; }
.card-s small { display: block; color: var(--muted); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* hero phone placement */
.hero-phone { position: absolute; left: 0; bottom: 0; --pw: 214px; font-size: 11px; }
.hero-phone .phone-screen { height: calc(var(--pw) * 2.03); }
.next-card { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 12px; }
.next-card .label { font-size: 10px; font-weight: 600; color: var(--moss); letter-spacing: .02em; }
.next-card h5 { font-size: 17px; margin: 3px 0 2px; letter-spacing: -0.02em; }
.next-card .meta { display: grid; gap: 6px; margin: 9px 0 11px; }
.next-card .meta div { display: flex; gap: 7px; align-items: center; color: var(--muted); }
.next-card .meta svg { width: 14px; height: 14px; color: var(--moss); flex: none; }
.app-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--forest); color: #fff; font-weight: 600; border-radius: 10px; height: 38px; }
.app-btn svg { width: 15px; height: 15px; }
.app-btn.ghost { background: #fff; color: var(--forest); border: 1px solid #c3d3ca; }
/* contacts on a job: name, role and Call / Text buttons (as in the app's Contacts card) */
.mini-label { font-size: .82em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.contacts { display: grid; gap: 8px; }
.contacts .mini-label { margin-bottom: -1px; }
.contact { display: flex; align-items: center; gap: 7px; min-width: 0; }
.contact .av { width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--mist); color: var(--deep); font-weight: 700; font-size: .82em; display: grid; place-items: center; flex: none; }
.contact .who { flex: 1; min-width: 0; line-height: 1.25; }
.contact .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact .who small { display: block; color: var(--muted); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbtn {
  display: inline-flex; align-items: center; gap: 3px; flex: none; height: 2.1em; padding: 0 .65em;
  border-radius: 8px; border: 1px solid #c3d3ca; background: #fff; color: var(--forest); font-weight: 600; font-size: .92em;
}
.cbtn svg { width: 1em; height: 1em; }
.cbtn.call { background: var(--forest); border-color: var(--forest); color: #fff; }
.cbtn.ico { width: 2.3em; height: 2.3em; padding: 0; justify-content: center; border-radius: 50%; }
.cbtn.ico svg { width: 1.15em; height: 1.15em; }
.cbtn.ico.sm { width: 2em; height: 2em; }
.contact-btns { display: flex; gap: 6px; padding-left: calc(1.8em + 7px); margin-top: -2px; }
.contact-btns .cbtn { flex: 1; justify-content: center; height: 2.1em; }
.next-card .contact { margin: -3px 0 9px; }
.kv .link { color: var(--forest); }
.mini-map {
  height: 92px; border-radius: 12px; position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, transparent 46%, #fff 46% 50%, transparent 50%),
    linear-gradient(25deg, transparent 60%, #fff 60% 63%, transparent 63%),
    linear-gradient(160deg, transparent 30%, #f2f5f3 30% 33%, transparent 33%),
    #dce9e1;
}
.mini-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 600px) {
  .hero-visual { padding: 0; }
  .hero-phone { display: none; }
}

/* ---------- service tiles ---------- */
.services { padding: 0 0 96px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.ico {
  flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--forest);
  display: grid; place-items: center;
}
.ico svg { width: 26px; height: 26px; }
a.service { text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
a.service:hover { border-color: #b9cdc1; box-shadow: var(--shadow-sm); color: var(--ink); }
a.service:hover h3 { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.service h3 { font-size: 17px; letter-spacing: -0.01em; }
.service p { font-size: 14.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .service-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } .services { padding-bottom: 64px; } }

/* ---------- audiences ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px;
  display: flex; flex-direction: column;
}
.audience.dark { background: var(--deep); border-color: var(--deep); color: #dbe9e1; }
.audience.dark h3, .audience.dark h4 { color: #fff; }
.audience.dark .eyebrow { color: var(--mint); }
.audience h3 { font-size: clamp(22px, 1vw + 16px, 28px); }
.audience > p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.audience.dark > p { color: #b9d2c4; }
.audience h4 { font-size: 15px; margin-top: 28px; letter-spacing: 0; }
.audience .btn { margin-top: 32px; align-self: flex-start; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .audience { padding: 28px 22px; } }

ul.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
ul.ticks li { position: relative; padding-left: 32px; line-height: 1.5; }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231F4D3A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.audience.dark ul.ticks li::before {
  background-color: rgba(159, 211, 181, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239FD3B5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
ul.ticks.compact { gap: 8px; font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -19px; left: 0; width: 36px; height: 36px; border-radius: 10px;
  background: var(--forest); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
.step h3 { font-size: 20px; margin-top: 10px; }
.step p { margin-top: 10px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- app screens row ---------- */
.screens {
  display: grid; grid-template-columns: repeat(4, max-content); justify-content: space-between; gap: 24px;
  margin: 0; padding: 8px 4px 24px; list-style: none;
}
.screens li { display: grid; justify-items: center; align-content: start; gap: 18px; width: 250px; }
.screens figcaption, .screens .cap { text-align: center; }
.screens .cap b { display: block; font-size: 16px; }
.screens .cap span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 1180px) {
  .screens {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px;
    scrollbar-width: thin;
  }
  .screens li { scroll-snap-align: start; }
}
.scroll-hint { display: none; color: var(--muted); font-size: 14px; margin-top: -8px; }
@media (max-width: 1180px) { .scroll-hint { display: block; } }

.seg { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.seg span { display: inline-flex; align-items: center; line-height: 1.2; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 500; white-space: nowrap; font-size: 11px; }
.seg span.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.tabs { display: flex; border-bottom: 1px solid var(--line); background: #fff; padding: 0 8px; flex: none; }
.tabs span { padding: 9px 7px; font-weight: 500; color: var(--muted); font-size: 11.5px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs span.on { color: var(--forest); border-color: var(--forest); font-weight: 700; }
.kv { display: grid; gap: 1px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef1ef; }
.kv div:last-child { border-bottom: 0; }
.kv dt, .kv span:first-child { color: var(--muted); }
.kv b { text-align: right; }
.stop { display: grid; grid-template-columns: 24px 1fr auto; gap: 9px; align-items: center; }
.stop .n { width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 11px; }
.stop .n.done { background: var(--mint); color: var(--deep); }
.stop time { font-weight: 600; font-variant-numeric: tabular-nums; }
.route-map { height: 132px; border-radius: 12px; position: relative; overflow: hidden; background: #dce9e1; flex: none; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.why h3 { font-size: 18px; margin-top: 18px; }
.why p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.principles {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  background: var(--mist); border-radius: var(--radius-lg); overflow: hidden;
}
.principle { padding: 32px; }
.principle + .principle { border-left: 1px solid #cfdcd4; }
.principle h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.principle h3 svg { width: 22px; height: 22px; color: var(--forest); flex: none; }
.principle p { margin-top: 10px; color: #4d5a53; font-size: 15px; }
@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid #cfdcd4; }
}
@media (max-width: 600px) { .principle { padding: 24px 22px; } }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--forest); box-shadow: var(--shadow-lg); }
.price-card .tag {
  position: absolute; top: -14px; left: 30px; background: var(--forest); color: #fff;
  font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 8px;
}
.price-card h3 { font-size: 19px; }
.price-card > p { color: var(--muted); margin-top: 6px; }
.price-card .price { margin: 22px 0 4px; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.price-card .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .price-note { font-size: 14px; margin-top: 8px; color: var(--moss); font-weight: 600; min-height: 1.6em; }
.price-card ul.ticks { margin: 20px 0 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-card .btn { margin-top: auto; }
.price-foot { margin-top: 32px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
@media (max-width: 600px) { .price-card { padding: 28px 22px; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-layout .section-head { margin: 0; position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 600; font-size: 17px; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 8px; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%231F4D3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.faq-list details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h10' fill='none' stroke='%231F4D3A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq-list summary:hover { color: var(--forest); }
.faq-list details p { padding: 0 44px 24px 0; color: var(--muted); margin-top: -6px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout .section-head { position: static; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--deep); color: #cfe3d7; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(159, 211, 181, .12); box-shadow: 0 0 0 90px rgba(159, 211, 181, .025);
  pointer-events: none;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 2vw + 16px, 40px); max-width: 18ch; }
.cta-band p { margin-top: 14px; font-size: 18px; max-width: 36em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 900px) { .cta-band .wrap { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .cta-band { padding: 64px 0; } .cta-band .actions { width: 100%; } .cta-band .actions .btn { flex: 1 1 100%; } }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-brand p { margin-top: 16px; max-width: 30em; }
.site-footer h2 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--forest); text-decoration: underline; }
.footer-brand p a, .footer-bottom span a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px;
}
@media (max-width: 1080px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages (about, legal, 404) ---------- */
.page-head { background: var(--mist); border-bottom: 1px solid #d5e2da; padding: 64px 0 48px; }
.page-head .wrap, .prose-wrap { max-width: 840px; }
.page-head h1 { font-size: clamp(32px, 2vw + 20px, 46px); letter-spacing: -0.03em; }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }
.page-head .version { font-size: 14px; font-weight: 500; color: var(--moss); margin-top: 14px; }
.prose-section { padding: 48px 0 96px; }
.prose { font-size: 16.5px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 22px; margin-top: 44px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3b4741; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--moss); }
.prose strong { color: var(--ink); font-weight: 600; }
.draft {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--warning-bg); color: #6b460c; border: 1px solid #ecd3a6; border-left: 4px solid var(--warning);
  border-radius: var(--radius); padding: 14px 18px; font-weight: 500; font-size: 15px; margin: 0 0 40px;
}
.draft svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--warning-ink); }
.notfound { padding: 112px 0 128px; text-align: center; }
.notfound .code { display: inline-block; font-weight: 700; color: var(--moss); background: var(--mist); border-radius: 8px; padding: 4px 12px; font-size: 14px; }
.notfound h1 { font-size: clamp(32px, 2vw + 20px, 46px); margin-top: 18px; }
.notfound p { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 32em; }
.notfound .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

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

/* ---------- accounting packages (names only: their logos need partner approval) ---------- */
.acct-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.acct { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.acct-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.acct-note { font-size: 12.5px; font-weight: 700; color: var(--forest); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.acct-ticks { margin-top: 28px; max-width: 760px; }
.acct-small { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 760px; }
@media (max-width: 760px) { .acct-list { grid-template-columns: 1fr; } }

/* =====================================================================
   Multi-page site: breadcrumbs, inner-page heroes, cards, feature rows,
   facts with sources, tables, estimator, carbon counter, guides.
   ===================================================================== */

/* spacing helpers */
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
@media (max-width: 760px) { .mt-64 { margin-top: 48px; } }
.link-arrow { font-weight: 600; }
.src-inline { font-size: 13.5px !important; color: var(--muted) !important; }
.src-inline a { color: var(--muted); }

/* Coming soon pill for features that are being built */
.soon {
  display: inline-block; vertical-align: .12em; margin-left: .45em;
  font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0; white-space: nowrap;
  padding: 4px 8px; border-radius: 99px;
  background: var(--warning-bg); color: var(--warning-ink); border: 1px solid #ecd3a6;
}
.audience.dark .soon, .cta-band .soon, .est-results .soon { background: rgba(251, 240, 220, .14); color: #f3d9a8; border-color: rgba(243, 217, 168, .35); }
h1 .soon, h2 .soon { font-size: 13px; vertical-align: .3em; }

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: "/"; margin: 0 9px; color: #9aa8a0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--forest); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* inner page hero (audience and service pages) */
.page-hero { background: var(--mist); border-bottom: 1px solid #d5e2da; padding: 40px 0 64px; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); max-width: 920px; }
.page-hero h1 { font-size: clamp(32px, 1.5vw + 22px, 48px); line-height: 1.08; letter-spacing: -0.03em; max-width: 20ch; }
.page-hero .lead { margin-top: 20px; font-size: 18px; color: #4d5a53; max-width: 36em; }
.page-hero .hero-cta { margin-top: 28px; }
.page-hero .hero-meta { margin-top: 24px; }
.page-hero .visual { display: flex; justify-content: center; min-width: 0; }
.page-hero .visual .phone { flex: none; }
@media (max-width: 960px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 28px 0 48px; }
  .page-hero .lead { font-size: 17px; }
  .page-hero .hero-cta .btn { flex: 1 1 100%; }
}
.page-head .crumbs ol { margin-bottom: 16px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; min-width: 0;
}
.section-mist .card { border-color: #d3e2d9; }
.card .ico { margin-bottom: 18px; }
.card h3 { font-size: 18px; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.card ul.ticks { font-size: 15px; gap: 9px; margin-top: 16px; }
a.card { text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
a.card:hover { border-color: #b9cdc1; box-shadow: var(--shadow-sm); color: var(--ink); }
.card .more { margin-top: auto; padding-top: 18px; color: var(--forest); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; }
a.card:hover .more { text-decoration: underline; }
@media (max-width: 1000px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards, .cards.two, .cards.four { grid-template-columns: minmax(0, 1fr); } .card { padding: 24px 22px; } }

/* feature rows: text beside a visual or a panel */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(26px, 1.6vw + 16px, 34px); }
.feature h3 { font-size: 20px; }
.feature > div > p { margin-top: 14px; color: #4d5a53; font-size: 17px; }
.feature .visual { display: flex; justify-content: center; min-width: 0; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.flip > :first-child { order: 0; }
  .feature + .feature { margin-top: 64px; }
}

/* a plain panel (lists, method boxes) */
.panel-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; min-width: 0; width: 100%; }
.section-white .panel-box { background: var(--paper); }
.panel-box h3 { font-size: 17px; }
.panel-box > p { color: var(--muted); margin-top: 8px; }
.panel-box ol.method { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 10px; color: #3b4741; }
.panel-box ol.method li::marker { color: var(--moss); font-weight: 700; }
@media (max-width: 600px) { .panel-box { padding: 24px 20px; } }

/* facts with sources */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
.section-white .fact { background: var(--paper); }
.fact b { font-size: clamp(26px, 1vw + 20px, 34px); letter-spacing: -0.02em; line-height: 1.1; color: var(--forest); }
.fact p { margin-top: 10px; color: #3b4741; font-size: 15.5px; }
.fact .src { margin-top: auto; padding-top: 14px; font-size: 13px; color: var(--muted); }
.fact .src a { color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* notes and callouts */
.note {
  background: var(--mist); border: 1px solid #d3e2d9; border-left: 4px solid var(--moss);
  border-radius: var(--radius); padding: 16px 20px; color: #2f3b35; font-size: 15.5px;
}
.section-mist .note { background: #fff; }
.note + .note { margin-top: 12px; }
.prose .note p { color: #2f3b35; }

/* related links beside long pages */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px; align-items: start; }
.with-aside aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; font-size: 15px; }
.aside-box h2 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.aside-box a { text-decoration: none; }
.aside-box a:hover { text-decoration: underline; }
@media (max-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr); gap: 40px; } .with-aside aside { position: static; } }

/* prose additions */
.prose h3 { font-size: 18px; margin-top: 28px; }
.prose ol { padding-left: 22px; }
.prose ol li::marker { color: var(--moss); font-weight: 600; }
.prose a { overflow-wrap: anywhere; }
.prose .lede { font-size: 19px; color: #3b4741; }
.prose .checked { font-size: 14px; color: var(--muted); }
.sources { font-size: 15px; }
.guide-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }

/* data tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; }
table.data.wide { min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--mist); font-weight: 600; font-size: 14px; color: var(--ink); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data td { color: #3b4741; }
table.data tbody th { font-weight: 600; color: var(--ink); }

/* steps used as a vertical list */
.steps.vertical { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 760px; }

/* pricing teaser with two cards */
.price-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; }
@media (max-width: 960px) { .price-grid.two { grid-template-columns: 1fr; max-width: 520px; } }
.free-line {
  margin: 32px auto 0; max-width: 880px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  background: var(--deep); color: #cfe3d7; border-radius: var(--radius-lg); padding: 22px 28px;
}
.free-line b { color: #fff; font-size: 18px; }
.free-line a { color: var(--mint); font-weight: 600; }
.free-line a:hover { color: #fff; }

/* ---------- savings estimator (developers) ---------- */
.estimator {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.est-inputs { padding: 32px; display: grid; gap: 18px; align-content: start; }
.est-inputs h3, .est-results h3 { font-size: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field input, .field select {
  font: inherit; font-size: 16px; min-height: 46px; padding: 0 12px; width: 100%;
  border: 1.5px solid #c3d3ca; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.est-results { background: var(--deep); color: #cfe3d7; padding: 32px; display: flex; flex-direction: column; }
.est-results h3 { color: #fff; }
.est-label { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #f3d9a8; }
.est-grid { margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.est-grid div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(159, 211, 181, .18); border-radius: 12px; padding: 14px 16px; min-height: 96px; }
.est-grid dt { font-size: 13.5px; color: #b9d2c4; }
.est-grid dd { margin: 4px 0 0; font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.est-grid dd small { display: block; font-size: 13px; font-weight: 500; color: #b9d2c4; letter-spacing: 0; }
.est-note { margin-top: 18px; font-size: 13.5px; color: #b9d2c4; }
.est-note a { color: var(--mint); }
@media (max-width: 900px) { .estimator { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .est-inputs, .est-results { padding: 24px 20px; } .field-row { grid-template-columns: minmax(0, 1fr); } .est-grid dd { font-size: 22px; } }

/* ---------- public carbon counter (home page; hidden unless the API says it is enabled) ---------- */
.carbon-counter[hidden] { display: none; }
.carbon-counter {
  margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  background: var(--deep); color: #cfe3d7; border-radius: var(--radius-lg); padding: 22px 28px;
}
.carbon-counter .cc-num { font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.carbon-counter .cc-text { flex: 1 1 280px; font-size: 15px; }
.carbon-counter a { color: var(--mint); }

/* simple two-column definition list */
dl.terms-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; }
dl.terms-list dt { font-weight: 600; color: var(--ink); }
dl.terms-list dd { margin: 0; color: #3b4741; }
@media (max-width: 600px) { dl.terms-list { grid-template-columns: minmax(0, 1fr); gap: 2px; } dl.terms-list dd { margin-bottom: 10px; } }

/* example mock-ups used on inner pages */
.mock-card { background: #fff; border: 1px solid #d7dfda; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 520px; font-size: 13px; }
.mock-card .mock-head { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-card .mock-head b { font-size: 14px; display: block; }
.mock-card .mock-head small { color: var(--muted); font-size: 12px; display: block; }
.mock-rows { display: grid; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #edf0ee; }
.mock-row:first-child { border-top: 0; }
.mock-row b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-progress { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.mock-progress > div { display: grid; gap: 5px; }
.mock-progress > div > span { display: flex; justify-content: space-between; font-weight: 600; font-size: 12.5px; }
.mock-progress > div > span em { font-style: normal; color: var(--muted); font-weight: 500; }
.bar { height: 8px; border-radius: 99px; background: #e6ece8; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--moss); border-radius: 99px; }
.ready-q { font-weight: 700; font-size: 14px; line-height: 1.3; }
.ready-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ready-btns span { display: grid; place-items: center; height: 34px; border-radius: 10px; font-weight: 700; border: 1px solid #c3d3ca; background: #fff; color: var(--forest); }
.ready-btns span.yes { background: var(--forest); border-color: var(--forest); color: #fff; }
.status-line { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; align-items: start; font-size: 11.5px; }
.status-line i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6d2; margin-top: 3px; }
.status-line.done i { background: var(--success); }
.status-line.now i { background: var(--info); box-shadow: 0 0 0 3px var(--info-bg); }
.status-line b { font-weight: 600; display: block; }
.status-line small { color: var(--muted); display: block; }

.notfound .notfound-links { margin-top: 28px; font-size: 15px; }

/* ---------- tester pitch: promises, offer box, free-trial strip, FAQ groups ---------- */
/* "What we don't do": a grid of plain promises, each with a cross badge */
.promises { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.promises li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.promises .x { width: 36px; height: 36px; border-radius: 10px; background: var(--mist); color: var(--forest); display: grid; place-items: center; }
.promises .x svg { width: 18px; height: 18px; }
.promises b { display: block; font-size: 17px; color: var(--ink); line-height: 1.35; }
.promises span.t { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.section-mist .promises li { border-color: #cfdcd4; }
.section-mist .promises .x { background: #fff; }
@media (max-width: 760px) { .promises { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* the tester offer, shown in the home page hero */
.offer-box { margin-top: 28px; background: #fff; border: 1px solid #d3e2d9; border-left: 4px solid var(--forest); border-radius: var(--radius-lg); padding: 18px 22px; max-width: 36em; box-shadow: var(--shadow-sm); }
.offer-box b.h { display: block; font-size: 15px; color: var(--forest); letter-spacing: .01em; }
.offer-box ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; font-size: 15px; }
.offer-box li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.offer-box li svg { width: 18px; height: 18px; color: var(--moss); flex: none; margin-top: 1px; }
.offer-box a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; }
@media (max-width: 520px) { .offer-box ul { grid-template-columns: minmax(0, 1fr); } .offer-box { padding: 16px 18px; } }

/* 60-day free trial strip (class name kept from the earlier offer) */
.founding { margin: 32px auto 0; max-width: 880px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--success-bg); border: 1px solid #bfe0cd; color: #23503a; border-radius: var(--radius-lg); padding: 20px 26px; }
.founding > span { flex: 1 1 380px; }
.founding b { color: var(--deep); font-size: 17px; }
.founding .btn { flex: none; }
@media (max-width: 600px) { .founding .btn { width: 100%; } }

/* "why we charge" note under pricing */
.why-charge { max-width: 880px; margin: 32px auto 0; text-align: center; color: #3b4741; font-size: 17px; }
.why-charge strong { color: var(--ink); }

/* pricing examples beside a plain list */
.price-card .price-ex { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* grouped FAQ page */
.faq-page .section { padding: 64px 0; }
.faq-page .section + .section { border-top: 1px solid var(--line); }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.faq-jump a { display: inline-block; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid #c3d3ca; text-decoration: none; font-weight: 500; font-size: 14.5px; }
.faq-jump a:hover { border-color: var(--forest); }
@media (max-width: 760px) { .faq-page .section { padding: 48px 0; } }

/* ---------- invite-only sign-up ---------- */
/* quieter "Have an invite code? Sign up" link under hero and CTA-band buttons */
.invite-alt { flex-basis: 100%; font-size: 15px; font-weight: 500; }
.cta-band .invite-alt { color: var(--mint); }
.cta-band .invite-alt:hover { color: #fff; }
.cta-band .actions .invite-alt { text-align: left; }
/* header button reads "Request invite" on the narrowest phones */
@media (max-width: 420px) { .nav-an { display: none; } }

/* request-invite page */
.invite-section { padding: 56px 0 96px; }
.invite-head .wrap { max-width: 1040px; }
.invite-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; max-width: 1040px; }
.invite-aside { position: sticky; top: 104px; }
.invite-aside h2 { font-size: 17px; }
.invite-aside ul.ticks { margin-top: 14px; }
.invite-aside ul.ticks b { color: var(--ink); }
.invite-small { margin-top: 16px; font-size: 14px; color: var(--muted); }
.invite-form {
  display: grid; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.invite-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.invite-form legend { padding: 0; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.invite-form .field textarea {
  font: inherit; font-size: 16px; padding: 10px 12px; width: 100%; min-height: 110px; resize: vertical;
  border: 1.5px solid #c3d3ca; border-radius: var(--radius); background: #fff; color: var(--ink);
}
.invite-form .field textarea:focus-visible { outline: 3px solid var(--moss); outline-offset: 1px; border-color: var(--moss); }
.invite-form .field input.short { max-width: 12em; }
.invite-form .choice { display: grid; gap: 8px; }
.invite-form .choice.inline { grid-template-columns: repeat(3, max-content); gap: 8px 12px; }
.invite-form .choice.inline legend { grid-column: 1 / -1; }
.invite-form .choice label, .invite-form .consent label {
  display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15.5px; line-height: 1.45; cursor: pointer;
}
.invite-form .choice label {
  border: 1.5px solid #d3ddd7; border-radius: var(--radius); padding: 11px 14px; background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.invite-form .choice label:hover { border-color: #b9cdc1; }
.invite-form .choice label:has(input:checked) { border-color: var(--forest); background: #f4f9f6; }
.invite-form input[type="radio"], .invite-form input[type="checkbox"] {
  width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--forest);
}
.invite-form .consent label { color: #3b4741; }
.invite-form [aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { font-size: 14px; font-weight: 600; color: var(--danger); }
.form-status:empty { display: none; }
.form-status { font-size: 15px; font-weight: 500; color: var(--forest); }
.form-status.bad { color: var(--danger); background: var(--danger-bg); border-radius: var(--radius); padding: 10px 14px; }
.invite-form .btn { justify-self: start; min-width: 220px; }
.invite-form .btn[disabled] { opacity: .65; cursor: progress; }
/* the honeypot: off-screen, never seen or tabbed to by people */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.invite-after { margin-top: 24px; display: grid; gap: 6px; font-size: 15px; color: #3b4741; }
.invite-after b { color: var(--ink); }
.code-like { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: var(--mist); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
/* thanks / error: shown by the server's redirect (#thanks, #error) with or without JavaScript */
.invite-msg { display: none; gap: 14px; align-items: flex-start; border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 24px; }
.invite-msg:target, .invite-msg.show { display: flex; }
.invite-msg:focus { outline: none; }
.invite-msg svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.invite-msg h2 { font-size: 20px; }
.invite-msg p { margin-top: 6px; }
.invite-msg.ok { background: var(--success-bg); border: 1px solid #bfe0cd; color: #23503a; }
.invite-msg.ok svg { color: var(--success); }
.invite-msg.bad { background: var(--danger-bg); border: 1px solid #efc4bd; color: #6e2219; }
.invite-msg.bad svg { color: var(--danger); }
#thanks:target ~ .invite-form, .invite-main.sent .invite-form { display: none; }
#error:target { scroll-margin-top: 120px; }
@media (max-width: 960px) {
  .invite-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .invite-aside { position: static; }
}
@media (max-width: 600px) {
  .invite-section { padding: 32px 0 64px; }
  .invite-form { padding: 24px 18px; gap: 20px; }
  .invite-form .choice.inline { grid-template-columns: minmax(0, 1fr); }
  .invite-form .btn { justify-self: stretch; width: 100%; min-width: 0; }
}
