/* Nelzn LLC — public site. Single stylesheet, no build tooling, no external fonts or CDNs.
 *
 * Two hard rules govern this file, both enforced by scripts/check-site.mjs:
 *   1. No url() and no @import that reaches another host. No webfonts, no icon sets, no images.
 *      Every glyph on the site is either an inline SVG in the page or drawn here in CSS.
 *   2. The site ships zero JavaScript, so anything interactive is CSS: <details> disclosures,
 *      :hover / :focus-visible, and scroll-driven animation. Nothing may DEPEND on that support —
 *      the reveal animation is wrapped in @supports so content is never left invisible.
 *
 * Typefaces are system stacks for the same reason a webfont would be a remote request. Display is
 * ui-rounded (SF Pro Rounded on Apple platforms) falling back to system-ui; the fallback is a clean
 * grotesk, so the page degrades in weight and personality, never in legibility.
 */

/* Cross-document view transitions between the four static pages. Pure CSS — browsers without support
   just navigate normally. This is the one modern flourish that costs literally nothing. */
@view-transition {
  navigation: auto;
}

:root {
  color-scheme: light;
  --ground: #f7f9f9;
  --ground-2: #edf2f1;
  --card: #ffffff;
  --ink: #0b1211;
  --ink-2: #3c4b49;
  --ink-3: #6a7a77;
  --line: #dbe3e1;
  --line-strong: #c2cfcc;
  --accent: #0d7d73;
  --accent-soft: #ddefec;
  --accent-fg: #ffffff;
  --signal: #a8620c;
  --signal-soft: #fbf0db;
  --glow: rgba(13, 125, 115, 0.16);

  --font-display: ui-rounded, 'SF Pro Rounded', 'Hiragino Maru Gothic ProN', Nunito, system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --wrap: 70rem;
  --r: 14px;
  --r-sm: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #080d0c;
    --ground-2: #0f1615;
    --card: #121a19;
    --ink: #e9efed;
    --ink-2: #b0bebb;
    --ink-3: #849491;
    --line: #1d2726;
    --line-strong: #2b3836;
    --accent: #34d8c4;
    --accent-soft: #0f302c;
    --accent-fg: #04231f;
    --signal: #f0b44a;
    --signal-soft: #2c2213;
    --glow: rgba(52, 216, 196, 0.14);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  max-width: 62ch;
}

p:last-child {
  margin-bottom: 0;
}

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

.small {
  font-size: 0.875rem;
  line-height: 1.6;
}

address {
  font-style: normal;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
}

/* ---------- header: the wordmark alone ---------- */
/* Navigation lives in the footer. The brand link is therefore the ONLY route back to the home page
   from a legal page — see the note in build.mjs. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ground) 80%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
}

.brand {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

/* The wordmark is the legal name as text. A CSS-drawn mark (`.brand-mark`) and a mono sub-label
   (`.brand-text`/`.brand-name`/`.brand-sub`) lived here until 2026-08-05 and were removed with their
   markup rather than left as dead rules — a mark rule sitting in the stylesheet is an invitation to
   put a mark back, and the reason this one went is that it stood in for a brand that does not exist. */

/* ---------- bands ---------- */

.band {
  position: relative;
}

.band > .wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.band-alt {
  background: var(--ground-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}

.band-head {
  margin-bottom: 2.5rem;
}

.band-head .label {
  display: block;
  margin-bottom: 0.9rem;
}

.band-head h2 {
  margin-bottom: 0;
}

/* ---------- hero ---------- */

.hero {
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(62rem 34rem at 80% 4%, var(--glow), transparent 62%),
    radial-gradient(42rem 28rem at 2% 96%, color-mix(in srgb, var(--signal) 13%, transparent), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--line-strong) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-figure {
  margin: 0;
}

@media (max-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.5rem;
}

.pill-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  animation: blip 2.4s ease-in-out infinite;
}

@keyframes blip {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 var(--glow);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 0 5px transparent;
  }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.03;
  margin: 0 0 1.15rem;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 0;
}

/* ---------- the email affordance ---------- */
/* The site still has no call-to-action into the product: no sign-in link, no appUrl, nothing pointing
   at an auth surface. This is a mailto: styled as a contact card, and it is the only kind of outbound
   affordance on the site — which is also what satisfies Stripe's customer-service requirement.
   Used twice on the home page: the hero (sales, support & billing) and the product block (request
   access). Same component, different kicker; anything else added here must stay a mailto:. */

.mail {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
  padding: 0.85rem 1.1rem 0.85rem 1.25rem;
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 999px;
  color: var(--ink);
  transition: transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1), border-color 200ms ease,
    box-shadow 200ms ease;
}

.mail:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.5);
}

