/* =========================================================
   Confermax Audit Essentials — marketing site
   Tokens follow the product's brand ramp (auditor-app/src/styles.css)
   so the site and the app read as one thing.
   ========================================================= */

:root {
  /* Brand */
  --green-900: #0c5a2b;
  --green-800: #14723a;
  --green-700: #198946;
  --green-600: #1f9a52;
  --green-500: #2aaf63;
  --green-50: #e9f5ee;
  --green-25: #f4faf6;

  /* Neutrals — very slightly green-shifted so black never reads blue */
  --ink: #0d1512;
  --ink-2: #263330;
  --ink-3: #4b5b56;
  --muted: #6d7c77;
  --line: #e3e8e6;
  --line-2: #eef1f0;
  --surface: #ffffff;
  --panel: #f6f8f7;
  --panel-2: #eff3f1;

  /* Accents used by the mockups only */
  --amber-bg: #fff7e6;
  --amber-fg: #b45309;
  --red-bg: #fdeaea;
  --red-fg: #b91c1c;
  --blue-bg: #eaf2ff;
  --blue-fg: #1d4ed8;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(13, 21, 18, .05), 0 1px 3px rgba(13, 21, 18, .05);
  --shadow-md: 0 4px 10px rgba(13, 21, 18, .05), 0 12px 28px rgba(13, 21, 18, .07);
  --shadow-lg: 0 8px 24px rgba(13, 21, 18, .07), 0 32px 64px rgba(13, 21, 18, .10);

  --nav-h: 64px;
  --maxw: 1160px;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Montserrat', var(--sans);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0, "cv05" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.15;
  font-weight: 700;
}

p { margin: 0; }

::selection { background: var(--green-500); color: #fff; }

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

/* ---------- Layout primitives ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--panel { background: var(--panel); border-block: 1px solid var(--line); }

.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-3);
}

.section-head--center { margin-inline: auto; text-align: center; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease, color .16s ease;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 21, 18, .16), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn--primary:hover { background: var(--green-800); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: #cfd8d4; background: #fbfcfb; }

.btn--quiet {
  background: transparent;
  color: var(--ink-2);
  height: 36px;
  padding: 0 12px;
}
.btn--quiet:hover { color: var(--ink); background: var(--panel-2); }

.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }

.btn .arrow { transition: transform .16s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(13, 21, 18, .04);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
}
.logo__text span {
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--muted);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .14s ease, background-color .14s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--panel-2); }

.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink);
}

.nav__mobile {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul { list-style: none; margin: 0; padding: 8px 24px 20px; }
.nav__mobile a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.nav__mobile .btn { width: 100%; margin-top: 16px; }

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

.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 50% -160px, var(--green-25), transparent 70%);
}

.hero::before {
  /* faint ledger grid — a nod to the workpaper, not a decoration */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 560px;
  background-image:
    linear-gradient(to right, rgba(13, 21, 18, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 21, 18, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(760px 340px at 50% 22%, #000, transparent 78%);
  mask-image: radial-gradient(760px 340px at 50% 22%, #000, transparent 78%);
  pointer-events: none;
}

.hero__inner { position: relative; text-align: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 30px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
  box-shadow: var(--shadow-sm);
}
.pill b { color: var(--ink); font-weight: 600; }
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px rgba(31, 154, 82, .18);
}

.hero h1 {
  margin: 24px auto 0;
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}

.hero__sub {
  margin: 22px auto 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-3);
  line-height: 1.55;
}

.hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Product shot */
.shot {
  position: relative;
  margin: 56px auto 0;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot::after {
  /* fade the bottom so the mockup dissolves into the page instead of ending */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 54px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92) 92%);
  pointer-events: none;
}

.shot__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.shot__dots { display: flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d7dedb; }
.shot__url {
  flex: 1;
  max-width: 320px;
  margin-inline: auto;
  height: 22px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}

/* ---------- App mockup (shared by hero + feature rows) ---------- */

.app { display: flex; min-height: 420px; background: var(--surface); }

.app__side {
  width: 186px;
  flex: none;
  border-right: 1px solid var(--line);
  background: #fbfcfb;
  padding: 14px 10px;
}
.app__side-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 8px;
}
.app__nav { list-style: none; margin: 0 0 14px; padding: 0; }
.app__nav li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.app__nav li.is-active {
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 600;
}
.app__nav i {
  width: 14px; height: 14px; flex: none;
  border-radius: 4px;
  background: currentColor;
  opacity: .28;
}
.app__nav li.is-active i { opacity: .85; }

