:root {
  color-scheme: dark;
  --night: #191613;
  --night-sheet: #241f1b;
  --night-elevated: #312a24;
  --night-inset: #1d1916;
  --cream: #f6f0e4;
  --cream-muted: #b9aea0;
  --ember: #d46d46;
  --ember-hover: #e27c55;
  --iris: #7b68a6;
  --iris-light: #b19cd9;
  --forest: #2d4f3e;
  --forest-tint: #203429;
  --forest-text: #6bbf92;
  --gold: #d4a359;
  --rule: #3d342c;
  --serif: "Iowan Old Style", "New York", Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 1.04rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

.shell { width: min(80rem, 90%); margin-inline: auto; }

a {
  color: var(--forest-text);
  text-underline-offset: .24em;
  text-decoration-thickness: .075em;
}
a:hover { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--iris-light); outline-offset: 4px; border-radius: .15rem; }
::selection { color: var(--night); background: var(--gold); }

.skip {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 10;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  background: var(--night-elevated);
  color: var(--cream);
  border: 1px solid var(--rule);
}
.skip:focus { transform: none; }

.mast { border-bottom: 1px solid var(--rule); background: var(--night); }
.bar, .bar nav, .wordmark, .actions, .plate figcaption { display: flex; align-items: center; }
.bar { min-height: 5rem; justify-content: space-between; gap: 1rem; }
.bar nav { gap: clamp(.75rem, 2.2vw, 1.85rem); flex-wrap: wrap; }
.bar a { color: var(--cream); text-decoration: none; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .93rem; font-weight: 600; color: var(--cream-muted); }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--cream); text-decoration: underline; text-decoration-color: var(--ember); }

.wordmark { gap: .42rem; font: 700 clamp(1.3rem, 3vw, 1.8rem)/1 var(--serif); letter-spacing: -.04em; color: var(--cream); }
.mark { color: var(--ember); font-size: 1.65em; line-height: .7; font-weight: 400; }

h1, h2, h3, blockquote, .price, .demo-clock {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.032em;
  color: var(--cream);
}
h1 { font-size: clamp(2.85rem, 5.8vw, 5.15rem); }
h2 { font-size: clamp(2.05rem, 3.8vw, 3.45rem); }
h3 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.16; }
em { color: var(--gold); font-style: italic; }

.kicker, .contents > p {
  font: 700 .75rem/1.4 var(--sans);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--forest-text);
}
.kicker { margin: 0 0 1.15rem; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  padding-block: clamp(2.6rem, 5.2vw, 4.8rem);
}
.hero h1 em { display: block; }
.lead {
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
  line-height: 1.58;
  color: var(--cream-muted);
  max-width: 42ch;
  margin: 1.25rem 0 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  color: var(--cream-muted);
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
}
.hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest-text);
  flex: none;
}

.actions { gap: 1.35rem; flex-wrap: wrap; margin-top: 1.9rem; }
.actions a { font-weight: 600; font-size: .97rem; min-height: 44px; display: inline-flex; align-items: center; }
.button {
  background: var(--ember);
  padding: .72rem 1.25rem;
  border-radius: .35rem;
  text-decoration: none;
  font-weight: 700;
}
a.button, a.button:hover { color: var(--night); }
.button:hover { background: var(--ember-hover); }
.button span { margin-left: .65rem; }

figure { margin: 0; }

/* <10s Silent Auto-Playing Animated Hero Demo (9s Pure CSS/SVG Loop) */
.demo-stage {
  background: var(--night-sheet);
  border: 1px solid var(--rule);
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .42);
}

.demo-chrome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .8rem 1.1rem;
  background: var(--night-inset);
  border-bottom: 1px solid var(--rule);
}

.demo-title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  animation: lt-pulse 1.8s ease-in-out infinite;
}

