/* Public landing page.
   Same three-colour spine as login.css and terminal.css so the public face
   and the client terminal read as one product: midnight navy #030F22,
   slate gray #525C66, off-white #FEFEFE.

   No inline styles anywhere in landing.html: the app serves a strict CSP
   (style-src 'self'), so an inline style attribute would simply not apply.
   That is a feature -- it keeps the public page incapable of carrying
   injected presentation. */
:root {
  --bg: #FEFEFE;
  --bg-2: #F3F5F8;
  --panel: #FFFFFF;
  --line: #E4E8ED;
  --line-2: #CCD4DC;
  --text: #030F22;
  --text-2: #525C66;
  --dim: #6B7580;
  --accent: #030F22;
  --shadow-1: 0 1px 2px rgba(3,15,34,.05), 0 1px 3px rgba(3,15,34,.035);
  --shadow-2: 0 4px 16px rgba(3,15,34,.07), 0 1px 3px rgba(3,15,34,.04);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------------------------------------------------------------- top bar */
.bar {
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(254,254,254,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: .2px;
}

.brand .mark { width: 26px; height: 26px; display: block; }
/* min-width:0 lets this shrink inside the flex row instead of forcing the
   bar wider than the screen; the mark and the sign-in control matter more
   than the full wordmark at phone width. */
.brand-text { font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand { min-width: 0; }
.brand-text em { font-style: normal; color: var(--text-2); font-weight: 550; }

.bar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.bar-nav a { color: var(--text-2); text-decoration: none; }
.bar-nav a:hover { color: var(--text); }

.cta-sm {
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--shadow-1);
  font-weight: 550;
}
.cta-sm:hover { border-color: var(--accent); background: var(--bg-2); }

/* ---------------------------------------------------- order-book depth motif

   An abstract depth ladder behind the hero: two sides breathing around a mid
   line. It is the one ornament on the page and it was chosen to say what the
   product IS rather than what it supposedly earns.

   Three rules it obeys:

   1. NO DIRECTION. The rungs vary in width on independent loops and never
      trend. An ascending line is a performance claim in picture form -- the
      same objection that rules out a rocket -- and it would sit a screen
      above a disclaimer stating no such claim is made.

   2. NO JAVASCRIPT. The landing page's security argument is that it reads
      nothing and runs nothing; adding the first script to it for decoration
      would weaken a real property to gain a cosmetic one.

   3. BARELY THERE. Peak opacity is well under the body text, it sits behind
      the content, and it stops entirely for prefers-reduced-motion. A motif
      that competes with the headline has failed.
*/
.depth {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  width: min(300px, 26vw);
  display: grid;
  gap: 7px;
  pointer-events: none;   /* never interferes with the hero's buttons */
  z-index: 0;
}

.depth-side { display: grid; gap: 7px; }

.depth-side i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--text);
  opacity: .10;
  width: var(--w, 50%);
  /* 9s, and each rung offset by a negative delay so they are mid-cycle on
     load rather than all starting together -- a synchronised pulse reads as
     a loading spinner, not a book. */
  animation: depth-breathe 9s var(--d, 0s) ease-in-out infinite;
}

.depth-bid i { justify-self: end; }
.depth-ask i { justify-self: end; opacity: .075; }

.depth-mid {
  height: 1px;
  background: var(--text);
  opacity: .2;
  margin: 3px 0;
}

/* Per-rung width and phase. These live here, not as style attributes on the
   element: the app serves style-src 'self', which blocks inline styles, so
   an attribute would silently do nothing and every rung would render the
   same width. */
.depth-bid i:nth-child(1) { --w: 62%; --d: 0s; }
.depth-bid i:nth-child(2) { --w: 38%; --d: -2.3s; }
.depth-bid i:nth-child(3) { --w: 81%; --d: -4.1s; }
.depth-bid i:nth-child(4) { --w: 45%; --d: -1.2s; }
.depth-bid i:nth-child(5) { --w: 70%; --d: -5.6s; }
.depth-bid i:nth-child(6) { --w: 33%; --d: -3.4s; }
.depth-bid i:nth-child(7) { --w: 55%; --d: -6.8s; }
.depth-bid i:nth-child(8) { --w: 28%; --d: -0.7s; }
.depth-ask i:nth-child(1) { --w: 48%; --d: -1.9s; }
.depth-ask i:nth-child(2) { --w: 72%; --d: -4.7s; }
.depth-ask i:nth-child(3) { --w: 35%; --d: -0.4s; }
.depth-ask i:nth-child(4) { --w: 66%; --d: -3.1s; }
.depth-ask i:nth-child(5) { --w: 41%; --d: -6.2s; }
.depth-ask i:nth-child(6) { --w: 77%; --d: -2.6s; }
.depth-ask i:nth-child(7) { --w: 30%; --d: -5.1s; }
.depth-ask i:nth-child(8) { --w: 58%; --d: -7.4s; }

