/* v36-SHARPENED marketing — the full site on the Sharpened direction.
   ────────────────────────────────────────────────────────────────────────
   Sharpened's rule, carried verbatim from the stealth concept that set it:
   "the purest neutral-first read: accent never touches TYPE; teal appears
   only on the mark, the ring dot, and the actions."

   That is the single line separating this from v35-neutral, and it is a real
   constraint, not a mood. v35-neutral colours its `em` runs and its section
   eyebrows in --rly-accent-text. Here, emphasis is carried by STYLE — the
   Cormorant italic dropping to upright — never by colour. Teal appears on
   exactly three things: the mark, the live status dot, and buttons.

   Density is Carried's: tighter vertical rhythm than neutral, no drenched
   gradients, no radial washes behind the hero.

   Tokens: /brand/generated/relay-tokens-v36.css (--rly-*), generated from
   brand/relay-design-tokens.json. Never hardcode a brand value here —
   scripts/check_tokens.py fails any new one. Buttons draw the PAIR,
   --rly-accent-fill + --rly-on-accent, never one half.

   v3.6.4 — held to the laws written since this generation was cut:
   · Motion (guidelines/GUIDE.motion-register.md): ONE loud piece per page,
     and it is the live Code card wherever a page shows one. The eyebrow dot
     is therefore still (rule 4). The home loop packet moves on transform
     only (rule 7) and is scroll-driven where the browser supports it, with a
     resting frame at step 04 everywhere else (rules 3 and 6).
   · Type (brand/relay-typography.json): the site ADOPTS the contract's
     families, weights and style rules and keeps its own web sizes. The
     contract sizes a 720pt slide canvas; a responsive page is a sibling, not
     a child. One open conflict is recorded, not resolved: the contract says
     Cormorant is "italic only", and Sharpened's emphasis device drops the
     italic to a real Cormorant upright (.title em, .moment h2 em, the tier
     price). That is EC's call — see marketing/CHANGELOG.md, 2026-09-24.
   · Components (guidelines/GUIDE.component-contracts.md): the burger's
     keyboard debt is paid; a card with one destination is clickable whole.
   ──────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --nav-h: 60px; --ease: cubic-bezier(.16, 1, .3, 1); }

body { background: var(--rly-bg); color: var(--rly-text); font-family: var(--rly-font); font-weight: 300; -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--rly-accent-tint); color: var(--rly-text-bright); }

/* ── actions — one of the three places teal is allowed ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--rly-font); font-weight: 500; font-size: 14.5px; border-radius: var(--rly-radius); padding: 12px 24px; border: 1px solid transparent; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-primary { background: var(--rly-accent-fill); color: var(--rly-on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--rly-accent-fill) 88%, var(--rly-text-bright)); }
.btn-ghost { background: transparent; color: var(--rly-text); border-color: var(--rly-border-hi); }
.btn-ghost:hover { border-color: var(--rly-text-bright); color: var(--rly-text-bright); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rly-accent-ui) 40%, transparent); }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: color-mix(in srgb, var(--rly-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 0.5px solid var(--rly-border); }
.site-header .container { display: flex; align-items: center; gap: 26px; height: 100%; }
.relay-lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--rly-accent-ui); }
.relay-lockup .rl-word { font-family: var(--rly-font-mark); font-weight: 600; font-size: 16px; letter-spacing: -.02em; color: var(--rly-text-bright); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-cb, .nav-burger { display: none; }
/* The burger's checkbox stays in the tab order on phones (visually hidden,
   named, focus shown on its label) — the component-contracts nav debt. */
.nav-cb:focus-visible + .nav-burger { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rly-accent-ui) 40%, transparent); border-radius: var(--rly-radius); }
.nav a:not(.btn) { font-size: 14px; color: var(--rly-text-2); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--rly-text-bright); }

/* ── hero — no wash, no teal type ── */
.hero { padding: 104px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 68px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--rly-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 24px; }
.eyebrow .d { width: 6px; height: 6px; border-radius: 50%; background: var(--rly-accent-ui); }   /* still since v3.6.4 — the Code card is the page's one loud piece */

/* The headline lockup: display italic first line, upright neutral second.
   Emphasis is the STYLE change. No colour is applied to either. */