.demo-steps {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.step-pill {
  font-size: .74rem;
  font-weight: 600;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: var(--night-sheet);
  color: var(--cream-muted);
  border: 1px solid var(--rule);
}
.step-pill-1 { animation: lt-pill-1 9s linear infinite; }
.step-pill-2 { animation: lt-pill-2 9s linear infinite; }
.step-pill-3 { animation: lt-pill-3 9s linear infinite; }

.demo-pause {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 24px;
  color: var(--cream);
  font-size: .875rem;
  cursor: pointer;
}
.demo-pause input {
  margin: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--ember);
}
.demo-pause:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.demo-stage:has(#pause-demo:checked) * { animation-play-state: paused; }

.demo-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(212, 109, 70, .18);
  overflow: hidden;
}
.demo-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ember);
  transform-origin: left center;
  animation: lt-sweep 9s linear infinite;
}

.demo-scenes {
  display: grid;
  padding: clamp(1.15rem, 2.5vw, 1.75rem);
  min-height: 21.5rem;
}

.demo-scene {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
}
.scene-1 { opacity: 1; visibility: visible; animation: lt-scene-1 9s linear infinite; }
.scene-2 { animation: lt-scene-2 9s linear infinite; }
.scene-3 { animation: lt-scene-3 9s linear infinite; }

.scene-eyebrow {
  margin: 0;
  font: 700 .72rem/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.scene-heading {
  margin: .3rem 0 0;
  font: 400 clamp(1.22rem, 1.8vw, 1.48rem)/1.22 var(--serif);
  color: var(--cream);
}

/* Scene 1: iPhone capture */
.capture-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.demo-clock {
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.capture-tag {
  font-size: .78rem;
  font-weight: 600;
  color: var(--cream-muted);
  background: var(--night-elevated);
  border: 1px solid var(--rule);
  padding: .24rem .62rem;
  border-radius: 999px;
}

.waveform-box {
  background: var(--night-inset);
  border: 1px solid var(--rule);
  border-radius: .55rem;
  padding: .85rem .9rem;
}
.waveform-svg {
  display: block;
  width: 100%;
  height: 54px;
}
.waveform-svg rect {
  fill: var(--ember);
  transform-box: fill-box;
  transform-origin: center;
  animation: lt-wave 1.5s ease-in-out infinite alternate;
}
.waveform-svg rect:nth-child(2n) { animation-duration: 1.2s; animation-delay: -.35s; }
.waveform-svg rect:nth-child(3n) { animation-duration: 1.75s; animation-delay: -.7s; }
.waveform-svg rect:nth-child(5n) { animation-duration: 1.35s; animation-delay: -.95s; }

.custody-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
  padding: .62rem .85rem;
  border-radius: .45rem;
  background: var(--forest-tint);
  border: 1px solid var(--forest);
  color: var(--forest-text);
  font-size: .82rem;
  font-weight: 600;
}
.custody-format {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--cream);
}

/* Scene 2: Spoken bookmark */
.cue-quote {
  margin: 0;
  padding: .9rem 1rem .9rem 1.05rem;
  background: var(--night-inset);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--iris);
  border-radius: 0 .5rem .5rem 0;
  font: 400 clamp(1.02rem, 1.35vw, 1.16rem)/1.48 var(--serif);
  color: var(--cream);
}
.cue-spoken {
  display: inline;
  color: var(--iris-light);
  font-style: italic;
}

.bookmark-card {
  padding: .7rem .85rem;
  background: var(--night-elevated);
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
.chip-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .25rem;
  color: var(--iris-light);
}
.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.chip-text {
  margin: 0;
  font-size: .86rem;
  line-height: 1.38;
  color: var(--cream);
}

/* Scene 3: Manual backup transfer */
.bridge-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .6rem .8rem;
  background: var(--night-inset);
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
.device-badge {
  font-size: .76rem;
  font-weight: 600;
  color: var(--cream);
  background: var(--night-elevated);
  border: 1px solid var(--rule);
  padding: .25rem .55rem;
  border-radius: .35rem;
  white-space: nowrap;
}
.backup-transfer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  min-width: 0;
}
.backup-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--forest-text);
  letter-spacing: .04em;
  text-align: center;
}
.backup-arrow {
  width: 100%;
  height: 12px;
  display: block;
}
.backup-line {
  stroke: var(--forest-text);
  stroke-width: 2;
  stroke-dasharray: 5 5;
  animation: lt-dash 1.2s linear infinite;
}

