/* ==========================================================================
   NetballOS — Marketing site
   Static CSS. No framework, no build step, no external requests.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--leading-tight); margin: 0 0 var(--space-4); letter-spacing: -0.02em; }
h1 { font-size: var(--text-display-lg); font-weight: 800; }
h2 { font-size: var(--text-heading-xl); font-weight: 700; }
h3 { font-size: var(--text-heading-md); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: var(--text-heading-sm); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 var(--space-4); max-width: var(--measure); }
ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
li { margin-bottom: var(--space-2); }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* Focus — visible, brand pink, never removed */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--color-surface); color: var(--color-text);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); font-weight: 600; text-decoration: none;
  transition: top var(--duration-state) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-6); }
.section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-16)); }
.section--inverse { background: var(--nos-navy-900); color: #EEF2FA; }
.section--inverse h2, .section--inverse h3 { color: #fff; }
.section--inverse p { color: var(--nos-navy-300); }
.section--subtle { background: var(--color-surface-subtle); }

.stack > * + * { margin-top: var(--space-4); }
.center { text-align: center; }
.center p { margin-inline: auto; }
.lead { font-size: var(--text-body-lg); color: var(--color-text-secondary); }
.eyebrow {
  font-size: var(--text-overline); font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--color-text-accent);
  margin: 0 0 var(--space-3);
}
/* The hero is dark but is not .section--inverse, so it needs the dark-ground
   accent explicitly — the light accent measures 3.3:1 on navy. */
.section--inverse .eyebrow,
.hero .eyebrow { color: var(--color-text-accent-dark); }

/* Figure captions. Uses the secondary token, not tertiary: tertiary is a
   de-emphasis colour and these are still content. */
.caption { font-size: var(--text-caption); color: var(--color-text-secondary); margin: var(--space-3) 0 0; }
.section--inverse .caption { color: var(--nos-navy-300); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-canvas) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); min-height: 68px; }
.site-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__logo img { height: 34px; width: auto; }
.site-header__logo .logo--dark { display: none; }
.site-nav { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
/* :not(.btn) is load-bearing — without it this rule out-specifies .btn--primary
   and the CTA renders light-on-pink at ~3.2:1, below the 4.5:1 AA threshold. */
.site-nav a:not(.btn) {
  color: var(--color-text); text-decoration: none; font-size: var(--text-body-sm);
  font-weight: 500; padding: var(--space-2) 0; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: border-color var(--duration-state) var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--color-focus); }
.nav-toggle { display: none; }

/* 1120, not 900.
   
   Six links, a Sign in and a Get started do not fit beside the logo below
   about 1,100px, and the nav collapsed at 900 — so between 901 and ~1,100 the
   header ran off the side of the page and took a horizontal scrollbar with it,
   on every page of the site. That window covers a lot of real laptops.
   
   The number is measured rather than chosen: the header needs ~1,064px of
   content at its narrowest, plus the container's gutters. */
@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: var(--space-2);
    margin-left: auto; background: none; border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3);
    color: var(--color-text); font: inherit; font-size: var(--text-body-sm); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    padding: var(--space-2) var(--space-6) var(--space-5); box-shadow: var(--shadow-lg);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a:not(.btn) { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
  .site-nav .btn { margin-top: var(--space-3); text-align: center; }
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-weight: 600; font-size: var(--text-body-sm); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--duration-state) var(--ease), border-color var(--duration-state) var(--ease), transform var(--duration-state) var(--ease);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--color-action-bg); color: var(--color-action-fg); }
.btn--primary:hover { background: var(--color-action-hover); }
.btn--secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn--secondary:hover { border-color: var(--color-text-tertiary); }
.btn--inverse { background: #fff; color: var(--nos-navy-900); }
.btn--inverse:hover { background: var(--nos-navy-50); }
.btn--ghost-inverse { background: transparent; color: #fff; border-color: rgba(255,255,255,0.32); }
.btn--ghost-inverse:hover { border-color: rgba(255,255,255,0.6); }
.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--text-body); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.center .btn-row { justify-content: center; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--nos-navy-900); color: #fff;
  padding-block: clamp(var(--space-16), 9vw, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60ch 42ch at 82% 12%, rgba(255,45,141,0.30), transparent 62%),
    radial-gradient(56ch 40ch at 12% 88%, rgba(112,39,217,0.34), transparent 64%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero__grid { display: grid; gap: var(--space-12); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-16); } }