.hero h1 { font-family: var(--rly-font-display); font-size: clamp(44px, 6vw, 84px); font-weight: 300; font-style: italic; line-height: 1; letter-spacing: -.015em; color: var(--rly-text-bright); margin-bottom: 22px; text-wrap: balance; }
.hero h1 .second { display: block; font-family: var(--rly-font); font-style: normal; font-weight: 300; font-size: clamp(21px, 2.5vw, 31px); line-height: 1.28; letter-spacing: -.005em; color: var(--rly-text-2); margin-top: 18px; }
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--rly-text-2); max-width: 430px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note { font-family: var(--rly-font-mono); font-size: 11px; letter-spacing: .04em; color: var(--rly-text-muted); margin-top: 18px; }

/* the beat — the page's one held line */
.oath { font-family: var(--rly-font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rly-text-muted); margin-top: 30px; padding-top: 22px; border-top: 0.5px solid var(--rly-border); }

/* ── live Code card — flat, no radial ── */
.codecard { background: var(--rly-surface); border: 0.5px solid var(--rly-border-hi); border-radius: var(--rly-radius-card); padding: 26px 28px; }
.cc-label { font-family: var(--rly-font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--rly-text-muted); }
/* The Code is set in the NEUTRAL bright ink, not teal — accent never on type.
   This is the most visible single difference from v35-neutral. */
.cc-code { font-family: var(--rly-font-mono); font-size: clamp(36px, 4.6vw, 50px); font-weight: 600; letter-spacing: .16em; color: var(--rly-text-bright); margin: 8px 0 18px; }
.cc-status { position: relative; height: 18px; }
.cc-row { position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; font-family: var(--rly-font-mono); font-size: 12px; color: var(--rly-text-2); }
.cc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cc-await { animation: s-await 6s ease-in-out infinite; }
.cc-await .cc-dot { background: var(--rly-warning); }
.cc-recv { animation: s-recv 6s ease-in-out infinite; }
.cc-recv .cc-dot { background: var(--rly-accent-ui); }   /* the ring dot — allowed */
@keyframes s-await { 0%,58% { opacity: 1; } 68%,94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes s-recv  { 0%,58% { opacity: 0; } 68%,94% { opacity: 1; } 100% { opacity: 0; } }
/* A second Code card on a page is held still at Received — one loud piece. */
.codecard.is-still .cc-await { animation: none; opacity: 0; }
.codecard.is-still .cc-recv { animation: none; opacity: 1; }
.cc-div { height: 1px; background: var(--rly-border); margin: 18px 0; }
.cc-tag { display: inline-flex; font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--rly-text-muted); border: 0.5px solid var(--rly-border-hi); border-radius: 4px; padding: 3px 9px; }

/* ── tool strip ── */
.tools { padding: 34px 0; border-block: 0.5px solid var(--rly-border); background: var(--rly-surface); }
.tools-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.tools-label { font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rly-text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip { font-family: var(--rly-font-mono); font-size: 12px; color: var(--rly-text-2); background: var(--rly-bg); border: 0.5px solid var(--rly-border); border-radius: 5px; padding: 6px 13px; transition: border-color .12s, color .12s; }
.chip:hover { border-color: var(--rly-border-hi); color: var(--rly-text-bright); }
.chip.any { color: var(--rly-text-muted); font-style: italic; }
.tools-sub { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); margin-left: auto; }

/* ── section shell ── */
.sec { padding: 84px 0; border-bottom: 0.5px solid var(--rly-border); }
.head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 46px; flex-wrap: wrap; }
.keyebrow { font-family: var(--rly-font-mono); font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--rly-text-muted); flex-shrink: 0; }
.title { font-family: var(--rly-font-display); font-size: clamp(30px, 4vw, 50px); font-weight: 300; font-style: italic; line-height: 1.04; color: var(--rly-text-bright); }
.title em { font-style: normal; color: inherit; }   /* upright, NOT teal */

/* ── the loop ── */
.loop-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; container-type: inline-size; }
.loop-rail { position: absolute; top: 15px; left: 12.5%; right: 12.5%; height: 1px; background: var(--rly-border-hi); }
/* The packet: transform only (motion rule 7). Resting frame = arrived at 04
   (rule 3). Where scroll timelines exist it travels as the reader scrolls
   the loop into view (rule 6: this is a reading surface, not a brand one),
   so it never competes with the Code card for the page's one loud slot. */