.mac-canvas {
  background: var(--night-inset);
  border: 1px solid var(--rule);
  border-radius: .55rem;
  overflow: hidden;
}
.mac-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .45rem .8rem;
  background: var(--night-elevated);
  border-bottom: 1px solid var(--rule);
  font-size: .74rem;
  color: var(--cream-muted);
}
.mac-body {
  padding: .8rem .95rem;
}
.mac-doc-title {
  margin: 0 0 .35rem;
  font: 600 1.02rem/1.25 var(--serif);
  color: var(--cream);
}
.mac-doc-prose {
  margin: 0;
  font: 400 .9rem/1.5 var(--serif);
  color: var(--cream-muted);
}
.mac-caret {
  display: inline-block;
  width: 2px;
  height: .95em;
  vertical-align: -.12em;
  margin-left: 2px;
  background: var(--ember);
  animation: lt-caret 1s steps(2, start) infinite;
}

.scene-foot {
  margin: 0;
  font-size: .8rem;
  color: var(--cream-muted);
}

.demo-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding: .85rem 1.15rem;
  background: var(--night-inset);
  border-top: 1px solid var(--rule);
  font-size: .8rem;
  line-height: 1.42;
  color: var(--cream-muted);
}
.demo-legend span strong {
  display: block;
  color: var(--cream);
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}

/* Keyframes for 9-second seamless loop */
@keyframes lt-sweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes lt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.86); }
}
@keyframes lt-wave {
  0% { transform: scaleY(.35); }
  100% { transform: scaleY(1); }
}
@keyframes lt-dash {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}
@keyframes lt-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes lt-scene-1 {
  0%, 29% { opacity: 1; visibility: visible; transform: translateY(0); }
  33.33%, 100% { opacity: 0; visibility: hidden; transform: translateY(-4px); }
}
@keyframes lt-scene-2 {
  0%, 33.33% { opacity: 0; visibility: hidden; transform: translateY(4px); }
  37%, 63% { opacity: 1; visibility: visible; transform: translateY(0); }
  66.67%, 100% { opacity: 0; visibility: hidden; transform: translateY(-4px); }
}
@keyframes lt-scene-3 {
  0%, 66.67% { opacity: 0; visibility: hidden; transform: translateY(4px); }
  71%, 96% { opacity: 1; visibility: visible; transform: translateY(0); }
  100% { opacity: 0; visibility: hidden; transform: translateY(-4px); }
}
@keyframes lt-pill-1 {
  0%, 32% { background: var(--night-elevated); color: var(--cream); border-color: var(--ember); }
  33%, 99% { background: var(--night-sheet); color: var(--cream-muted); border-color: var(--rule); }
  100% { background: var(--night-elevated); color: var(--cream); border-color: var(--ember); }
}
@keyframes lt-pill-2 {
  0%, 32% { background: var(--night-sheet); color: var(--cream-muted); border-color: var(--rule); }
  33%, 66% { background: var(--night-elevated); color: var(--cream); border-color: var(--iris-light); }
  67%, 100% { background: var(--night-sheet); color: var(--cream-muted); border-color: var(--rule); }
}
@keyframes lt-pill-3 {
  0%, 66% { background: var(--night-sheet); color: var(--cream-muted); border-color: var(--rule); }
  67%, 99% { background: var(--night-elevated); color: var(--cream); border-color: var(--forest-text); }
  100% { background: var(--night-sheet); color: var(--cream-muted); border-color: var(--rule); }
}

/* Comparison & Moats Section */
.compare {
  background: var(--night-sheet);
  border-block: 1px solid var(--rule);
  padding-block: clamp(3.2rem, 6vw, 5.8rem);
}
.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section-head .lead { max-width: 54ch; }

