/* railu.dev: the docs' room with the website's steel.
   Tokens from the product repo's docs-site/src/styles/tokens.css (the brand guide, hub.railu.ai/guide/):
   Board Black page, Chalk text, Soft White headings, one Signal Yellow action, Rail Jade for links and "verified",
   Deep Jade bands, Barlow titles, Inter body, JetBrains Mono for data. No gradients on components, no shadows. */
:root {
  --bg: #121417;            /* Board Black */
  --surface: #1e1f24;       /* Charcoal */
  --surface-2: #2a2d31;     /* Soft Charcoal */
  --bone: #edeae1;          /* Chalk, also the light band */
  --heading: #f7f7fa;       /* Soft White */
  --text: #edeae1;
  --muted: #b7b1a6;         /* Soft Grey */
  --muted-2: #8a857c;
  --line: rgba(237, 234, 225, 0.12);
  --line-dark: rgba(18, 20, 23, 0.14);
  --yellow: #f2c12e;        /* Signal Yellow: the one action per screen */
  --jade: #1fd1b2;          /* Rail Jade: links, lines, verified */
  --deep: #0e3a35;          /* Deep Jade: bands */
  --flare: #ff795c;         /* Flare Red: alerts only */
  --ink: #121417;
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav: 3.5rem;            /* the docs' nav height */
  --wrap: 1360px;
  --gutter: clamp(20px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--jade); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
img, svg { display: block; max-width: 100%; }
code, .mono { font-family: var(--mono); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; left: -9999px; }

/* ---- header: the website's (railu.ai): Deep Jade bar, the logo at 78x32, Barlow links, a ghost and a yellow button ---- */
.top { position: sticky; top: 0; z-index: 50; background: var(--deep); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--bone); font-family: var(--display); border-bottom: 1px solid transparent; }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.site-title { display: inline-flex; align-items: center; flex-shrink: 0; justify-self: start; }
.site-title img { display: block; width: 78px; height: 32px; }
.pnav { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 500; justify-self: center; }
.pnav a { position: relative; padding: 6px 10px; color: var(--muted); border-radius: 4px; }
.pnav a:hover { color: var(--bone); text-decoration: none; }
.nav-ctas { display: flex; align-items: center; gap: 12px; justify-self: end; }
.nav-ctas .ghost { border: 1px solid var(--bone); border-radius: 4px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--bone); }
.nav-ctas .ghost:hover { text-decoration: none; background: rgba(237,234,225,.08); }
.cta { background: var(--yellow); color: var(--ink); border-radius: 4px; padding: 11px 18px; font-size: 14px; font-weight: 600; letter-spacing: .3px; white-space: nowrap; }
.cta:hover { filter: brightness(.92); text-decoration: none; }
@media (max-width: 900px) { .top .wrap { grid-template-columns: 1fr auto; } .pnav { display: none; } .nav-ctas .ghost { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1rem; padding: 12px 18px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { filter: brightness(.92); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.light .btn-ghost { color: var(--ink); border-color: var(--line-dark); }
.light .btn-ghost:hover { border-color: var(--ink); }

/* ---- bands ---- */
.band { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.band.light { background: var(--bone); color: var(--ink); border-top: 0; }
.band.light .muted { color: #4a4d52; }
.band.light a { color: var(--deep); }
.band.charcoal { background: var(--surface); }
.band.deep { background: var(--deep); }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.light .eyebrow { color: #5c6066; }
h1, h2, h3 { font-family: var(--display); color: var(--heading); margin: 0; }
.light h1, .light h2, .light h3 { color: var(--ink); }
h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 500; line-height: .98; letter-spacing: -2.2px; }
h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -1.2px; max-width: 24ch; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 56ch; margin: 22px 0 0; }
.muted { color: var(--muted); }

/* ---- hero ---- */
.hero { padding: clamp(60px, 7vw, 104px) 0 clamp(48px, 6vw, 80px); background: var(--deep);
  background-image: radial-gradient(120% 90% at 92% 8%, rgba(242,193,46,.09), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(31,209,178,.07), transparent 60%); border-top: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lede { color: #c9d4d1; }
.doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.doors .btn-ghost { color: #f7f7fa; border-color: rgba(247,247,250,.28); }
.doors .btn-ghost:hover { border-color: #f7f7fa; }
.hero-note { margin: 18px 0 0; font-size: .9rem; color: #9fb3ae; }
.hero-note a { color: var(--jade); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* the terminal: one trade, the website's six lines */
.term { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-family: var(--mono); font-size: 14px; }
.term-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.term-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); display: inline-block; margin-right: 8px; animation: pulse 2s ease-in-out infinite; }
.term-log { margin: 14px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--ink); color: var(--heading); }
.term-row { display: grid; grid-template-columns: 4.8rem 6.2rem 1fr; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .4s ease; }
.term-row:last-child { border-bottom: 0; }
.term-row.in { opacity: 1; transform: none; }
.term-row .t { color: var(--muted-2); }
.term-row .k { color: var(--yellow); font-weight: 500; }
.term-row .k.ok { color: var(--jade); }
.term-row .v b { color: var(--heading); font-weight: 500; }
.term-row .v a { color: var(--jade); }
.term-foot { display: flex; justify-content: space-between; padding: 0 14px 12px; color: var(--muted-2); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---- cards ---- */
.grid { display: grid; gap: 16px; margin-top: 36px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 20px; color: var(--text); }
a.card:hover { text-decoration: none; border-color: var(--muted-2); }
.light .card { background: #f7f7fa; border-color: var(--line-dark); color: var(--ink); }
.light a.card:hover { border-color: var(--ink); }
.card .n { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--jade); }
.light .card .n { color: var(--deep); }
.card p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.light .card p { color: #4a4d52; }
.card .cmd { margin-top: auto; font-family: var(--mono); font-size: 12.5px; color: var(--heading); background: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; overflow-x: auto; white-space: nowrap; }
.light .card .cmd { background: var(--ink); color: var(--heading); }
.card .more { font-size: .9rem; color: var(--jade); margin-top: 6px; }
.light .card .more { color: var(--deep); }
.list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.light .list { border-color: var(--line-dark); }
.list li { border-bottom: 1px solid var(--line); }
.light .list li { border-color: var(--line-dark); }
.list li a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 10px 14px 4px; color: inherit; font-size: .97rem; border-radius: 6px; }
.list li a:hover { text-decoration: none; background: rgba(237,234,225,.05); }
.light .list li a:hover { background: rgba(18,20,23,.05); }
.list li b { font-weight: 600; color: var(--heading); }
.light .list li b { color: var(--ink); }
.list li span { color: var(--muted); display: block; font-size: .9rem; margin-top: 2px; }
.light .list li span { color: #4a4d52; }
.list .arr { width: 22px; height: 22px; flex-shrink: 0; color: var(--jade); background: no-repeat center / 22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231fd1b2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transition: transform .15s ease-out; }
.light .list .arr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3a35' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.list li a:hover .arr { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .list .arr { transition: none; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 10px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* ---- find it here: questions in four groups, a filter, the short link beside each ---- */
.find-box { display: block; margin-top: 26px; max-width: 560px; }
.find-box input { width: 100%; background: #f7f7fa; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 13px 16px; font: inherit; font-size: 1rem; color: var(--ink); }
.find-box input::placeholder { color: #8a857c; }
.find-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 10px; }
@media (max-width: 900px) { .find-groups { grid-template-columns: 1fr; } }
.find-group { padding-top: 28px; }
.find-group h3 { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #5c6066; }
.find-group .list { margin-top: 8px; }
.find-group .list li a { grid-template-columns: 1fr auto auto; }
.find-group .list li a code { font-size: 12px; color: var(--deep); background: #f7f7fa; border: 1px solid var(--line-dark); border-radius: 5px; padding: 4px 8px; white-space: nowrap; }
.find-group .cp { width: 30px; height: 30px; border: 1px solid var(--line-dark); border-radius: 6px; background: #f7f7fa no-repeat center / 15px 15px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121417' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E"); cursor: pointer; }
.find-group .cp:hover { border-color: var(--ink); }
.find-group .cp.done { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3a35' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E"); border-color: var(--deep); }
.find-group li[hidden], .find-group[hidden] { display: none; }
.find-none { margin-top: 24px; color: #4a4d52; }
@media (max-width: 560px) { .find-group .list li a { grid-template-columns: 1fr auto; } .find-group .list li a code { display: none; } }
.copy-hint { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* ---- proof ---- */
.receipt { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.7; overflow-x: auto; }
.receipt b { color: var(--heading); font-weight: 500; }
.receipt .ok { color: var(--jade); }
.receipt .y { color: var(--yellow); }

/* ---- videos slot ---- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } }
.video { aspect-ratio: 16 / 9; border: 1px dashed var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); background: var(--surface); }
.video .play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--heading); }
.video small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* ---- footer: the website's (railu.ai), Barlow 14px, the logo, four columns ---- */
footer.rf { background: var(--bg); color: var(--muted); font-family: var(--display); font-size: 14px; line-height: 1.5; border-top: 1px solid var(--line); }
footer.rf .wrap { padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 40px 32px; }
.rf-brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 14px; }
.rf-brand img { display: block; width: 78px; height: 32px; }
.rf-brand > span { max-width: 300px; }
.rf-mono, .rf-h { font-family: var(--mono); font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; }
.rf-h { letter-spacing: 2px; color: var(--text); }
.rf-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; }
footer.rf a { color: var(--muted); }
footer.rf a:hover { color: var(--heading); text-decoration: none; }
/* a link that leaves railu.dev carries the arrow-up-right, as an SVG (the glyph renders as an emoji on some devices) */
footer.rf a.ext::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 5px; vertical-align: -1px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") no-repeat center / contain; }

/* ---- the Story (ported from openreasonprotocol.org, Story.tsx; same grammar, our tokens) ---- */
.story { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 48px 48px 40px; min-height: clamp(520px, 72vh, 760px); margin: 36px 0 0; display: flex; flex-direction: column; justify-content: space-between; }
.story.is-accent { background: var(--yellow); border-color: var(--yellow); }
.story-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.story.is-accent .story-top { color: rgba(18,20,23,.6); }
.story-body { padding: 36px 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; flex: 1; }
.story-copy { animation: storyFade .85s cubic-bezier(.22,.72,.2,1); }
.story-text { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--heading); margin: 0; max-width: 20ch; }
.story-text b { color: var(--yellow); font-weight: 600; }
.story-text u { text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--jade); }
.story.is-accent .story-text, .story.is-accent .story-text b { color: var(--ink); }
.story.is-accent .story-text u { text-decoration-color: var(--ink); }
.story-sub { margin: 16px 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 46ch; }
.story.is-accent .story-sub { color: rgba(18,20,23,.72); }
.story-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.story-progress { flex: 1; height: 3px; background: var(--line); border-radius: 2px; cursor: pointer; overflow: hidden; }
.story-progress-fill { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: 2px; }
.story.is-accent .story-progress { background: rgba(18,20,23,.25); }
.story.is-accent .story-progress-fill { background: var(--ink); }
.story-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.story-tool { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius); cursor: pointer; }
.story-tool svg { width: 17px; height: 17px; }
.story-tool:hover { border-color: var(--muted); color: var(--heading); }
.story.is-accent .story-tool { border-color: rgba(18,20,23,.3); color: var(--ink); }
.story.is-accent .story-tool:hover { border-color: rgba(18,20,23,.6); }
.story-toast { position: absolute; bottom: 64px; right: 48px; background: var(--heading); color: var(--ink); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding: 9px 14px; border-radius: 6px; }
.story.is-accent .story-toast { background: var(--ink); color: var(--heading); }
.story.is-full { position: fixed; inset: 0; z-index: 3000; margin: 0; border-radius: 0; border: none; min-height: 100vh; padding: clamp(40px, 7vh, 72px) clamp(32px, 9vw, 180px); }
.story.is-full .story-text { font-size: clamp(2.4rem, 5.6vw, 5rem); max-width: 22ch; }
.story.is-full .story-sub { font-size: clamp(1.05rem, 1.8vw, 1.5rem); max-width: 42ch; margin-top: 22px; }
body:has(.story.is-full) { overflow: hidden; }
.story.is-embed { min-height: 100vh; margin: 0; border-radius: 0; border: none; padding: clamp(32px, 6vh, 72px) clamp(28px, 7vw, 96px); }
.story-mark { position: absolute; bottom: 18px; right: 20px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
@keyframes storyFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* the act motifs: the terminal log (discover, screen, serve), the dealbook (transact), the receipt seal (prove), the ledger (settle) */
.motif-wrap { display: flex; justify-content: center; align-items: center; }
.motif { width: 100%; max-width: 320px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); padding: 16px 18px; font-family: var(--mono); color: var(--muted); }
.story.is-accent .motif { border-color: rgba(18,20,23,.22); background: rgba(18,20,23,.06); color: rgba(18,20,23,.7); }
.motif-head { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.motif .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); display: inline-block; }
.motif-rows { display: flex; flex-direction: column; gap: 6px; }
.motif-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); font-size: 11px; opacity: 0; transform: translateY(8px); animation: rowIn .45s cubic-bezier(.22,.72,.2,1) forwards; }
.story.is-accent .motif-row { background: rgba(255,255,255,.55); border-color: rgba(18,20,23,.12); }
.motif-row b { color: var(--yellow); font-weight: 500; }
.motif-row em { font-style: normal; color: var(--jade); }
.motif-row.is-blocked em { color: var(--flare); }
.motif-row.is-mark { border-color: var(--yellow); }
.story.is-accent .motif-row b, .story.is-accent .motif-row em { color: var(--ink); }
.motif-foot { margin-top: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.motif-chip { display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--jade); border: 1px solid var(--jade); border-radius: 999px; padding: 4px 10px; }
.story.is-accent .motif-chip { color: var(--ink); border-color: rgba(18,20,23,.5); }
.motif-seal { display: flex; justify-content: center; padding: 8px 0 12px; }
.motif-seal svg { width: 128px; height: auto; }
.seal-hex { stroke: var(--heading); stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s cubic-bezier(.4,0,.2,1) forwards; }
.seal-ck { stroke: var(--jade); stroke-dasharray: 90; stroke-dashoffset: 90; animation: draw .5s ease .9s forwards; }
.story.is-accent .seal-hex { stroke: var(--ink); } .story.is-accent .seal-ck { stroke: var(--ink); }
@keyframes rowIn { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.story.is-full .motif { max-width: 400px; padding: 22px 24px; }
@media (max-width: 900px) { .story { padding: 28px 22px 24px; } .story-body { grid-template-columns: 1fr; } .motif-wrap { display: none; } .story-toast { right: 22px; } }
@media (prefers-reduced-motion: reduce) {
  .motif-row, .seal-hex, .seal-ck, .story-copy, .term-row { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .term-bar i { animation: none; }
}
/* no JS: the slides stack as a readable list */
.no-js .story-list { display: block; }
.story-list { display: none; }
.story-list ol { margin: 24px 0 0; padding-left: 1.2em; }
.story-list li { margin: 0 0 12px; }
.story-list li span { display: block; color: var(--muted); font-size: .95rem; }
