/* Hallmark · genre: modern-minimal · macrostructure: Workbench
 * theme: studied-DNA (source: url https://factory.ai/ + styles.refero.design/style/13d6fc89)
 * paper: oklch(16.5% 0.006 285.7) · accent: oklch(62.4% 0.206 255.5) blue (cool)
 * fonts: Geist 400/500 + Geist Mono 400 · studied: yes
 * observed-source: Geist + Geist Mono · #101010 canvas · #ee6018 accent · radii 3/10/20
 * deviations: cool graphite ladder (285.7deg, not 60deg) · radii 10/18/24 · six chromatic data channels
 * nav: N1b canonical SaaS three-section · footer: Ft1 mast-headed
 * enrichment: Tier-A CSS art + Tier-B hand-SVG (recreated product surfaces)
 * pre-emit critique: P5 H5 E5 S5 R5 V4 · contrast: pass (40–41)
 * slop: pass (42–45) · honest/chrome/tokens: pass (46–48) · mobile: pass (34, 49–57) · icons: pass (30)
 * ------------------------------------------------------------------
 * Every colour and every font in this file resolves through a token in
 * tokens.css. No inline hex, no inline oklch, no bare font-family.
 * ================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* lets `height: auto` participate in a transition, which is what makes the
     FAQ panels open rather than appear */
  interpolate-size: allow-keywords;
}

/* clip, never hidden · `hidden` on the root kills position: sticky */
html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ll-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

/* Display type is roman, always. Authority comes from size and tight
   tracking, not from weight and never from italic. */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-style: normal;
  text-wrap: balance;
  /* long identifiers (UPC, ISRC, tenant slugs) must break inside the word
     rather than push the page sideways at 320px */
  overflow-wrap: anywhere;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

/* Focus rings appear instantly · never transitioned, never animated. */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

::selection {
  background: var(--color-ch-blue-soft);
  color: var(--color-ink);
}

/* ============================================================
   TYPE ROLES
   Two voices, one family. Geist 400 carries the page; Geist Mono
   uppercase carries the instrument · when the reader sees mono they
   are looking at a system surface, not a marketing surface.
   ============================================================ */

.display {
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.h-lg {
  font-size: var(--text-display-s);
  line-height: 1.12;
  letter-spacing: var(--tracking-display-s);
}

.h {
  font-size: var(--text-h);
  line-height: var(--leading-h);
  letter-spacing: var(--tracking-h);
}

.h-sm {
  font-size: var(--text-h-s);
  line-height: 1.25;
  letter-spacing: var(--tracking-h);
}

/* the mono lede is the source system's most distinctive marketing move */
.lede {
  font-family: var(--font-mono);
  font-size: var(--text-body);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-caption);
  color: var(--color-ink-3);
  max-width: 46ch;
}

.prose {
  color: var(--color-ink-2);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  line-height: var(--leading-flat);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-ink-3);
}

.mono--micro {
  font-size: var(--text-micro);
}

.mono--ink {
  color: var(--color-ink);
}

/* every figure in this page aligns on its digits */
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.muted {
  color: var(--color-ink-3);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.wrap--wide {
  max-width: var(--page-max-wide);
}

/* Section rhythm is deliberately uneven · equal padding on every section
   is its own tell. Each section sets its own top/bottom. */
.section {
  position: relative;
  padding-block: var(--section-gap);
}

.section--tight {
  padding-block: var(--space-2xl);
}

.section--band {
  background: var(--color-paper-2);
  border-block: var(--rule-hair) solid var(--color-rule-soft);
}

.rule {
  height: var(--rule-hair);
  background: var(--color-rule);
  border: 0;
  margin: 0;
}

/* ============================================================
   BACKGROUND TEXTURE
   A 24px dot matrix plus a vignette, both at very low opacity. This is
   the source system's ground: structural texture that reads as graph
   paper, not decorative gradient blobs.
   ============================================================ */

.ground {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ground::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at center,
    var(--color-ink) 0,
    var(--color-ink) 0.7px,
    transparent 0.95px
  );
  background-size: 24px 24px;
  opacity: 0.07;
}