/* scaleX from the right edge, so only the LENGTH changes -- the ladder's
   spine stays put. Animating width would reflow 16 elements forever. */
@keyframes depth-breathe {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(.62); }
}

.depth-side i { transform-origin: right center; }

/* ------------------------------------------------------------------- hero */
main { display: block; }

.hero {
  position: relative;      /* positioning context for the depth motif */
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px 56px;
}

/* Above the motif, and only as wide as the text needs, so the two never
   overlap at any width. */
.hero > *:not(.depth) { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--dim);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -.5px;
  font-weight: 680;
  max-width: 20ch;
  text-wrap: balance;
}

.lede {
  margin: 0 0 28px;
  max-width: 62ch;
  font-size: 17.5px;
  color: var(--text-2);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cta {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #FEFEFE;
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: .1px;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform .05s, box-shadow .15s, background .15s;
}
.cta:hover { box-shadow: var(--shadow-2); }
.cta:active { transform: translateY(1px); }

.cta.ghost {
  background: var(--panel);
  color: var(--text);
  border-color: var(--line-2);
}
.cta.ghost:hover { border-color: var(--accent); background: var(--bg-2); }

.hero-note {
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--dim);
}
.hero-note a { color: var(--text-2); }

/* ------------------------------------------------------------------ bands */
.band {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--line);
}

.band.alt {
  max-width: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* The alt band is full-bleed, so its children are centred to the wrap
   width by hand. They also need the SAME horizontal padding the plain band
   gets from its own box, or every alternate section starts 24px further
   left than its neighbours -- visible as a zig-zagging left edge down the
   page once the long-form pages added direct children to these bands. */
.band.alt > * {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* A MEASURE FOR PROSE. Body copy directly inside a band had no max-width,
   because until the long-form pages existed every paragraph lived inside a
   .card and inherited the card's width. On a wide display that set lines
   over 1000px long -- roughly 160 characters, about two and a half times a
   comfortable measure, which is what makes a page of real text read as a
   wall. Headings, code and the grid are deliberately exempt: they are
   scanned rather than read, and code must not be re-wrapped. */
.band > p { max-width: 68ch; }

/* The alt band is full-bleed and centres each child with auto margins, so
   a child NARROWER than the wrap gets centred rather than left-aligned --
   the measure above turned every alternate paragraph into a centred column
   floating away from its own heading. Pin the left edge to where the
   centred wrap box starts instead, and let the right edge fall where the
   measure puts it. */
.band.alt > p {
  max-width: 68ch;
  margin-left: max(24px, calc(50% - var(--wrap) / 2 + 24px));
  margin-right: 24px;
  padding-left: 0;
  padding-right: 0;
}

.band h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.6vw, 27px);
  letter-spacing: -.2px;
  font-weight: 660;
}

.band-lede {
  margin: 0 0 32px;
  max-width: 64ch;
  color: var(--text-2);
  font-size: 16.5px;
}

/* --------------------------------------------------------- capability grid */
.grid {
  display: grid;
  /* min(290px, 100%) rather than a bare 290px. A bare minimum forces a
     290px track even when the container is narrower, which overflows the
     page on a 320px phone -- 320 less the 16px gutters leaves 288. The
     min() lets the track collapse to the container instead. */
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  padding: 22px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-1);
}

/* Thin-stroke, monochrome, inheriting colour from the card so there is one
   palette rather than an icon palette beside a text palette.
   
   Inline SVG rather than an icon font or a sprite: no extra request, no
   library, and nothing to go stale. It is markup, so the strict CSP applies
   to it without exception -- the stroke colour comes from `currentColor` and
   the geometry from presentation attributes, never from a style attribute,
   which style-src 'self' would silently drop. */
.card .ico {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 0 13px;
  color: var(--text-2);
  /* Non-scaling strokes would thicken on zoom; vector-effect keeps the
     hairline weight honest at any size. */
  vector-effect: non-scaling-stroke;
}