.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.compare-card {
  display: flex;
  flex-direction: column;
  gap: .95rem;
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  background: var(--night);
  border: 1px solid var(--rule);
  border-radius: .65rem;
}
.compare-versus {
  margin: 0;
  font: 700 .74rem/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.compare-card h3 { font-size: clamp(1.38rem, 1.85vw, 1.7rem); }
.compare-dl { margin: 0; display: grid; gap: .75rem; }
.compare-dl dt {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cream-muted);
}
.compare-dl dt.ours { color: var(--forest-text); }
.compare-dl dd {
  margin: .2rem 0 0;
  font-size: .94rem;
  line-height: 1.56;
  color: var(--cream);
}

.moats-head {
  margin: clamp(2.6rem, 4.5vw, 3.6rem) 0 1.4rem;
  padding-top: clamp(2rem, 3.8vw, 2.8rem);
  border-top: 1px solid var(--rule);
}
.moats-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }

.moat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.moat-card {
  padding: 1.35rem 1.5rem;
  background: var(--night-elevated);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--forest-text);
  border-radius: 0 .55rem .55rem 0;
}
.moat-card.moat-iris { border-left-color: var(--iris-light); }
.moat-card.moat-gold { border-left-color: var(--gold); }
.moat-card h4 {
  margin: 0 0 .45rem;
  font: 600 1.12rem/1.3 var(--serif);
  color: var(--cream);
}
.moat-card p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.58;
  color: var(--cream-muted);
}
.moat-card strong { color: var(--cream); }

/* Inside the Journal & Linocut Plate */
.journal {
  background: var(--night);
  padding-block: clamp(3.2rem, 6vw, 5.8rem);
}
.journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}
.journal-grid h2 { max-width: 15ch; }
.journal-grid p:not(.kicker) { max-width: 52ch; color: var(--cream-muted); }

.journal-visuals { display: grid; gap: 1.5rem; }
.plate {
  background: var(--night-sheet);
  padding: .85rem;
  border: 1px solid var(--rule);
  border-radius: .65rem;
}
.plate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .35rem;
  border: 1px solid var(--rule);
}
.plate figcaption {
  gap: .8rem;
  margin-top: .7rem;
  color: var(--cream-muted);
  font: italic .9rem/1.45 var(--serif);
}
.thread { flex: 1; border-top: 1px solid var(--rule); }

.excerpt {
  padding: clamp(1.5rem, 3.2vw, 2.6rem);
  background: var(--night-sheet);
  border: 1px solid var(--rule);
  border-radius: .65rem;
}
.excerpt figcaption {
  color: var(--cream-muted);
  font: italic 1rem var(--serif);
  border-bottom: 1px solid var(--rule);
  padding-bottom: .75rem;
}
blockquote {
  margin-block: 1.25rem;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.3;
}
.cue {
  border-left: 3px solid var(--iris);
  padding-left: .75rem;
  color: var(--iris-light);
  font-size: .88rem;
  margin-bottom: 0;
}

/* Plans */
.plans {
  padding-block: clamp(3.2rem, 6vw, 5.8rem);
  border-top: 1px solid var(--rule);
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  margin-top: 2.3rem;
}
.plan-grid section {
  padding: 1.65rem clamp(1.3rem, 2.5vw, 2rem);
  background: var(--night-sheet);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--forest-text);
  border-radius: .65rem;
}
.plan-grid section p { color: var(--cream-muted); }
.price { margin: .65rem 0 1.25rem; color: var(--gold); font-size: 2.15rem; }
.price span, .price small { font: .88rem var(--sans); letter-spacing: 0; color: var(--cream-muted); }
.language {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  margin: 2rem 0 0;
  color: var(--cream-muted);
}

/* Ownership */
.ownership {
  background: var(--night-sheet);
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 5.5vw, 5rem);
}
.ownership p { color: var(--cream-muted); }
.ownership strong { color: var(--cream); }
.narrow { max-width: 50rem; }
.ownership-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.15rem; }

