/* AR999 guide. Colours are sampled from the app's own screens. */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #212121;      /* app background */
  --deep: #161616;    /* the darker edge around the app logo */
  --panel: #292929;   /* app cards */
  --line: #3b3b3b;
  --line-soft: #303030;
  --orange: #ff6811;  /* app buttons and active tabs */
  --orange-hi: #ff8236;
  --gold: #ffaa09;    /* rupee amounts in the app */
  --green: #2dbd2d;
  --red: #e75757;
  --text: #f6f4f0;
  --muted: #aaa69f;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-hi); }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 700; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { flex: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  padding: 0.6rem 1rem; background: var(--orange); color: var(--deep); font-weight: 700; border-radius: 8px;
}
.skip:focus { top: 0.6rem; color: var(--deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--orange); border-radius: 10px;
  background: var(--orange); color: var(--deep);
  font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--orange-hi); border-color: var(--orange-hi); color: var(--deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: #5c5c5c; color: var(--text); }
.btn--ghost:hover { background: transparent; border-color: var(--orange); color: var(--orange); }
.btn--ghost .icon { transition: transform 0.15s; }
.btn--ghost:hover .icon { transform: translateX(3px); }
.btn--dark { background: var(--deep); border-color: var(--deep); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; color: #fff; }
.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.9375rem; border-radius: 8px; }

.round {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #5c5c5c; border-radius: 50%; color: var(--text);
  transition: border-color 0.15s, color 0.15s, opacity 0.15s;
}
.round:hover { border-color: var(--orange); color: var(--orange); }
.round[disabled] { opacity: 0.3; cursor: default; }
.round[data-prev] .icon { transform: scaleX(-1); }

/* ---------- header ---------- */
.agebar {
  padding: 0.4rem var(--gutter);
  background: var(--deep); color: var(--muted);
  font-size: 0.8125rem; text-align: center;
}

.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 0.75rem; min-height: 62px; flex-wrap: wrap; }
.brand { display: block; margin-right: auto; padding: 0.35rem 0; }
.brand img { width: auto; height: 26px; }
.top__cta { order: 2; }

.menu-btn {
  order: 3; display: none; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.7rem; border: 1px solid #5c5c5c; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 600;
}
.js .menu-btn { display: inline-flex; }
.menu-btn__bars, .menu-btn__bars::before {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
}
.menu-btn__bars { position: relative; transform: translateY(-3px); }
.menu-btn__bars::before { content: ""; position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] { border-color: var(--orange); color: var(--orange); }

.nav { order: 4; flex-basis: 100%; padding: 0.25rem 0 0.9rem; }
.js .nav { display: none; }
.js .nav.is-open { display: block; }
.nav a, .nav__group > button {
  display: flex; align-items: center; gap: 0.3rem; width: 100%;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text); font-weight: 600; text-decoration: none;
}
.nav a:hover, .nav__group > button:hover { color: var(--orange); }
.nav a[aria-current="page"], .nav__group.is-current > button { color: var(--orange); }
.nav__group > button .icon { margin-left: auto; transition: transform 0.15s; }
.nav__group > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { display: none; padding-left: 1rem; }
.nav__group.is-open .nav__sub { display: block; }
.nav__sub a { font-weight: 500; color: var(--muted); }

@media (min-width: 1000px) {
  .top__in { flex-wrap: nowrap; gap: 1.75rem; min-height: 70px; }
  .brand { margin-right: 0; }
  .brand img { height: 30px; }
  .menu-btn, .js .menu-btn { display: none; }
  .nav, .js .nav { order: 0; display: flex; flex-basis: auto; align-items: center; gap: 1.6rem; margin-left: auto; padding: 0; }
  .nav a, .nav__group > button { width: auto; padding: 0.4rem 0; border-bottom: 0; font-size: 0.9875rem; }
  .nav > a { position: relative; }
  .nav > a[aria-current="page"]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1.25rem; height: 2px; background: var(--orange);
  }
  .nav__group { position: relative; }
  .nav__group > button .icon { margin-left: 0; }
  .nav__sub {
    position: absolute; top: calc(100% + 0.6rem); left: -1rem; min-width: 11rem;
    padding: 0.4rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
    box-shadow: 0 18px 40px -18px #000;
  }
  .nav__group::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.7rem; }
  .nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { display: block; }
  .nav__sub a { padding: 0.55rem 0; color: var(--text); }
  .nav__sub a + a { border-top: 1px solid var(--line); }
}