.hero h1 { font-size: var(--text-display-2xl); color: #fff; margin-bottom: var(--space-5); }
.hero__lead { font-size: var(--text-body-lg); color: rgba(238,242,250,0.86); max-width: 56ch; margin-bottom: var(--space-8); }
.hero__mark { justify-self: center; }
.hero__mark img { width: min(340px, 76vw); filter: drop-shadow(0 24px 48px rgba(0,0,0,0.42)); }
.hero__note { margin-top: var(--space-6); font-size: var(--text-body-sm); color: rgba(238,242,250,0.62); }
.gradient-text {
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---- Cards --------------------------------------------------------------- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-state) var(--ease), border-color var(--duration-state) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--color-border-strong); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--color-text-secondary); font-size: var(--text-body-sm); margin-bottom: 0; }
.card__icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  display: grid; place-items: center; margin-bottom: var(--space-4);
  background: var(--nos-soft-pink); color: var(--nos-pink-strong);
}
.card__icon svg { width: 22px; height: 22px; }
.card__icon--purple { background: var(--nos-soft-lavender); color: var(--nos-purple-strong); }
.card__icon--navy { background: var(--nos-navy-100); color: var(--nos-navy-900); }
.section--inverse .card {
  background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.12); box-shadow: none;
}
.section--inverse .card p { color: var(--nos-navy-300); }
.section--inverse .card__icon { background: rgba(255,45,141,0.16); color: #FF7EB8; }
.section--inverse .card__icon--purple { background: rgba(155,77,255,0.18); color: #C4A0FF; }
.section--inverse .card__icon--navy { background: rgba(255,255,255,0.1); color: #fff; }

a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { text-decoration: none; }
a.card .card__more { color: var(--color-text-accent); font-weight: 600; font-size: var(--text-body-sm); display: inline-block; margin-top: var(--space-3); }

/* ---- Feature split ------------------------------------------------------- */
.split { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-16); } .split--flip .split__media { order: -1; } }
.split__media {
  border-radius: var(--radius-xl); border: 1px solid var(--color-border);
  background: var(--color-surface); padding: var(--space-6); box-shadow: var(--shadow-md);
}
.section--inverse .split__media { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-3); }
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--nos-success-text); margin-top: 2px; }
.section--inverse .check-list svg { color: #4ADE80; }

/* ---- Mock UI (illustrative, clearly labelled) ---------------------------- */
.mock { font-size: var(--text-body-sm); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-4); }
.mock__title { font-weight: 700; font-family: var(--font-display); }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.mock__row:last-child { border-bottom: 0; }
.mock__pos { font-family: var(--font-mono); font-weight: 700; font-size: var(--text-caption); background: var(--nos-navy-100); color: var(--nos-navy-900); border-radius: var(--radius-sm); padding: 2px 7px; min-width: 34px; text-align: center; }
.section--inverse .mock__pos { background: rgba(255,255,255,0.12); color: #fff; }
.mock__num { font-variant-numeric: tabular-nums; font-weight: 700; }
.meter { height: 8px; border-radius: var(--radius-full); background: var(--nos-navy-100); overflow: hidden; flex: 1 1 auto; max-width: 120px; }
.section--inverse .meter { background: rgba(255,255,255,0.14); }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--gradient-ui); }

/* ---- Stats --------------------------------------------------------------- */
.stat { text-align: center; }
.stat__value { font-family: var(--font-display); font-size: var(--text-display-lg); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.05; }
.stat__label { color: var(--color-text-secondary); font-size: var(--text-body-sm); }
.section--inverse .stat__label { color: var(--nos-navy-300); }