.app__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.app__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.app__crumb { font-size: 12px; color: var(--muted); }
.app__crumb b { color: var(--ink); font-weight: 600; }
.app__bar .spacer { margin-left: auto; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
}
.chip--green { background: var(--green-50); color: var(--green-800); border-color: #cbe7d7; }
.chip--amber { background: var(--amber-bg); color: var(--amber-fg); border-color: #fde6b3; }
.chip--red { background: var(--red-bg); color: var(--red-fg); border-color: #f5c2c2; }
.chip--blue { background: var(--blue-bg); color: var(--blue-fg); border-color: #c9dbff; }
.chip--grey { background: var(--panel-2); color: var(--ink-3); border-color: var(--line); }

.app__tabs {
  display: flex;
  gap: 2px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.app__tabs span {
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.app__tabs span.is-active {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--green-700);
}

.app__body { padding: 14px 16px 20px; overflow: hidden; }

/* Ledger table */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.tbl th {
  text-align: right;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl th:first-child, .tbl td:first-child { text-align: left; padding-left: 0; }
.tbl th:nth-child(2), .tbl td:nth-child(2) { text-align: left; }
.tbl td {
  text-align: right;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.tbl td.code { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tbl tr.band td {
  background: var(--panel);
  font-family: var(--display);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 5px 10px;
}
.tbl tr.total td {
  font-weight: 700;
  color: var(--ink);
  border-top: 1.5px solid var(--ink);
  border-bottom: 3px double var(--ink);
  padding-top: 9px;
}
.tbl .aje { color: var(--green-700); font-weight: 600; }
.tbl .aje.neg { color: var(--red-fg); }
.tbl .dim { color: var(--muted); }

/* ---------- Standards strip ---------- */

.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 0;
}
.strip__label {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 16px;
}
.strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}
.strip__items span {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-3);
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

/* ---------- Feature rows ---------- */

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: center;
}
.row + .row { margin-top: 104px; }
.row--flip .row__copy { order: 2; }

.row__copy h3 {
  font-size: clamp(24px, 2.6vw, 31px);
  letter-spacing: -0.026em;
}
.row__copy > p {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-3);
}

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.checks li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.5;
}
.checks b { color: var(--ink); font-weight: 600; }
.checks svg { margin-top: 3px; color: var(--green-600); }

.row__visual {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* PBC list mockup */
.pbc { padding: 4px 0; }
.pbc__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
}
.pbc__item:last-child { border-bottom: 0; }
.pbc__t { font-size: 13px; font-weight: 600; color: var(--ink); }
.pbc__m { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.pbc__m .sep { opacity: .45; margin-inline: 6px; }

/* Chat mockup */
.chat { padding: 16px; display: grid; gap: 12px; background: #fbfcfb; }
.chat__msg {
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.chat__msg--user {
  margin-left: auto;
  background: var(--green-700);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat__msg--bot {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat__cites {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 6px;
}
.cite {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--ink-3);
}
.cite__badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--green-50);
  color: var(--green-800);
  flex: none;
}
.cite__badge--global { background: var(--blue-bg); color: var(--blue-fg); }

/* ---------- Capability grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cell {
  background: var(--surface);
  padding: 28px 26px;
  transition: background-color .18s ease;
}
.cell:hover { background: #fbfcfb; }
.cell__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green-50);
  color: var(--green-800);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.cell h4 { font-size: 15.5px; letter-spacing: -0.012em; }
.cell p { margin-top: 8px; font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* ---------- Risk scan band ---------- */

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

.benford {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  padding: 20px;
}
.benford__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.benford__head h4 { font-size: 14px; }
.benford__chi {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.benford__chi b { color: var(--red-fg); }
.benford__sub { font-size: 11.5px; color: var(--muted); margin-bottom: 18px; }

.bars {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  align-items: end;
  height: 132px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.bar { position: relative; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.bar span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  min-height: 3px;
}
.bar .obs { background: var(--green-600); }
.bar .exp { background: #d4dcd8; }
.bar.is-flag .obs { background: var(--red-fg); }
.bar em {
  position: absolute;
  bottom: -20px;
  left: 0; right: 0;
  text-align: center;
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.legend { display: flex; gap: 16px; margin-top: 16px; font-size: 11.5px; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }

.flags { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.flags li {
  /* No flex gap here: the label's <b> and the text after it are separate flex
     children, and a gap would open a hole in the middle of the sentence. */
  display: flex;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}
.flags b { color: var(--ink); font-weight: 600; }
.flags b { white-space: nowrap; }
.flags .count {
  margin-left: auto;
  padding-left: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Numbers ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.stat__n {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}
.stat__l { margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ---------- Security ---------- */

.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sec-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-3);
}
.sec-list li:last-child { border-bottom: 0; }
.sec-list b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.sec-list svg { margin-top: 2px; color: var(--green-600); }

.code-card {
  border-radius: var(--radius);
  border: 1px solid #1c2b25;
  background: #0f1a16;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.code-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #1c2b25;
  font-family: var(--mono);
  font-size: 11px;
  color: #7d918a;
}
.code-card__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2b3d36; }
.code-card pre {
  margin: 0;
  padding: 16px 18px 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #cfded8;
  overflow-x: auto;
}
.code-card .c { color: #64796f; }
.code-card .k { color: #63d68f; }
.code-card .s { color: #e2c98a; }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan--feature {
  border-color: var(--green-700);
  box-shadow: 0 0 0 1px var(--green-700), var(--shadow-md);
  position: relative;
}
.plan__tag {
  position: absolute;
  top: -11px;
  left: 26px;
  height: 22px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.plan h3 { font-size: 17px; }
.plan__blurb { margin-top: 6px; font-size: 13.5px; color: var(--muted); min-height: 40px; }
.plan__price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display);
}
.plan__price b { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.plan__price span { font-size: 13px; color: var(--muted); font-weight: 500; }
.plan .btn { margin-top: 20px; width: 100%; }
.plan ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 11px;
}
.plan li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.plan li svg { margin-top: 3px; color: var(--green-600); }

.credits-note {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.credits-note b { color: var(--ink); }
.credits-note svg { flex: none; margin-top: 2px; color: var(--green-600); }

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

.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  position: relative;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq p { padding: 0 40px 24px 0; font-size: 15px; color: var(--ink-3); }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, #0f2b1c 0%, #0c5a2b 62%, #14723a 100%);
  color: #fff;
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(600px 260px at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(600px 260px at 50% 0%, #000, transparent 75%);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.cta p {
  margin: 16px auto 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}
.cta__row { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--green-900); box-shadow: none; }
.cta .btn--primary:hover { background: #eaf3ed; }
.cta .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  box-shadow: none;
}
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .5); }

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

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  background: var(--surface);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}
.footer__blurb {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  max-width: 34ch;
}
.footer h5 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { font-size: 14px; color: var(--ink-3); }
.footer li a:hover { color: var(--green-700); }

.footer__base {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer__base nav { display: flex; gap: 20px; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.2, .7, .3, 1), transform .55s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

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

@media (max-width: 1000px) {
  .row, .split { grid-template-columns: 1fr; gap: 40px; }
  .row--flip .row__copy { order: 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__actions .btn--quiet { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: 12px; justify-content: space-between; }
  .nav__actions { margin-left: auto; }
  .section { padding: 72px 0; }
  .hero { padding-top: 60px; }
  .app__side { display: none; }
  .row + .row { margin-top: 72px; }
  .cta { padding: 48px 26px; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .shot { border-radius: var(--radius); }
  .hero__cta .btn { width: 100%; }

  /* Hiding columns breaks the colspan on the totals row and mis-foots the
     mockup. Let the wide table scroll inside the app frame instead. */
  .app__body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .app__body .tbl { min-width: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