/* ---------- shared section pieces ---------- */
.band { padding-block: clamp(3.25rem, 8vw, 6rem); }
.band--deep { background: var(--deep); }
.band--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.kicker {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--orange); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }

.h2 { font-size: clamp(1.8rem, 4.2vw, 2.75rem); }
.sub { margin-top: 1rem; max-width: 56ch; color: var(--muted); }
.sub a { font-weight: 600; }
.band__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 480px) { .actions .btn { flex: 1 1 auto; } }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 860px) {
  .split { grid-template-columns: 5fr 6fr; }
  .split--flip { grid-template-columns: 6fr 5fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
}

/* ---------- ledger: label ..... value ---------- */
.ledger__title { margin-bottom: 0.6rem; font-family: var(--serif); font-size: 1.25rem; }
.ledger dl { border-top: 1px solid var(--line); }
.ledger__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.78rem 0; border-bottom: 1px solid var(--line); }
.ledger dt { display: flex; flex: 1 1 auto; align-items: baseline; min-width: 38%; color: var(--muted); }
.ledger dt::after {
  content: ""; flex: 1; min-width: 1rem; margin-left: 0.6rem;
  border-bottom: 1px dotted #5a5a5a; transform: translateY(-0.28em);
}
.ledger dd { max-width: 58%; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger dd.is-gold { color: var(--gold); }
.ledger dd.is-green { color: var(--green); }
.ledger__note { margin-top: 0.8rem; color: var(--muted); font-size: 0.875rem; }

/* ---------- note ---------- */
.note { padding: 1.1rem 1.25rem; background: var(--panel); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; }
.note__label { margin-bottom: 0.3rem; color: var(--orange); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.note p + p { margin-top: 0.6rem; }

/* ---------- screenshots ---------- */
.shot img { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--deep); }
.shot figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.875rem; }
.shot--narrow { max-width: 300px; }