.loop-packet { position: absolute; top: 11px; left: 12.5%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--rly-accent-ui); z-index: 2; transform: translateX(75cqw); }
@supports (animation-timeline: view()) {
  .loop-packet { animation: loop-travel linear both; animation-timeline: view(); animation-range: entry 40% cover 55%; }
}
@keyframes loop-travel { from { transform: translateX(0); } to { transform: translateX(75cqw); } }
.loop-step { position: relative; }
.loop-node { font-family: var(--rly-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--rly-text-muted); background: var(--rly-bg); display: inline-block; padding-right: 12px; margin-bottom: 20px; position: relative; z-index: 1; }
.loop-name { font-size: 16px; font-weight: 500; color: var(--rly-text-bright); margin-bottom: 6px; }
.loop-desc { font-size: 13.5px; color: var(--rly-text-2); line-height: 1.6; }

/* ── platform grid ── */
.plat { padding: 84px 0; border-bottom: 0.5px solid var(--rly-border); background: var(--rly-surface); }
.plat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--rly-border); border: 0.5px solid var(--rly-border); }
.platc { background: var(--rly-bg); padding: 24px 26px; }
.platc-name { font-size: 15.5px; font-weight: 500; color: var(--rly-text-bright); margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.platc-desc { font-size: 13.5px; color: var(--rly-text-2); line-height: 1.6; margin-bottom: 14px; }
.platc-tool { font-family: var(--rly-font-mono); font-size: 11px; letter-spacing: .04em; color: var(--rly-text-muted); }

/* ── the held moment ── */
.moment { padding: 104px 0; border-bottom: 0.5px solid var(--rly-border); }
.moment-eyebrow { font-family: var(--rly-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 26px; }
.moment h2 { font-family: var(--rly-font-display); font-size: clamp(32px, 4.6vw, 58px); font-weight: 300; font-style: italic; line-height: 1.05; color: var(--rly-text-bright); margin-bottom: 26px; }
.moment h2 em { font-style: normal; color: inherit; }
.moment p { font-size: 17px; line-height: 1.7; color: var(--rly-text-2); max-width: 60ch; }

/* ── use cases ── */
.uc3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.uc3-card { border: 0.5px solid var(--rly-border); border-radius: var(--rly-radius-card); padding: 24px 26px; background: var(--rly-surface); transition: border-color .15s; }
.uc3-card:hover { border-color: var(--rly-border-hi); }
/* One destination → the whole card is the target (component contracts, Card
   row). The title is the link; its ::after stretches over the card. */
.uc3-card:has(.uc3-link) { position: relative; }
.uc3-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.uc3-card:has(.uc3-link:focus-visible) { border-color: var(--rly-text-bright); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rly-accent-ui) 40%, transparent); }
.uc3-link:focus-visible { outline: none; }
.uc3-eyebrow { font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 14px; }
.uc3-title { font-size: 17px; font-weight: 500; color: var(--rly-text-bright); margin-bottom: 8px; }
.uc3-desc { font-size: 13.5px; color: var(--rly-text-2); line-height: 1.65; }

/* ── close ── */
.cta { padding: 108px 0; text-align: center; }
.cta h2 { font-family: var(--rly-font-display); font-size: clamp(34px, 5vw, 64px); font-weight: 300; font-style: italic; line-height: 1.04; color: var(--rly-text-bright); margin-bottom: 22px; }
.cta h2 em { font-style: normal; color: inherit; }
.cta p { font-size: 17px; color: var(--rly-text-2); max-width: 52ch; margin: 0 auto 32px; line-height: 1.65; }
.cta-note { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); margin-top: 20px; }

/* ── footer ── */
.site-footer { padding: 44px 0; border-top: 0.5px solid var(--rly-border); }
.site-footer .container { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.foot-links a { font-size: 13px; color: var(--rly-text-muted); transition: color .15s; }
.foot-links a:hover { color: var(--rly-text-bright); }
.foot-imprint { font-family: var(--rly-font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--rly-text-faint); width: 100%; }

/* ── responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 68px 0 60px; }
  .loop-track { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .loop-rail, .loop-packet { display: none; }
  .sec, .plat { padding: 64px 0; }
  .moment, .cta { padding: 76px 0; }
}
@media (max-width: 720px) {
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: auto; margin-right: -11px; cursor: pointer; color: var(--rly-text-bright); }
  .nav-cb { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .nav { position: fixed; inset: var(--nav-h) 0 auto; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--rly-bg); border-bottom: 0.5px solid var(--rly-border); padding: 8px 28px 20px; display: none; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 0.5px solid var(--rly-border); font-size: 15px; }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-cb:checked ~ .nav { display: flex; }
  .loop-track { grid-template-columns: 1fr; }
  .tools-sub { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* Resting frames, not whatever frame the clock stopped on (motion rule 3). */
  .loop-packet { animation: none !important; transform: translateX(75cqw); }
  .cc-await { animation: none !important; opacity: 0; }
  .cc-recv { animation: none !important; opacity: 1; }
}

