/* ══════════════════════════════════════════════════════════
   aptEDMS — the landing page

   Set like a controlled drawing, because that is what the
   product manages. The furniture is a drawing sheet's: a double
   border, registration ticks at the corners, a faint grid, a
   title block in the lower right, and a status stamp set at an
   angle across it.

   Every colour comes from css/tokens.css. This page used to
   carry a third palette of its own — navy through violet, no
   relation to the application it advertised — which is how it
   ended up describing a product that looked nothing like it.
   ══════════════════════════════════════════════════════════ */

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

body {
  font-family: var(--f-body);
  background: var(--base);
  color: var(--ink-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Shared type roles ─────────────────────────────────────
   The mono face is not decoration here. It is what a title
   block uses, and everything set in it on this page is a value
   somebody reads back down a phone: a document number, a
   revision, a suitability code, a date. */
.mono {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3);
}

.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }

a { color: var(--accent); }

/* Keyboard focus has to survive on both grounds, so it is drawn
   in the interactive colour with an offset rather than a shadow. */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--surface); color: var(--ink-1);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  z-index: 200;
}
.skip-link:focus { left: var(--sp-4); top: var(--sp-4); }

/* ══ Navigation ══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: var(--sp-6);
  padding-block: var(--sp-3);
}
.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 13px;
  letter-spacing: .02em;
}
.brand-name {
  font-family: var(--f-display); font-weight: 800; font-size: 18px;
  letter-spacing: -.01em; color: var(--ink-1);
}
.nav-links { display: flex; gap: var(--sp-6); list-style: none; margin-left: auto; }
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--ink-1); }
.nav-tools { display: flex; align-items: center; gap: var(--sp-2); margin-left: var(--sp-4); }

.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: transparent; color: var(--ink-2);
  font-size: 15px; cursor: pointer; font-family: inherit;
  transition: color .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover { color: var(--ink-1); border-color: var(--line-2); background: var(--hover); }

/* ══ Buttons ═════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer; line-height: 1.3; white-space: nowrap;
  transition: transform .16s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn-fill { background: var(--accent); color: var(--on-accent); }
.btn-fill:hover { background: var(--accent-press); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-line { border-color: var(--line-2); color: var(--ink-1); background: transparent; }
.btn-line:hover { border-color: var(--accent); background: var(--accent-wash); }
.btn-sm { padding: var(--sp-2) var(--sp-4); font-size: 13px; }

/* ══ Hero ════════════════════════════════════════════════ */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 6vw, 5rem); }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero-status {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.hero-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--st-ifc);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.032em;
  margin-bottom: var(--sp-5);
  text-wrap: balance;
}
/* nowrap so the emphasised phrase cannot be split across a line break —
   "to" ending one line and "whom" starting the next reads as two
   different thoughts, and the colour makes the break louder.
   The gradient runs IFA blue into IFC green — the direction a document
   moves through review. Both tones clear AA in both themes, which is
   what lets a gradient carry text at all. The solid colour is the
   fallback for engines without background-clip. */