/* ---------- hero slider ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(118deg, #1c1c1c 0 31%, transparent 31%),
    linear-gradient(242deg, #1a1a1a 0 24%, transparent 24%),
    linear-gradient(180deg, transparent 72%, #1b1b1b 72%),
    var(--deep);
  border-bottom: 1px solid var(--line);
}
.hero__track {
  display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.hero__track::-webkit-scrollbar { display: none; }
.slide { display: grid; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.slide__in { display: grid; gap: 2rem; align-content: space-between; padding-block: clamp(2.25rem, 6vw, 4.5rem) 0; }
.slide__count { margin-bottom: 1.4rem; color: var(--muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.slide__count b { color: var(--orange); }
.slide__title { font-size: clamp(2.3rem, 7.4vw, 4.3rem); line-height: 1.02; }
.slide__title em { font-style: normal; color: var(--orange); }
.slide__lead { margin-top: 1.25rem; max-width: 46ch; color: #d2cec7; font-size: clamp(1.05rem, 1.6vw, 1.1875rem); }

@media (min-width: 900px) {
  .slide__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 3rem; padding-block: 3.5rem 0; }
  .slide__copy { padding-bottom: 6rem; }
}

/* cut-outs of real app screens */
.cuts {
  position: relative; overflow: hidden; height: clamp(290px, 78vw, 430px);
  -webkit-mask-image: linear-gradient(#000 74%, transparent);
  mask-image: linear-gradient(#000 74%, transparent);
}
.cut {
  position: absolute; overflow: hidden;
  border: 1px solid #4a4a4a; border-radius: 16px; background: var(--bg);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85);
}
.cut img { width: 100%; }
.cut--a { left: 0; top: 4%; width: 56%; z-index: 2; }
.cut--b { right: 0; top: 0; width: 50%; transform: rotate(3.5deg); transform-origin: top right; opacity: 0.9; }
.cuts--stack .cut--a { top: 3%; width: 76%; z-index: 1; }
.cuts--stack .cut--b { top: 36%; width: 60%; transform: none; opacity: 1; z-index: 2; }
.cuts--solo .cut--a { left: 50%; width: 62%; transform: translateX(-50%) rotate(-2deg); }
@media (min-width: 900px) {
  .cuts { height: 540px; }
}

.hero__ctrl {
  display: none; align-items: center; gap: 0.75rem;
  padding: 1.1rem var(--gutter) 1.4rem;
}
.js .hero__ctrl { display: flex; }
.hero__dots { display: flex; gap: 0.45rem; margin-right: auto; }
.hero__dots button { width: 34px; height: 30px; display: grid; place-items: center; }
.hero__dots button::before { content: ""; width: 100%; height: 3px; border-radius: 3px; background: #4d4d4d; transition: background-color 0.2s; }
.hero__dots button:hover::before { background: #8a8a8a; }
.hero__dots button[aria-current="true"]::before { background: var(--orange); }
.hero__pause { color: var(--muted); font-size: 0.875rem; font-weight: 600; padding: 0.5rem 0.4rem; }
.hero__pause:hover { color: var(--text); }
@media (min-width: 900px) {
  .hero__ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding: 0 0 2rem; pointer-events: none; }
  .hero__ctrl > * { pointer-events: auto; }
  .hero__dots { margin-right: 1rem; }
}

/* ---------- home: glance ---------- */
.glance p + p { margin-top: 1rem; }
.glance .h2 { margin-bottom: 1.25rem; }

/* ---------- index of games ---------- */
.index { border-top: 1px solid var(--line); counter-reset: row; }
.index li { counter-increment: row; border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: center; column-gap: 0.5rem;
  padding: 1.05rem 0; color: var(--text); text-decoration: none;
  transition: padding 0.2s, color 0.2s;
}
.index a::before { content: counter(row, decimal-leading-zero); color: var(--muted); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.index__name { display: flex; align-items: center; gap: 0.7rem; font-family: var(--serif); font-size: clamp(1.35rem, 3.2vw, 1.75rem); line-height: 1.15; }
.index__name .icon { color: var(--orange); }
.index__text { grid-column: 2 / 3; margin-top: 0.2rem; color: var(--muted); font-size: 0.9688rem; }
.index__go { grid-column: 3; grid-row: 1 / span 2; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.index a:hover { color: var(--orange); padding-left: 0.5rem; }
.index a:hover .index__go { color: var(--orange); transform: translateX(4px); }
@media (min-width: 760px) {
  .index a { grid-template-columns: 3.5rem 16rem 1fr auto; padding: 1.3rem 0; }
  .index__text { grid-column: 3; margin-top: 0; }
  .index__go { grid-column: 4; grid-row: 1; }
}

/* ---------- rail of screens ---------- */
.rail__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 0.25rem max(var(--gutter), (100vw - var(--wrap)) / 2) 1.25rem;
  scroll-padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2);
  scrollbar-width: thin; scrollbar-color: #4d4d4d transparent;
}
.rail__item { flex: none; scroll-snap-align: start; }
.rail__item img { width: auto; max-width: none; height: clamp(290px, 62vw, 420px); border: 1px solid var(--line); border-radius: 14px; }
.rail__item figcaption { margin-top: 0.65rem; max-width: 24ch; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.rail__ctrl { display: none; gap: 0.6rem; justify-content: flex-end; margin-top: 0.75rem; }
.js .rail__ctrl { display: flex; }

/* ---------- numbered steps ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.2rem 0 1.2rem 3.6rem; border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.95rem;
  font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--orange);
}
.steps h3 { font-family: var(--sans); font-size: 1.0938rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.steps p { margin-top: 0.3rem; color: #cfcbc4; }

/* ---------- the five steps ---------- */
.path ol { display: grid; gap: 0; border-top: 1px solid var(--line); }
.path li { border-bottom: 1px solid var(--line); }
.path a {
  display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.4rem; align-items: baseline;
  padding: 0.95rem 0; color: var(--text); text-decoration: none;
}
.path__n { grid-row: 1 / span 2; font-family: var(--serif); font-size: 1.6rem; color: var(--muted); }
.path__name { font-weight: 700; }
.path__text { grid-column: 2; color: var(--muted); font-size: 0.9375rem; }
.path a:hover .path__name, .path a:hover .path__n { color: var(--orange); }
.path .is-here .path__n, .path .is-here .path__name { color: var(--orange); }
@media (min-width: 860px) {
  .path ol { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .path li { border-bottom: 0; border-top: 2px solid var(--line); }
  .path li.is-here { border-top-color: var(--orange); }
  .path a { display: block; padding: 1.1rem 1.25rem 0 0; }
  .path__n, .path__name, .path__text { display: block; }
  .path__n { font-size: 2rem; margin-bottom: 0.35rem; }
}

/* ---------- big figures ---------- */
.figures { display: grid; border-top: 1px solid var(--line); }
.figures li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.figures b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.1rem); line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.figures span { display: block; margin-top: 0.6rem; color: #cfcbc4; }
.figures small { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 860px) {
  .figures { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .figures li { padding: 1.75rem 1.75rem 1.75rem 0; border-bottom: 0; }
  .figures li + li { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 0;
  font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; color: var(--orange);
  font-family: var(--serif); font-size: 1.5rem; line-height: 1; transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange); }
.faq__a { padding: 0 2rem 1.2rem 0; color: #cfcbc4; }

/* ---------- related links ---------- */
.related__title { margin-bottom: 0.5rem; color: var(--muted); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.related ul { border-top: 1px solid var(--line); }
.related a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 0.75rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.related__name { font-weight: 700; }
.related__blurb { grid-column: 1; color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
.related .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--muted); transition: transform 0.15s, color 0.15s; }
.related a:hover .related__name, .related a:hover .icon { color: var(--orange); }
.related a:hover .icon { transform: translateX(3px); }

/* ---------- limit block ---------- */
.limit { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: 16px; }
.limit .age { width: 3.4rem; height: 3.4rem; font-size: 1.1rem; }
.limit h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.limit p { margin-top: 0.7rem; max-width: 60ch; color: #cfcbc4; }
.limit .btn { justify-self: start; }
@media (min-width: 760px) { .limit:not(.limit--stack) { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; } }

.age {
  display: inline-grid; place-items: center; flex: none;
  width: 2.2rem; height: 2.2rem; border: 2px solid var(--red); border-radius: 50%;
  color: var(--text); font-size: 0.75rem; font-weight: 700;
}

/* ---------- download band ---------- */
.cta { background: var(--orange); color: var(--deep); }
.cta__in { display: grid; gap: 1.5rem; padding-block: clamp(2.25rem, 6vw, 3.5rem); align-items: center; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta p { margin-top: 0.6rem; max-width: 52ch; font-weight: 500; }
.cta .btn { justify-self: start; }
@media (min-width: 760px) { .cta__in { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- inner pages ---------- */
.head {
  background:
    linear-gradient(118deg, #1c1c1c 0 26%, transparent 26%),
    linear-gradient(242deg, #1a1a1a 0 20%, transparent 20%),
    var(--deep);
  border-bottom: 1px solid var(--line);
  padding-block: 1.25rem clamp(2.25rem, 6vw, 3.75rem);
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; color: var(--muted); font-size: 0.875rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #5c5c5c; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.head__row { display: grid; gap: 1.5rem; margin-top: clamp(1.75rem, 5vw, 3rem); }
.head h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); max-width: 18ch; }
.lead { margin-top: 1.1rem; max-width: 54ch; color: #d2cec7; font-size: clamp(1.05rem, 1.6vw, 1.1875rem); }
.stamp {
  justify-self: start; align-self: end;
  padding: 0.5rem 0.9rem; border: 1px dashed #6a6a6a; border-radius: 6px;
  color: var(--text); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums;
  transform: rotate(-2deg);
}
.stamp span { display: block; color: var(--muted); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 860px) { .head__row { grid-template-columns: 1fr auto; } .stamp { justify-self: end; } }

.cols { display: grid; gap: 3rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 1000px) {
  .cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 4.5rem; }
  .cols--one { grid-template-columns: minmax(0, 46rem); }
}
@media (min-width: 1000px) and (min-height: 880px) {
  .side { position: sticky; top: 6.5rem; align-self: start; }
  .side:has(.shot + .shot) { position: static; }
}
.side > * + * { margin-top: 2rem; }
.side .shot { max-width: 320px; }

.prose > * + * { margin-top: 1.1rem; }
.prose > h2 { margin-top: 3rem; font-size: clamp(1.55rem, 3.4vw, 2rem); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 2rem; font-family: var(--sans); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
.prose > p, .prose > ul, .prose > ol:not(.steps):not(.index) { max-width: 64ch; }
.prose > p { color: #dedad3; }
.prose > .ledger, .prose > .steps, .prose > .note, .prose > .faq, .prose > .index, .prose > .shots { margin-top: 1.6rem; }
.prose > ul:not([class]) li { position: relative; padding-left: 1.4rem; color: #dedad3; }
.prose > ul:not([class]) li + li { margin-top: 0.5rem; }
.prose > ul:not([class]) li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.7rem; height: 2px; background: var(--orange); }
.prose .actions { margin-top: 1.6rem; }
.prose > .related { margin-top: 3rem; }
.prose > .actions:first-child { margin-top: 0; margin-bottom: 2.5rem; }
.shots { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }

/* ---------- 404 ---------- */
.lost { padding-block: clamp(4rem, 12vw, 8rem); text-align: left; }
.lost b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 22vw, 11rem); line-height: 0.9; color: var(--orange); }
.lost h1 { margin-top: 1.25rem; font-size: clamp(1.8rem, 5vw, 2.75rem); }
.lost p { margin-top: 1rem; max-width: 46ch; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--deep); border-top: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4rem) 2rem; font-size: 0.9375rem; }
.foot__top { display: grid; gap: 2.25rem; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: 1 / -1; }
.foot__brand img { width: auto; height: 28px; }
.foot__brand p { margin-top: 1rem; max-width: 40ch; color: var(--muted); }
.foot__age { display: flex; align-items: center; gap: 0.7rem; }
.foot__title { margin-bottom: 0.7rem; color: var(--text); font-weight: 700; }
.foot__col li + li { margin-top: 0.45rem; }
.foot__col a { color: var(--muted); text-decoration: none; }
.foot__col a:hover { color: var(--orange); }
.foot__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot__base p { max-width: 80ch; }
.foot__base p + p { margin-top: 0.6rem; }
@media (min-width: 860px) {
  .foot__top { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2.5rem; }
  .foot__brand { grid-column: auto; }
}

/* ---------- sticky download bar on phones ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--panel); border-top: 1px solid var(--line);
  font-size: 0.875rem; color: var(--muted); line-height: 1.3;
}
.dock strong { color: var(--text); }
body:not(.is-quiet) { padding-bottom: 4.2rem; }
@media (min-width: 760px) {
  .dock { display: none; }
  body:not(.is-quiet) { padding-bottom: 0; }
}
@media (max-width: 420px) { .top__cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