.mail-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.mail-kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mail-addr {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}

.mail-arrow {
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.mail-arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
  transition: transform 200ms ease;
}

.mail:hover .mail-arrow svg {
  transform: translateX(2px);
}

/* ---------- the product console (decorative illustration) ---------- */

.console {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 48px -24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-size: 0.875rem;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--ground-2);
}

.console-dots {
  display: flex;
  gap: 0.3rem;
}

.console-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--line-strong);
}

.console-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.console-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.console-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
}

.console-name {
  font-weight: 600;
  line-height: 1.3;
}

.console-meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.call-stage {
  position: relative;
  height: 6.25rem;
  margin-top: 0.9rem;
}

.stage-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  opacity: 0;
}

.ring {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  position: relative;
}

.ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: ripple 1.6s ease-out infinite;
}

@keyframes ripple {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.stage-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

.wave {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  height: 2.25rem;
}

.wave i {
  display: block;
  width: 0.22rem;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: center;
  animation: bounce 1.05s ease-in-out infinite;
}

/* Negative delays start each bar mid-cycle, so the waveform looks irregular without any randomness. */
.wave i:nth-child(1) { animation-delay: -0.9s; }
.wave i:nth-child(2) { animation-delay: -0.75s; }
.wave i:nth-child(3) { animation-delay: -0.5s; }
.wave i:nth-child(4) { animation-delay: -0.35s; }
.wave i:nth-child(5) { animation-delay: -0.62s; }
.wave i:nth-child(6) { animation-delay: -0.18s; }
.wave i:nth-child(7) { animation-delay: -0.44s; }
.wave i:nth-child(8) { animation-delay: -0.8s; }
.wave i:nth-child(9) { animation-delay: -0.28s; }

@keyframes bounce {
  0%,
  100% {
    transform: scaleY(0.22);
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.timer {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* A counting clock with no clock: a column of digits inside a 1-line window, translated by steps(). */
.digit {
  display: inline-block;
  height: 1.05em;
  overflow: hidden;
  vertical-align: bottom;
}

.digit span {
  display: block;
  height: 1.05em;
  line-height: 1.05em;
}

.digit-ones span {
  animation: roll10 10s steps(10, end) infinite;
}

.digit-tens span {
  animation: roll10 100s steps(10, end) infinite;
}

@keyframes roll10 {
  to {
    transform: translateY(-10.5em);
  }
}

.outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--signal) 32%, transparent);
  background: var(--signal-soft);
  border-radius: var(--r-sm);
  opacity: 0;
}

.outcome-check {
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--signal);
  display: grid;
  place-items: center;
}

.outcome-check svg {
  width: 0.65rem;
  height: 0.65rem;
  display: block;
}

.outcome-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink);
}

.outcome-text b {
  font-weight: 600;
}

.outcome-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  margin-top: 0.15rem;
  letter-spacing: 0.03em;
}

/* One 12s clock, four panels reading different slices of it. Sequencing this way needs no JS and no
   per-element delays that could drift out of sync. */
.seq-dial { animation: showDial 12s linear infinite; }
.seq-live { animation: showLive 12s linear infinite; }
.seq-done { animation: showDone 12s linear infinite; }
.seq-outcome { animation: stampIn 12s linear infinite; }

@keyframes showDial {
  0%, 2% { opacity: 0; }
  6%, 20% { opacity: 1; }
  24%, 100% { opacity: 0; }
}

@keyframes showLive {
  0%, 24% { opacity: 0; }
  28%, 64% { opacity: 1; }
  68%, 100% { opacity: 0; }
}

@keyframes showDone {
  0%, 68% { opacity: 0; }
  72%, 94% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

@keyframes stampIn {
  0%, 70% { opacity: 0; transform: translateY(6px) scale(0.99); }
  76%, 94% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: translateY(6px) scale(0.99); }
}

.console-foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  max-width: none;
}

/* ---------- practice tiles ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem 1.4rem;
  overflow: hidden;
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 220ms ease,
    border-color 220ms ease;
}

.tile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0.18);
  transform-origin: top;
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.tile:hover,
.tile:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.45);
}

.tile:hover::before,
.tile:focus-within::before {
  transform: scaleY(1);
}

.tile .label {
  display: block;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.tile p {
  font-size: 0.9375rem;
  color: var(--ink-3);
  margin: 0;
}

.tile-glyph {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  margin-bottom: 0.9rem;
  color: var(--accent);
}

.tile-glyph svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- product ---------- */

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.product-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}

.product-name {
  font-size: 1.5rem;
  margin: 0;
}

.product-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  width: 100%;
  margin: 0;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--signal);
  background: var(--signal-soft);
  border: 1px solid color-mix(in srgb, var(--signal) 34%, transparent);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  white-space: nowrap;
}

