/* Kettly marketing site: shared styles (Studio direction).
   Space Grotesk for headings and figures, Manrope for text. Colours have fixed meanings:
   orange is the land / residual and the primary action, blue and cyan are revenue by use,
   slates are costs, green is profit or a target met. Light only, like the app: no dark theme. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(fonts/space-grotesk-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2");
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;

  /* Dark band: header, heroes, results and calls to action. */
  --rail: #0a0d12;
  --band: #121821;
  --band-card: #19212d;
  --band-line: #253041;
  --band-edge: #344156;
  --band-hover: #1b2330;
  --band-text: #f3f5f8;
  --band-muted: #a3adbb;
  --band-dim: #7f8a9a;
  --band-s1: #c3cbd6;
  --band-s2: #8b96a7;
  --band-s3: #5d697c;
  --logo-bg: #171e29;

  /* Light workspace */
  --page: #e9edf2;
  --panel: #ffffff;
  --panel-2: #f6f8fa;
  --ring: #dde2e9;
  --line: #e7eaef;
  --line-2: #d6dbe3;
  --field: #f8f9fb;
  --field-line: #d9dee6;
  --chip: #eef1f5;
  --ink: #0f141b;
  --ink-2: #465163;
  --ink-3: #667183;

  /* Signal colours */
  --orange: #ff5b1c;
  --orange-hover: #ff7236;
  --orange-ink: #16110d;
  --orange-text: #c2410c;
  --orange-on-dark: #ff8a57;
  --orange-tint: #fff1ea;
  --orange-edge: #f6c4ab;
  --green: #1f9d57;
  --green-text: #137a42;
  --green-on-dark: #4fd18e;
  --green-tint: #e8f6ee;
  --green-tint-2: #c9ead7;
  --blue: #2f5ce0;
  --blue-text: #2448b8;
  --blue-tint: #edf1fd;
  --cyan: #12a7c8;
  --cyan-text: #0b7890;
  --cyan-tint: #e7f6fa;
  --slate-1: #2b3544;
  --slate-2: #6c7888;
  --slate-3: #aab4c2;
  --amber: #b45309;
  --amber-text: #92400e;
  --amber-tint: #fdf3e7;

  /* Programme bar */
  --seg-pre: #e3e7ed;
  --seg-pre-ink: #465163;
  --seg-build: #2b3544;

  --focus: #c2410c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 20, 27, .05), 0 22px 44px -28px rgba(15, 20, 27, .3);
  --gutter: 32px;
  --header-h: 64px;
}

