/* ==========================================================================
   Yellcano — marketing site
   Static CSS. No build step, no external stylesheets, no webfonts, no JS.

   Palette is the official brand sheet (assets/brand/), not a sample of the
   artwork: lava gradient spark #fbbf24 -> magma #f43f5e at 135deg, on char
   #0b0b0e, type in ash #f4f4f5, hairlines #3f3f46. The cyan/azure/violet
   spine this file used to carry belonged to the pre-rename logo and is gone —
   do not reintroduce a cool accent anywhere on this site.
   ========================================================================== */

:root {
  /* Ink */
  --bg:            #0B0B0E;   /* char */
  --bg-raise:      #121216;
  --surface:       rgba(255, 255, 255, 0.026);
  --surface-2:     rgba(255, 255, 255, 0.05);
  --line:          #26262B;
  --line-strong:   #3F3F46;   /* the brand hairline */

  /* Type */
  --text:          #F4F4F5;   /* ash */
  --text-soft:     #A8A8B2;
  --text-faint:    #79798A;

  /* Brand */
  --spark:         #FBBF24;
  --magma:         #F43F5E;
  --ash:           #F4F4F5;
  --char:          #0B0B0E;
  /* One accent. Everything that used to be cyan is spark; everything that was
     violet/azure is magma. Spark carries the small type (12:1 on char), magma
     carries the decoration (5:1) — that split is why links are spark. */
  --accent:        #FBBF24;

  --grad: linear-gradient(135deg, var(--spark) 0%, var(--magma) 100%);
  --grad-soft: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(244, 63, 94, 0.13));

  /* Geometry */
  --wrap: 1140px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI",
          Inter, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", "Segoe UI Mono",
          "Roboto Mono", Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 640; letter-spacing: -0.028em; line-height: 1.12; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
code {
  font-family: var(--mono);
  font-size: 0.87em;
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.16);
  color: #FCE3AE;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  word-break: break-word;
}

::selection { background: rgba(244, 63, 94, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------- atmosphere -- */

.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 460px at 12% -6%,  rgba(244, 63, 94, 0.30), transparent 62%),
    radial-gradient(700px 420px at 88% -2%,  rgba(251, 191, 36, 0.22),  transparent 60%),
    radial-gradient(900px 620px at 50% 108%, rgba(251, 191, 36, 0.075), transparent 65%);
}

.atmos::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(760px 520px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 520px at 50% 0%, #000 0%, transparent 78%);
}

/* ------------------------------------------------------------ scaffold -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  z-index: 60;
}
.skip:focus { left: 16px; top: 16px; }

/* ----------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 14, 0.74);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* The wordmark, per the brand sheet: lowercase, heavy, -0.03em tracking, with
   a lava dot over the counter of the final "o".

   Outfit 700 is the specified face and is deliberately NOT shipped. This site
   loads no webfont and its CSP is `default-src 'none'` with no font-src, so a
   webfont is not a stylesheet edit — serving Outfit means self-hosting a woff2
   under assets/ AND adding font-src 'self' to the CSP in the same change. See
   DEPLOY.md. Until then the wordmark is set in the system stack, which is why
   the weight is pushed to 800: the fallbacks are lighter than Outfit 700. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--text);
  flex: none;
}
.brand img { width: 28px; height: 28px; }

/* Flat magma, not the gradient: the mark rules put the gradient at 32px and
   above, and this dot is about 4px across. */
.brand-o { position: relative; }
.brand-o::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.26em;
  width: 0.23em;
  height: 0.23em;
  margin-left: -0.115em;
  border-radius: 50%;
  background: var(--magma);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.935rem;
  font-weight: 470;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--text); }

/* The action cluster. It carries the two links that reach the live product,
   so unlike .nav-links it must survive every breakpoint — on a phone it is
   the only thing in the header besides the mark. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: none;
}
.nav-links + .nav-actions { margin-left: 28px; }

/* --------------------------------------------------------------- bits -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 570;
  letter-spacing: -0.012em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.24) inset, 0 12px 34px -14px rgba(244, 63, 94, 0.9);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.28) inset, 0 18px 44px -14px rgba(244, 63, 94, 1); }

.btn-quiet {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
.btn-quiet:hover { background: var(--surface-2); border-color: var(--line-strong); }

/* Header-sized. Same two skins, tightened so both fit beside the mark on a
   360px phone without either being demoted to a text link. */
.btn-nav {
  padding: 9px 16px;
  font-size: 0.895rem;
  border-radius: 9px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-size: 0.815rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text-soft);
}
.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.16);
}

.eyebrow {
  font-size: 0.775rem;
  font-weight: 620;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.13rem;
  color: var(--text-soft);
  line-height: 1.68;
}

/* --------------------------------------------------------------- hero -- */

.hero { padding: 92px 0 64px; }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.042em;
  line-height: 1.03;
  margin: 24px 0 0;
  max-width: 15ch;
}

.hero .lead { margin-top: 24px; max-width: 60ch; font-size: 1.19rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-faint);
}