.product-body {
  padding: 1.5rem;
}

.product-lede {
  color: var(--ink-2);
  font-size: 1.0625rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  color: var(--ink-2);
  background: var(--ground-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.55rem;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.badge:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--signal) 45%, var(--line));
  color: var(--ink);
}

.badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  transition: background-color 180ms ease;
}

.badge:hover .badge-dot {
  background: var(--signal);
}

/* ---------- disclosures ---------- */
/* Native <details>: keyboard-accessible, and the text stays in the DOM whether open or closed, so a
   crawler and a reviewer both see it. Nothing here is a substitute for the plain contact details. */

.facts {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.facts details {
  border-bottom: 1px solid var(--line);
}

.facts summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.facts summary::-webkit-details-marker {
  display: none;
}

.facts summary::after {
  content: '';
  margin-left: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 200ms ease;
}

.facts details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.facts summary .label {
  color: var(--accent);
  min-width: 5.5rem;
}

.facts .fact-body {
  padding: 0 0.2rem 1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.facts .fact-body p {
  max-width: 60ch;
}

@media (prefers-reduced-motion: no-preference) {
  .facts details[open] .fact-body {
    animation: fadeDown 240ms ease both;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- getting started ---------- */
/* This was a numbered onboarding track (.track, .is-you, .you-are-here) until 2026-08-05. It was
   removed with its markup rather than left as dead CSS, because a numbered sequence sitting in the
   stylesheet is an invitation to describe a sequence — and the reason it went is that the sequence
   it described did not exist. Access is by request; the block is now a sentence plus a .mail. */

.track-intro {
  margin: 1.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.track-intro + .mail {
  margin-top: 1.25rem;
}

.disclaimer {
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 74ch;
}

/* ---------- legal documents ---------- */

.doc {
  padding: 3.5rem 0 4.5rem;
}

.doc h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.doc h2 {
  font-size: 1.2rem;
  margin: 2.75rem 0 0.75rem;
}

.doc p,
.doc li {
  color: var(--ink);
}

.doc .lede {
  margin-top: 0.75rem;
}

.doc-meta {
  font-family: var(--font-mono);
  color: var(--ink-3);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  margin-bottom: 2.25rem;
}

.doc ul,
.doc ol {
  max-width: 62ch;
  padding-left: 1.2rem;
}

.doc li {
  margin-bottom: 0.5rem;
}

/* Annexes: obligations belonging to a KIND of product, set apart from the company terms above so
   sections 1-7 read as Nelzn LLC's. The rule and inset are doing the structural work an annex needs —
   a reader must be able to see where the universal terms stop. Deliberately no accent colour: this is
   a legal boundary, not a callout. */

.annex {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 2px solid var(--line-strong);
}

.annex > h2 {
  margin-top: 0;
}

.annex-scope {
  padding: 0.9rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* ---------- footer: closing contact and site meta in one block ---------- */

.site-footer {
  background:
    radial-gradient(48rem 22rem at 50% 0%, var(--glow), transparent 68%),
    var(--ground-2);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.site-footer > .wrap {
  padding-top: 4.5rem;
  padding-bottom: 2.25rem;
}

.footer-contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-contact .label {
  margin-bottom: 0.9rem;
}

.footer-contact h2 {
  margin: 0 0 0.5rem;
}

.footer-contact p {
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0;
}

.footer-mail {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  letter-spacing: -0.025em;
  color: var(--accent);
  border-bottom: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 0.15rem;
  transition: border-color 200ms ease;
}

.footer-mail:hover {
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.footer-phone {
  margin-top: 0.85rem !important;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2.25rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-meta p {
  margin: 0 0 0.35rem;
  max-width: none;
}

.footer-meta p:last-child {
  margin-bottom: 0;
}

.footer-meta .label {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-meta address {
  color: var(--ink-2);
  line-height: 1.6;
}

.footer-meta .cell-text {
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 0.875rem;
}

.footer-meta a[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

.descriptor {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.55;
  max-width: none;
}

/* ---------- scroll-driven reveal ---------- */
/* Guarded twice: @supports so unsupporting browsers never get the `from { opacity: 0 }` state and
   lose the content outright, and the motion query below. */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 8% entry 70%;
    }
  }
}

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

/* ---------- reduced motion ---------- */
/* Every loop FREEZES at a legible state rather than vanishing — the console panels are absolutely
   positioned and start at opacity 0, so simply killing the animation would leave an empty box. */

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

  .seq-dial,
  .seq-done {
    opacity: 0;
  }

  .seq-live,
  .seq-outcome {
    opacity: 1;
    transform: none;
  }

  .wave i {
    transform: scaleY(0.6);
  }
}