.card h3 {
  margin: 0 0 9px;
  font-size: 15.5px;
  font-weight: 620;
  letter-spacing: .1px;
}

.card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ------------------------------------------------------------ method rows */
/* TWO columns, not auto-fit. There are four of these, and auto-fit resolved
   to three at desktop width, leaving the fourth alone on its own row beside
   a column and a half of dead space. A column count the items actually fill
   reads as deliberate; 3+1 reads as an accident. */
.rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
}

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

/* A rule rather than a card: these are statements of practice, not objects,
   and stamping six identical boxes on the page flattens the hierarchy. */
.row {
  padding-left: 16px;
  border-left: 2px solid var(--line-2);
}

.row h3 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 620;
}

.row p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- contact */
.contact-row { margin: 24px 0 0; }

.contact .cta { font-family: var(--mono); font-size: 14px; }

/* ------------------------------------------------------------- disclosure */
.disclosure h2 { font-size: 16px; color: var(--text-2); }

.fine {
  max-width: 76ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}

.fine p { margin: 0 0 12px; }
.fine strong { color: var(--text-2); font-weight: 600; }

/* ----------------------------------------------------------------- footer */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
}

.foot a { color: var(--text-2); }
.foot .sep { color: var(--line-2); }

/* ------------------------------------------------------------------ small */
@media (max-width: 680px) {
  .bar { padding: 12px 16px; row-gap: 10px; }

  /* These links used to be `display: none` here, and the comment that
     replaced said "sign-in is the one control that must survive at
     phone width". Sign-in did survive -- `.cta-sm` was excluded -- but
     Platform, Plans, Licensing and the API docs did not, so a phone had
     the brand, a sign-in button and NO route to any of them from the
     header. Measured 2026-10-17: 4 of 5 nav links invisible at 320-600px
     on every public page, and 3 of 4 on /docs, which is what a licence
     buys.
     That is the same shape as the terminal's view switcher being hidden
     below 760px -- nothing LOOKS wrong, so it survived. The site stayed
     navigable only because the footer and the body copy carry the same
     links, which is why this reads as a defect rather than an outage.

     THE NAV WRAPS TO A SECOND ROW instead. The terminal uses a
     horizontally scrollable strip because it has ELEVEN views; with four
     short links wrapping is better, because a scroll strip with no
     visible affordance is its own usability problem -- the reader has to
     discover that it scrolls. */
  .bar-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px 18px;
    justify-content: flex-start;
  }

  /* 44px is the usual tap-target floor, and these were measuring ~20px
     tall. `inline-flex` + `min-height` grows the hit area without
     moving the text or adding visible padding. */
  .bar-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Sign-in stays the rightmost and most prominent control, which is
     what the old rule was protecting. */
  .cta-sm { margin-left: auto; }
  .hero { padding: 48px 16px 40px; }
  /* No room beside the headline at this width, and a motif UNDER the text
     is worse than none. */
  .depth { display: none; }
  .band { padding: 40px 16px; }
  .foot { padding: 24px 16px 32px; }
}


/* =====================================================================
   Section icons and restrained motion
   =====================================================================

   WHY THERE IS NO JAVASCRIPT HERE, and why there cannot be. The public
   pages' security argument is that they read nothing and RUN nothing: a
   flat file with no snapshot, no settings and no request state, so there is
   no auth decision on them to get wrong. The hero ladder is CSS for exactly
   that reason -- a canvas would have meant adding the first script to an
   otherwise inert page, for decoration. Icons are inline SVG (no font, no
   sprite, no CDN request) and every effect below is CSS.

   MOTION IS OPT-IN, not opt-out. The entrance effects live inside
   `@media (prefers-reduced-motion: no-preference)`, so a visitor who has
   asked for less motion gets a page that is simply already in its final
   state. The global reduce block further down shortens durations, but
   relying on that alone would mean an element whose resting style is
   `opacity: 0` could be left invisible if the animation were ever dropped
   by anything else. Nothing here is invisible at rest.
   --------------------------------------------------------------------- */

/* Section-heading icon on the long-form pages. The cards on the landing
   page carry `.ico`; these sit beside an <h2> instead, so they get their
   own class rather than overloading that one. */
.h-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
}
.h-row h2 { margin: 0; }

.ico-h {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--text-2);
  vector-effect: non-scaling-stroke;
}