/* ════ inner-page components (product / platform / use-cases / pricing /
   security / loop) — same Sharpened constraint throughout ════ */

/* page hero (compact) */
.phero { padding: 76px 0 56px; border-bottom: 0.5px solid var(--rly-border); }
.phero h1 { font-family: var(--rly-font-display); font-size: clamp(38px, 5vw, 66px); font-weight: 300; font-style: italic; line-height: 1.02; letter-spacing: -.01em; color: var(--rly-text-bright); margin-bottom: 18px; text-wrap: balance; }
.phero h1 em { font-style: normal; color: inherit; }
.phero .sub { font-size: 17px; line-height: 1.65; color: var(--rly-text-2); max-width: 56ch; }
.phero .note { font-family: var(--rly-font-mono); font-size: 11px; letter-spacing: .04em; color: var(--rly-text-muted); margin-top: 16px; }

/* numbered steps, editorial */
.pstep { display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding: 30px 0; border-top: 0.5px solid var(--rly-border); }
.pstep[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }   /* anchor targets clear the sticky header */
.pstep:last-of-type { border-bottom: 0.5px solid var(--rly-border); }
.pstep-n { font-family: var(--rly-font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: var(--rly-text-muted); padding-top: 6px; }
.pstep-t { font-family: var(--rly-font-display); font-size: 24px; font-weight: 400; font-style: italic; color: var(--rly-text-bright); margin-bottom: 8px; }
.pstep-d { font-size: 14.5px; line-height: 1.7; color: var(--rly-text-2); max-width: 62ch; }

/* definition list rows */
.live-list { display: flex; flex-direction: column; }
.live-item { padding: 20px 0; border-top: 0.5px solid var(--rly-border); }
.live-item:last-child { border-bottom: 0.5px solid var(--rly-border); }
.live-k { font-family: var(--rly-font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 7px; }
.live-t { font-family: var(--rly-font-display); font-size: 21px; font-weight: 400; font-style: italic; color: var(--rly-text-bright); margin-bottom: 6px; }
.live-d { font-size: 14px; line-height: 1.65; color: var(--rly-text-2); }

/* feature bars — the bar is a UI element, so accent-ui is allowed */
.feat { display: flex; flex-direction: column; gap: 26px; }
.feat-item { display: grid; grid-template-columns: 3px 1fr; gap: 18px; }
.feat-bar { border-radius: 2px; background: var(--rly-accent-ui); }
.feat-name { font-family: var(--rly-font-display); font-size: 22px; font-weight: 400; font-style: italic; color: var(--rly-text-bright); margin-bottom: 6px; }
.feat-desc { font-size: 14px; line-height: 1.7; color: var(--rly-text-2); }

/* config block — code stays neutral; no syntax teal */
.cblock { background: var(--rly-panel); border: 0.5px solid var(--rly-border-hi); border-radius: var(--rly-radius-card); padding: 22px 24px; overflow-x: auto; }
.cblock pre { margin: 0; font-family: var(--rly-font-mono); font-size: 12.5px; line-height: 1.7; color: var(--rly-text); white-space: pre; }
.cblock-cap { font-family: var(--rly-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 12px; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: start; }

/* stack rows (platform) */
.stack { display: flex; flex-direction: column; border: 0.5px solid var(--rly-border); border-radius: var(--rly-radius-card); overflow: hidden; }
.stack-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 22px; background: var(--rly-bg); border-top: 0.5px solid var(--rly-border); font-size: 14px; }
.stack-row:first-child { border-top: none; }
.stack-row.is-relay { background: var(--rly-surface); }
.stack-proto { font-family: var(--rly-font-mono); font-size: 12px; font-weight: 500; color: var(--rly-text-bright); }
.stack-what { color: var(--rly-text-2); }
.stack-row.is-relay .stack-what { color: var(--rly-text-bright); font-weight: 500; }
/* Relay is the foundation band: the last row, drawn beneath the others. Its only
   accent is the ring dot — accent never touches type. */
.stack-row.is-relay { border-top: 0.5px solid var(--rly-border-hi); }
.stack-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rly-accent-ui); margin-right: 9px; vertical-align: 1px; }
@media (max-width: 520px) { .stack-row { grid-template-columns: 1fr; gap: 4px; } }