/* -------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
b, strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
.fig, .num { font-family: var(--font-display); font-variant-numeric: tabular-nums; }

.prose a, .answer a, .text-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover, .answer a:hover, .text-link:hover { text-decoration-thickness: 3px; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.band :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-on-dark); }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--orange); color: var(--orange-ink);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ layout */
.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
.section { padding-block: 104px; }
.section-tight { padding-block: 72px; }
.section-white { background: var(--panel); }
.band { background: var(--band); color: var(--band-text); }
.band h1, .band h2, .band h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font: 700 13.5px/1.2 var(--font-body);
  color: var(--ink-2);
}
.band .eyebrow { color: var(--band-muted); }
.h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.section-lead { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.band .section-lead { color: var(--band-muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.span-2 { grid-column: span 2; }

.panel { background: var(--panel); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--ring); }

/* ------------------------------------------------------ small components */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 8px;
  font: 700 15px/1.2 var(--font-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-ghost { background: transparent; border-color: var(--band-edge); color: var(--band-text); }
.btn-ghost:hover { background: var(--band-hover); border-color: #4b5a73; }
.btn-outline { background: var(--panel); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px;
  border: 1px solid var(--band-edge); border-radius: 6px;
  font: 600 12.5px/1 var(--font-body); color: #cdd4de; white-space: nowrap;
}
.tag-draft { border-color: #6b4a2c; background: #2a1f18; color: #ffb68f; }
.tag-light { border-color: var(--line-2); background: var(--panel); color: var(--ink-2); }
.tag-green { border-color: var(--green-tint-2); background: var(--green-tint); color: var(--green-text); }
.badge-solved {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border: 1px solid #5a3622; border-radius: 5px;
  background: #2a1b13; color: var(--orange-on-dark);
  font: 700 12px/1.3 var(--font-body); white-space: nowrap;
}
.sq { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.no {
  display: inline-grid; place-items: center; flex: none;
  min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px;
  background: var(--chip); color: var(--ink-2);
  font: 700 12.5px/1 var(--font-body); font-variant-numeric: tabular-nums;
}
.no.on { background: var(--orange); color: var(--orange-ink); }
.band .no { background: #1f2835; color: var(--band-muted); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 24px; padding: 0 9px 0 8px; border-radius: 6px;
  background: var(--blue-tint); color: var(--blue-text);
  font: 700 13px/1 var(--font-body); white-space: nowrap;
}
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.chip-cyan { background: var(--cyan-tint); color: var(--cyan-text); }
.chip-cyan::before { background: var(--cyan); }

/* Placeholders the owner must fill in */
.todo {
  padding: 1px 6px;
  border: 1px dashed var(--ink-3); border-radius: 5px;
  background: var(--panel-2); color: var(--ink-2);
  font-weight: 600; font-style: normal;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band .todo { border-color: var(--band-dim); background: var(--band-card); color: var(--band-text); }

.ic { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-b { stroke-width: 1.9; }
.check { width: 16px; height: 16px; flex: none; color: var(--green-text); }
.band .check { color: var(--green-on-dark); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--band); color: var(--band-text);
  border-bottom: 1px solid var(--band-line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: #fff; text-decoration: none; }
.logo {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--logo-bg); box-shadow: inset 0 0 0 1px #232d3c;
}
.logo svg { width: 21px; height: 21px; }
.wordmark { font: 600 19px/1 var(--font-display); letter-spacing: -.01em; }
.brand .tag { height: 20px; padding: 0 6px; font-size: 11.5px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  position: relative; display: flex; align-items: center;
  height: 40px; padding: 0 12px; border-radius: 7px;
  color: var(--band-muted); font-size: 14.5px; font-weight: 600; text-decoration: none;
}
.site-nav a:hover { color: #fff; background: var(--band-hover); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -12px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--orange);
}
.header-cta { flex: none; }
.nav-toggle { display: none; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--rail); color: var(--band-muted); padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 3fr); gap: 32px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 32ch; color: var(--band-dim); }
.site-footer h2 { margin: 0 0 14px; font: 700 13.5px/1.2 var(--font-body); letter-spacing: 0; color: var(--band-text); }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--band-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; text-decoration: none; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #1c2430;
  color: var(--band-dim); font-size: 13.5px;
}

/* -------------------------------------------------------------- home hero */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(40px, 5vw, 66px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .land { color: var(--orange-on-dark); }
.lead { margin-top: 22px; max-width: 36em; font-size: 18.5px; line-height: 1.6; color: var(--band-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--band-muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }

/* Residual waterfall: revenue, less costs and profit, leaves the land */
.wf {
  background: linear-gradient(180deg, #19212d, #161d28);
  border: 1px solid #232d3c; border-radius: 14px;
  padding: 22px 24px 20px;
}
.wf-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wf-label { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--band-muted); }
.wf-top .badge-solved { margin-left: auto; }
.wf-title { margin-top: 12px; font: 600 22px/1.2 var(--font-display); letter-spacing: -.01em; color: #fff; }
.wf-rows { display: grid; gap: 13px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #29344a; }
.wf-total { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #29344a; }
.wf-total b { display: block; font-size: 14.5px; color: #fff; }
.wf-total small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: var(--band-dim); }
.wf-total-val { font: 500 clamp(32px, 3.4vw, 42px)/1 var(--font-display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; color: var(--orange-on-dark); white-space: nowrap; }
.wf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.wf-name { font-size: 13.5px; font-weight: 600; color: var(--band-muted); }
.wf-name small { font-size: 12.5px; font-weight: 500; color: var(--band-dim); }
.wf-val { font: 600 15px/1 var(--font-display); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.wf-track { position: relative; grid-column: 1 / -1; height: 12px; border-radius: 4px; background: #121821; }
.wf-bar { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.wf-bar.rev { background: #f3f5f8; }
.wf-bar.cost { background: #7f8a9a; }
.wf-bar.profit { background: var(--green); }
.wf-bar.land { background: var(--orange); }
.wf-row.is-land .wf-name { color: #fff; }
.wf-row.is-land .wf-val { color: var(--orange-on-dark); }
.wf figcaption, .fig-note { margin-top: 16px; font-size: 12.5px; color: var(--band-dim); }

/* Screenshot stage straddling the hero band */
.stage { background: linear-gradient(to bottom, var(--band) 0 48%, var(--page) 48% 100%); padding-bottom: 8px; }
.stage-inner { position: relative; }
.frame {
  padding: 8px; border-radius: 18px; background: var(--rail);
  box-shadow: 0 0 0 1px #253041, 0 50px 90px -44px rgba(10, 13, 18, .6);
}
.frame img { width: 100%; aspect-ratio: 1440 / 860; object-fit: cover; object-position: top; border-radius: 11px; }
.phone {
  position: absolute; right: 48px; bottom: -44px; width: clamp(170px, 17vw, 228px);
  padding: 7px; border-radius: 34px; background: var(--rail);
  box-shadow: 0 0 0 1px #2a3445, 0 40px 70px -30px rgba(10, 13, 18, .65);
}
.phone img { width: 100%; border-radius: 27px; }
.stage-caption { margin-top: 18px; max-width: calc(100% - 320px); font-size: 13.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- cards */
.card { display: flex; flex-direction: column; padding: 28px 28px 26px; }
.card h3 { font-size: 21px; letter-spacing: -.015em; }
.card > p { margin-top: 10px; color: var(--ink-2); }
.card .viz-mini { margin-top: auto; padding-top: 24px; }
.card .viz-mini > :first-child { padding-top: 20px; border-top: 1px solid var(--line); }
.card-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 18px; border-radius: 9px;
  background: var(--chip); color: var(--ink);
}
.card-icon svg { width: 22px; height: 22px; }

/* Programme bar */
.gantt { position: relative; }
.gantt-bar { position: relative; display: grid; grid-template-columns: 6fr 20fr 12fr; gap: 3px; height: 32px; }
.seg {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  padding: 0 10px; border-radius: 7px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden;
}
.seg em { font-style: normal; font-weight: 500; opacity: .8; }
.seg-pre { background: var(--seg-pre); color: var(--seg-pre-ink); }
.card .seg-pre em { display: none; }
.seg-build { background: var(--seg-build); color: #fff; }
.seg-sales { background: var(--blue); color: #fff; }
.mk-purchase { position: absolute; left: 0; top: -5px; bottom: -5px; width: 3px; border-radius: 2px; background: var(--orange); }
.mk-sale {
  position: absolute; top: 9px; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 3px; transform: rotate(45deg);
  background: var(--cyan); box-shadow: 0 0 0 2px var(--panel);
}
.gantt-ticks { position: relative; height: 22px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.gantt-ticks span { position: absolute; top: 0; padding-left: 6px; border-left: 1px solid var(--line-2); line-height: 20px; white-space: nowrap; }
.gantt-ticks .ev { color: var(--ink); border-left: 2px solid var(--ink); }
.gantt-ticks .ev-sale { color: var(--cyan-text); border-left: 0; padding-left: 0; }
.gantt-ticks .end { transform: translateX(-100%); padding: 0 6px 0 0; border-left: 0; border-right: 1px solid var(--line-2); }

/* Target list */
.targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.targets li {
  display: flex; align-items: center; gap: 9px; min-height: 38px;
  padding: 6px 12px; border: 1px solid var(--field-line); border-radius: 8px;
  background: var(--field); font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3;
}
.targets li::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--slate-3); background: var(--panel);
}
.targets li.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 91, 28, .12); color: var(--ink); }
.targets li.on::before { border: 4px solid var(--orange); }
.targets li b { margin-left: auto; font: 600 14px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.viz-note { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* Uses and quick adjust */
.uses { display: grid; gap: 10px; }
.use-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.use-meta { font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.use-row .fig { margin-left: auto; font-size: 16px; font-weight: 600; white-space: nowrap; }
.split { display: flex; gap: 3px; height: 14px; margin-top: 4px; }
.split i { display: block; height: 100%; border-radius: 4px; }
.split .blue { background: var(--blue); }
.split .cyan { background: var(--cyan); }
.qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--panel-2); }
.qa-title { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; font: 600 14.5px/1.2 var(--font-display); }
.qa-title span { font: 500 12.5px/1.3 var(--font-body); color: var(--ink-3); }
.qa label, .qa .lbl { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center;
  height: 32px; overflow: hidden;
  border: 1px solid var(--field-line); border-radius: 8px; background: var(--panel);
}
.stepper i {
  display: grid; place-items: center; height: 100%;
  background: var(--field); color: var(--ink-3); font-style: normal; font-weight: 600;
}
.stepper i:first-child { border-right: 1px solid var(--line); }
.stepper i:last-child { border-left: 1px solid var(--line); }
.stepper b { text-align: center; font: 600 13.5px/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* Export files */
.files { display: grid; gap: 8px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); }
.file-ic {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 30px; border-radius: 6px;
  background: var(--slate-1); color: #fff;
  font: 700 11px/1 var(--font-display); letter-spacing: .03em;
}
.file-ic.pdf { background: var(--orange); color: var(--orange-ink); }
.file-ic.csv { background: #137a42; color: #fff; }
.files b { display: block; font-size: 14.5px; line-height: 1.3; }
.files small { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; }

/* Autofill illustration */
.af { display: grid; gap: 10px; }
.af-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2);
  font-size: 13px; color: var(--ink-2);
}
.af-banner b { color: var(--ink); }
.mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.mark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mark.est::before { background: var(--amber); }
.af-fields { display: grid; gap: 8px; }
.af-field {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center;
  padding: 9px 12px; border: 1px solid var(--field-line); border-left: 3px solid var(--blue);
  border-radius: 8px; background: var(--field);
}
.af-field.est { border-left-color: var(--amber); }
.af-key { grid-column: 1; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.af-val { grid-column: 1; font: 600 15px/1.3 var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink); }
.af-src { grid-column: 2; grid-row: 1 / span 2; font-size: 12.5px; font-weight: 700; color: var(--blue-text); text-align: right; }
.af-field.est .af-src { color: var(--amber-text); }
.viz .af-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 36px; }
.feature-wide h3 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.feature-wide .prose { margin-top: 14px; }

/* ---------------------------------------------------------------- prose */
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 14px; }
.prose h3 { margin-top: 28px; font-size: 19px; color: var(--ink); }
.prose h3:first-child { margin-top: 0; }
.doc-cols h3 { font-size: 17px; margin-bottom: 10px; }
.doc-cols .prose > h3 + * { margin-top: 0; }
.prose strong { color: var(--ink); }
.bullets { display: grid; gap: 8px; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--slate-3); }

/* ------------------------------------------------------------ how it works */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.steps { display: grid; gap: 0; margin-top: 36px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-bottom: 28px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 6px; width: 1px; background: var(--line-2); }
.step .no { min-width: 32px; height: 32px; border-radius: 8px; font-size: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--ring); color: var(--ink); }
.step:first-child .no { background: var(--orange); box-shadow: none; color: var(--orange-ink); }
.step h3 { font-size: 19px; padding-top: 4px; }
.step p { margin-top: 6px; color: var(--ink-2); }
.video-wrap { position: sticky; top: calc(var(--header-h) + 32px); }
.video { margin: 0; }
.video video {
  width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px;
  background: var(--rail); box-shadow: 0 0 0 1px var(--ring), var(--shadow);
}
.video figcaption { display: flex; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.video figcaption b { color: var(--ink); }

/* ------------------------------------------------------------ scheme types */
.schemes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
  border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--ring);
}
/* each tile draws its own top and left rule; those on the outer edge are pulled out of sight */
.schemes li { margin: -1px 0 0 -1px; padding: 24px 20px 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.schemes li.mix { background: var(--panel-2); }
.schemes svg { width: 26px; height: 26px; color: var(--ink); }
.schemes b { display: block; margin-top: 16px; font: 600 16px/1.25 var(--font-display); color: var(--ink); }
.schemes span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.schemes.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-after { margin-top: 20px; }

/* ---------------------------------------------------------------- results */
.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: stretch; }
.rlv-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #19212d, #161d28);
  border: 1px solid #232d3c; border-radius: 14px; padding: 22px 24px 20px;
}
.rlv-card .big {
  margin: 14px 0 20px;
  font: 500 clamp(48px, 6.2vw, 84px)/1 var(--font-display);
  letter-spacing: -.035em; font-variant-numeric: tabular-nums; color: #fff;
}
.rlv-card .big span { margin-right: 2px; color: var(--band-muted); font-weight: 400; }
.per { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; padding-top: 14px; border-top: 1px solid #29344a; }
.per div { min-width: 0; padding-right: 12px; }
.per div + div { padding-left: 16px; border-left: 1px solid #29344a; }
.per dt, .kpi dt { font-size: 12.5px; font-weight: 600; color: var(--band-muted); }
.per dd { margin-top: 3px; font: 600 clamp(16px, 1.6vw, 20px)/1.1 var(--font-display); font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.per .pos dd { color: var(--green-on-dark); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--band-line); }
.kpi { padding: 18px 20px 16px 0; border-bottom: 1px solid var(--band-line); }
.kpi:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--band-line); }
.kpi .v { margin-top: 4px; font: 500 clamp(30px, 3.2vw, 40px)/1.05 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.kpi .v small { font-size: .5em; letter-spacing: 0; color: var(--band-muted); font-weight: 500; }
.kpi .sub { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--band-dim); }
.kpi .ok { color: var(--green-on-dark); font-weight: 700; }
.goes { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--band-line); }
.goes-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-bottom: 12px; font-size: 13.5px; font-weight: 600; color: var(--band-muted); }
.goes-head b { font-family: var(--font-display); font-size: 16px; color: #fff; }
.sbar { display: flex; gap: 3px; height: 18px; }
.sbar i { display: block; height: 100%; border-radius: 4px; }
.c-land { background: var(--orange); }
.c-build { background: var(--band-s1); }
.c-fees { background: var(--band-s2); }
.c-fin { background: var(--band-s3); }
.c-profit { background: var(--green); }
.legend { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); justify-content: space-between; gap: 14px 20px; margin-top: 14px; }
.legend li { min-width: 0; }
.legend span { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--band-muted); white-space: nowrap; }
.legend span i { width: 9px; height: 9px; border-radius: 2px; }
.legend b { display: block; margin-top: 4px; font: 600 17px/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: #fff; }
.legend em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--band-dim); font-variant-numeric: tabular-nums; }
.legend .pos b { color: var(--green-on-dark); }
.illustrative { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 22px; font-size: 13px; color: var(--band-dim); }

/* ------------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 18px/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq summary:hover svg { color: var(--orange-text); }
.answer { max-width: 68ch; padding: 0 0 22px; color: var(--ink-2); }
.answer > * + * { margin-top: 10px; }

/* -------------------------------------------------------------- CTA band */
.cta-band { padding: 88px 0; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: center; }
.cta-inner h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.cta-inner p { margin-top: 14px; max-width: 42em; font-size: 17px; color: var(--band-muted); }
.cta-inner .cta-row { margin-top: 0; }

/* ------------------------------------------------------- inner page hero */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { max-width: 20ch; font-size: clamp(36px, 4.6vw, 58px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.page-hero .lead { max-width: 40em; }
.crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; color: var(--band-muted); }
.crumbs a { color: var(--band-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs .sl { color: #46536a; }
.crumbs .here { font-weight: 600; color: #fff; }
.facts { display: flex; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--band-line); }
.facts div { padding: 0 28px 0 0; margin: 0 28px 10px 0; border-right: 1px solid var(--band-line); }
.facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.facts dt { font-size: 12.5px; font-weight: 600; color: var(--band-dim); }
.facts dd { margin-top: 2px; font: 600 16px/1.3 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------ docs layout with contents */
.docs { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 64px; align-items: start; padding: 64px 0 104px; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc-title { margin-bottom: 12px; font: 700 13px/1.2 var(--font-body); color: var(--ink-2); }
.toc ol { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line-2); }
.toc ol a {
  display: flex; align-items: baseline; gap: 10px;
  margin-left: -1px; padding: 7px 0 7px 14px; border-left: 2px solid transparent;
  color: var(--ink-2); font-size: 14.5px; font-weight: 600; line-height: 1.35; text-decoration: none;
}
.toc ol a .n { min-width: 18px; font: 600 12.5px/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.toc ol a:hover { color: var(--ink); }
.toc ol a[aria-current="true"] { color: var(--ink); border-left-color: var(--orange); }
.toc ol a[aria-current="true"] .n { color: var(--orange-text); }
.toc-extra { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.doc-section { padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line-2); }
.doc-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.doc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.doc-head .no { min-width: 30px; height: 30px; border-radius: 8px; font-size: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--ring); color: var(--ink); }
.doc-section h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -.025em; }
.doc-lead { max-width: 44em; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); }
.doc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; margin-top: 24px; }
.doc-section .viz, .doc-section .shot, .doc-section .viz-pair { margin-top: 28px; }

/* Visual panels */
.viz { overflow: hidden; background: var(--panel); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--ring); }
.viz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 50px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.viz-title { display: flex; align-items: center; gap: 9px; font: 600 16px/1.2 var(--font-display); color: var(--ink); }
.viz-hint { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.viz-aside { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.viz-aside b { margin-left: 6px; font: 600 16px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.viz-body { padding: 20px; }
.viz-body + .viz-body { border-top: 1px solid var(--line); }
.viz-foot { padding: 12px 20px; border-top: 1px solid var(--line); background: var(--panel-2); font-size: 13px; color: var(--ink-3); }
.viz-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sub-label { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px;
  border: 1px solid var(--field-line); border-radius: 8px; background: var(--field);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.pill.on { border-color: var(--orange); color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 91, 28, .12); }

/* Monthly cashflow chart (schematic) */
.cf-chart svg { width: 100%; height: auto; overflow: visible; }
.cf-chart .axis { stroke: var(--line-2); }
.cf-chart .land { fill: var(--orange); }
.cf-chart .fees { fill: var(--slate-3); }
.cf-chart .build { fill: var(--seg-build); }
.cf-chart .sales { fill: var(--blue); }
.cf-chart .retail { fill: var(--cyan); }
.cf-chart text { font: 600 11.5px var(--font-body); fill: var(--ink-3); }
.key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.key span { display: inline-flex; align-items: center; gap: 7px; }
.key i { width: 10px; height: 10px; border-radius: 2px; }
.key .k-land { background: var(--orange); }
.key .k-fees { background: var(--slate-3); }
.key .k-build { background: var(--seg-build); }
.key .k-sales { background: var(--blue); }
.key .k-retail { background: var(--cyan); }
.key .k-meets { background: var(--green-tint-2); }
.key .k-below { background: var(--line-2); }
.key .k-base { background: var(--green-tint); box-shadow: inset 0 0 0 2px var(--ink); }

/* Commercial lease timeline */
.lease-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 3px; height: 40px; }
.ls { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.ls b { font-weight: 500; opacity: .85; }
.ls-void { background: repeating-linear-gradient(135deg, var(--chip) 0 6px, var(--panel-2) 6px 12px); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.ls-free { background: var(--cyan-tint); box-shadow: inset 0 0 0 1px var(--cyan); color: var(--cyan-text); }
.ls-rent { background: var(--cyan); color: #06262e; -webkit-mask: linear-gradient(90deg, #000 80%, rgba(0, 0, 0, .35)); mask: linear-gradient(90deg, #000 80%, rgba(0, 0, 0, .35)); }
.lease-ticks { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 3px; margin-top: 10px; }
.lease-ticks div { padding-left: 8px; border-left: 2px solid var(--ink); font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }
.lease-ticks b { display: block; color: var(--ink); font-size: 13px; }
.while-void { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; padding: 10px 12px; border-radius: 8px; background: var(--panel-2); font-size: 13px; font-weight: 600; color: var(--ink-3); }
.while-void strong { color: var(--ink-2); }
.box {
  display: inline-flex; align-items: center; justify-content: flex-end; min-width: 62px; height: 28px; padding: 0 8px;
  border: 1px solid var(--field-line); border-radius: 7px; background: var(--panel);
  font: 600 13.5px/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--ink);
}
.lease-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line); }
.lease-facts div { padding: 12px 12px 0 0; }
.lease-facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.lease-facts dt { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.lease-facts dd { margin-top: 3px; font: 600 18px/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink); }

/* Finance */
.field-rows { display: grid; }
.field-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-top: 1px solid var(--line); font-size: 14px; }
.field-rows > div:first-child { border-top: 0; }
.field-rows dt { color: var(--ink-2); font-weight: 600; }
.field-rows dd { font: 600 15px/1.2 var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
.field-rows dd.soft { font: 600 13.5px/1.3 var(--font-body); color: var(--ink-3); }
.debt-chart svg { width: 100%; height: auto; overflow: visible; }
.debt-chart .area { fill: var(--slate-3); opacity: .35; }
.debt-chart .line { fill: none; stroke: var(--seg-build); stroke-width: 2; }
.debt-chart .axis { stroke: var(--line-2); }
.debt-chart .peak { fill: var(--orange); }
.debt-chart .guide { stroke: var(--ink-3); stroke-dasharray: 3 3; }
.debt-chart text { font: 600 11.5px var(--font-body); fill: var(--ink-3); }
.debt-chart text.strong { font: 600 12.5px var(--font-display); fill: var(--ink); }
.draw-orders { display: grid; gap: 10px; margin-top: 4px; }
.draw-orders li { padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field); font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.draw-orders li b { display: block; color: var(--ink); font-size: 14px; }
.draw-orders li.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 91, 28, .12); }

/* Sensitivity (schematic) */
.sens-controls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.sel span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sel b {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 34px; padding: 0 10px;
  border: 1px solid var(--field-line); border-radius: 7px; background: var(--field);
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden;
}
.sel b::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); }
.sens-wrap { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
.sens-axis-y { writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.sens-axis-x { margin: 26px 0 8px 92px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.sens-grid { display: grid; grid-template-columns: 56px repeat(5, minmax(0, 1fr)); gap: 3px; }
.sens-grid > span { display: grid; place-items: center; height: 40px; border-radius: 6px; font: 600 13px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.sens-grid .h { color: var(--ink-3); font-family: var(--font-body); font-size: 12.5px; }
.sens-grid .g2 { background: var(--green-tint-2); }
.sens-grid .g1 { background: var(--green-tint); }
.sens-grid .b1 { background: var(--chip); }
.sens-grid .b2 { background: var(--line-2); }
.sens-grid .base { background: var(--green-tint); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.breakeven { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.be { padding: 20px; }
.be dt { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.be dd { margin-top: 6px; font: 500 clamp(30px, 3vw, 38px)/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.be dd.note { margin-top: 10px; font: 500 13.5px/1.45 var(--font-body); letter-spacing: 0; color: var(--ink-2); }
.viz-body > .prose { margin-bottom: 16px; font-size: 15px; }
.debt-chart { margin: 4px 0 14px; }
.while-void > span { display: inline-flex; align-items: center; gap: 8px; }

/* Screenshots in content */
.shot { margin: 0; }
.shot img { width: 100%; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--ring), var(--shadow); background: var(--page); }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }

/* ---------------------------------------------------------------- pricing */
.page-hero.has-overlap { padding-bottom: 104px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; align-items: stretch; }
/* two cards (the free beta, and what follows), lifted over the band above */
.tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -56px; position: relative; }
.tier { display: flex; flex-direction: column; padding: 28px; }
.tier.is-now { box-shadow: 0 0 0 1px var(--ring), 0 0 0 4px rgba(255, 91, 28, .12); }
.tier-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tier h2 { font-size: 22px; }
.tier-for { margin-top: 8px; min-height: 3.2em; font-size: 14.5px; color: var(--ink-2); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0 6px; }
.price .amount { font: 500 52px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.price .amount.tbc { font-size: 30px; line-height: 52px; letter-spacing: -.01em; color: var(--ink-2); }
.price .per-unit { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.price-note { min-height: 1.6em; font-size: 13.5px; color: var(--ink-3); }
.tier .btn { margin-top: 22px; }
.tier-list { display: grid; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.tier-list li { display: flex; gap: 10px; align-items: flex-start; }
.tier-list .check { margin-top: 3px; }
.tier-list .dash { width: 16px; flex: none; margin-top: 11px; border-top: 1.5px solid var(--slate-3); }
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--ring); }
.compare { min-width: 640px; font-size: 14.5px; }
.compare th, .compare td { padding: 13px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; padding-top: 18px; padding-bottom: 14px; font: 600 16px/1.2 var(--font-display); color: var(--ink); background: var(--panel); }
.compare thead th small { display: block; margin-top: 4px; font: 600 12.5px/1.2 var(--font-body); color: var(--ink-3); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 40%; }
.compare td { color: var(--ink-2); width: 20%; }
.compare .group th { padding-top: 20px; padding-bottom: 8px; background: var(--panel-2); font: 700 13px/1.2 var(--font-body); color: var(--ink-3); }
.compare .check { display: inline-block; vertical-align: -3px; }
.compare-1 { min-width: 0; }
.compare-1 tbody th { width: 60%; }
.compare-1 td { width: 40%; }
.compare .none { color: var(--ink-3); }

/* ------------------------------------------------------------------ about */
.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.story-text { margin-top: 22px; font-size: 17px; }
.contact-actions { margin-top: 18px; }
.formula { padding: 28px; }
.formula .sub-label { margin-bottom: 6px; }
.formula ol { display: grid; gap: 0; }
.formula li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink-2); }
.formula li:first-child { border-top: 0; }
.formula .op { font: 600 18px/1 var(--font-display); color: var(--ink-3); text-align: center; }
.formula .fig { font-size: 17px; font-weight: 600; color: var(--ink); }
.formula li.total { border-top: 2px solid var(--ink); color: var(--ink); }
.formula li.total .fig { font-size: 22px; color: var(--orange-text); }
.formula .fig-note { color: var(--ink-3); }
.values .card h3 { font-size: 19px; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person { padding: 28px; }
.avatar {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px;
  background: var(--band); color: #fff; box-shadow: inset 0 0 0 1px var(--band-line);
  font: 600 26px/1 var(--font-display);
}
.avatar.empty { background: var(--panel-2); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line-2); border: 0; }
.avatar.empty::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
/* one person: the avatar sits beside the words */
.team-1 { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.team-1 .person, .story-side .person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.story-side .person { margin-top: 22px; }
.team-1 .person h3, .story-side .person h3 { margin-top: 0; }
.person h3 { margin-top: 20px; font-size: 20px; }
.person .role { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.person .bio { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.contact-1 { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.contact-1 .contact-card p:first-child { margin-top: 0; }
.contact-card { padding: 28px; }
.contact-card h3 { font-size: 20px; }
.contact-card p { margin-top: 10px; color: var(--ink-2); }
.contact-card .big-link { display: inline-block; margin-top: 16px; font: 600 22px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink); word-break: break-word; }

/* ------------------------------------------------------------------ guide */
.eq { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; font: 700 19px/1.3 var(--font-display); color: var(--ink); }
.eq .op { color: var(--ink-2); }
.eq .res { color: var(--orange-text); }
.measures { width: 100%; font-size: 15px; }
.measures th, .measures td { padding: 13px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.measures thead th { border-top: 0; font: 700 13px/1.2 var(--font-body); color: var(--ink-3); background: var(--panel-2); }
.measures tbody th { width: 30%; font: 600 15px/1.35 var(--font-display); color: var(--ink); }
.measures td { color: var(--ink-2); }
.measures td.fig { width: 18%; text-align: right; color: var(--ink); font-weight: 600; white-space: nowrap; }
.measures th.num { text-align: right; }
.after-table { margin-top: 22px; }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.glossary div { padding: 14px 0; border-top: 1px solid var(--line-2); }
.glossary dt { font: 600 16px/1.3 var(--font-display); color: var(--ink); }
.glossary dd { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.limits li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.limits li:first-child { border-top: 0; }
.limits li b { color: var(--ink); }
.limits .x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--chip); color: var(--ink-3); }
.limits .x svg { width: 12px; height: 12px; }
.limits.ok .x { background: var(--green-tint); color: var(--green-text); }
.glossary + .download-card { margin-top: 36px; }
.download-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 24px; }
.sheet-thumb { width: 64px; aspect-ratio: 210 / 297; border-radius: 4px; background: linear-gradient(var(--band) 0 30%, var(--panel) 30%); box-shadow: 0 0 0 1px var(--ring), 0 6px 14px -8px rgba(15, 20, 27, .4); position: relative; overflow: hidden; }
.sheet-thumb::before { content: ""; position: absolute; left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--orange); }
.sheet-thumb::after { content: ""; position: absolute; left: 8px; right: 8px; top: 40%; height: 40%; background: repeating-linear-gradient(var(--line-2) 0 2px, transparent 2px 6px); }
.download-card h3 { font-size: 18px; }
.download-card p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* ------------------------------------------------------- product sheet (A4) */
.sheet-page { background: #cfd6df; }
.sheet-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 32px, 210mm); margin: 24px auto 16px; font-size: 14px; color: #465163; }
.sheet-tools .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-tools .st-intro { display: grid; gap: 4px; }
.sheet-tools .st-title { margin-top: 6px; font: 600 20px/1.2 var(--font-display); letter-spacing: -.01em; color: #0f141b; }
.sheet-tools .btn-outline { background: #fff; border-color: #d6dbe3; color: #0f141b; }
.sheet {
  width: 210mm; height: 297mm; margin: 0 auto 32px; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; color: #0f141b; font-size: 9pt; line-height: 1.45;
  box-shadow: 0 20px 50px -20px rgba(15, 20, 27, .45);
  color-scheme: light;
}
.sh-top { background: #121821; color: #f3f5f8; padding: 10mm 14mm 8mm; }
.sh-brand { display: flex; align-items: center; justify-content: space-between; gap: 6mm; }
.sh-brand .brand { gap: 3mm; }
.sh-brand .logo { width: 9mm; height: 9mm; border-radius: 2.2mm; }
.sh-brand .logo svg { width: 5.6mm; height: 5.6mm; }
.sh-brand .wordmark { font-size: 15pt; }
.sh-brand .tag { height: auto; padding: 1mm 2mm; font-size: 7.5pt; border-radius: 1.2mm; }
.sh-title { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8mm; align-items: center; margin-top: 6mm; }
.sh-title h1 { font-size: 22pt; font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.sh-title h1 .land { color: #ff8a57; }
.sh-title .sh-intro { margin-top: 3mm; font-size: 9pt; line-height: 1.5; color: #a3adbb; }
.sh-wf { padding: 3.5mm 4mm; border: 1px solid #232d3c; border-radius: 3mm; background: #19212d; }
.sh-wf .wf-label { font-size: 7pt; gap: 2mm; }
.sh-wf .sq { width: 2mm; height: 2mm; border-radius: .5mm; }
.sh-wf .wf-rows { gap: 1.6mm; padding-top: 2.2mm; }
.sh-wf .wf-row { gap: 1mm 3mm; }
.sh-wf .wf-name { font-size: 6.8pt; }
.sh-wf .wf-val { font-size: 7.2pt; }
.sh-wf .wf-track { height: 1.8mm; border-radius: .6mm; }
.sh-wf .wf-bar { border-radius: .6mm; }
.sh-body { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 7mm; padding: 8.5mm 14mm 0; }
.sh-body h2 { margin: 0 0 2mm; font-size: 10pt; font-weight: 600; letter-spacing: -.01em; color: #0f141b; }
.sh-block + .sh-block { margin-top: 6mm; }
.sh-list { display: grid; gap: 1.6mm; padding: 0; list-style: none; color: #465163; font-size: 8.7pt; line-height: 1.45; }
.sh-list li { position: relative; padding-left: 3.6mm; }
.sh-list li::before { content: ""; position: absolute; left: 0; top: 1.45mm; width: 1.6mm; height: 1.6mm; border-radius: .4mm; background: #aab4c2; }
.sh-list b { color: #0f141b; }
.sh-schemes { display: flex; flex-wrap: wrap; gap: 1.6mm; }
.sh-schemes span { padding: 1.6mm 2mm; border: 1px solid #e7eaef; border-radius: 1.4mm; background: #f6f8fa; font-weight: 600; color: #0f141b; line-height: 1.3; }
.sh-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #dde2e9; border-radius: 2.4mm; overflow: hidden; }
.sh-kpis div { padding: 2mm 3mm; border-top: 1px solid #e7eaef; }
.sh-kpis div:nth-child(-n+2) { border-top: 0; }
.sh-kpis div:nth-child(even) { border-left: 1px solid #e7eaef; }
.sh-kpis dt { font-size: 7pt; font-weight: 600; color: #667183; }
.sh-kpis dd { margin-top: .5mm; font: 600 11.5pt/1.1 var(--font-display); font-variant-numeric: tabular-nums; color: #0f141b; }
.sh-kpis .pos dd { color: #137a42; }
.sh-note { margin-top: 1.8mm; font-size: 7pt; color: #667183; }
.sh-exports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6mm; }
.sh-exports span { display: flex; align-items: center; gap: 2mm; padding: 1.6mm 2mm; border: 1px solid #e7eaef; border-radius: 1.4mm; background: #f6f8fa; font-weight: 600; line-height: 1.25; }
.sh-exports i { display: grid; place-items: center; flex: none; width: 7mm; height: 4.6mm; border-radius: .8mm; background: #2b3544; color: #fff; font: 700 5.5pt/1 var(--font-display); font-style: normal; letter-spacing: .02em; }
.sh-exports i.pdf { background: #ff5b1c; color: #16110d; }
.sh-exports i.csv { background: #137a42; }
.sh-af { padding: 2.6mm 3.2mm; border: 1px solid #dde2e9; border-left: 1mm solid #2f5ce0; border-radius: 2mm; background: #f6f8fa; color: #465163; font-size: 8.5pt; line-height: 1.42; }
.sh-af b { color: #0f141b; }
.sh-limits { margin: 5mm 14mm 0; padding: 3mm 4mm; border-radius: 2.4mm; background: #f6f8fa; border: 1px solid #e7eaef; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1mm 4mm; color: #465163; font-size: 8.5pt; }
.sh-limits h2 { margin: 0; font-size: 9pt; font-weight: 600; color: #0f141b; grid-row: span 2; }
.sh-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 6mm; margin-top: 5mm; padding: 5mm 14mm 8mm; border-top: 1px solid #e7eaef; color: #667183; font-size: 7.5pt; }
.sh-foot .go { font: 600 11pt/1.2 var(--font-display); color: #0f141b; }
.sh-foot .go span { color: #c2410c; }
.sh-foot .go a { color: inherit; text-decoration: none; }
.sh-wf figcaption { margin-top: 2.4mm; font-size: 6.6pt; line-height: 1.45; color: #a3adbb; }
.sh-foot .todo { font-size: 10pt; }
.sheet .todo { border-color: #667183; background: #f6f8fa; color: #465163; }
.sh-legal { text-align: right; }
.sh-wf .wf-top { gap: 2mm; }
.sh-wf .wf-rows { margin-top: 3mm; }
.sh-wf .wf-total { margin-top: 3mm; padding-top: 2.5mm; }
.sh-wf .wf-total b { font-size: 7.5pt; }
.sh-wf .wf-total small { margin-top: .4mm; font-size: 6.4pt; }
.sh-wf .wf-total-val { font-size: 17pt; }
.sheet .text-link, .sheet-tools .text-link { color: #0f141b; }

@media screen and (max-width: 830px) { .sheet { zoom: .78; } }
@media screen and (max-width: 660px) { .sheet { zoom: .56; } }
@media screen and (max-width: 480px) { .sheet { zoom: .42; } }
@media screen and (max-width: 360px) { .sheet { zoom: .36; } }

@page sheet { size: A4; margin: 0; }
@media print {
  .sheet-page { background: #fff; }
  .sheet-tools { display: none; }
  .sheet { page: sheet; margin: 0; box-shadow: none; break-after: avoid; zoom: 1; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .sens-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 720px; }
  .wf { max-width: 620px; }
  .results { grid-template-columns: minmax(0, 1fr); }
  .how-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .video-wrap { position: static; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; }
  .toc { position: static; padding: 20px; border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--ring); }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; border-left: 0; }
  .toc ol a { margin-left: 0; padding-left: 0; border-left: 0; }
  .toc-extra { display: none; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature-wide { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .tier-for, .price-note { min-height: 0; }
}

@media (max-width: 880px) {
  .schemes, .schemes.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --gutter: 24px; }
  .header-row { gap: 10px; }
  .header-cta { order: 2; margin-left: auto; }
  .js .nav-toggle {
    order: 3;
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--band-edge); border-radius: 8px;
    background: transparent; color: #fff; cursor: pointer;
  }
  .js .nav-toggle svg { width: 20px; height: 20px; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    padding: 4px var(--gutter) 14px;
    background: var(--band); border-bottom: 1px solid var(--band-line);
    box-shadow: 0 24px 30px -24px rgba(0, 0, 0, .7);
  }
  .js.nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { height: 50px; padding: 0 2px; border-radius: 0; border-bottom: 1px solid var(--band-line); font-size: 16px; }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a:hover { background: transparent; }
  .site-nav a[aria-current="page"]::after { left: auto; right: 2px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 2px; transform: translateY(-50%); }
  html:not(.js) .header-row { flex-wrap: wrap; height: auto; padding-block: 12px; }
  html:not(.js) .site-nav { order: 3; width: 100%; margin: 0; }

  .section { padding-block: 80px; }
  .grid-2, .grid-4, .viz-pair, .contact { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .phone { display: none; }
  .stage-caption { max-width: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .team { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
  .breakeven { grid-template-columns: minmax(0, 1fr); }
  .doc-cols { grid-template-columns: minmax(0, 1fr); }
  .glossary { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .lease-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lease-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding-block: 64px; }
  .section-tight { padding-block: 48px; }
  .section-head { margin-bottom: 32px; }
  .section-lead, .doc-lead { font-size: 16.5px; }
  .hero { padding: 48px 0 44px; }
  .lead { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .wf { padding: 18px 16px 16px; }
  .wf-top .badge-solved { margin-left: 0; }
  .stage { padding-bottom: 24px; }
  .frame { padding: 5px; border-radius: 13px; }
  .frame img { border-radius: 9px; aspect-ratio: 4 / 3; }
  .card, .feature-wide, .tier, .person, .contact-card, .formula { padding: 22px 18px; }
  .targets { grid-template-columns: minmax(0, 1fr); }
  .qa { gap: 8px; padding: 10px; }
  .qa > div { display: flex; flex-direction: column; justify-content: flex-end; }
  .qa .lbl { white-space: normal; line-height: 1.3; }
  .stepper { grid-template-columns: 24px minmax(0, 1fr) 24px; }
  .use-row { flex-wrap: wrap; row-gap: 4px; }
  .use-meta { order: 3; width: 100%; }
  .schemes li { padding: 18px 16px; }
  .schemes.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .per { grid-template-columns: minmax(0, 1fr); }
  .per div, .per div + div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-left: 0; border-top: 1px solid #29344a; }
  .per div:first-child { border-top: 0; padding-top: 0; }
  .kpi { padding: 14px 12px 12px 0; }
  .kpi:nth-child(even) { padding-left: 14px; }
  .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .page-hero { padding: 48px 0 44px; }
  .facts div { padding-right: 18px; margin-right: 18px; }
  .docs { padding-bottom: 72px; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .doc-section { padding-bottom: 56px; margin-bottom: 56px; }
  .viz-body { padding: 16px; }
  .viz-head { padding: 10px 16px; }
  .gantt-ticks .opt, .mk-sale, .cf-chart text { display: none; }
  .sens-grid > span { height: 36px; font-size: 11.5px; }
  .seg { padding: 0 7px; font-size: 11.5px; }
  .seg em { display: none; }
  .sens-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sens-grid { grid-template-columns: 44px repeat(5, minmax(0, 1fr)); }
  .sens-axis-x { margin-left: 80px; }
  .viz .af-fields { grid-template-columns: minmax(0, 1fr); }
  .lease-bar, .lease-ticks { grid-template-columns: 1fr 1fr .8fr; }
  .ls { padding: 0 8px; font-size: 12px; }
  .ls b { display: none; }
  .tiers-2 { margin-top: -44px; }
  .page-hero.has-overlap { padding-bottom: 80px; }
  .price .amount { font-size: 44px; }
  .price .amount.tbc { font-size: 26px; line-height: 44px; }
  .compare { min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
  .compare tbody th, .compare td { padding: 0; border-top: 0; width: auto; }
  .compare tbody th { grid-column: 1 / -1; padding-bottom: 8px; }
  .compare td { font-size: 13.5px; }
  .compare td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
  .compare .group { padding: 16px 16px 8px; background: var(--panel-2); }
  .compare .group th { padding: 0; background: transparent; }
  .compare-1 tr { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .compare-1 tbody th { grid-column: 1; padding-bottom: 0; }
  .compare-1 td::before { content: none; }
  .download-card { grid-template-columns: auto minmax(0, 1fr); }
  .download-card .btn { grid-column: 1 / -1; }
  .measures thead { display: none; }
  .measures tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .measures tbody tr:first-child { border-top: 0; }
  .measures th, .measures td { padding: 0; border: 0; }
  .measures tbody th { grid-column: 1; width: auto; }
  .measures td.fig { grid-column: 2; grid-row: 1; width: auto; }
  .measures td:not(.fig) { grid-column: 1 / -1; font-size: 14px; }
}

@media (max-width: 400px) {
  .brand .tag { display: none; }
  .header-cta { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header { position: static; }
  .nav-toggle, .skip, .video, .header-cta { display: none; }
}

/* ------------------------------------------------------------------ the paid launch (R11a) */
/* links in the dark page headers */
.page-hero .lead a { color: var(--orange-on-dark); text-decoration: underline; text-underline-offset: 3px; }

/* the legal pages: terms, privacy notice, data processing agreement */
.legal { padding: 40px 0 72px; }
.legal-doc { max-width: 860px; margin: 0 auto; padding: 36px 40px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.legal-doc h2 { margin: 30px 0 10px; font-size: 19px; line-height: 1.3; color: var(--ink); }
.legal-doc > p + p { margin-top: 10px; }
.legal-doc b { color: var(--ink); }
.legal-doc a { color: var(--orange-text); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-meta { font-size: 13.5px; color: var(--ink-3); }
.legal-table-wrap + p { margin-top: 14px; }
.draft-note { margin-bottom: 22px; padding: 10px 14px; border-radius: 9px; background: var(--orange-tint); color: var(--orange-text); font-size: 14px; font-weight: 600; }
.legal-table-wrap { margin-top: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table thead th { background: var(--panel-2); color: var(--ink); font-weight: 700; }
.legal-table tbody th { color: var(--ink); font-weight: 600; }

/* the team accounts enquiry, on the pricing page */
.enquiry { display: grid; gap: 12px; margin-top: 18px; }
.enquiry .field { display: grid; gap: 5px; min-width: 0; }
.enquiry label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.enquiry label span { font-weight: 500; color: var(--ink-3); }
.enquiry input, .enquiry textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--field); font: 500 15px/1.4 var(--font-body); color: var(--ink); }
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 91, 28, .15); background: #fff; }
.enquiry textarea { min-height: 84px; resize: vertical; }
.enquiry .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.enquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--ink-3); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 640px) {
  .legal { padding: 24px 0 48px; }
  .legal-doc { padding: 24px 18px; font-size: 15px; }
  .enquiry .field-row { grid-template-columns: minmax(0, 1fr); }
}
