:root {
  --paper: #f2eee4;
  --paper-deep: #e8e1d3;
  --ink: #1c1b18;
  --ink-soft: #5f5b52;
  --line: rgba(28, 27, 24, 0.22);
  --line-strong: rgba(28, 27, 24, 0.54);
  --accent: #c33b24;
  --accent-dark: #b52e18;
  --acid: #dbe647;
  --acid-ink: #1c1b18;
  --panel-dark: #1c1b18;
  --panel-light: #f2eee4;
  --mint: #8bd6b2;
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(37, 31, 22, 0.12);
  --sidebar-width: 238px;
  --header-height: 70px;
  --max-width: 1440px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="dark"] {
  --paper: #191917;
  --paper-deep: #23231f;
  --ink: #f1eddf;
  --ink-soft: #aaa69b;
  --line: rgba(241, 237, 223, 0.18);
  --line-strong: rgba(241, 237, 223, 0.48);
  --accent: #ff7657;
  --white: #272621;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  transition: color 180ms ease, background-color 180ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.24;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-link {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.header-link:hover {
  color: var(--accent);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.system-status i {
  width: 7px;
  height: 7px;
  background: #36a76f;
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, #36a76f 18%, transparent);
}

.icon-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.icon-button:hover {
  transform: rotate(24deg);
  background: var(--paper-deep);
}

.sidebar {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  z-index: 10;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px 28px 28px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav a {
  position: relative;
  margin-left: -13px;
  padding: 8px 8px 8px 13px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--ink);
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.sidebar-footer {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.55;
}

.sidebar-footer p {
  margin: 0 0 14px;
}

.text-button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.manual-page main,
.site-footer {
  margin-left: var(--sidebar-width);
}

.manual-page main {
  padding-top: var(--header-height);
}

.hero,
.content-section,
.closing-section,
.danger-zone,
.site-footer {
  width: min(100%, calc(var(--max-width) - var(--sidebar-width)));
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) clamp(36px, 7vw, 108px);
  overflow: hidden;
}

.hero h1,
.alert-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero h1 em,
.alert-hero h1 em {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-intro strong {
  color: var(--ink);
}

.hero-actions,
.alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.button.primary {
  color: var(--paper);
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.identity-card {
  position: relative;
  padding: 15px;
  color: var(--acid-ink);
  background: var(--acid);
  border: 1px solid var(--acid-ink);
  box-shadow: 14px 14px 0 var(--acid-ink);
  transform: rotate(2.5deg);
}

.identity-card::after {
  content: attr(data-tag);
  position: absolute;
  top: 52%;
  right: -38px;
  padding: 5px 9px;
  color: var(--paper);
  background: var(--accent);
  border: 1px solid var(--acid-ink);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(90deg);
}

.identity-card-top {
  display: flex;
  justify-content: space-between;
  padding: 3px 2px 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
}

.portrait-placeholder {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--acid);
  background: var(--panel-dark);
}

.portrait-placeholder > span {
  position: relative;
  z-index: 2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9rem;
  font-style: italic;
  line-height: 1;
}

.portrait-placeholder svg {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.identity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--acid-ink);
}

.identity-stats div {
  padding: 0 8px;
  border-right: 1px solid var(--acid-ink);
}

.identity-stats div:first-child {
  padding-left: 0;
}

.identity-stats div:last-child {
  padding-right: 0;
  border-right: 0;
}

.identity-stats dt {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 800;
}

.identity-stats dd {
  margin: 1px 0 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.fine-print {
  margin: 10px 0 0;
  font-family: var(--font-mono);
  font-size: 0.54rem;
}

.ticker {
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  border-block: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ticker > div {
  width: max-content;
  padding: 11px 0;
  animation: ticker 28s linear infinite;
}

.ticker span,
.ticker i {
  margin-right: 28px;
}

.ticker i {
  color: var(--accent);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.content-section {
  padding: clamp(76px, 8vw, 124px) clamp(36px, 7vw, 108px);
  border-bottom: 1px solid var(--line);
}

.nav-loading {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
}

.manual-loading {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.manual-loading > span {
  width: 38px;
  height: 38px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: manual-spin 800ms linear infinite;
}

.manual-loading p {
  margin-top: 18px;
}

@keyframes manual-spin {
  to { transform: rotate(360deg); }
}

.manual-content-section .section-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.manual-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.manual-card {
  min-height: 210px;
  padding: clamp(26px, 4vw, 38px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.manual-card:hover {
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.manual-card h3 {
  margin: 0 0 18px;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.manual-card-body p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.manual-card-body p:last-child {
  margin-bottom: 0;
}

.manual-card-body strong {
  color: var(--ink);
}

.manual-card-body code,
.manual-markdown code {
  padding: 3px 6px;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78em;
}

.manual-intro {
  max-width: 850px;
  margin-bottom: 34px;
}

.manual-markdown {
  max-width: 940px;
}

.manual-markdown > p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.manual-markdown > p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.4;
}

.manual-markdown strong {
  color: var(--ink);
}

.manual-markdown ul {
  margin: 30px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.manual-markdown ul li {
  padding: 15px 4px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.manual-markdown ol {
  margin: 40px 0;
  padding: 0;
  list-style: none;
  counter-reset: manual-step;
  border-top: 1px solid var(--line-strong);
}

.manual-markdown ol li {
  position: relative;
  min-height: 78px;
  padding: 24px 10px 24px 76px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  counter-increment: manual-step;
}

.manual-markdown ol li::before {
  content: counter(manual-step, decimal-leading-zero);
  position: absolute;
  top: 26px;
  left: 4px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.manual-markdown pre {
  margin: 38px 0;
  padding: clamp(24px, 4vw, 42px);
  overflow-x: auto;
  color: var(--panel-light);
  background: var(--panel-dark);
  border: 1px solid var(--panel-dark);
  box-shadow: 8px 8px 0 var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  line-height: 1.75;
}

.manual-markdown pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: inherit;
}

.manual-markdown blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  color: var(--acid-ink);
  background: var(--acid);
  border: 1px solid var(--acid-ink);
  transform: rotate(-0.3deg);
}

.manual-markdown blockquote p,
.manual-markdown > blockquote p:first-child {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-style: italic;
  line-height: 1.55;
}

.manual-load-error {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(40px, 8vw, 108px);
}

.manual-load-error h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.manual-load-error > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 70px);
}

.section-number {
  margin: 5px 0 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.section-heading h2,
.closing-section h2,
.danger-zone h2,
.truth-card h2,
.what-now h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.quick-card {
  position: relative;
  min-height: 215px;
  padding: 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transition: background 180ms ease, transform 180ms ease;
}

.quick-card:hover {
  z-index: 1;
  background: var(--white);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-icon {
  position: absolute;
  top: 24px;
  right: 26px;
  color: var(--accent);
  font-size: 1.3rem;
}

.quick-card h3,
.translation-table h3,
.feedback-card h3,
.protocol h3 {
  margin: 42px 0 8px;
  font-size: 1.14rem;
  letter-spacing: -0.03em;
}

.quick-card p,
.translation-table p,
.feedback-card p,
.protocol p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.lead {
  margin: 0 0 30px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.spec-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.spec-list strong {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.spec-list span {
  color: var(--ink-soft);
}

.request-example {
  margin: 0;
  border: 1px solid var(--panel-dark);
  background: var(--panel-dark);
  box-shadow: 10px 10px 0 var(--accent);
}

.request-example figcaption,
.terminal-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  color: var(--panel-light);
  border-bottom: 1px solid rgba(242, 238, 228, 0.22);
  font-family: var(--font-mono);
  font-size: 0.64rem;
}

.window-dots {
  letter-spacing: 3px;
  opacity: 0.55;
}

.request-example pre {
  margin: 0;
  padding: clamp(24px, 4vw, 44px);
  overflow-x: auto;
  color: var(--panel-light);
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 1.2vw, 0.9rem);
  line-height: 1.8;
}

.code-muted {
  color: rgba(242, 238, 228, 0.48);
}

.code-accent {
  color: var(--acid);
}

.request-example blockquote {
  margin: 0;
  padding: 18px 28px;
  color: var(--acid-ink);
  background: var(--acid);
  border-top: 1px solid var(--acid-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-style: italic;
}

.translation-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-strong);
}

.translation-table article {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 245px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
}

.translation-table article:nth-child(odd) {
  padding-left: 0;
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.translation-table article:nth-child(even) {
  padding-left: 48px;
}

.translation-table .signal,
.translation-table .translation {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.translation-table h3 {
  margin: 8px 0 32px;
  font-size: 1.35rem;
}

.translation-table .translation {
  align-self: end;
  margin-bottom: 7px;
  color: var(--accent);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feedback-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--ink);
}

.do-card {
  background: var(--mint);
  color: #17241d;
}

.avoid-card {
  background: var(--paper-deep);
}

.feedback-card .feedback-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.feedback-label span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.feedback-card h3 {
  margin: 42px 0 14px;
  color: inherit;
  font-size: 1.45rem;
}

.feedback-card > p:nth-of-type(2) {
  color: inherit;
  opacity: 0.78;
}

.formula {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 34px;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 800;
}

.formula span {
  padding: 5px 7px;
  border: 1px solid currentColor;
}

.note-card {
  position: relative;
  margin-top: 28px;
  padding: 28px 32px 28px 96px;
  border: 1px solid var(--line-strong);
}

.note-card p {
  margin: 0;
}

.note-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 900;
  writing-mode: vertical-rl;
}

.narrow {
  max-width: 700px;
}

.protocol {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.protocol li {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.protocol h3 {
  margin: 0 0 6px;
}

.permission-slip {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  padding: 26px 32px;
  color: var(--acid-ink);
  background: var(--acid);
  border: 1px solid var(--acid-ink);
  transform: rotate(-0.5deg);
}

.permission-slip > span {
  font-size: 1.5rem;
}

.permission-slip p {
  margin: 0;
}

.diagnostic-panel {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  border: 1px solid var(--ink);
}

.battery-visual {
  min-height: 390px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 40px;
  color: var(--paper);
  background: var(--ink);
}

.battery-shell {
  position: relative;
  width: 88px;
  height: 170px;
  display: flex;
  flex-direction: column-reverse;
  gap: 7px;
  padding: 10px;
  border: 3px solid var(--paper);
  border-radius: 8px;
}

.battery-shell::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  width: 28px;
  height: 8px;
  background: var(--paper);
  border-radius: 3px 3px 0 0;
}

.battery-shell span {
  height: 29px;
  background: var(--accent);
  animation: battery 3.6s ease-in-out infinite;
}

.battery-shell span:nth-child(2) { animation-delay: 0.15s; }
.battery-shell span:nth-child(3) { animation-delay: 0.3s; }
.battery-shell span:nth-child(4) { animation-delay: 0.45s; }

@keyframes battery {
  0%, 18%, 100% { opacity: 1; }
  55%, 75% { opacity: 0.12; }
}

.battery-visual p {
  margin: 32px 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.diagnostics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.diagnostics > div {
  min-height: 195px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.diagnostics > div:nth-child(even) { border-right: 0; }
.diagnostics > div:nth-last-child(-n + 2) { border-bottom: 0; }

.diagnostics p {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostics strong {
  font-size: 0.9rem;
  line-height: 1.5;
}

.closing-section {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 60px;
  align-items: center;
  padding: clamp(76px, 8vw, 124px) clamp(36px, 7vw, 108px);
  border-bottom: 1px solid var(--line);
}

.promotion-teaser {
  width: min(100%, calc(var(--max-width) - var(--sidebar-width)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 50px;
  align-items: end;
  padding: clamp(68px, 7vw, 102px) clamp(36px, 7vw, 108px);
  color: var(--acid-ink);
  background: var(--acid);
  border-bottom: 1px solid var(--acid-ink);
}

.promotion-teaser h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.promotion-teaser p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(28, 27, 24, 0.72);
}

.teaser-button {
  color: var(--panel-light);
  background: var(--panel-dark);
  border-color: var(--panel-dark);
}

.teaser-button:hover {
  box-shadow: 4px 4px 0 var(--accent);
}

.closing-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.stamp {
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 3px double var(--accent);
  border-radius: 50%;
  font-family: var(--font-mono);
  line-height: 1.15;
  transform: rotate(-9deg);
}

.stamp span {
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.stamp strong {
  margin: 7px 0;
  font-size: 1rem;
}

.danger-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 70px;
  align-items: end;
  padding: clamp(68px, 7vw, 102px) clamp(36px, 7vw, 108px);
  color: #f7eee4;
  background: #b33121;
}

.danger-zone h2 {
  font-size: clamp(2.1rem, 3.7vw, 3.8rem);
}

.danger-zone p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(247, 238, 228, 0.72);
}

.danger-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(247, 238, 228, 0.7);
  border-bottom: 1px solid rgba(247, 238, 228, 0.7);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: padding 160ms ease, background 160ms ease;
}

.danger-link:hover {
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(36px, 7vw, 108px);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: 320px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

/* Offboarding page */
.offboarding-page {
  --accent: #ed5636;
  min-height: 100vh;
  color: #1d1814;
  background: var(--accent);
}

.offboarding-page::before {
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(29, 24, 20, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 24, 20, 0.45) 1px, transparent 1px);
  mask-image: none;
}

.alert-header,
.alert-main {
  position: relative;
  z-index: 1;
}

.alert-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(29, 24, 20, 0.65);
}

.offboarding-page .brand-mark {
  color: var(--accent);
  background: #1d1814;
}

.offboarding-page .muted {
  color: rgba(29, 24, 20, 0.62);
}

.classified {
  padding: 5px 9px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(1deg);
}

.alert-main {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0 42px;
}

.alert-loading {
  min-height: calc(100vh - 190px);
  display: grid;
  place-content: center;
  justify-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.alert-loading > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
  animation: alarm-wobble 900ms ease-in-out infinite alternate;
}

.offboarding-load-error {
  min-height: calc(100vh - 190px);
  display: grid;
  align-content: center;
  justify-items: start;
}

.offboarding-load-error h1 {
  max-width: 850px;
  margin: 0 0 24px;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.alert-hero {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 50px;
  align-items: center;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  background: #1d1814;
  border-radius: 50%;
  animation: pulse 1.1s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.25; transform: scale(0.72); }
}

.alert-hero h1 {
  color: #1d1814;
  font-size: clamp(5rem, 14vw, 11rem);
}

.alert-hero h1 em {
  color: #fff5e8;
}

.alert-intro {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
}

.alarm-seal {
  width: 170px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px double #1d1814;
  border-radius: 50%;
  font-family: var(--font-mono);
  transform: rotate(8deg);
  animation: alarm-wobble 3s ease-in-out infinite;
}

.alarm-seal span {
  font-size: 0.57rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.alarm-seal strong {
  font-size: 3.6rem;
  line-height: 1.1;
}

@keyframes alarm-wobble {
  50% { transform: rotate(2deg); }
}

.terminal {
  margin-top: clamp(60px, 8vw, 100px);
  color: #f7efe4;
  background: #1d1814;
  border: 1px solid #1d1814;
  box-shadow: 12px 12px 0 #fff1df;
}

.terminal-body {
  padding: clamp(22px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.25vw, 0.82rem);
}

.terminal-line {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  color: rgba(247, 239, 228, 0.78);
  border-bottom: 1px solid rgba(247, 239, 228, 0.14);
}

.js .terminal-line {
  opacity: 0;
  transform: translateX(-8px);
}

.js .terminal-line.run {
  animation: line-in 330ms ease forwards;
}

@keyframes line-in {
  to { opacity: 1; transform: none; }
}

.terminal-line > span {
  color: rgba(247, 239, 228, 0.28);
}

.terminal-line b {
  color: var(--acid);
  font-size: 0.65rem;
}

.terminal-status {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 239, 228, 0.48);
}

.terminal-status > span {
  color: rgba(247, 239, 228, 0.55);
  font-size: 0.63rem;
}

.terminal-status strong {
  color: var(--acid);
  font-size: clamp(1.5rem, 4vw, 3.3rem);
  line-height: 0.9;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.12em;
  margin-left: 5px;
  background: currentColor;
  animation: blink 800ms steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.truth-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: clamp(24px, 4vw, 50px);
  margin-top: clamp(80px, 10vw, 130px);
  padding: clamp(30px, 5vw, 64px);
  color: #1d1814;
  background: #fff1df;
  border: 1px solid #1d1814;
}

.truth-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: #fff1df;
  background: #1d1814;
  border-radius: 50%;
  font-size: 1.6rem;
}

.truth-card h2,
.what-now h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.truth-card p:last-child,
.what-now > p:last-of-type {
  max-width: 760px;
  margin: 0;
  font-size: 1rem;
}

.what-now {
  padding: clamp(80px, 10vw, 130px) 0;
  border-bottom: 1px solid rgba(29, 24, 20, 0.6);
}

.button.dark {
  color: var(--accent);
  background: #1d1814;
  border-color: #1d1814;
}

.button.outline-dark {
  color: #1d1814;
  background: transparent;
  border-color: #1d1814;
}

.offboarding-page .button:hover {
  box-shadow: 4px 4px 0 #fff1df;
}

.asterisk {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

/* Promotion case */
.promotion-page {
  min-height: 100vh;
}

.promotion-main {
  width: min(1240px, calc(100% - 52px));
  margin: 0 auto;
  padding-top: var(--header-height);
}

.promotion-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  padding: clamp(82px, 10vw, 132px) 0 clamp(68px, 8vw, 102px);
  border-bottom: 1px solid var(--line-strong);
}

.promotion-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.promotion-hero h1 em {
  display: inline-block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.promotion-subtitle {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.4;
}

.promotion-hero-note {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 20px;
  color: var(--acid-ink);
  background: var(--acid);
  border: 1px solid var(--acid-ink);
  box-shadow: 7px 7px 0 var(--acid-ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  transform: rotate(1deg);
}

.promotion-hero-note > span {
  font-size: 1.3rem;
}

.promotion-hero-note p {
  margin: 0;
}

.promotion-hero-note code {
  padding: 2px 4px;
  background: rgba(28, 27, 24, 0.1);
}

.promotion-document {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: start;
  padding: clamp(70px, 8vw, 112px) 0 120px;
}

.promotion-rail {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 34px;
}

.case-status {
  padding: 22px;
  border: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.case-status dl {
  margin: 0;
}

.case-status dl > div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.case-status dt,
.case-status dd {
  margin: 0;
  font-size: 0.68rem;
}

.case-status dt {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.case-status dd {
  font-weight: 750;
}

.status-pill {
  display: inline-block;
  padding: 3px 6px;
  color: var(--paper);
  background: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.promotion-toc {
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
}

#promotion-toc-links {
  display: grid;
}

#promotion-toc-links a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 7px 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

#promotion-toc-links a span {
  color: var(--accent);
}

#promotion-toc-links a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.toc-loading {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.source-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: none;
}

.markdown-body {
  min-width: 0;
  padding: clamp(34px, 6vw, 78px);
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: 12px 12px 0 var(--paper-deep);
}

.markdown-body > :first-child {
  margin-top: 0;
}

.markdown-body h2 {
  margin: 100px 0 32px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.markdown-body h2::before {
  content: "§";
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.markdown-body h3 {
  margin: 54px 0 22px;
  padding: 18px 20px;
  background: var(--paper-deep);
  border-left: 4px solid var(--accent);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.markdown-body p {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.markdown-body strong {
  color: var(--ink);
}

.markdown-body ul,
.markdown-body ol {
  display: grid;
  gap: 11px;
  margin: 0 0 28px;
  padding-left: 24px;
  color: var(--ink-soft);
}

.markdown-body li {
  padding-left: 5px;
}

.markdown-body li::marker {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 800;
}

.markdown-body blockquote {
  position: relative;
  margin: 34px 0;
  padding: 30px 34px 28px 58px;
  color: var(--acid-ink);
  background: var(--acid);
  border: 1px solid var(--acid-ink);
}

.markdown-body blockquote::before {
  content: "“";
  position: absolute;
  top: 18px;
  left: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.markdown-body blockquote p {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.markdown-body hr {
  height: 1px;
  margin: 54px 0;
  border: 0;
  background: var(--line-strong);
}

.markdown-body code {
  padding: 2px 5px;
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.82em;
}

.task-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding-left: 0 !important;
  list-style: none;
}

.task-box {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  margin-top: 3px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.task-box.checked {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

.markdown-loading {
  min-height: 400px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.markdown-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: promotion-spin 800ms linear infinite;
}

.markdown-loading p {
  margin-top: 18px;
}

@keyframes promotion-spin {
  to { transform: rotate(360deg); }
}

.markdown-error {
  min-height: 440px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.markdown-error h2 {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.markdown-error h2::before {
  display: none;
}

.promotion-footer {
  width: min(1240px, calc(100% - 52px));
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
  padding: 30px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.promotion-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  :root { --sidebar-width: 0px; }

  .sidebar { display: none; }

  .manual-page main,
  .site-footer { margin-left: 0; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 95px;
  }

  .identity-card {
    width: min(420px, 90%);
    justify-self: center;
  }

  .split-layout,
  .diagnostic-panel {
    grid-template-columns: 1fr;
  }

  .danger-zone {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .promotion-teaser {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .promotion-hero {
    grid-template-columns: 1fr;
  }

  .promotion-hero-note {
    max-width: 390px;
  }

  .promotion-document {
    grid-template-columns: 1fr;
  }

  .promotion-rail {
    position: static;
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .promotion-toc {
    display: none;
  }

  .battery-visual { min-height: 290px; }
}

@media (max-width: 680px) {
  :root { --header-height: 62px; }

  .site-header { padding: 0 16px; }
  .system-status { display: none; }

  .hero,
  .content-section,
  .closing-section,
  .promotion-teaser,
  .danger-zone {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: auto;
    gap: 70px;
    padding-top: 78px;
    padding-bottom: 88px;
  }

  .hero h1 { font-size: clamp(3.35rem, 17vw, 5.3rem); }

  .manual-page .header-link { display: none; }

  .hero-actions .button { width: 100%; }

  .identity-card {
    width: calc(100% - 18px);
    box-shadow: 9px 9px 0 var(--acid-ink);
  }

  .portrait-placeholder { height: 190px; }

  .section-heading {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .quick-grid,
  .translation-table,
  .feedback-grid,
  .manual-card-grid,
  .diagnostics {
    grid-template-columns: 1fr;
  }

  .quick-card { min-height: 190px; }

  .split-layout { grid-template-columns: minmax(0, 1fr); }

  .request-example { box-shadow: 7px 7px 0 var(--accent); }

  .translation-table article:nth-child(odd),
  .translation-table article:nth-child(even) {
    min-height: 220px;
    padding: 28px 0;
    border-right: 0;
  }

  .feedback-card { min-height: 280px; }

  .formula { flex-wrap: wrap; }

  .note-card { padding: 84px 24px 26px; }

  .note-marker {
    right: 0;
    bottom: auto;
    width: auto;
    height: 54px;
    writing-mode: horizontal-tb;
  }

  .protocol li { grid-template-columns: 42px 1fr; }

  .permission-slip { align-items: flex-start; padding: 22px; }

  .diagnostics > div,
  .diagnostics > div:nth-child(even),
  .diagnostics > div:nth-last-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .diagnostics > div:last-child { border-bottom: 0; }

  .closing-section {
    grid-template-columns: 1fr;
  }

  .stamp { justify-self: center; }

  .site-footer {
    flex-direction: column;
    padding: 28px 22px;
  }

  .alert-header { padding: 0 16px; }
  .classified { font-size: 0.5rem; }

  .alert-main { width: min(100% - 32px, 1180px); }

  .alert-hero {
    grid-template-columns: 1fr;
  }

  .alarm-seal {
    width: 130px;
    height: 130px;
    justify-self: end;
  }

  .terminal { box-shadow: 7px 7px 0 #fff1df; }

  .terminal-line {
    grid-template-columns: 25px 1fr;
  }

  .terminal-line b {
    grid-column: 2;
    justify-self: start;
  }

  .terminal-status {
    align-items: start;
    flex-direction: column;
  }

  .truth-card {
    grid-template-columns: 1fr;
  }

  .truth-icon {
    width: 48px;
    height: 48px;
  }

  .alert-actions .button { width: 100%; }

  .promotion-main,
  .promotion-footer {
    width: min(100% - 32px, 1240px);
  }

  .promotion-hero {
    padding-top: 72px;
  }

  .promotion-hero h1 {
    font-size: clamp(3.6rem, 19vw, 6rem);
  }

  .promotion-document {
    padding-top: 54px;
  }

  .promotion-rail {
    grid-template-columns: 1fr;
  }

  .markdown-body {
    padding: 30px 22px;
    box-shadow: 7px 7px 0 var(--paper-deep);
  }

  .markdown-body h2 {
    margin-top: 72px;
  }

  .markdown-body blockquote {
    padding: 58px 22px 24px;
  }

  .promotion-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .terminal-line {
    opacity: 1;
    transform: none;
  }
}