/* tool chips row */
.toolrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.toolrow code { background: var(--rly-bg); border: 0.5px solid var(--rly-border); border-radius: 5px; padding: 6px 12px; font-size: 12px; color: var(--rly-text-2); }

/* pricing */
.bill-seg { display: inline-flex; border: 0.5px solid var(--rly-border-hi); border-radius: var(--rly-radius-full); padding: 3px; gap: 3px; margin-bottom: 34px; }
.bill-seg button { font-family: var(--rly-font); font-size: 13px; font-weight: 500; border: none; background: transparent; color: var(--rly-text-2); border-radius: var(--rly-radius-full); padding: 7px 16px; cursor: pointer; }
.bill-seg button.on { background: var(--rly-text-bright); color: var(--rly-bg); }
.bill-note { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); margin-left: 12px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tier { border: 0.5px solid var(--rly-border); border-radius: var(--rly-radius-card); padding: 24px; background: var(--rly-bg); display: flex; flex-direction: column; }
.tier.is-pop { border-color: var(--rly-text-bright); position: relative; }
.tier-pop { position: absolute; top: -9px; left: 20px; font-family: var(--rly-font-mono); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--rly-text-bright); color: var(--rly-bg); border-radius: 3px; padding: 3px 8px; }
.tier-name { font-size: 15px; font-weight: 500; color: var(--rly-text-bright); margin-bottom: 10px; }
.tier-price { font-family: var(--rly-font-display); font-size: 40px; font-weight: 300; color: var(--rly-text-bright); line-height: 1; }
.tier-per { font-size: 12.5px; color: var(--rly-text-muted); margin: 6px 0 4px; }
.tier-loop { font-family: var(--rly-font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--rly-text-muted); border: 0.5px solid var(--rly-border-hi); border-radius: 4px; padding: 3px 8px; align-self: flex-start; margin: 8px 0 16px; }
.tier ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--rly-text-2); flex: 1; }
.tier ul li::before { content: '— '; color: var(--rly-text-muted); }
.tier .btn { justify-content: center; }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ptable th, .ptable td { text-align: left; padding: 12px 14px; border-bottom: 0.5px solid var(--rly-border); vertical-align: top; }
.ptable th { font-family: var(--rly-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rly-text-muted); }
.ptable td.c { text-align: center; color: var(--rly-text-2); }
.ptable .grp td { font-family: var(--rly-font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--rly-text-muted); background: var(--rly-surface); }
.ptable .fname { color: var(--rly-text-bright); font-weight: 400; }
.ptable .fhint { display: block; font-size: 12px; color: var(--rly-text-muted); margin-top: 3px; max-width: 46ch; }
.tbl-scroll { overflow-x: auto; }
/* Comparison tables: headers sit over their (centred) columns, and the header row stays pinned
   under the site header while the table scrolls, so every row keeps its plan labels (EC 2026-09-24).
   Sticky needs a non-scrolling ancestor, so the horizontal-scroll wrapper only scrolls on narrow
   screens, where the table can't fit; there the header scrolls with it. */
.ptable th.c { text-align: center; }
.ptable thead th { position: sticky; top: var(--nav-h); z-index: 2; background: var(--rly-bg); box-shadow: inset 0 -0.5px 0 var(--rly-border-hi); }
@media (min-width: 721px) { .tbl-scroll { overflow-x: visible; } }

/* custody timeline (security) */
.custody { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--rly-border); border: 0.5px solid var(--rly-border); }
.cust { background: var(--rly-bg); padding: 22px 24px; }
.cust-state { font-family: var(--rly-font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rly-text-bright); display: flex; align-items: center; gap: 8px; }
.cust-state .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rly-accent-ui); }
.cust-time { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); margin: 8px 0 10px; }
.cust-state + .cust-d { margin-top: 10px; }
.cust-d { font-size: 13px; line-height: 1.6; color: var(--rly-text-2); }
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-2); border: 0.5px solid var(--rly-border-hi); border-radius: var(--rly-radius-full); padding: 5px 12px; }