.hero h1 em {
  font-style: normal; white-space: nowrap;
  color: var(--accent);
  background: linear-gradient(90deg, var(--st-ifa), var(--st-ifc));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Three verbs, full-stopped — the register's own summary of the job.
   The mid-dots are furniture, not content. */
.hero-cadence {
  display: flex; gap: var(--sp-3); align-items: baseline;
  font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em;
  color: var(--ink-1); margin-bottom: var(--sp-5);
}
.hero-cadence span[aria-hidden] { color: var(--ink-3); font-weight: 400; }

.hero-lede {
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  color: var(--ink-2); max-width: 54ch; margin-bottom: var(--sp-8);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero-note {
  font-family: var(--f-mono); font-size: 12px;
  color: var(--ink-3); letter-spacing: .02em;
}

/* ══ The sheet ═══════════════════════════════════════════
   A drawing, drawn — not a screenshot. Everything in it is a
   token, so it is legible in both themes without a second
   asset to keep in step. */
.sheet {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: var(--sp-4);
}
.sheet::after {
  /* The inner rule of a sheet border. */
  content: ''; position: absolute; inset: 7px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.sheet svg { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }

.sheet-grid-line { stroke: var(--sheet-grid); stroke-width: 1; }
.sheet-rule      { stroke: var(--line-2); fill: none; }
/* fill: none on every stroked path here. An open path still has an
   implied closed area, and SVG fills it black by default — which turned
   the corner ticks into solid triangles and the hatching into a block. */
.sheet-tick      { stroke: var(--ink-3); stroke-width: 1.4; fill: none; }
.sheet-draw      { stroke: var(--ink-2); fill: none; stroke-width: 1.6; stroke-linecap: round; }
.sheet-draw-thin { stroke: var(--ink-3); fill: none; stroke-width: 1; stroke-dasharray: 4 4; }
.sheet-hatch     { stroke: var(--accent); stroke-width: 1.2; fill: none; opacity: .5; }
/* Instrument bubbles sit on a filled ground so a pipe or tray line
   passing behind one reads as occluded, the way a real symbol does. */
.sheet-instr     { stroke: var(--ink-2); stroke-width: 1.2; fill: var(--surface); }
.sheet-signal    { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1 3; fill: none; opacity: .65; }
.sheet-label {
  font-family: var(--f-mono); font-size: 8px;
  fill: var(--ink-3); letter-spacing: .1em;
}

/* The revision cloud: what a checker draws around the bit that
   changed. Dashes are drawn on by GSAP as the revision advances. */
.rev-cloud { stroke: var(--st-ifr); stroke-width: 1.8; fill: none; opacity: 0; }

/* ── Title block ── */
.title-block {
  margin-top: var(--sp-3);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}
.tb-cell { padding: var(--sp-2) var(--sp-3); border-right: 1px solid var(--line); min-width: 0; }
.tb-cell:last-child { border-right: 0; }
.tb-key {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); display: block;
}
.tb-val {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500;
  color: var(--ink-1); font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── The stamp ─────────────────────────────────────────────
   The one loud thing on the page, and the most characteristic
   object in a document controller's day. Double-ruled, set at an
   angle, in the colour of the state it announces. */
.stamp {
  position: absolute; top: 12%; right: 6%;
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 1px; padding: var(--sp-2) var(--sp-4);
  border: 2px solid currentColor; border-radius: 3px;
  outline: 1px solid currentColor; outline-offset: 3px;
  background: var(--surface);
  color: var(--st-drf);
  transform: rotate(-7deg);
  pointer-events: none;
}
.stamp-text {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(15px, 2vw, 21px); letter-spacing: .1em; line-height: 1;
}
.stamp-sub {
  font-family: var(--f-mono); font-size: 8px;
  letter-spacing: .16em; opacity: .85;
}

/* ══ Lifecycle ═══════════════════════════════════════════ */
.lifecycle { border-top: 1px solid var(--line); background: var(--base); }
.lifecycle-stage { padding-block: clamp(3rem, 7vw, 5rem); }
.lifecycle-head { max-width: 60ch; margin-bottom: var(--sp-10); }
.lifecycle-head h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  line-height: 1.1; margin-block: var(--sp-3);
}
.lifecycle-head p { color: var(--ink-2); }

.lifecycle-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 1000px) {
  .lifecycle-grid { grid-template-columns: 15rem minmax(0, 1fr) minmax(0, .85fr); }
}

/* ── The rail: five states, in order, because a document really
      does move through them in that order. ── */
.rail { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.rail li {
  display: grid; grid-template-columns: 2px 1fr; gap: var(--sp-3);
  align-items: center;
  padding: var(--sp-3) 0;
  opacity: .42;
  transition: opacity .3s var(--ease);
}
.rail li::before {
  content: ''; align-self: stretch; border-radius: 2px;
  background: var(--line-2);
  transition: background .3s var(--ease);
}
.rail li[data-on="true"] { opacity: 1; }
.rail li[data-on="true"]::before { background: var(--state-colour, var(--accent)); }
.rail-code {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .1em; color: var(--ink-1);
}
.rail-name { font-size: 12px; color: var(--ink-3); }

/* ── The trail: append-only, like the audit it stands for ── */
.trail { border-left: 1px solid var(--line); padding-left: var(--sp-5); }
.trail h3 {
  font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-4);
}
.trail ol { list-style: none; display: flex; flex-direction: column; gap: var(--sp-4); }
.trail li { display: grid; gap: 2px; }
.trail-when {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: .08em; color: var(--ink-3);
}
.trail-what { font-size: 13px; color: var(--ink-1); }
.trail-who { font-size: 12px; color: var(--ink-2); }

.state-note { margin-top: var(--sp-6); max-width: 46ch; }
.state-note p { color: var(--ink-2); font-size: 15px; }

/* What the section becomes when nothing will scroll it: the five
   states listed out, rather than the first one and no way to the rest. */
.state-list { margin-top: var(--sp-6); max-width: 52ch; }
.state-list dt {
  font-size: 12px; letter-spacing: .1em; color: var(--ink-1);
  margin-top: var(--sp-5);
}
.state-list dd { color: var(--ink-2); font-size: 15px; margin-top: var(--sp-1); }

/* ══ Shared section furniture ════════════════════════════ */
.section-lede {
  color: var(--ink-2); max-width: 58ch;
  margin-top: var(--sp-4); font-size: 15px;
}
.section-lede + .section-lede { margin-top: var(--sp-3); }

/* ══ Standards strip ═════════════════════════════════════
   Quiet. It is a list of the things a buyer checks for, set as
   small caps on a hairline — not badges pretending to be awards. */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip-inner {
  display: flex; flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-8);
  padding-block: var(--sp-4);
}
.strip-item {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: var(--sp-3);
}
.strip-item::before {
  content: ''; width: 5px; height: 5px; border-radius: 1px;
  background: var(--accent); flex-shrink: 0;
}