/* ------------------------------------------------------------- mockup -- */

.stage {
  margin: 64px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    var(--bg-raise);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--text-faint);
  letter-spacing: 0.01em;
}
/* ERUPTING — the brand's on-stream live state, in the one place on this site
   where something is depicted as being on air. It is a STATE, which is why it
   is not stamped on a call-to-action button: a marketing badge that says
   ERUPTING while nothing is erupting is exactly the gimmick the brand sheet's
   own definition rules out. */
.stage-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #FFFFFF;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.68rem;
  box-shadow: 0 6px 18px -8px rgba(244, 63, 94, 0.85);
}
/* The mark, drawn in CSS rather than fetched: a 7px volcano silhouette. The
   crater smile is deliberately absent — the mark rules drop it below 24px. */
.stage-bar .live i {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 8px solid #FFFFFF;
  border-radius: 1px;
  font-style: normal;
}
/* min-width:0 is what lets a flex item shrink below its content; without it
   the address pushes out of the bar on a narrow phone instead of truncating. */
.stage-bar .path {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stage-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  min-height: 330px;
}

.stage-scene {
  position: relative;
  padding: 26px;
  background:
    radial-gradient(520px 300px at 25% 15%, rgba(244, 63, 94, 0.2), transparent 70%),
    radial-gradient(520px 320px at 85% 90%, rgba(251, 191, 36, 0.16), transparent 70%),
    #0A0A10;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.alert {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-md);
  background: rgba(10, 10, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 15px 17px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 1);
}
.alert .orb {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad);
  flex: none;
  box-shadow: 0 0 22px -4px rgba(0, 180, 255, 0.7);
}
.alert-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-faint);
  margin-bottom: 4px;
}
.alert-meta strong { color: var(--text); font-weight: 600; font-size: 0.83rem; }
.alert-meta .tag {
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: var(--spark);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.alert p { font-size: 0.95rem; color: #DDE1EC; }

.wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
  margin-top: 10px;
}
.wave span {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--magma));
  animation: pulse 1.25s ease-in-out infinite;
  height: 30%;
}
.wave span:nth-child(1)  { animation-delay: 0.00s; height: 35%; }
.wave span:nth-child(2)  { animation-delay: 0.07s; height: 62%; }
.wave span:nth-child(3)  { animation-delay: 0.14s; height: 90%; }
.wave span:nth-child(4)  { animation-delay: 0.21s; height: 48%; }
.wave span:nth-child(5)  { animation-delay: 0.28s; height: 74%; }
.wave span:nth-child(6)  { animation-delay: 0.35s; height: 32%; }
.wave span:nth-child(7)  { animation-delay: 0.42s; height: 84%; }
.wave span:nth-child(8)  { animation-delay: 0.49s; height: 55%; }
.wave span:nth-child(9)  { animation-delay: 0.56s; height: 68%; }
.wave span:nth-child(10) { animation-delay: 0.63s; height: 40%; }
.wave span:nth-child(11) { animation-delay: 0.70s; height: 78%; }
.wave span:nth-child(12) { animation-delay: 0.77s; height: 36%; }

@keyframes pulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50%      { transform: scaleY(1);    opacity: 1; }
}

.stage-side {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.012);
}
.side-title {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 620;
}
.queue { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.queue li {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 10px 12px;
  font-size: 0.87rem;
  color: var(--text-soft);
}
.queue li b { color: var(--text); font-weight: 570; }
.side-title.gap { margin-top: 8px; }
.side-note { font-size: 0.87rem; color: var(--text-faint); margin: 0; }
.queue .kind {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: auto;
  flex: none;
}
.queue .kind.on { color: var(--accent); border-color: rgba(251, 191, 36, 0.3); }

/* ------------------------------------------------------------ marquee -- */

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding: 30px 0 6px;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.platforms b { color: var(--text-soft); font-weight: 560; }

/* ------------------------------------------------------------ section -- */

.section { padding: 96px 0; }
.section-head { max-width: 660px; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  margin: 14px 0 0;
  letter-spacing: -0.034em;
}
.section-head .lead { margin-top: 18px; }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* -------------------------------------------------------------- cards -- */

.grid {
  display: grid;
  gap: 18px;
  margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 26px 24px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.55;
}
.card h3 { font-size: 1.09rem; margin-bottom: 10px; letter-spacing: -0.025em; }
.card p { color: var(--text-soft); font-size: 0.96rem; }
.card .kicker {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.card-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 16px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--magma);
}

/* -------------------------------------------------------------- steps -- */

.steps {
  display: grid;
  gap: 20px;
  margin-top: 52px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.03rem; margin-bottom: 9px; }
.step p { color: var(--text-soft); font-size: 0.94rem; }

/* Two tracks in one section: the creator's setup, then the viewer's arrival.
   Each track restarts its own 01/02/03 because .steps resets the counter. */
