:root {
  --ivory: #f3f0e8;
  --ink: #171717;
  --charcoal: #555555;
  --lime: #c8ff42;
  --cobalt: #315bff;
  --coral: #ff785a;
  --white: #ffffff;
  --line: rgba(23, 23, 23, 0.18);
  --line-strong: #171717;
  --font-display: "Familjen Grotesk", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
  --font-body: "Familjen Grotesk", "Noto Sans SC", "Noto Sans Arabic", sans-serif;
  --font-quote: "Fraunces", "Noto Sans SC", "Noto Sans Arabic", serif;
  --font-mono: ui-monospace, "Cascadia Mono", monospace;
  --rail: 15.5rem;
  --shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
}
html[lang="ar"] {
  --font-body: "Noto Sans Arabic", "Familjen Grotesk", sans-serif;
  --font-display: "Noto Sans Arabic", "Familjen Grotesk", sans-serif;
}
html[lang="zh-Hans"],
html[lang="zh-CN"] {
  --font-body: "Noto Sans SC", "Familjen Grotesk", sans-serif;
  --font-display: "Noto Sans SC", "Familjen Grotesk", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
[hidden] { display: none !important; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, .foot-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--lime);
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ink);
}
.skip:focus { top: 0.5rem; }

.shell { min-height: 100vh; display: block; }

.top-menu {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.rail-kicker { display: none; }
.rail-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
}
.rail-nav a {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.15rem;
  border-bottom: 2px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.rail-nav a:hover { border-bottom-color: var(--ink); }
.rail-nav a[aria-current="page"] {
  background: var(--lime);
  border-bottom-color: var(--ink);
}
.rail-tools {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.rail-close { display: none; }

.locale { position: relative; }
.locale-btn, .cite button, .hash-copy {
  min-height: 2.75rem;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
.locale-menu {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--ink);
  min-width: 11rem;
  z-index: 5;
}
.locale-menu a {
  display: block;
  padding: 0.45rem 0.55rem;
  text-decoration: none;
}
.locale-menu a:hover, .locale-menu a[aria-current="true"] { background: var(--lime); }

.brand-panel {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  min-height: 5.4rem;
  padding: 0.9rem 1.35rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--ink);
}
.rail-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: var(--white);
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  min-width: 0;
}
.brand-lockup img { width: auto; height: 2.15rem; }
.brand-lockup strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-lockup small {
  display: block;
  margin-top: 0.2rem;
  color: var(--charcoal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.canvas { min-width: 0; background: var(--ivory); }
.pad { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 2.4rem)); margin-inline: auto; }

.eyebrow, .index-num, .caption {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.eyebrow { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 0.8rem; }
.dot {
  width: 0.7rem;
  height: 0.7rem;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.index-num { color: var(--coral); margin: 0 0 0.45rem; }

.hero { position: relative; padding: clamp(2rem, 5vw, 4.5rem) 0 2.5rem; }
.hero-copy, .quote-row { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  max-width: 14ch;
  text-transform: uppercase;
}
.lede, .lead { color: var(--charcoal); font-size: 1.12rem; max-width: 42rem; }
.hero-actions, .cta-row, .finale-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: var(--ink); color: var(--lime); }
.btn-ink { background: var(--ink); color: var(--ivory); }
.btn-ink:hover { background: var(--cobalt); color: var(--white); border-color: var(--cobalt); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--lime); color: var(--ink); border-color: var(--ink); }

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.4rem;
}
.quote-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 1rem 1rem 0.9rem;
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.8rem;
  align-items: start;
}
.quote-card:nth-child(2) { background: var(--lime); }
.quote-card:nth-child(3) { background: var(--cobalt); color: var(--white); }
.quote-card img {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
}
.quote-card blockquote { margin: 0; }
.quote-card blockquote p {
  margin: 0;
  font-family: var(--font-quote);
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 560;
}
.quote-card blockquote p::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.7;
  margin-bottom: 0.35rem;
}
.quote-card footer { margin-top: 0.7rem; font-size: 0.82rem; }
.quote-card footer strong { display: block; letter-spacing: -0.03em; }
.quote-card footer span { color: var(--charcoal); }
.quote-card:nth-child(3) footer span { color: rgba(255, 255, 255, 0.78); }