/* ══ Document kinds ══════════════════════════════════════ */
.kinds { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.kinds h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  line-height: 1.1; margin-top: var(--sp-3); max-width: 24ch;
}
.kind-grid {
  list-style: none; margin-top: var(--sp-10);
  display: grid; gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.kind h3 { font-size: 15px; font-weight: 650; margin-top: var(--sp-4); letter-spacing: -.01em; }
.kind p { font-size: 14px; color: var(--ink-2); margin-top: var(--sp-2); line-height: 1.55; }
.kind-art {
  display: block; width: 100%; height: auto;
  background: var(--surface); border-radius: var(--r-sm);
}
.kind-frame { fill: none; stroke: var(--line-2); }
.kind-rule  { stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; opacity: .45; fill: none; }
.kind-seal  { fill: none; stroke: var(--st-ifc); stroke-width: 1.5; }
.kind-tick  { fill: none; stroke: var(--st-ifc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ══ Standards ═══════════════════════════════════════════ */
.standards { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.standards-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 900px) {
  .standards-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.standards h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  line-height: 1.1; margin-top: var(--sp-3); max-width: 20ch;
}
.standards-list > div {
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
}
.standards-list > div:last-child { border-bottom: 1px solid var(--line); }
.standards-list dt {
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .12em; color: var(--ink-1);
}
.standards-list dd { margin-top: var(--sp-2); color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ══ Industries ══════════════════════════════════════════ */
.industries { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.industries h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  line-height: 1.1; margin-top: var(--sp-3); max-width: 24ch;
}
.industry-grid {
  list-style: none; margin-top: var(--sp-10);
  display: grid; gap: var(--sp-6) var(--sp-8);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.industry-grid li { border-top: 1px solid var(--line-2); padding-top: var(--sp-4); }
.industry-grid h3 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.industry-grid p { font-size: 14px; color: var(--ink-2); margin-top: var(--sp-2); line-height: 1.55; }

/* ══ Capabilities ════════════════════════════════════════
   No numbering here: these are not a sequence and pretending
   otherwise would be decoration wearing the clothes of meaning. */
.caps { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.caps h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  margin-block: var(--sp-3) var(--sp-10);
  max-width: 22ch; line-height: 1.1;
}
.cap-grid {
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.cap {
  background: var(--surface); padding: var(--sp-6);
  display: grid; gap: var(--sp-2); align-content: start;
  transition: background .2s var(--ease);
}
.cap:hover { background: var(--raised); }
.cap-tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cap-colour, var(--accent));
}
.cap h3 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.cap p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ══ Close ═══════════════════════════════════════════════ */
.close { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 5.5rem); text-align: center; }
.close h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.03em;
  line-height: 1.05; margin-block: var(--sp-3) var(--sp-5);
  text-wrap: balance;
}
.close p { color: var(--ink-2); max-width: 48ch; margin: 0 auto var(--sp-8); }
.close-actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ══ Footer ══════════════════════════════════════════════
   The family footer: brand and one-line description on the
   left, three link columns headed in mono small caps, and a
   hairline bottom row. The shape aptEDMS shares with its
   sibling site, in aptEDMS's own palette. */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid {
  display: grid; gap: var(--sp-8);
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--sp-10) var(--sp-8);
}
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
}
.foot-brand p {
  font-size: 13px; color: var(--ink-3); max-width: 34ch;
  margin-top: var(--sp-4); line-height: 1.6;
}
.foot-col { display: grid; gap: var(--sp-3); align-content: start; }
.foot-col h3 {
  font-family: var(--f-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--sp-1);
}
.foot-col a {
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  width: fit-content; transition: color .18s var(--ease);
}
.foot-col a:hover { color: var(--ink-1); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6);
  justify-content: space-between;
  border-top: 1px solid var(--line); padding-block: var(--sp-5);
}
.foot-bottom p {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: .04em;
}