/* ---- Badges -------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 3px var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-caption); font-weight: 600; border: 1px solid;
}
/* Badges keep a fixed light tint in both themes, so their foreground must be
   fixed too — inheriting a theme token here drops them below 4.5:1.
   Measured against their own background, not the page. */
.badge--ai    { background: #E8DEFF; color: #4C1D95; border-color: #D3C2FF; }  /* 8.5:1 */
.badge--new   { background: #FFD6EA; color: #A8004F; border-color: #FFB3D4; }  /* 5.7:1 */
.badge--ok    { background: #DCFCE7; color: #126A33; border-color: #A7F3C0; }  /* 6.1:1 */
.badge--muted { background: #EEF2F9; color: #3F4A5F; border-color: #D8E0EE; }  /* 7.9:1 */

/* ---- Pricing ------------------------------------------------------------- */
/* Five cards, and five is the awkward number. `auto-fit` with a minimum width
   fits four across at 1280px and orphans the fifth on a row of its own beside
   three empty columns — which is what adding Starter did to Pro. Explicit
   counts step 5 -> 3 -> 2 -> 1 so no card is ever left stranded.
   `minmax(0, 1fr)` rather than `1fr` because a grid track's default minimum is
   its content, and a long unbroken word would otherwise widen the whole row. */
.plans { display: grid; gap: var(--space-5); grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; }
@media (max-width: 1180px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* At five across a card is about 210px wide, and 24px of padding on each side
   leaves too little for a line like "Registration & payments". */
@media (min-width: 1181px) { .plans .plan { padding: var(--space-4); } }
.plan { position: relative; display: flex; flex-direction: column; height: 100%; }
.plan--featured { border-color: var(--nos-pink); box-shadow: var(--shadow-lg); }
.plan__flag { position: absolute; top: calc(-1 * var(--space-3)); left: var(--space-6); }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: var(--text-heading-md); margin-bottom: var(--space-1); }
.plan__price { font-size: var(--text-heading-lg); font-weight: 800; font-variant-numeric: tabular-nums; margin-bottom: var(--space-1); }
.plan__price small { font-size: var(--text-body-sm); font-weight: 500; color: var(--color-text-secondary); }
.plan__desc { color: var(--color-text-secondary); font-size: var(--text-body-sm); min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: var(--space-4) 0 var(--space-5); font-size: var(--text-body-sm); }
.plan ul li { display: flex; gap: var(--space-2); align-items: flex-start; color: var(--color-text-secondary); }
.plan ul svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px; color: var(--nos-success-text); }
.plan .btn { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
table.matrix { border-collapse: collapse; width: 100%; min-width: 720px; font-size: var(--text-body-sm); }
table.matrix th, table.matrix td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--color-border); }
table.matrix thead th { background: var(--color-surface-subtle); font-weight: 700; white-space: nowrap; }
table.matrix td:not(:first-child), table.matrix th:not(:first-child) { text-align: center; }
table.matrix tbody tr:last-child td { border-bottom: 0; }
/* Theme-aware: the light-mode green measures 3.4:1 on a dark table surface.
   Both are also labelled for screen readers, so meaning never rests on colour. */
.tick { color: var(--color-tick); font-weight: 700; }
.dash { color: var(--color-text-secondary); }

/* ---- Prose (legal, resources) -------------------------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--space-10); }
.prose h3 { margin-top: var(--space-8); }
.prose li { color: var(--color-text-secondary); }

/* ---- Notice -------------------------------------------------------------- */
.notice {
  border: 1px solid var(--color-border); border-left: 3px solid var(--nos-purple);
  background: var(--color-surface); border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5); font-size: var(--text-body-sm);
}
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--color-text); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--nos-navy-950); color: var(--nos-navy-300); padding-block: var(--space-16) var(--space-8); }
.site-footer h4 { color: #fff; font-size: var(--text-body-sm); font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer a { color: var(--nos-navy-300); text-decoration: none; font-size: var(--text-body-sm); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-1); }
/* WCAG 2.2 SC 2.5.8 — standalone links need a 24px target. The inline-text
   exemption does not apply to a list of navigation links. */
.site-footer li a { display: inline-block; min-height: 24px; padding-block: 3px; }
.site-footer__grid { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.site-footer__brand img { height: 38px; margin-bottom: var(--space-4); }
.site-footer__brand p { font-size: var(--text-body-sm); max-width: 34ch; }
.site-footer__bottom {
  margin-top: var(--space-12); padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  font-size: var(--text-caption);
}

/* ---- Dark-mode logo swap -------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header__logo .logo--light { display: none; }
  :root:not([data-theme="light"]) .site-header__logo .logo--dark { display: block; }
}
:root[data-theme="dark"] .site-header__logo .logo--light { display: none; }
:root[data-theme="dark"] .site-header__logo .logo--dark { display: block; }

/* ---- Pricing: billing toggle, one-off bands, savings calculator ----------- */

/* Used by a legend and two table captions, and never defined until now — so
   "Billing period" rendered at full size underneath the toggle, and both table
   captions have been visible on the page since they were written. The standard
   clip: out of sight, still read aloud. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.billing-toggle {
  display: flex; width: max-content; gap: .25rem; margin: 0 auto var(--space-8);
  padding: .25rem; border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--nos-navy-50, #F2F5FB);
  /* It is a <fieldset>, which brings its own margins and min-width. */
  min-inline-size: 0;
}
.billing-toggle__radio { position: absolute; opacity: 0; pointer-events: none; }
.billing-toggle__btn {
  font-size: var(--text-body-sm); font-weight: 600; cursor: pointer;
  border-radius: 999px; padding: .5rem 1.1rem; color: var(--color-text-secondary);
}
.billing-toggle__save { font-weight: 500; opacity: .75; }

/* The selected pill, and which price shows. Sibling selectors, so the radios
   have to precede .plans inside the same container — they do. */
#bill-monthly:checked ~ [for="bill-monthly"],
#bill-annual:checked ~ [for="bill-annual"] {
  background: var(--color-surface); color: var(--color-text);
  box-shadow: 0 1px 3px rgba(7,26,61,.16);
}
.billing-toggle__radio:focus-visible ~ label[for] { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.plan__price .price { display: none; }

/* Both the card grid AND the Enterprise strip, which is a sibling of the grid
   rather than inside it. The first version named only `.plans`, so Enterprise
   showed no price at all in either state — neither rule matched it, and the
   base `display: none` stood. */
.billing-toggle:has(#bill-monthly:checked) ~ .plans .price--monthly,
.billing-toggle:has(#bill-monthly:checked) ~ .enterprise .price--monthly,
.billing-toggle:has(#bill-annual:checked) ~ .plans .price--annual,
.billing-toggle:has(#bill-annual:checked) ~ .enterprise .price--annual { display: inline; }

/* Without :has — an older browser shows the monthly price, which is the one
   the page leads with anyway. Never both, and never neither. */
@supports not selector(:has(*)) {
  .plan__price .price--monthly { display: inline; }
}

.price-note {
  margin-top: var(--space-6); font-size: var(--text-body-sm);
  color: var(--color-text-secondary); max-width: 46rem;
}
.container > .center + .table-wrap + .price-note,
.center ~ .price-note { margin-inline: auto; text-align: center; }

.calc {
  display: grid; gap: var(--space-6); margin-top: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  padding: var(--space-6); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 14px); background: var(--color-surface);
}
.calc__inputs { display: grid; gap: var(--space-4); align-content: start; }
.calc__inputs label { display: grid; gap: .35rem; font-weight: 600; font-size: var(--text-body-sm); }
.calc__inputs input {
  font: inherit; font-weight: 400; padding: .65rem .75rem;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm, 8px);
  background: var(--color-surface); color: inherit;
}
.calc__out { display: grid; gap: .5rem; align-content: center; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc__row span { color: var(--color-text-secondary); }
.calc__row--big {
  margin-top: .35rem; padding-top: .75rem; border-top: 1px solid var(--color-border);
  font-size: var(--text-h4, 1.25rem);
}
.calc__row--big strong { color: var(--color-text-accent, #D6006B); font-size: 1.6em; }
.calc__note { margin: .5rem 0 0; font-size: var(--text-body-sm); color: var(--color-text-secondary); }

/* ---- One-off capacity bands ---------------------------------------------- */

/* Six bands, one per plan, so they divide evenly three and three. There were
   seven when the bands stepped 250/500/750/1,000/1,500 and four columns read
   as 4 + 3; aligning each band ceiling to a plan capacity dropped it to six,
   which under four columns left two stranded on the second row. */
.bands {
  display: grid; gap: var(--space-3); margin-top: var(--space-8);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 780px) { .bands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band {
  display: flex; flex-direction: column; gap: .15rem; align-items: center;
  padding: var(--space-5) var(--space-3); text-align: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-md, 12px);
  background: var(--color-surface);
}
.band__cap { font-size: var(--text-body-sm); color: var(--color-text-secondary); }
.band__price { font-family: var(--font-display, inherit); font-size: 1.5rem; font-weight: 700; }
.band--wide .band__price { font-size: 1.05rem; }

/* ---- The calculator, as the hero ----------------------------------------- */

.calc--hero {
  margin-top: var(--space-8);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.calc--hero .calc__row span { color: rgba(255,255,255,.72); }
.calc--hero .calc__note { color: rgba(255,255,255,.6); }
.calc--hero .calc__inputs label { color: #fff; }
.calc--hero .calc__inputs input {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); color: #fff;
}
.calc--hero .calc__row--big { border-top-color: rgba(255,255,255,.2); }
.calc--hero .calc__row--big strong { color: var(--color-text-accent-dark, #FF5CA5); }

.price-note--hero { color: rgba(255,255,255,.6); margin-inline: auto; text-align: center; }

/* ---- Enterprise, on its own terms ---------------------------------------- */

.enterprise {
  display: grid; gap: var(--space-6); margin-top: var(--space-4);
  grid-template-columns: minmax(0, 2fr) minmax(14rem, 1fr);
  align-items: center;
  padding: var(--space-6) var(--space-7);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg, 14px);
  background: var(--color-surface);
}
/* Two columns of ticks, matching the plan cards rather than inventing a
   different way of listing the same kind of thing. */
.enterprise__items {
  list-style: none; margin: var(--space-3) 0 0; padding: 0;
  display: grid; gap: .4rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.enterprise__items li {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: var(--text-body-sm);
}

/* Any tick that is not in a plan card. An SVG with no intrinsic size and
   `max-width: 100%; height: auto` fills whatever it is in — which is how one
   check mark became a full-width illustration on the pricing page. */
/* The size the icon needs, in the colour the plan cards use. An SVG with no
   intrinsic size and `max-width: 100%` fills whatever it is in — which is how
   one of these became a full-width illustration. */
.enterprise svg, .band svg {
  flex: 0 0 auto; width: 17px; height: 17px; margin-top: 3px;
  color: var(--nos-success-text);
}
.enterprise__side { display: grid; gap: .5rem; justify-items: start; }
.enterprise__side .plan__price { margin: 0; }
.enterprise__note { margin: 0; font-size: var(--text-body-sm); color: var(--color-text-secondary); }

@media (max-width: 800px) {
  .enterprise { grid-template-columns: 1fr; }
}

/* What the same money buys as a plan. */
.calc__unlock {
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.2);
}
.calc__unlock[hidden] { display: none; }
.calc__unlock-lead { margin: 0 0 .5rem; font-size: var(--text-body-sm); color: rgba(255,255,255,.82); }
.calc__unlock-lead strong { color: #fff; }
.calc__unlock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.calc__unlock-list li {
  position: relative; padding-left: 1.1rem;
  font-size: var(--text-body-sm); color: rgba(255,255,255,.72);
}
.calc__unlock-list li::before {
  content: "\2713"; position: absolute; left: 0; color: #4ADE80; font-weight: 700;
}

.plan__cap {
  margin: -.35rem 0 .6rem; font-size: .78rem; line-height: 1.35;
  color: var(--color-text-tertiary, #4A5F91);
}