.track {
  margin-top: 48px;
  font-size: 0.795rem;
  font-weight: 620;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.track + .steps { margin-top: 22px; }
.track.gap { margin-top: 58px; }

.track-note {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--text-faint);
}
.track-note a { color: var(--text-soft); text-underline-offset: 3px; }
.track-note a:hover { color: var(--text); }

/* --------------------------------------------------------- split pane -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 8px;
}
.split.spaced { margin-top: 48px; }
.callout.spaced { margin-top: 36px; }
.panel .after { margin-top: 16px; }
.section-head .after { margin-top: 20px; font-size: 0.945rem; }

/* Required attribution that is not a warning. It is fine print, deliberately:
   the substance sits in the section prose above it and in privacy.html, and a
   bordered callout on the landing page made a routine notice read as an alarm. */
.fineprint {
  margin-top: 34px;
  max-width: 760px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-faint);
}
.fineprint a { color: var(--text-soft); text-underline-offset: 3px; }
.fineprint a:hover { color: var(--text); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    linear-gradient(160deg, rgba(244, 63, 94, 0.07), rgba(251, 191, 36, 0.03) 60%, transparent),
    var(--surface);
  padding: 28px 26px;
}
.panel h3 { font-size: 1.05rem; margin-bottom: 12px; }
.panel p + p { margin-top: 12px; }
.panel p, .panel li { color: var(--text-soft); font-size: 0.95rem; }
.panel ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.panel ul li { padding-left: 18px; position: relative; }
.panel ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--grad);
}
.panel a { color: var(--accent); text-decoration-color: rgba(251, 191, 36, 0.35); text-underline-offset: 3px; }
.panel a:hover { text-decoration-color: var(--accent); }

/* ----------------------------------------------------------- cta band -- */

.cta {
  margin: 24px 0 100px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 58px 44px;
  text-align: center;
  background:
    radial-gradient(560px 260px at 50% 0%, rgba(244, 63, 94, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--bg-raise);
}
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -0.033em; }
.cta p { margin: 16px auto 0; max-width: 54ch; color: var(--text-soft); }
.cta .hero-actions { justify-content: center; margin-top: 30px; }

/* ------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 60px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  font-size: 0.92rem;
}
.footer-links a { color: var(--text-soft); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-fine {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* -------------------------------------------------------------- legal -- */

.legal-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  margin-top: 16px;
  letter-spacing: -0.036em;
}
.legal-hero .lead { margin-top: 18px; max-width: 66ch; }
.legal-meta {
  margin-top: 22px;
  font-size: 0.87rem;
  color: var(--text-faint);
  font-family: var(--mono);
}

.legal-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 64px;
  padding: 56px 0 96px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 20px 18px;
}
.toc h2 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.toc ol { list-style: none; counter-reset: toc; display: flex; flex-direction: column; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.855rem;
  line-height: 1.4;
  padding: 5px 6px 5px 0;
  border-radius: 5px;
}
.toc a::before {
  content: counter(toc) ".";
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.76rem;
  margin-right: 7px;
}
.toc a:hover { color: var(--accent); }

.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.35rem;
  margin: 52px 0 16px;
  letter-spacing: -0.028em;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.02rem;
  margin: 30px 0 12px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.prose p { margin: 14px 0; color: var(--text-soft); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: rgba(251, 191, 36, 0.35); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose ul, .prose ol { margin: 14px 0 14px 0; padding-left: 22px; color: var(--text-soft); }
.prose li { margin: 8px 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 20px;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--magma);
}
.prose ol > li::marker { color: var(--text-faint); }

.callout {
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-left-width: 2px;
  border-left-color: var(--accent);
  border-radius: var(--r-sm);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.055), rgba(244, 63, 94, 0.045));
  padding: 18px 20px;
  margin: 22px 0;
}
.callout p { margin: 0; color: var(--text); }
.callout p + p { margin-top: 10px; }

/* -------------------------------------------------------- responsive -- */

@media (max-width: 940px) {
  .stage-body { grid-template-columns: 1fr; }
  .stage-scene { border-right: 0; border-bottom: 1px solid var(--line); min-height: 250px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
  .toc { position: static; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav-inner { height: 62px; gap: 16px; }
  .nav-links { display: none; }
  .nav-links + .nav-actions { margin-left: auto; }
  .hero { padding: 62px 0 44px; }
  .hero h1 { max-width: 100%; }
  .section { padding: 68px 0; }
  .stage { margin-top: 44px; }
  .cta { padding: 44px 24px; margin-bottom: 72px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn { padding: 12px 18px; }
}

/* The stage bar carries three things and a phone fits two. The resolution is
   the one that goes: the badge is the state and the address is the product's
   URL shape, which is the thing this page is actually pointing at. */
@media (max-width: 560px) {
  .stage-bar .stage-meta { display: none; }
  .stage-bar .path { font-size: 0.68rem; }
}

/* Below this the header runs out of room for the wordmark AND both actions.
   The actions win: the mark still says who this is, and the two links are the
   whole point of the header. */
@media (max-width: 460px) {
  .nav .brand-word { display: none; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .btn-nav { padding: 9px 13px; font-size: 0.855rem; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