/* ══ Motion ══════════════════════════════════════════════
   Elements the intro timeline animates start hidden — but only
   when the timeline will actually run. If scripting is off or
   reduced motion is asked for, `js-motion` is never set and
   everything is visible from the first paint. */
.js-motion [data-rise] { opacity: 0; transform: translateY(14px); }
.js-motion [data-sheet-in] { opacity: 0; }

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

@media (max-width: 640px) {
  .nav-links { display: none; }
  .title-block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trail { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--sp-5); }
}

/* ══ Screens ═════════════════════════════════════════════
   Three shots of the real thing. The frame is a hairline and a
   caption — the screenshot is the argument, so nothing is stacked
   on top of it. */
.screens { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.screens h2, .compare h2, .pricing h2, .faq h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.024em;
  margin-block: var(--sp-3) var(--sp-4);
  max-width: 22ch; line-height: 1.1;
}
.screen-list { display: grid; gap: var(--sp-10); margin-top: var(--sp-10); }
.screen {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden;
}
.screen-shot { aspect-ratio: 16 / 9; display: block; width: 100%; object-fit: cover; }
.screen-shot[data-pending] {
  display: grid; place-items: center; text-align: center; padding: var(--sp-6);
  background: var(--sunk); color: var(--ink-3);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em;
}
.screen figcaption { padding: var(--sp-5) var(--sp-6); border-top: 1px solid var(--line); }
.screen figcaption h3 { font-family: var(--f-display); font-size: 16px; font-weight: 700; }
.screen figcaption p { color: var(--ink-2); font-size: 14px; margin-top: var(--sp-2); max-width: 68ch; }

/* ══ Compare ═════════════════════════════════════════════
   Marked in the product's own review codes rather than dots. The
   colours are the register's status tokens, so an A here is the
   same green as an IFC there. */