.ground::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 90% at 50% 30%,
    transparent 0%,
    transparent 38%,
    var(--color-paper) 100%
  );
}

/* ============================================================
   BUTTONS · all eight states
   Chrome stays monochrome. A chromatic fill would break the system's
   rule that colour is data-voice, never decoration.
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  /* a clickable label never wraps to two lines */
  white-space: nowrap;
  min-height: 44px;
  padding: 0 var(--space-xs);
  border-radius: var(--radius-sm);
  border: var(--rule-hair) solid transparent;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.btn--light {
  background: var(--color-light-2);
  color: var(--color-paper);
}

.btn--light:hover,
.btn--light.is-hover {
  background: var(--color-ink);
}

.btn--light:active,
.btn--light.is-active {
  background: var(--color-light);
}

.btn--ghost {
  border-color: var(--color-rule-strong);
  color: var(--color-ink);
}

.btn--ghost:hover,
.btn--ghost.is-hover {
  background: var(--color-surface);
  border-color: var(--color-ink-4);
}

.btn--ghost:active,
.btn--ghost.is-active {
  background: var(--color-surface-2);
}

.btn--dark {
  background: var(--color-surface-2);
  color: var(--color-ink);
}

.btn--dark:hover,
.btn--dark.is-hover {
  background: var(--color-inset);
}

.btn--dark:active,
.btn--dark.is-active {
  background: var(--color-inset-2);
}

/* on the light card the polarity inverts */
.btn--on-light {
  background: var(--color-paper);
  color: var(--color-ink);
}

.btn--on-light:hover,
.btn--on-light.is-hover {
  background: var(--color-surface-2);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  color: var(--color-ink-4);
  background: var(--color-surface);
  border-color: var(--color-rule-soft);
  cursor: not-allowed;
}

.btn[data-state="loading"] {
  color: var(--color-ink-3);
  pointer-events: none;
}

.btn[data-state="error"] {
  border-color: var(--color-ch-red);
  color: var(--color-ch-red);
}

.btn[data-state="success"] {
  border-color: var(--color-ch-green);
  color: var(--color-ch-green);
}

.btn__arrow {
  transition: transform var(--dur) var(--ease-out);
}

.btn:hover .btn__arrow,
.btn.is-hover .btn__arrow {
  transform: translateX(3px);
}

/* the typographic link · a word, an arrow, a hairline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 44px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-ch-blue);
  border-bottom: var(--rule-hair) solid transparent;
  transition:
    border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.tlink:hover {
  border-bottom-color: var(--color-ch-blue);
}

/* ============================================================
   NAV · N1b canonical SaaS three-section
   Transparent over the hero, frosts past 24px. Knobs: centre links = 4,
   dropdowns = 2, scroll = frost-on-scroll, CTA pair = sign-in + fill.
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  background: transparent;
  border-bottom: var(--rule-hair) solid transparent;
  transition:
    background-color var(--dur-slow) var(--ease-out),
    border-color var(--dur-slow) var(--ease-out);
}

.nav.is-scrolled {
  background: var(--color-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--color-rule);
}

.nav__inner {
  max-width: var(--page-max-wide);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
  min-height: var(--nav-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-xs);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}

/* the mark is two crossed L's drawn as thin strokes; below ~18px they
   disappear into the wordmark */
.nav__mark {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: -1px;
}

.nav__center {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  min-height: 44px;
  padding-inline: var(--space-2xs);
  border-radius: var(--radius-sm);
  font-size: var(--text-body-s);
  color: var(--color-ink-2);
  transition:
    color var(--dur) var(--ease-out),
    background-color var(--dur) var(--ease-out);
}

.nav__link:hover,
.nav__item:focus-within > .nav__link {
  color: var(--color-ink);
  background: var(--color-rule-soft);
}

