/* EXCO Suite's public pages: the front page, licences and checkout. Served from this server only (no scripts, no
   inline styles, no outside fonts). A navy and gold identity: a deep hero with a live-looking product view, then
   clear sections of cards, a governance band and two ways in. Charts and icons are inline SVG coloured from here. */
:root {
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --ink: #0E1B2C;
  --muted: #56677D;
  --line: #E1E7F0;
  --brand: #14396B;
  --brand-ink: #FFFFFF;
  --brand-soft: #E5EDF8;
  --gold: #C9A24B;
  --gold-ink: #1D1606;
  --gold-soft: #F7F0DE;
  --good: #11795A; --good-soft: #DCF3EA;
  --warn: #9C5A07; --warn-soft: #FCEFD8;
  --bad: #B4291F;  --bad-soft: #FDE5E2;
  --band: #0A1B33; --band-2: #10294B; --on-band: #ECF2FA; --on-band-muted: #A7B7CC; --on-band-line: rgba(255, 255, 255, .12);
  --shadow-s: 0 1px 2px rgba(14, 27, 44, .06), 0 2px 8px -2px rgba(14, 27, 44, .08);
  --shadow: 0 1px 2px rgba(14, 27, 44, .05), 0 18px 40px -18px rgba(14, 27, 44, .28);
  --shadow-l: 0 30px 80px -24px rgba(3, 10, 22, .55);

  /* The names the licence, checkout and invoice pages use. */
  --paper: var(--bg);
  --accent: var(--brand); --accent-ink: var(--brand-ink); --accent-soft: var(--brand-soft);
  --brass: var(--gold); --brass-soft: var(--gold-soft);

  --f-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: ui-monospace, Consolas, "Cascadia Mono", "Courier New", monospace;

  --s-1: clamp(2.3rem, 4.6vw, 3.7rem);
  --s-2: clamp(1.75rem, 3vw, 2.45rem);
  --s-3: clamp(1.15rem, 1.6vw, 1.32rem);
  --s-body: 1.0625rem;
  --s-small: .9rem;
  --s-micro: .78rem;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 10px;
  --r-l: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1320; --surface: #101C2D; --surface-2: #15243A; --ink: #E6EDF6; --muted: #9AAAC0; --line: #20314A;
    --brand: #8CB3EE; --brand-ink: #071222; --brand-soft: #16284A; --gold: #DDBA63; --gold-ink: #1D1606; --gold-soft: #2E2615;
    --good: #4FCB9C; --good-soft: #10302A; --warn: #E9B25C; --warn-soft: #33270F; --bad: #F08A80; --bad-soft: #3A1C1A;
    --band: #060F1C; --band-2: #0C1D35; --on-band: #E6EDF6; --on-band-muted: #9AAAC0;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .35); --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); --shadow-l: 0 30px 80px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--s-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { display: inline-block; font-size: var(--s-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: var(--r); z-index: 50; }
.skip:focus { left: 8px; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 .95rem/1 var(--f-body); padding: .95em 1.35em; border-radius: 999px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s, border-color .15s; }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow-s); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 10px 30px -10px rgba(201, 162, 75, .7); }
.btn-gold:hover { transform: translateY(-1px); }
.btn-light { color: var(--on-band); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); }
.btn-light:hover { border-color: rgba(255, 255, 255, .6); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(10px)) { .top { background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); } }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.mark { display: flex; align-items: center; gap: .65em; text-decoration: none; color: var(--ink); }
.mark .logo { width: 34px; height: 34px; flex: none; }
.mark b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.1; }
.mark small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .02em; line-height: 1.2; }
.logo .logo-bg { fill: var(--band-2); }
.logo .logo-fg { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; }
.logo .logo-base { fill: none; stroke: #FFFFFF; stroke-opacity: .55; stroke-width: 1.6; stroke-linecap: round; }
.nav { display: flex; gap: 26px; align-items: center; font-size: var(--s-small); }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current=page] { color: var(--ink); }
.nav .login { color: var(--ink); font-weight: 600; }
.nav .btn { padding: .7em 1.1em; color: var(--brand-ink); }
@media (max-width: 900px) { .nav a:not(.btn):not(.login) { display: none; } }
@media (max-width: 460px) { .nav { gap: 14px; } .nav .btn { padding: .62em .9em; } .mark small { display: none; } }