.compare { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.code {
  font-family: var(--f-mono); font-weight: 600; font-size: 12px;
  width: 24px; height: 24px; border-radius: var(--r-sm);
  display: inline-grid; place-items: center; flex: 0 0 auto;
}
.code-a { color: var(--st-ifc); background: var(--st-ifc-bg); }
.code-b { color: var(--st-ifr); background: var(--st-ifr-bg); }
.code-c { color: var(--st-void); background: var(--st-void-bg); }
.code-legend {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin: var(--sp-8) 0 var(--sp-6);
}
.code-legend li {
  display: flex; align-items: center; gap: var(--sp-3);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); padding: var(--sp-2) var(--sp-4) var(--sp-2) var(--sp-2);
  font-size: 13px; color: var(--ink-2);
}
.table-scroll {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
}
.table-scroll:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.compare-table { border-collapse: collapse; width: 100%; min-width: 820px; }
.compare-table th, .compare-table td {
  text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--line); font-size: 14px;
}
.compare-table thead th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); background: var(--sunk); white-space: nowrap;
}
.compare-table thead th:first-child { width: 36%; }
.compare-table thead th.us { color: var(--accent); background: var(--accent-wash); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th {
  font-weight: 500; color: var(--ink-1);
}
.compare-table tbody th small {
  display: block; color: var(--ink-3); font-weight: 400; font-size: 12.5px; margin-top: 2px;
}
.compare-table td { text-align: center; }
.compare-table td.us { background: var(--accent-wash); }
.compare-table tbody tr:hover th,
.compare-table tbody tr:hover td { background: var(--hover); }
.compare-table tbody tr:hover td.us { background: var(--active); }
.table-note { margin-top: var(--sp-4); font-size: 13px; color: var(--ink-3); max-width: 70ch; }

/* ══ Pricing ═════════════════════════════════════════════ */
.pricing { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.price-rule {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-8) 0 var(--sp-8);
}
.price-rule p { font-size: 16px; font-weight: 500; color: var(--ink-1); max-width: 68ch; }
.price-rule-sub { font-size: 14px; font-weight: 400 !important; color: var(--ink-2) !important; margin-top: var(--sp-3); }
.price-split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: var(--sp-5); margin-top: var(--sp-10);
}
.tier, .included {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-6) var(--sp-6);
}
.included { border-color: var(--accent-ring); }
.included h3 {
  font-family: var(--f-display); font-size: 17px; font-weight: 700;
  color: var(--ink-1); letter-spacing: -.01em;
}
.included > p { font-size: 14px; color: var(--ink-2); margin-top: var(--sp-3); max-width: 56ch; }
.included ul {
  list-style: none; display: grid; gap: var(--sp-3);
  margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.included li { position: relative; padding-left: var(--sp-6); font-size: 14px; color: var(--ink-2); }
.included li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--st-ifc); opacity: .75;
}
.tier h3 {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.tier-price {
  font-family: var(--f-display); font-size: 42px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1; margin-top: var(--sp-4);
}
.tier-price span { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tier-sub { font-size: 13px; color: var(--ink-3); margin-top: var(--sp-2); }
.tier ul {
  list-style: none; flex: 1; align-content: start;
  display: grid; gap: var(--sp-3);
  margin-top: var(--sp-5); padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.tier li { position: relative; padding-left: var(--sp-6); font-size: 14px; color: var(--ink-2); }
.tier li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--st-ifc); opacity: .75;
}
.tier li b { color: var(--ink-1); font-weight: 600; }
.tier .btn { margin-top: var(--sp-6); justify-content: center; }
.pricing .section-lede { margin-top: var(--sp-8); max-width: 72ch; }

/* The volume curve, set beside the only competitor that publishes one. */
.price-table { border-collapse: collapse; width: 100%; min-width: 560px; }
.price-table th, .price-table td {
  text-align: left; padding: var(--sp-4); border-bottom: 1px solid var(--line); font-size: 15px;
}
.price-table thead th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-3); background: var(--sunk); white-space: nowrap;
}
.price-table thead th.us { color: var(--accent); background: var(--accent-wash); }
.price-table tbody th { font-weight: 500; color: var(--ink-2); }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.price-table td.us {
  background: var(--accent-wash); color: var(--ink-1);
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
}
.price-table td.none { color: var(--ink-3); font-style: italic; }
.price-table td.keep { color: var(--st-ifc); font-weight: 600; }
.price-table tbody tr:last-child td.us { border-bottom-right-radius: 0; }
.price-table tbody tr:hover th,
.price-table tbody tr:hover td { background: var(--hover); }
.price-table tbody tr:hover td.us { background: var(--active); }
.floors { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: var(--sp-8); }
.floor { background: var(--sunk); border-radius: var(--r-md); padding: var(--sp-5); }
.floor-who {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--sp-2);
}
.floor-fig { font-family: var(--f-display); font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink-1); }
.floor-fig span { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.floor p:last-child { font-size: 13px; color: var(--ink-2); margin-top: var(--sp-2); line-height: 1.5; }
.price-terms { margin-top: var(--sp-8); font-size: 15px; color: var(--ink-2); max-width: 74ch; }
.price-terms b { color: var(--ink-1); font-weight: 600; }

/* ══ Questions ═══════════════════════════════════════════ */
.faq { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); margin-top: var(--sp-10); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: var(--sp-4) 0;
  font-weight: 600; font-size: 15px; color: var(--ink-1);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-family: var(--f-mono); font-size: 17px;
  font-weight: 400; color: var(--ink-3); flex: 0 0 auto;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details p { padding-bottom: var(--sp-4); color: var(--ink-2); font-size: 14px; max-width: 58ch; }
.where {
  align-self: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6);
}
.where h3 { font-family: var(--f-display); font-size: 16px; font-weight: 700; margin-bottom: var(--sp-4); }
.where dl > div { display: flex; gap: var(--sp-4); padding: var(--sp-3) 0; border-top: 1px solid var(--line); }
.where dl > div:first-child { border-top: 0; padding-top: 0; }
.where dt {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3);
  flex: 0 0 88px; padding-top: 2px;
}
.where dd { flex: 1; color: var(--ink-2); font-size: 14px; }
.where dd b { color: var(--ink-1); font-weight: 600; }

@media (max-width: 900px) {
  .price-split, .floors, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: var(--sp-8); }
}