.nav__caret {
  width: 6px;
  height: 6px;
  border-right: var(--rule-hair) solid currentColor;
  border-bottom: var(--rule-hair) solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  width: max-content;
  max-width: min(88vw, 380px);
  display: grid;
  gap: 2px;
  padding: var(--space-2xs);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    visibility var(--dur) var(--ease-out);
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__dropitem {
  display: grid;
  gap: 2px;
  padding: var(--space-2xs) 10px;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast) var(--ease-out);
}

.nav__dropitem:hover {
  background: var(--color-surface-2);
}

.nav__dropitem b {
  font-weight: var(--weight-regular);
  font-size: var(--text-body-s);
  color: var(--color-ink);
}

.nav__dropitem i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-caption);
  color: var(--color-ink-3);
}

.nav__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
}

.nav__right .btn {
  min-height: 38px;
}

@media (max-width: 40rem) {
  .nav__right .btn {
    min-height: 44px;
  }
}

@media (max-width: 62rem) {
  .nav__center {
    display: none;
  }
  .nav__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
}

@media (max-width: 26rem) {
  .nav__cta-secondary {
    display: none;
  }
}

/* ============================================================
   PRODUCT FIGURE
   A hairline frame and a typographic caption rule. Deliberately NOT a
   re-drawn browser bar: no traffic-light dots, no URL pill, no phone
   notch. The reader's own window already is the chrome.
   ============================================================ */

.figure {
  margin: 0;
  background: var(--color-paper-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-width: 0;
}

.figure__bar {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  padding: 10px var(--space-xs);
  border-bottom: var(--rule-hair) solid var(--color-rule-soft);
  background: var(--color-surface);
}

.figure__bar-spacer {
  flex: 1 1 auto;
}

.figure__body {
  padding: var(--space-xs);
}


/* live status pulse: a 6px dot before a mono label */
.dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  flex: none;
  display: inline-block;
  background: var(--color-ink-4);
}

.dot--blue {
  background: var(--color-ch-blue);
}
.dot--green {
  background: var(--color-ch-green);
}
.dot--amber {
  background: var(--color-ch-amber);
}
.dot--red {
  background: var(--color-ch-red);
}
.dot--violet {
  background: var(--color-ch-violet);
}
.dot--cyan {
  background: var(--color-ch-cyan);
}

/* quiet semantic pill · never an icon in a coloured tile */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px var(--space-2xs);
  border-radius: var(--radius-xs);
  background: var(--color-surface-2);
  border: var(--rule-hair) solid var(--color-rule-soft);
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-ink-3);
  white-space: nowrap;
}

.pill--green {
  color: var(--color-ch-green);
  background: var(--color-ch-green-soft);
  border-color: transparent;
}
.pill--amber {
  color: var(--color-ch-amber);
  background: var(--color-ch-amber-soft);
  border-color: transparent;
}
.pill--red {
  color: var(--color-ch-red);
  background: var(--color-ch-red-soft);
  border-color: transparent;
}
.pill--blue {
  color: var(--color-ch-blue);
  background: var(--color-ch-blue-soft);
  border-color: transparent;
}
.pill--violet {
  color: var(--color-ch-violet);
  background: var(--color-ch-violet-soft);
  border-color: transparent;
}

/* ============================================================
   ONE ORCHESTRATED ENTRANCE
   The page settles once on load and then stays still. No scroll-linked
   reveals anywhere · the source system's motion philosophy is that the
   surface should feel precise, not animated.
   ============================================================ */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: rise var(--dur-slow) var(--ease-out) both;
}