/* Hero: deep in both themes */
.hero { position: relative; overflow: hidden; color: var(--on-band); background:
    radial-gradient(900px 500px at 85% -10%, rgba(76, 132, 214, .35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(201, 162, 75, .16), transparent 60%),
    linear-gradient(180deg, var(--band) 0%, var(--band-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(96px, 11vw, 140px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); font-size: var(--s-micro); font-weight: 600; letter-spacing: .02em; color: var(--on-band); }
.pill b { background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 2px 8px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { font-size: var(--s-1); margin-block: 22px 20px; color: #FFFFFF; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: var(--on-band-muted); font-size: 1.18rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .signin-hint { margin-top: 18px; font-size: var(--s-small); color: var(--on-band-muted); }
.hero .signin-hint a { color: var(--on-band); font-weight: 600; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--s-small); color: var(--on-band); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .i { width: 18px; height: 18px; color: var(--gold); stroke-width: 2.4; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* The product view in the hero (illustration with invented data) */
.mock-wrap { position: relative; min-width: 0; }
.mock { background: var(--surface); color: var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-l); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; line-height: 1.4; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar .dot:nth-child(1) { background: #EF6B5E; } .mock-bar .dot:nth-child(2) { background: #F3BE4F; } .mock-bar .dot:nth-child(3) { background: #5CC171; }
.mock-bar b { margin-left: 10px; font-weight: 600; font-size: 12px; color: var(--muted); }
.mock-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--good); letter-spacing: .04em; text-transform: uppercase; }
.mock-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.mock-body { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.mock-side { background: var(--band-2); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.mock-side .i { width: 20px; height: 20px; color: var(--on-band-muted); }
.mock-side .on { color: var(--gold); }
.mock-main { padding: 16px; display: grid; gap: 12px; background: var(--bg); min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.kpi span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: -.02em; }
.kpi b small { font-size: .55em; color: var(--muted); font-weight: 600; }
.kpi i { font-style: normal; font-size: 11px; font-weight: 600; }
.kpi .up { color: var(--good); } .kpi .down { color: var(--good); }
.mock-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; min-width: 0; }
.card-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.card-h b { font-size: 12px; font-weight: 700; }
.card-h span { font-size: 11px; color: var(--muted); }
.bars { display: block; width: 100%; height: auto; }
.bars .grid { stroke: var(--line); stroke-width: 1; }
.bars .bar { fill: var(--brand-soft); }
.bars .bar.now { fill: var(--brand); }
.bars .target { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-dasharray: 5 4; stroke-linecap: round; }
.bars text { font-size: 9px; fill: var(--muted); font-family: var(--f-body); }
.chart-key { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-top: 4px; }
.chart-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); margin-right: 5px; vertical-align: -1px; }
.chart-key span.t::before { height: 0; border-top: 2px dashed var(--gold); border-radius: 0; vertical-align: 3px; }
.donut-card { display: grid; justify-items: center; align-content: start; }
.donut { width: 96px; height: 96px; display: block; margin: 2px 0 8px; }
.donut circle { fill: none; stroke-width: 6; }
.donut .track { stroke: var(--surface-2); }
.donut .g { stroke: var(--good); } .donut .a { stroke: #E2A23B; } .donut .r { stroke: var(--bad); }
.donut text { font-family: var(--f-display); font-size: 8px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
.donut text.sub { font-size: 3.6px; font-weight: 600; fill: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 11px; color: var(--muted); justify-self: stretch; }
.legend li { display: flex; justify-content: space-between; gap: 8px; }
.legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--good); flex: none; }
.legend li span { margin-right: auto; }
.legend .a::before { background: #E2A23B; } .legend .r::before { background: var(--bad); }
.agenda { list-style: none; margin: 0; padding: 0; display: grid; }
.agenda li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.agenda .n { width: 20px; height: 20px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.agenda b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agenda small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-badge { position: absolute; left: -26px; bottom: 6px; display: flex; align-items: center; gap: 10px; background: var(--surface); color: var(--ink); border-radius: 12px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 12px; line-height: 1.3; border: 1px solid var(--line); }
.mock-badge .tick { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--good-soft); color: var(--good); }
.mock-badge .tick .i { width: 18px; height: 18px; stroke-width: 2.4; }
.mock-badge b { display: block; font-size: 13px; }
.mock-badge span { color: var(--muted); }
.caption { margin-top: 18px; font-size: var(--s-micro); color: var(--on-band-muted); text-align: right; }
@media (max-width: 620px) { .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; } .mock-grid { grid-template-columns: minmax(0, 1fr); } .mock-badge { left: 10px; bottom: -18px; } .kpi b { font-size: 1.2rem; } }
@media (prefers-reduced-motion: no-preference) {
  .mock-wrap { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both .1s; }
  .mock-badge { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both .7s; }
  .bars .bar { transform-origin: 50% 100%; transform-box: fill-box; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
  .bars .bar:nth-of-type(2) { animation-delay: .05s; } .bars .bar:nth-of-type(3) { animation-delay: .1s; } .bars .bar:nth-of-type(4) { animation-delay: .15s; }
  .bars .bar:nth-of-type(5) { animation-delay: .2s; } .bars .bar:nth-of-type(6) { animation-delay: .25s; } .bars .bar:nth-of-type(7) { animation-delay: .3s; }
  .bars .bar:nth-of-type(8) { animation-delay: .35s; } .bars .bar:nth-of-type(9) { animation-delay: .4s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }

/* The four assurances, over the hero's lower edge */
.assure { position: relative; z-index: 2; margin-top: clamp(-84px, -7vw, -56px); }
.assure ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
.assure li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; padding: 22px 22px; align-content: start; min-width: 0; }
.assure li + li { border-left: 1px solid var(--line); }
.assure .ico { grid-row: span 2; }
.assure b { font-size: .98rem; line-height: 1.3; }
.assure span { font-size: var(--s-small); color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) { .assure ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .assure li:nth-child(3) { border-left: 0; } .assure li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .assure ul { grid-template-columns: minmax(0, 1fr); } .assure li + li { border-left: 0; border-top: 1px solid var(--line); } }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ico.gold { background: var(--gold-soft); color: var(--gold); }

/* Sections */
section.block { padding-block: clamp(64px, 9vw, 112px); }
section.block.tint { background: var(--surface); border-block: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 52px); display: grid; gap: 14px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: var(--s-2); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.module .tag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.module h3 { font-size: var(--s-3); }
.module p { font-size: var(--s-small); color: var(--muted); }
.module .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 980px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* Challenges: the problem, then the answer */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pain-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pain-card h3 { font-size: 1.12rem; line-height: 1.3; }
.pain-card .was { display: flex; gap: 10px; font-size: var(--s-small); color: var(--muted); }
.pain-card .now { display: flex; gap: 10px; font-size: var(--s-small); padding-top: 12px; border-top: 1px dashed var(--line); }
.pain-card .now b { display: block; font-size: var(--s-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--good); margin-bottom: 2px; }
.mini { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 1px; }
.mini .i { width: 13px; height: 13px; stroke-width: 2.8; }
.mini.x { background: var(--bad-soft); color: var(--bad); }
.mini.ok { background: var(--good-soft); color: var(--good); }
@media (max-width: 980px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* Decision trail */
.trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.trail li { position: relative; counter-increment: step; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 54px 14px 16px; }
.trail li::before { content: counter(step); position: absolute; top: 14px; left: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--f-body); background: var(--brand); color: var(--brand-ink); }
.trail li::after { content: ""; position: absolute; top: 27px; left: 50px; right: -15px; height: 2px; background: linear-gradient(90deg, var(--brand), var(--line)); }
.trail li:last-child::after { display: none; }
.trail h3 { font-size: 1.02rem; margin-bottom: 4px; }
.trail p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.trail .who { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
@media (max-width: 1080px) { .trail { grid-template-columns: repeat(4, minmax(0, 1fr)); } .trail li:nth-child(4)::after { display: none; } }
@media (max-width: 640px) { .trail { grid-template-columns: minmax(0, 1fr); } .trail li::after { display: none; } }

/* Split sections: copy beside a visual */
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split .copy { display: grid; gap: 16px; }
.split .copy h2 { font-size: var(--s-2); }
.split .copy p { color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: var(--s-small); }
.checks b { color: var(--ink); }
@media (max-width: 920px) { .split { grid-template-columns: minmax(0, 1fr); } }
.tree { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; font-size: var(--s-small); min-width: 0; box-shadow: var(--shadow); }
.tree .root { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r); background: var(--band-2); color: var(--on-band); }
.tree .root .lvl { color: var(--on-band-muted); }
.tree .root b { font-size: 1.1rem; }
.tree ul { list-style: none; padding: 6px 0 0 18px; border-left: 2px solid var(--line); margin: 0 0 0 16px; }
.tree li { position: relative; padding: 12px 0 2px 16px; display: grid; gap: 4px; }
.tree li::before { content: ""; position: absolute; left: -18px; top: 25px; width: 26px; height: 2px; background: var(--line); }
.tree .lvl { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.tree .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.tree .row span:first-child { font-weight: 600; margin-right: auto; }
.tree .note { font-size: var(--s-micro); color: var(--muted); }
.tree .foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: var(--s-micro); }

.chip { display: inline-block; font: 700 var(--s-micro)/1 var(--f-body); padding: 5px 9px; border-radius: 999px; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.acc { background: var(--brand-soft); color: var(--brand); }
.mock .chip { font-size: 10px; padding: 4px 7px; }
.kv { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 6px 12px; margin: 0 0 14px; }
.kv dt { color: var(--muted); font-size: var(--s-micro); text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.kv dd { margin: 0; }

/* Roles */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.role h3 { font-size: 1.08rem; line-height: 1.3; }
.role .eyebrow { margin-top: 4px; }
.role ul { list-style: none; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.role li { display: flex; gap: 8px; }
.role li .i { width: 16px; height: 16px; color: var(--good); stroke-width: 2.4; margin-top: 3px; }
.role li b { color: var(--ink); font-weight: 600; }
@media (max-width: 1080px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Governance band: deep in both themes */
.trust { background: linear-gradient(180deg, var(--band) 0%, var(--band-2) 100%); color: var(--on-band); }
.trust h2 { color: #FFFFFF; }
.trust .eyebrow { color: var(--gold); }
.trust .lede { color: var(--on-band-muted); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-item { border: 1px solid var(--on-band-line); background: rgba(255, 255, 255, .03); border-radius: var(--r-l); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.trust-item .ico { background: rgba(201, 162, 75, .14); color: var(--gold); }
.trust-item h3 { font-size: 1.1rem; color: #FFFFFF; }
.trust-item p { font-size: var(--s-small); color: var(--on-band-muted); }
@media (max-width: 920px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fits how you work */
.fit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fit div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.fit h3 { font-size: 1.05rem; margin-top: 6px; }
.fit p { font-size: var(--s-small); color: var(--muted); }
@media (max-width: 920px) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Engagement */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: var(--s-small); color: var(--muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq .head { margin: 0; }
.qa { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
details[open] { box-shadow: var(--shadow-s); }
summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; font-size: var(--s-small); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Get started: sign up and log in */
.start { padding-block: 0 clamp(64px, 9vw, 112px); }
.doors { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.door { border-radius: 20px; padding: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.door h3 { font-size: var(--s-2); }
.door.new { position: relative; overflow: hidden; color: var(--on-band); background: radial-gradient(600px 300px at 100% 0%, rgba(76, 132, 214, .35), transparent 60%), linear-gradient(160deg, var(--band) 0%, var(--band-2) 100%); }
.door.new h3 { color: #FFFFFF; }
.door.new .eyebrow { color: var(--gold); }
.door.new p { color: var(--on-band-muted); }
.door.back { background: var(--surface); border: 1px solid var(--line); }
.door.back p { color: var(--muted); }
.door.back .btn { align-self: flex-start; margin-top: auto; }
.path { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: p; }
.path li { counter-increment: p; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--on-band-line); }
.path li::before { content: counter(p); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px/1 var(--f-body); background: var(--gold); color: var(--gold-ink); }
.path b { font-weight: 600; color: #FFFFFF; }
.path span { font-size: var(--s-small); color: var(--on-band-muted); }
.door.back ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--s-small); color: var(--muted); }
.door.back li { display: flex; gap: 10px; align-items: center; }
.door-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.door-actions .btn-quiet { background: transparent; color: var(--on-band); border-color: rgba(255, 255, 255, .3); }
.door-actions .btn-quiet:hover { border-color: rgba(255, 255, 255, .65); }
.door.new .door-actions .btn:not(.btn-quiet) { background: var(--gold); color: var(--gold-ink); }
@media (max-width: 860px) { .doors { grid-template-columns: minmax(0, 1fr); } }

/* Footer: deep in both themes */
footer { background: var(--band); color: var(--on-band-muted); font-size: var(--s-small); }
footer .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 36px; }
footer .mark { color: #FFFFFF; }
footer .mark small { color: var(--on-band-muted); }
footer .logo .logo-bg { fill: rgba(255, 255, 255, .08); }
footer .about { margin-top: 14px; max-width: 40ch; }
footer h4 { margin: 0 0 12px; font-size: var(--s-micro); letter-spacing: .12em; text-transform: uppercase; color: #FFFFFF; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--on-band-muted); text-decoration: none; }
footer a:hover { color: #FFFFFF; }
footer .legal { border-top: 1px solid var(--on-band-line); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--s-micro); }
@media (max-width: 820px) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Pages after the front page: licences, checkout, the order, the invoice */
.page { padding-block: clamp(36px, 6vw, 72px); }
.page-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: var(--s-2); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.panel + .panel, .panel + .grid2, .grid2 + .panel { margin-top: 20px; }
.grid2 > .panel + .panel { margin-top: 0; }
.panel h2 { font-size: var(--s-3); margin-bottom: 10px; }
.panel h3 { font-size: 1.15rem; margin-block: 14px 6px; }
.panel p + p { margin-top: 8px; }
.muted { color: var(--muted); }
.gap-top { margin-top: 12px; }
.small { font-size: var(--s-small); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.banner { border-radius: var(--r); padding: 12px 16px; font-size: var(--s-small); margin-bottom: 20px; background: var(--brass-soft); color: var(--ink); border: 1px solid var(--brass); }
.notice { border-radius: var(--r); padding: 12px 16px; font-size: var(--s-small); margin-bottom: 16px; }
.notice.good { background: var(--good-soft); color: var(--good); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.tablewrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prices th, .prices td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { font: 600 var(--s-micro)/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prices td.num, .prices th.num { text-align: right; white-space: nowrap; }
.prices tfoot td { font-weight: 600; border-bottom: 0; }
.prices .btn { padding: .6em .9em; }
.list { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; }

/* The checkout form */
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.form legend { font-family: var(--f-display); font-size: 1.25rem; margin-bottom: 4px; }
.form label { display: grid; gap: 6px; align-content: start; font-size: var(--s-small); font-weight: 600; min-width: 0; }
.form .hint { font-weight: 400; color: var(--muted); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select { font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r); padding: .7em .8em; width: 100%; min-width: 0; }
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: start; }
@media (max-width: 560px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; }
.choice input { margin-top: 3px; accent-color: var(--accent); }
.choice span { display: grid; gap: 2px; }
.choice b { font-size: 1rem; }
.choice small { color: var(--muted); font-weight: 400; }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 3px; accent-color: var(--accent); }
.steps-done { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--s-small); }
.steps-done li::before { content: "✓ "; color: var(--good); font-weight: 600; }
.steps-done li.wait::before { content: "… "; color: var(--muted); }

/* The invoice */
.invoice { max-width: 860px; }
.invoice .parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 16px 20px; font-size: var(--s-small); }
@media (max-width: 560px) { .invoice .parties { grid-template-columns: minmax(0, 1fr); } }
/* The privacy notice and terms of use: readable columns, plain tables, and the gaps still to be completed. */
.legal-doc .panel { max-width: 880px; }
.legal-doc .panel h3 { margin-top: 18px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.legal-doc th { color: var(--muted); font-weight: 600; }
mark.todo { background: #FFF1B8; color: #5A4300; padding: 0 4px; border-radius: 3px; }
mark.proposed { background: #DCEBFF; color: #0B2A55; padding: 0 3px; border-radius: 3px; }