.photo-band {
  position: relative;
  min-height: 16rem;
  display: grid;
  align-items: end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  margin: 0;
}
.photo-band .pad, .photo-band .band-copy { position: relative; z-index: 1; padding-bottom: 1.6rem; }
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.05), rgba(23, 23, 23, 0.78));
}
.photo-band h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); text-transform: uppercase; max-width: 16ch; }
.photo-band p { margin: 0.4rem 0 0; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }

.block { padding: clamp(2.4rem, 5vw, 4.4rem) 0; }
.block-white { background: var(--white); }
.block-ink { background: var(--ink); color: var(--white); }
.block-cobalt { background: var(--cobalt); color: var(--white); }
.block-ink .lead, .block-cobalt .lead, .block-ink .caption, .block-cobalt .caption { color: rgba(255, 255, 255, 0.78); }
.block h2 { font-size: clamp(2rem, 4vw, 3.6rem); text-transform: uppercase; max-width: 18ch; }
.block h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 0.4rem; }

.split { display: grid; gap: 1.6rem; align-items: center; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.stack .lead, .center-copy { margin-inline: auto; }

.frame {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
}
.frame::before { content: none; }
.frame img, .frame a { position: relative; z-index: 1; }
.frame img { width: 100%; background: transparent; }
.product { width: min(860px, 100%); margin: 1.2rem auto 0; }
.device { width: min(420px, 70%); margin: 0 auto 1.4rem; }

.stage {
  background: transparent;
  border: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.stage-head { max-width: 46rem; }
.stage-head h2 { max-width: 22ch; }
.stage-media {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}
.stage-media .product {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  background: var(--white);
}
.stage-media .clip { width: 100%; display: grid; }
.stage-media .play { min-height: 16rem; height: 100%; }

.trio, .quad, .os-grid { display: grid; gap: 0.9rem; }
.card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 1rem;
}
.block-cobalt .card { background: var(--ivory); }
.block-ink .card { background: var(--white); }
.card p { margin: 0.35rem 0 0; color: var(--charcoal); }
.card.is-pro { background: var(--lime); }
.ico { width: 4.2rem; height: 4.2rem; margin-bottom: 0.7rem; }
.ico img { width: 100%; height: 100%; object-fit: contain; }

.press {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.5rem;
  align-items: center;
}
.press a {
  display: grid;
  place-items: center;
  min-height: 4.5rem;
  border: 0;
  background: transparent;
  padding: 0.4rem;
}
.press img { max-height: 3.2rem; width: auto; margin: 0 auto; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.tile {
  position: relative;
  display: block;
  color: var(--white);
  text-decoration: none;
  border: 0;
  overflow: hidden;
  background: transparent;
}
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.35s ease; }
.tile:hover img { transform: scale(1.03); }
.tile span {
  position: absolute;
  inset-inline-start: 0.6rem;
  bottom: 0.6rem;
  background: var(--lime);
  color: var(--ink);
  padding: 0.3rem 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.clip { width: min(960px, 100%); margin-inline: auto; }
.play {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 18rem;
  border: 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
  cursor: pointer;
}
.play .wash { position: absolute; inset: 0; background: rgba(23, 23, 23, 0.28); }
.play .play-mark, .play .title { position: relative; z-index: 1; }
.play .play-mark {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 1.2rem;
}
.play .title {
  position: absolute;
  inset-inline-start: 0.8rem;
  bottom: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.8rem;
}
.embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }

.pulls { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.45rem; }
.pulls li {
  border-inline-start: 3px solid var(--lime);
  padding-inline-start: 0.7rem;
  font-family: var(--font-quote);
  font-size: 1.15rem;
}

.fold { border-top: 1px solid var(--ink); }
.fold:last-of-type { border-bottom: 1px solid var(--ink); }
.fold > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  text-align: start;
  background: transparent;
  border: 0;
  padding: 1rem 0.15rem;
  cursor: pointer;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.fold > button .mark {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 1.2rem;
  line-height: 1;
}
.fold > button[aria-expanded="true"] .mark { background: var(--lime); }
.fold-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s ease; }
.fold-panel.open { grid-template-rows: 1fr; }
.fold-panel [data-acc-body] { overflow: hidden; }
.fold-panel p, .fold-panel li { color: var(--charcoal); }
.fold-panel p { margin: 0 0 0.8rem; }