.rise--1 {
  animation-delay: 60ms;
}
.rise--2 {
  animation-delay: 120ms;
}
.rise--3 {
  animation-delay: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 150ms !important;
  }
  .rise {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   HERO · H7 clipped-by-viewport-edge
   Copy left, the operator console right, running past the right edge so
   the reader understands the console is wider than the page. Knobs:
   clip side = right, aspect = free, frame = hairline (no fake chrome).
   ============================================================ */

.hero {
  position: relative;
  padding-block: calc(var(--nav-h) + var(--space-2xl)) var(--space-2xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--space-xl);
  align-items: center;
}

/* No max-width here: the grid column IS the measure. Capping the copy
   column in `ch` squeezed the 72px display into four lines. */
.hero__copy {
  min-width: 0;
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}

/* The clip: the console runs past the right edge so the reader understands
   it is wider than the page. Kept to ~7vw · deep enough to read as
   deliberate, shallow enough that the last pipeline stage stays legible. */
.hero__media {
  width: calc(100% + 7vw);
  min-width: 0;
}

@media (max-width: 68rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
  .hero__copy {
    max-width: 40ch;
  }
  .hero__media {
    width: calc(100% + var(--page-gutter));
  }
}

@media (max-width: 40rem) {
  .hero__media {
    width: 100%;
  }
}

/* ============================================================
   STANDARDS BAND
   Where a marketing page would put customer logos this page names the
   formats the system actually speaks. Specific and verifiable beats a
   row of borrowed wordmarks.
   ============================================================ */

.standards {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs) var(--space-lg);
}

.standards__item {
  display: grid;
  gap: 4px;
}

.standards__name {
  font-family: var(--font-mono);
  font-size: var(--text-body-s);
  letter-spacing: var(--tracking-caption);
  color: var(--color-ink-2);
  white-space: nowrap;
}

/* ============================================================
   PRINCIPLE CARDS
   Three cards, deliberately unequal spans and three different internal
   diagram types · an even 3-up of icon/heading/paragraph tiles is the
   most-emitted AI shape there is.
   ============================================================ */

.principles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: var(--space-sm);
  padding: var(--card-pad);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.card--a {
  grid-column: span 5;
}
.card--b {
  grid-column: span 4;
}
.card--c {
  grid-column: span 3;
}

.card__index {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  color: var(--color-ch-blue);
}

.card__figure {
  align-self: center;
  min-width: 0;
}

.card__note {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  line-height: 1.5;
  letter-spacing: var(--tracking-caption);
  color: var(--color-ink-3);
  border-top: var(--rule-hair) solid var(--color-rule-soft);
  padding-top: var(--space-2xs);
}

@media (max-width: 64rem) {
  .card--a,
  .card--b,
  .card--c {
    grid-column: span 12;
  }
}

/* ============================================================
   FEATURE STACK · sticky rail left, product surface right
   ============================================================ */

.stack {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

/* Not sticky. The rail selects which panel the figure beside it shows ·
   it is a picker, not a scroll-synced stack, and the right column is not
   taller than the rail, so a sticky offset would have no travel to use. */
.stack__rail {
  align-self: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.railitem {
  display: grid;
  gap: 3px;
  width: 100%;
  text-align: left;
  padding: 14px var(--space-xs);
  border-bottom: var(--rule-hair) solid var(--color-rule-soft);
  border-left: 2px solid transparent;
  transition:
    background-color var(--dur) var(--ease-out),
    border-left-color var(--dur) var(--ease-out);
}

.railitem:last-child {
  border-bottom: 0;
}

.railitem:hover,
.railitem.is-hover {
  background: var(--color-surface-2);
}

.railitem[aria-current="true"] {
  background: var(--color-surface-2);
  border-left-color: var(--color-ch-blue);
}

.railitem__title {
  font-family: var(--font-mono);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-ink);
}

.railitem__desc {
  font-size: var(--text-body-s);
  line-height: 1.35;
  color: var(--color-ink-3);
}

@media (max-width: 64rem) {
  .stack {
    grid-template-columns: minmax(0, 1fr);
  }
  .stack__rail {
    position: static;
  }
}

/* ============================================================
   SPLIT · copy one side, product surface the other. Direction
   alternates down the page so the rhythm never settles into a template.
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-xl);
  align-items: center;
}

/* Flip swaps the TRACK WIDTHS rather than reordering: reordering alone
   left the figure in the narrow column and read as the same rhythm twice
   down the page. */
.split--flip {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

@media (max-width: 64rem) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
  }
  .split--flip {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing reuses the same split, figure, table and facts primitives as the
   product story. Only spacing and explanatory copy need local rules. */
.pricing__split {
  align-items: start;
}

.pricing__split + .pricing__split {
  margin-top: var(--space-xl);
}

.pricing__split .prose {
  margin-top: var(--space-sm);
}

.pricing__formula {
  margin-top: var(--space-lg);
  padding-block: var(--space-xs);
  border-block: var(--rule-hair) solid var(--color-rule);
  color: var(--color-ink-2);
}

.pricing__models > div + div {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule);
}

.pricing__notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  color: var(--color-ink-3);
  font-size: var(--text-body-s);
}