/* `pathLength="1"` on every path normalises the draw regardless of the
   real geometry, so one keyframe works for every icon and a redrawn icon
   cannot desynchronise the animation. */
.ico-h path,
.ico-h circle,
.ico-h rect,
.ico-h line,
.ico-h polyline {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* Hover: the icon warms toward the ink colour with its section. Subtle
   enough to read as responsiveness rather than decoration. */
.band:hover .ico-h { color: var(--text); }
.ico-h { transition: color .28s ease; }

/* --------------------------------------------------------------- links */
/* An underline that grows from the left instead of appearing at once. The
   nav is the one element on the page a visitor is certain to point at. */
.bar-nav a:not(.cta-sm) {
  position: relative;
  padding-bottom: 2px;
}
.bar-nav a:not(.cta-sm)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .26s cubic-bezier(.2, .7, .3, 1);
}
.bar-nav a:not(.cta-sm):hover::after,
.bar-nav a:not(.cta-sm):focus-visible::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- cards */
.card {
  transition: transform .26s cubic-bezier(.2, .7, .3, 1),
              box-shadow .26s ease,
              border-color .26s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.card .ico { transition: color .26s ease; }
.card:hover .ico { color: var(--text); }

/* ----------------------------------------------------------------- CTAs */
.cta, .cta-sm {
  transition: transform .2s cubic-bezier(.2, .7, .3, 1),
              box-shadow .2s ease,
              background-color .2s ease;
}
.cta:hover, .cta-sm:hover { transform: translateY(-1px); }
.cta:active, .cta-sm:active { transform: translateY(0); }

/* ------------------------------------------------------- focus, always */
/* Visible keyboard focus is not decoration; it is the only way a keyboard
   user knows where they are. Kept outside the motion query so it applies
   regardless of motion preference. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: no-preference) {

  /* Icons draw themselves once, on load. ~0.7s, staggered a little down
     the page so the eye has somewhere to go, and finished well before
     anyone has read the first paragraph. */
  .ico-h path,
  .ico-h circle,
  .ico-h rect,
  .ico-h line,
  .ico-h polyline {
    animation: ico-draw .7s var(--dly, 0s) ease-out both;
  }

  /* Cards arrive together with a short stagger. They end at their resting
     style, so a visitor arriving mid-animation sees the page settle rather
     than appear. */
  .grid .card {
    animation: rise-in .5s var(--dly, 0s) cubic-bezier(.2, .7, .3, 1) both;
  }

  .band > .h-row { animation: rise-in .45s both; }
}

@keyframes ico-draw {
  from { stroke-dashoffset: 1; opacity: .35; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}

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

/* Stagger. Set per element rather than with :nth-child chains so the delay
   is visible in the markup and a reordered section does not silently
   inherit the wrong one. */
.d1 { --dly: .05s; }
.d2 { --dly: .11s; }
.d3 { --dly: .17s; }
.d4 { --dly: .23s; }
.d5 { --dly: .29s; }
.d6 { --dly: .35s; }
.d7 { --dly: .41s; }
.d8 { --dly: .47s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* The ladder stays, the breathing stops. Removing it entirely would
     change the layout for these users; freezing it does not. */
  .depth-side i { animation: none; }
  *, *::before, *::after {
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}


/* ---------------------------------------------------------------------
   Code samples on /licensing.

   Scrolls on its own rather than widening the page: a request body is the
   one block on these pages that legitimately cannot wrap, and letting it
   set the page width would put a horizontal scrollbar on every phone.
   --------------------------------------------------------------------- */
pre.code {
  /* Same measure as the prose it sits between, so the text column has one
     left AND one right edge down the page. Left full-width it read as a
     stretched band beside a 68ch paragraph. It still scrolls internally,
     so a long line is never the page's problem. */
  max-width: 68ch;
  margin: 1.1rem 0;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  border: 1px solid var(--line, rgba(255,255,255,.14));
  border-radius: 10px;
  background: var(--panel, rgba(255,255,255,.035));
  font-size: .86rem;
  line-height: 1.55;
}
pre.code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre;
  color: inherit;
}
p code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em;
  padding: .08em .35em;
  border-radius: 5px;
  background: var(--panel, rgba(255,255,255,.06));
}

/* And in a full-bleed alt band, pinned left like the prose rather than
   centred by the auto margins. */