.finale {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.2rem;
  text-align: center;
}
.finale h2 { font-size: clamp(2.4rem, 6vw, 5rem); text-transform: uppercase; }
.finale .finale-actions { justify-content: center; }

.site-foot {
  background: var(--ink);
  color: var(--white);
  padding: 2.4rem 1.2rem 1.2rem;
  border-top: 6px solid var(--lime);
}
.foot-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}
.foot-word { font-size: clamp(3rem, 8vw, 6rem); text-transform: uppercase; }
.site-foot a { color: var(--white); }
.site-foot p { color: rgba(255, 255, 255, 0.78); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-foot li a { text-decoration: none; border-bottom: 1px solid transparent; }
.site-foot li a:hover { border-bottom-color: var(--lime); }
.cite p { word-break: break-all; }
.locale-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  width: min(1120px, 100%);
  margin: 1.4rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.locale-foot a { text-decoration: none; letter-spacing: 0.06em; }
.locale-foot a[aria-current="true"] { color: var(--lime); }
.fine { width: min(1120px, 100%); margin: 0.8rem auto 0; font-size: 0.85rem; }

.float-dl {
  position: fixed;
  z-index: 25;
  inset-inline-end: 1rem;
  bottom: 1rem;
  background: var(--lime);
  color: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.8rem 0.95rem;
}

.crumb { width: min(1120px, calc(100% - 2.4rem)); margin: 1rem auto 0; font-size: 0.85rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--ink); }
.jumps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.jumps a {
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--white);
}
.jumps a:hover { background: var(--lime); }
.note { font-family: var(--font-mono); font-size: 0.78rem; color: var(--charcoal); }

.page-head { padding-top: 1.4rem; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); text-transform: uppercase; max-width: 16ch; }