/* faq */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 0.5px solid var(--rly-border); }
.faq details:last-child { border-bottom: 0.5px solid var(--rly-border); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--rly-text-bright); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::after { content: '+'; font-family: var(--rly-font-mono); color: var(--rly-text-muted); }
.faq details[open] summary::after { content: '–'; }
.faq .a { padding: 0 0 22px; font-size: 14.5px; line-height: 1.7; color: var(--rly-text-2); max-width: 66ch; }

/* member card (loop) */
.member { background: var(--rly-surface); border: 0.5px solid var(--rly-border-hi); border-radius: var(--rly-radius-card); padding: 26px 28px; }
.member-eyebrow { font-family: var(--rly-font-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--rly-text-muted); }
.member-id { font-family: var(--rly-font-mono); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; letter-spacing: .12em; color: var(--rly-text-bright); margin: 10px 0 16px; }
.member-rows { display: flex; flex-direction: column; gap: 8px; font-family: var(--rly-font-mono); font-size: 12px; color: var(--rly-text-2); }

/* auth shell (register / login) — canon: the form comes first on phones */
.auth { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-rail { padding: 56px 52px; display: grid; grid-template-rows: auto 1fr; grid-template-areas: "top" "rest"; border-right: 0.5px solid var(--rly-border); }
.say-top { grid-area: top; }
.say-rest { grid-area: rest; align-self: end; }
.auth-panel { padding: 56px 52px; background: var(--rly-surface); display: flex; flex-direction: column; justify-content: center; }
.auth h1 { font-family: var(--rly-font-display); font-size: clamp(34px, 3.8vw, 52px); font-weight: 300; font-style: italic; line-height: 1.04; color: var(--rly-text-bright); margin: 34px 0 14px; text-wrap: balance; }
.auth .lede { font-size: 16px; color: var(--rly-text-2); }
.ledger { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.ledger-row { display: grid; grid-template-columns: 30px 1fr; gap: 14px; font-size: 13.5px; color: var(--rly-text-2); }
.ledger-n { font-family: var(--rly-font-mono); font-size: 11px; color: var(--rly-text-muted); padding-top: 2px; }
.ledger-row b { color: var(--rly-text-bright); font-weight: 500; display: block; }
.auth-form { max-width: 420px; width: 100%; margin: 0 auto; }
.auth-form h2 { font-size: 19px; font-weight: 500; color: var(--rly-text-bright); margin-bottom: 6px; }
.auth-form .switch { font-size: 13px; color: var(--rly-text-muted); margin-bottom: 26px; }
.auth-form .switch a { color: var(--rly-text-bright); text-decoration: underline; text-underline-offset: 3px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-field { margin-bottom: 14px; }
.f-field label { display: block; font-family: var(--rly-font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--rly-text-muted); margin-bottom: 6px; }
.f-field input, .f-field select { width: 100%; height: 46px; font-family: var(--rly-font); font-size: 15px; color: var(--rly-text-bright); background: var(--rly-bg); border: 1px solid var(--rly-border-input); border-radius: var(--rly-radius); padding: 0 13px; }
.f-field input:focus, .f-field select:focus { outline: none; border-color: var(--rly-text-bright); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rly-accent-ui) 30%, transparent); }
.f-hint { font-size: 12px; color: var(--rly-text-muted); margin-top: 6px; }
.f-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--rly-text-2); margin: 16px 0 20px; }
.f-consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.auth-form .btn { width: 100%; justify-content: center; }
.f-legal { font-size: 11.5px; color: var(--rly-text-muted); margin-top: 14px; }
.f-legal a { text-decoration: underline; text-underline-offset: 3px; }
.auth-back { font-family: var(--rly-font-mono); font-size: 11px; letter-spacing: .06em; color: var(--rly-text-muted); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .pstep { grid-template-columns: 1fr; gap: 8px; }
  /* Canon (2026-08-26 register fix): on phones the rail splits and the FORM
     moves between its halves — eyebrow/headline/lede, then the form, then the
     beat/ledger/sign-in. display:contents lifts the rail's halves into the
     auth flex flow so the order changes without duplicating content. */
  .auth { display: flex; flex-direction: column; }
  .auth-rail { display: contents; }
  .say-top { order: 1; padding: 40px 26px 8px; }
  .auth-panel { order: 2; padding: 26px 26px 34px; }
  .say-rest { order: 3; padding: 8px 26px 44px; }
}