.band.alt > pre.code {
  /* max-width is REPEATED here, not inherited from `pre.code`, because
     `.band.alt > *` is (0,2,0) and `pre.code` is only (0,1,1) -- the
     full-bleed rule wins the cascade and stretched the price table to the
     whole wrap width beside 68ch of prose. Specificity, not an override
     anyone intended. */
  max-width: 68ch;
  margin-left: max(24px, calc(50% - var(--wrap) / 2 + 24px));
  margin-right: 24px;
}

/* ---------------------------------------------------------------------
   Plan cards
   --------------------------------------------------------------------- */
.grid.plans {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 820px;
  /* STRETCH, not start: the annual card carries one more feature, and with
     `start` the two "Choose..." buttons landed at different heights, which
     reads as a layout accident rather than a comparison. Equal height plus
     `margin-top:auto` on the button puts both calls to action on one line
     however the lists differ. */
  align-items: stretch;
}
.card.plan { display: flex; flex-direction: column; gap: 2px; }

/* The featured card is distinguished by a border and a lift, not by a
   second accent colour: one palette, and the eye should land on the price
   rather than on a badge competing with it. */
.card.plan.featured {
  border-color: var(--text);
  box-shadow: var(--shadow-2);
}

.plan .eyebrow { margin: 0 0 10px; }
.plan-price { margin: 0 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt {
  font-size: clamp(30px, 4.2vw, 40px);
  font-weight: 680;
  letter-spacing: -1px;
  /* Figures in a price column must not wander on the baseline. */
  font-variant-numeric: tabular-nums;
}
.plan-price .per { font-size: 15px; color: var(--dim); }
.plan-sub { margin: 0 0 16px; font-size: 14px; color: var(--text-2); }
.plan-sub s { color: var(--dim); }

.plan-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
/* A tick drawn in CSS rather than an emoji: emoji render differently on
   every platform and carry a colour this palette does not use. */
.plan-list li { position: relative; padding-left: 20px; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .48em;
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--text);
  border-bottom: 1.6px solid var(--text);
  transform: rotate(-45deg);
}

.plan .cta { margin-top: auto; text-align: center; }
.plan .fine { margin: 10px 0 0; }

/* Numbered steps on the checkout page. */
.steps { max-width: 68ch; padding-left: 1.2rem; }
.steps li { margin: 0 0 12px; color: var(--text-2); }
.band.alt > .steps {
  margin-left: max(24px, calc(50% - var(--wrap) / 2 + 24px));
  margin-right: 24px;
}

/* A payment that failed, shown when the provider returns the customer to
   its failureUrl. Deliberately not red: this is the single most likely
   moment for a customer to doubt whether they were charged, and an alarm
   colour makes that worse. The left rule and the tinted ground mark it as
   a message about what just happened without shouting. Colours come from
   the existing tokens so it stays legible if the palette moves. */
.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--text);
  border-radius: 6px;
  color: var(--text-2);
}
.notice strong { color: var(--text); }

/* ── The request-access form ──────────────────────────────────────────
   No JavaScript, like every other public page: a plain POST form works
   without it, and the CSP allows form-action 'self'. So validation is
   the browser's (required, type=email, maxlength) plus the server's, and
   the server's is the one that counts -- a maxlength attribute is a
   suggestion to a browser, not a constraint on a POST.

   44px minimum control height, for the same reason the header nav got it:
   this is the one page on the site a person has to operate on a phone. */
.form { display: grid; gap: 20px; max-width: 620px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--text);
  letter-spacing: .01em;
}
.field .req, .field .opt {
  font-weight: 500; font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--dim); margin-left: 6px;
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 6px;
  padding: 11px 12px; min-height: 44px; width: 100%;
  box-sizing: border-box;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--text); outline-offset: 1px;
  border-color: var(--text);
}
.field input:invalid:not(:placeholder-shown) { border-color: #B4472F; }
.field .hint { margin: 0; font-size: 13px; color: var(--text-2); }
.row2 { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.form .cta { justify-self: start; }
.form .fine { margin: 0; }

/* Numbered, because these really are sequential: invoice, transfer,
   activation. A list that is not a sequence should not be numbered. */
.steps { margin: 0; padding-left: 22px; display: grid; gap: 13px; }
.steps li { color: var(--text-2); line-height: 1.6; }
.steps strong { color: var(--text); }

@media (max-width: 680px) {
  /* One column: two side-by-side fields at 320px are two unusable
     fields. Vertical space is the cheap axis on a phone. */
  .row2 { grid-template-columns: 1fr; }
}