/* Documentation pages (/privacy, /terms, /support) */
.doc-head {
  padding-block: clamp(2.6rem, 4.8vw, 4.8rem) 2rem;
  border-bottom: 1px solid var(--rule);
}
.doc-head .lead { max-width: 54ch; margin-bottom: 0; }
.reader {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 45rem);
  justify-content: start;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-block: 2.6rem 5rem;
}
.contents { align-self: start; display: grid; justify-items: start; }
.contents > p { margin: .45rem 0 .65rem; }
.contents a { padding-block: .38rem; min-height: 44px; display: inline-flex; align-items: center; }

.prose section + section { border-top: 1px solid var(--rule); margin-top: 2.3rem; padding-top: 2.2rem; }
.prose h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.14; }
.prose p, .prose dd { max-width: 68ch; color: var(--cream-muted); }
.prose strong { color: var(--cream); }
.prose p:last-child { margin-bottom: 0; }
dt { font-weight: 700; color: var(--forest-text); margin-top: 1.15rem; }
dd { margin: .2rem 0 0; }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--night-elevated);
  color: var(--cream);
  padding: .1rem .32rem;
  border-radius: .25rem;
  overflow-wrap: anywhere;
}

footer { border-top: 1px solid var(--rule); background: var(--night); }
footer .bar { min-height: 5.5rem; }

section[id], dd[id] { scroll-margin-top: 1.25rem; }

/* Reduced Motion: Clean 3-step static storyboard with zero overlap or animation */
@media (prefers-reduced-motion: reduce) {
  .demo-stage * { animation: none !important; }
  .demo-pause { display: none; }
  .demo-progress-bar { transform: scaleX(1); }
  .demo-scenes {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }
  .demo-scene {
    grid-area: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
  }
  .demo-scene:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .step-pill {
    background: var(--night-elevated);
    color: var(--cream);
  }
}

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

@media (max-width: 50rem) {
  .hero, .journal-grid, .plan-grid, .moat-grid, .reader { grid-template-columns: 1fr; }
  .hero { gap: 2rem; }
  .hero h1 { max-width: 14ch; }
  .journal-grid, .plan-grid { gap: 2rem; }
  .reader { gap: 2.2rem; }
  .contents { border-bottom: 1px solid var(--rule); padding-bottom: 1rem; }
  .demo-scenes { min-height: 23rem; }
}

@media (max-width: 35rem) {
  .bar { align-items: flex-start; flex-direction: column; gap: 0; padding-block: .85rem .25rem; }
  .bar nav { gap: 1.15rem; }
  .hero { padding-top: 1.8rem; }
  .actions { gap: 1rem; }
  .demo-legend { grid-template-columns: 1fr; }
  .bridge-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .backup-transfer { width: 100%; }
  .demo-scenes { min-height: 27.5rem; }
}

@media print {
  :root {
    color-scheme: light;
    --night: #ffffff;
    --night-sheet: #ffffff;
    --night-elevated: #f5f5f5;
    --night-inset: #f5f5f5;
    --cream: #000000;
    --cream-muted: #222222;
    --forest-text: #111111;
    --gold: #111111;
    --iris-light: #111111;
    --rule: #cccccc;
  }
  body { background: #ffffff; color: #000000; font: 11pt/1.45 Georgia, serif; }
  .mast, footer, .skip, .contents, .actions, .demo-stage { display: none; }
  .shell { width: 100%; }
  .reader { display: block; padding: 0; }
  .doc-head { padding: 0 0 1rem; margin-bottom: 1rem; }
  h1 { font-size: 28pt; }
  .prose h2, h2 { font-size: 16pt; }
  h1, h2, h3, dt { break-after: avoid; }
  p, dd { orphans: 3; widows: 3; }
  .prose section + section { margin-top: 1rem; padding-top: 1rem; }
  a { color: inherit; }
  code { background: transparent; border: 1px solid #cccccc; }
}