.pricing__notes strong {
  color: var(--color-ink-2);
  font-weight: var(--weight-medium);
}

.pricing__close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

@media (max-width: 40rem) {
  .pricing__notes {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-sm);
  }

  .pricing__close {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   CLOSING CARD · the system's signature figure/ground move: the one
   bright object in the room, landing on the void.
   ============================================================ */

.closer {
  display: grid;
  gap: var(--space-sm);
  justify-items: start;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, var(--space-lg));
  background: var(--color-light);
  color: var(--color-paper);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-on-light);
}

.closer h2 {
  color: var(--color-paper);
  max-width: 18ch;
}

.closer .mono {
  color: var(--color-paper);
  opacity: 0.62;
}

.closer__rule {
  width: 100%;
  height: var(--rule-hair);
  background: var(--color-rule-on-light);
}

/* ============================================================
   FOOTER · Ft1 mast-headed. Knobs: wordmark = xl, tagline = mono,
   links = single inline row. Not a four-column sitemap of pages that
   do not exist.
   ============================================================ */

.foot {
  background: var(--color-paper-2);
  border-top: var(--rule-hair) solid var(--color-rule);
  padding-block: var(--space-2xl) var(--space-lg);
}

.foot__mast {
  font-family: var(--font-display);
  font-size: var(--text-display-s);
  line-height: 1;
  letter-spacing: var(--tracking-display-s);
  color: var(--color-ink);
}

.foot__tagline {
  margin-top: var(--space-2xs);
  max-width: 44ch;
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-rule-soft);
}

.foot__links a {
  white-space: nowrap;
  color: var(--color-ink-2);
  transition: color var(--dur) var(--ease-out);
}

.foot__links a:hover {
  color: var(--color-ink);
}

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2xs) var(--space-sm);
  margin-top: var(--space-md);
}

/* the real logotype, sized by height so the wordmark keeps its proportions.
   The artwork ships with its own fill, so the colour is forced here. */
.nav__logo,
.foot__logo {
  width: auto;
  display: block;
  color: var(--color-ink);
  fill: var(--color-ink);
}

.nav__logo path,
.foot__logo path {
  fill: currentColor;
}

.nav__logo {
  height: 22px;
}

.foot__logo {
  height: 30px;
}

@media (max-width: 26rem) {
  .nav__logo {
    height: 18px;
  }
  .foot__logo {
    height: 24px;
  }
}

.tlink--inline {
  min-height: 0;
  display: inline;
  border-bottom: var(--rule-hair) solid var(--color-rule-strong);
}

/* ============================================================
   DEMO DIALOG
   Native <dialog>, so focus trapping, Escape, background inert and focus
   restore come from the platform instead of from hand written JS.
   ============================================================ */

.dlg {
  width: min(92vw, 560px);
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
}

.dlg::backdrop {
  background: oklch(0% 0 0 / 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dlg[open] {
  animation: dlgin var(--dur-slow) var(--ease-out);
}

@keyframes dlgin {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
}

.dlg__form {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  min-height: 0;
}

.dlg__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-sm) var(--space-xs);
}

.dlg__title {
  color: var(--color-ink);
}

.dlg__sub {
  margin-top: 6px;
}