.facts { display: grid; gap: 0; margin-top: 1.2rem; border-top: 1px solid var(--ink); }
.fact { display: grid; gap: 0.2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.fact dt { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; }
.fact dd { margin: 0; color: var(--charcoal); }

.sheet { overflow-x: auto; border: 1px solid var(--ink); background: var(--white); margin-top: 1rem; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td { text-align: start; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet th { width: 34%; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.sheet tr:last-child th, .sheet tr:last-child td { border-bottom: 0; }

.edit-grid { display: grid; gap: 0.9rem; margin-top: 1rem; }
.caption { margin: 0.45rem 0 0; }

.guides { display: grid; gap: 1.15rem; }
.guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.15rem;
  row-gap: 0.35rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 1.35rem 1.4rem 1.45rem;
  scroll-margin-top: 6.2rem;
}
.guide .index-num {
  grid-row: 1 / span 2;
  margin: 0.15rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.guide h2 {
  margin: 0;
  max-width: none;
  text-transform: none;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.guide .lead { grid-column: 2; margin: 0.15rem 0 0; max-width: 46rem; }
.guide .steps,
.guide .ticks,
.guide > p:last-child { grid-column: 1 / -1; }
.steps, .ticks {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.steps { counter-reset: step; }
.steps li, .ticks li { margin: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0.8rem;
  background: var(--ivory);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--ink);
}
.ticks li {
  position: relative;
  padding-block: 0.7rem;
  padding-inline: 2.15rem 0.8rem;
  background: var(--ivory);
}
.ticks li::before {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lime);
  border: 1px solid var(--ink);
  inset-inline-start: 0.85rem;
  top: 0.95rem;
}
.guide-shot { grid-column: 1 / -1; margin: 0.8rem 0 0; max-width: 26rem; }
.guide-shot img { width: 100%; }
@media (min-width: 980px) {
  .guide:has(.guide-shot) { grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 22rem); }
  .guide:has(.guide-shot) h2,
  .guide:has(.guide-shot) .lead { grid-column: 2; }
  .guide:has(.guide-shot) .steps { grid-column: 1 / 3; }
  .guide:has(.guide-shot) .guide-shot {
    grid-column: 3;
    grid-row: 1 / span 4;
    margin: 0;
    max-width: none;
    align-self: start;
  }
}
@media (max-width: 680px) {
  .guide { grid-template-columns: 1fr; }
  .guide .index-num { grid-row: auto; }
  .guide .lead,
  .guide .steps,
  .guide .ticks { grid-column: 1; }
}

.price { font-size: 2rem; margin: 0.2rem 0; letter-spacing: -0.04em; }
.hash {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  word-break: break-all;
  background: var(--ivory);
  border: 1px solid var(--ink);
  padding: 0.6rem;
}

.lanes {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 1rem;
  box-shadow: 0.45rem 0.45rem 0 var(--lime);
}
.lane {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin-top: 0.55rem;
}
.lane b { font-size: 0.75rem; letter-spacing: 0.04em; }
.bar { height: 8px; width: var(--w, 40%); justify-self: start; background: var(--ink); }
.bar.a { background: var(--cobalt); }
.bar.b { background: var(--lime); border: 1px solid var(--ink); justify-self: end; }
.lane-head { margin-top: 0; }
.lane-head span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); }
.xfader { margin-top: 1rem; height: 4px; background: var(--line); position: relative; }
.xfader span { position: absolute; inset-inline-start: 42%; top: -6px; width: 14px; height: 16px; background: var(--ink); }

.time { margin: 0; padding-inline-start: 1.1rem; border-inline-start: 1px solid var(--ink); }
.time article { position: relative; margin: 0 0 1.15rem; }
.time article::before {
  content: "";
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  inset-inline-start: -1.42rem;
  top: 0.35rem;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1rem; }
.stat { border: 1px solid var(--ink); background: var(--white); padding: 0.7rem; }
.stat dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.stat dd { margin: 0.2rem 0 0; font-weight: 800; font-size: 1.2rem; }

.os-mark { width: 2rem; height: 2rem; margin-bottom: 0.6rem; }
.docs { display: grid; gap: 0.9rem; }
.miss { width: min(760px, calc(100% - 2.4rem)); margin: 2.5rem auto; }
.miss ul { padding-inline-start: 1.1rem; }
.miss li { margin: 0.3rem 0; }

.view-frame {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(23, 23, 23, 0.88);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.view-frame figure { margin: 0; max-width: min(1100px, 100%); }
.view-frame img { max-height: 80vh; width: auto; margin: 0 auto; background: var(--white); }
.view-frame figcaption { color: var(--ivory); text-align: center; margin-top: 0.7rem; }
.view-shut {
  position: absolute;
  top: 0.8rem;
  inset-inline-end: 0.8rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--ivory);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.4);
  z-index: 28;
}

@media (min-width: 860px) {
  .stage-media { grid-template-columns: 1.15fr 0.85fr; }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split.even { grid-template-columns: 1fr 1fr; }
  .split.wide-end { grid-template-columns: 0.9fr 1.1fr; }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quad, .os-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-inline-end: 1rem; }
  .edit-grid { grid-template-columns: 1.35fr 0.8fr; }
  .edit-side { display: grid; gap: 0.9rem; }
}
@media (min-width: 1100px) {
  .quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 981px) {
  .brand-panel {
    width: min(1560px, calc(100% - 3rem));
    margin-inline: auto;
    border-inline: 1px solid var(--ink);
  }
  .rail-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-wrap: nowrap;
  }
}
@media (max-width: 1280px) {
  .brand-lockup span { display: none; }
}
@media (max-width: 980px) {
  .rail-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .top-menu {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.4rem 1rem 1rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--ink);
  }
  .top-menu.is-open { display: flex; }
  .rail-nav, .rail-tools { flex-direction: column; align-items: stretch; }
  .rail-tools { margin-inline-start: 0; }
  .rail-nav a { padding: 0.7rem 0.35rem; }
  .quote-row, .press, .mosaic, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .quote-row, .press, .mosaic, .stats, .quote-card { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .float-dl { inset-inline-start: 1rem; inset-inline-end: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn, .tile img, .top-menu, .fold-panel { transition: none; }
}