.dlg__x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -10px 0 auto;
  flex: none;
  border-radius: var(--radius-sm);
  color: var(--color-ink-3);
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.dlg__x:hover {
  background: var(--color-surface-2);
  color: var(--color-ink);
}

.dlg__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-2xs) var(--space-sm) var(--space-sm);
  display: grid;
  gap: var(--space-xs);
  scrollbar-width: thin;
  scrollbar-color: var(--color-inset-2) transparent;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.field__l {
  font-size: var(--text-body-s);
  color: var(--color-ink-2);
  padding: 0;
}

.field__opt {
  color: var(--color-ink-4);
}

.field__i {
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  border-radius: var(--radius-md);
  border: var(--rule-hair) solid transparent;
  background: var(--color-inset);
  color: var(--color-ink);
  font: inherit;
  font-size: var(--text-body-s);
  transition:
    background-color var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.field__i::placeholder {
  color: var(--color-ink-4);
}

.field__i:hover {
  background: var(--color-inset-2);
}

/* one ring, not two: the outline below is the focus signal, so the border
   only warms rather than turning into a second ring */
.field__i:focus {
  outline: none;
  background: var(--color-inset-2);
}

/* the ring must not wait for a transition to appear */
.field__i:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 1px;
}

.field__i:-webkit-autofill,
.field__i:-webkit-autofill:hover,
.field__i:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-ink);
  -webkit-box-shadow: 0 0 0 100px var(--color-inset) inset;
  box-shadow: 0 0 0 100px var(--color-inset) inset;
  caret-color: var(--color-ink);
  transition: background-color 100000s ease 0s;
}

.field__i--area {
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
}

/* The error state is ours, set on the field when we validate. :user-invalid
   is deliberately unused: it fires on its own schedule, and two mechanisms
   racing each other is how a form ends up shouting at an untouched field. */
.field__e {
  display: none;
  font-size: var(--text-micro);
  line-height: 1.45;
  color: var(--color-ch-red);
}

.field.is-invalid .field__e {
  display: block;
}

.field.is-invalid .field__i {
  border-color: var(--color-ch-red);
}

.field.is-invalid .opt span {
  box-shadow: inset 0 0 0 1px var(--color-ch-red);
}

.opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opt {
  position: relative;
}

.opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.opt span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: 13px;
  border-radius: var(--radius-pill);
  background: var(--color-inset);
  font-size: var(--text-body-s);
  color: var(--color-ink-2);
  white-space: nowrap;
  transition:
    background-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.opt input:hover + span {
  background: var(--color-inset-2);
}

.opt input:checked + span {
  background: var(--color-ink);
  color: var(--color-paper);
}

.opt input:focus-visible + span {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.dlg__foot {
  display: grid;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm) var(--space-sm);
  box-shadow: inset 0 1px 0 var(--color-rule-soft);
  background: var(--color-surface);
}

.dlg__note {
  line-height: 1.5;
}

.dlg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  justify-content: flex-end;
}

.dlg__done {
  display: grid;
  gap: var(--space-xs);
  justify-items: start;
  padding: var(--space-sm);
}

.dlg__done[hidden] {
  display: none;
}

/* submit states beyond the shared .btn set */
[data-submit][data-state="loading"]::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  animation: spin 600ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 30rem) {
  .dlg {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: auto auto 0;
  }
  .dlg__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dlg[open] {
    animation: none;
  }
  [data-submit][data-state="loading"]::after {
    animation: none;
  }
}

/* `hidden` is display:none from the UA sheet, which a `display` rule in here
   beats. Without this the panels stayed on screen underneath the confirmation. */
[hidden] {
  display: none !important;
}

/* the honeypot: reachable by a bot parsing the DOM, never by a person */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dlg__note[data-formerror] {
  color: var(--color-ch-red);
  text-transform: none;
  font-size: var(--text-body-s);
  letter-spacing: var(--tracking-body);
  font-family: var(--font-body);
}

.ddone__tick {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--color-ch-green-soft);
  color: var(--color-ch-green);
}
