/*
 * Remzo looks like the app: the system font, iOS grouped backgrounds and cards, black-or-white buttons,
 * and the same per-metric system colours (LiveShared/Tint.swift). The only brand colour is ember, and it
 * means one thing: Remzo is watching. His eyes, and live states.
 */
:root {
  --bg: #f2f2f7;
  --card: #fff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill-2: rgba(118, 118, 128, 0.2);
  --ink: #000;
  --muted: rgba(60, 60, 67, 0.62);
  --line: rgba(60, 60, 67, 0.18);
  --button: #000;
  --button-ink: #fff;
  --ember: linear-gradient(135deg, #ffb347, #ff4f6a);
  --gray: #8e8e93;
  --well: #e5e5ea;
  --blue: #007aff;
  --green: #34c759;
  --indigo: #5856d6;
  --orange: #ff9500;
  --pink: #ff2d55;
  --purple: #af52de;
  --red: #ff3b30;
  --teal: #30b0c7;
  --yellow: #ffcc00;
  --brown: #a2845e;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
  --remzo-shadow: rgba(20, 20, 30, 0.28);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 1.375rem;
  --measure: 34rem;
  --page: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --card: #1c1c1e;
    --fill: rgba(118, 118, 128, 0.24);
    --fill-2: rgba(118, 118, 128, 0.36);
    --ink: #fff;
    --muted: rgba(235, 235, 245, 0.6);
    --line: rgba(84, 84, 88, 0.6);
    --button: #fff;
    --button-ink: #000;
    --well: #000;
    --blue: #0a84ff;
    --green: #30d158;
    --indigo: #5e5ce6;
    --orange: #ff9f0a;
    --pink: #ff375f;
    --purple: #bf5af2;
    --red: #ff453a;
    --teal: #40c8e0;
    --yellow: #ffd60a;
    --brown: #ac8e68;
    --shadow: none;
    --remzo-shadow: rgba(255, 120, 80, 0.12);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: var(--gutter);
  top: 0.75rem;
  background: var(--card);
  padding: 0.5rem 0.75rem;
  border-radius: 0.6rem;
  z-index: 10;
}

/* Header */

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 22.5%;
}

.site-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--fill);
}

.site-nav a {
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
}

.site-nav a:hover {
  text-decoration: none;
  background: var(--fill);
}

.site-nav a[aria-current="page"] {
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Hero, centred: Remzo watching, the headline, the buttons, then the product. */

.hero {
  padding-top: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8.2vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}

/* "eye" glows like his. */
.hero h1 em {
  font-style: normal;
  background: var(--ember);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: var(--measure);
  margin: 1.4rem auto 0;
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.5rem 1.4rem;
  border-radius: 1rem;
  background: var(--button);
  color: var(--button-ink);
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
}

/* The same width, so the pair lines up side by side and stacked. */
.hero .button {
  min-width: 14rem;
}

.button:hover {
  opacity: 0.86;
}

.button small {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.85;
}

.button strong {
  font-size: 1.1875rem;
  font-weight: 600;
}

.button.secondary {
  background: var(--fill);
  color: var(--ink);
}

.hero-art {
  width: clamp(4.5rem, 9vw, 6rem);
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
}

/*
 * The product shot: wider than the text column, so the devices are the biggest thing on the page.
 * It is drawn on the page's own colour; fading its edge hides the last trace of a box (WebP shifts
 * the light grey by a shade).
 */
.showcase {
  max-width: 84rem;
  margin: clamp(1rem, 3vw, 2rem) auto 0;
}

.showcase img {
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.remzo {
  width: 100%;
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 1.25rem 2rem -0.75rem var(--remzo-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remzo .look {
  animation: look 12s ease-in-out 2s infinite;
}

.remzo .eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 6s ease-in-out 1.2s infinite;
}

@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

/* Remzo glances at the headline, back at you, then off to the side. */
@keyframes look {
  0%, 22%, 48%, 70%, 100% { transform: translate(0, 0); }
  27%, 43% { transform: translate(-3px, -1px); }
  75%, 92% { transform: translate(2.5px, 0.8px); }
}

@media (prefers-reduced-motion: reduce) {
  .remzo .look,
  .remzo .eye,
  .cursor {
    animation: none;
  }
}

/* Sections */

.section {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 20ch;
  text-wrap: balance;
}

.section .intro {
  max-width: var(--measure);
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

/* A heading over a full-width grid is centred, like the hero; beside a list (.split) it stays left. */
.section > h2,
.section > .intro {
  margin-inline: auto;
  text-align: center;
}

/* Cards, each with a slice of the app on top. */

.cards {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: clamp(0.875rem, 2vw, 1.25rem);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 40rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Three across on wide screens, with At a glance spanning two so the rows come out even. */
@media (min-width: 60rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card.wide {
    grid-column: span 2;
  }

  .card.wide .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* The wide card's slice takes up the height its taller neighbour gives the row; the chart grows into it. */
  .card.wide .app {
    flex: 1;
    height: auto;
    min-height: 10rem;
  }

  .card.wide .chart {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .card.wide .chart svg {
    flex: 1;
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 1rem 0.75rem 0.25rem;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.card p {
  margin: 0 0.75rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--muted);
}

/* A slice of the app: its grouped background, with app-style rows and tiles inside. */

.app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  height: 10rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 0.4rem);
  background: var(--well);
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.25;
  white-space: nowrap;
}

.app.center {
  align-items: center;
}

.i {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i.solid {
  fill: currentColor;
  stroke: none;
}

/* Metric tiles (At a glance). */

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.metric {
  padding: 0.5rem 0.6rem;
  border-radius: 0.75rem;
  background: var(--card);
}

.metric span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.metric b {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.metric b small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
}

.meter {
  height: 0.25rem;
  margin-top: 0.35rem;
  border-radius: 1rem;
  background: var(--fill);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.chart {
  display: none;
  padding: 0.5rem 0.6rem 0.4rem;
  border-radius: 0.75rem;
  background: var(--card);
  color: var(--blue);
}

.chart span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.chart svg {
  width: 100%;
  height: 2.6rem;
  margin-top: 0.2rem;
}

.chart .line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.chart .area {
  fill: currentColor;
  opacity: 0.16;
}

/* A group of rows, like an inset grouped list. */

.rows {
  border-radius: 0.75rem;
  background: var(--card);
  overflow: hidden;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  padding: 0.4rem 0.65rem;
}

.row + .row {
  border-top: 1px solid var(--line);
}

.row .grow {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row .grow small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.row .num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.badge {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  border-radius: 0.45rem;
  background: color-mix(in srgb, currentColor 16%, transparent);
}

.badge .i {
  width: 0.95rem;
  height: 0.95rem;
}

.badge.filled {
  background: currentColor;
}

.badge.filled .i {
  color: #fff;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.capsule {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 15%, transparent);
  font-weight: 600;
  font-size: 0.72rem;
}

.switch {
  position: relative;
  width: 2.1rem;
  height: 1.25rem;
  flex: none;
  border-radius: 999px;
  background: var(--fill-2);
}

.switch::after {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.switch.on {
  background: var(--green);
}

.switch.on::after {
  left: auto;
  right: 0.125rem;
}

/* Screen: the Mac's screen and the display chips under it. */

.screen {
  position: relative;
  flex: 1;
  border-radius: 0.75rem;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.screen svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.screen .win {
  fill: rgba(255, 255, 255, 0.14);
}

.screen .win.front {
  fill: #3a3a3c;
}

.screen .bar {
  fill: rgba(255, 255, 255, 0.24);
}

.screen .ptr {
  fill: #fff;
  stroke: #000;
  stroke-width: 1;
  stroke-linejoin: round;
}

.chips {
  display: flex;
  gap: 0.35rem;
}

.chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--fill);
  font-weight: 500;
  font-size: 0.75rem;
}

.chip.on {
  background: var(--button);
  color: var(--button-ink);
}

/* Terminal: dark in both themes, like the app's. */

.term {
  justify-content: flex-start;
  gap: 0.15rem;
  padding: 0.85rem 0.95rem;
  background: #000;
  color: #d1d1d6;
  font: 500 0.78rem/1.55 var(--mono);
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.term .tabs {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
  font: 600 0.7rem/1 var(--font);
}

.term .tabs span {
  padding: 0.3rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(235, 235, 245, 0.6);
}

.term .tabs .on {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.term .ok {
  color: #30d158;
}

.term .p {
  color: #64d2ff;
}

.cursor {
  display: inline-block;
  width: 0.5em;
  height: 1.05em;
  vertical-align: -0.2em;
  background: #f2f2f7;
  animation: caret 1.1s steps(1) infinite;
}

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

/* Controls: the round buttons from the app's Home tab. */

.controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.25rem;
  border-radius: 0.75rem;
  background: var(--card);
  font-size: 0.7rem;
  font-weight: 500;
}

.control .badge {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
}

.control .badge .i {
  width: 1rem;
  height: 1rem;
}

/* Monitors: an input picker and a brightness slider. */

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 0.15rem;
  border-radius: 0.6rem;
  background: var(--fill);
  font-size: 0.74rem;
  font-weight: 500;
  text-align: center;
}

.segmented span {
  padding: 0.3rem 0;
  border-radius: 0.45rem;
}

.segmented .on {
  background: var(--card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
  font-weight: 600;
}

.slider {
  flex: 1;
  height: 0.3rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, var(--blue) var(--v), var(--fill-2) var(--v));
}

.slider.v70 {
  --v: 70%;
}

/* Setup: the Mac menu bar, the pairing code, connected. */

.menubar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
  width: 100%;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  background: var(--card);
  font: 600 0.78rem/1 var(--font);
}

.menubar svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.menu {
  align-self: flex-end;
  width: 72%;
  padding: 0.35rem;
  border-radius: 0.6rem;
  background: var(--card);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
}

.menu span {
  display: block;
  padding: 0.25rem 0.45rem;
  border-radius: 0.35rem;
}

.menu .on {
  background: var(--blue);
  color: #fff;
}

.menu .head {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.68rem;
}

.qr {
  width: 6rem;
  height: 6rem;
  padding: 0.45rem;
  border-radius: 0.75rem;
  background: #fff;
  fill: #000;
}

.mac-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.status .dot {
  color: var(--green);
}

/* Setup is a real sequence, so it is numbered. */

.steps {
  counter-reset: step;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  }
}

.steps .card {
  counter-increment: step;
}

.steps h3::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--button);
  color: var(--button-ink);
  font-size: 0.82rem;
  font-weight: 700;
  vertical-align: 0.1em;
}

/* Privacy and requirements: inset grouped lists, like Settings. */

.split {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

.split .actions {
  justify-content: flex-start;
}

@media (min-width: 52rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.list li {
  position: relative;
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
}

.list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3.9rem;
  right: 0;
  border-top: 1px solid var(--line);
}

.list .badge {
  width: 1.85rem;
  height: 1.85rem;
  margin-top: 0.1rem;
}

.list .badge .i {
  width: 1.1rem;
  height: 1.1rem;
}

.list strong {
  display: block;
  font-weight: 600;
}

.list div > span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Long-form pages: privacy policy and support */

.doc {
  max-width: 42rem;
  padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 8vw, 5rem);
}

.doc h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.doc .updated {
  margin: 0 0 2.5rem;
  color: var(--muted);
}

.doc h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.doc h3 {
  margin: 1.75rem 0 0.25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.doc ul {
  padding-left: 1.25rem;
}

.doc li + li {
  margin-top: 0.4rem;
}

.doc details {
  margin-top: 0.6rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.doc summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
}

.doc details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* The setup guide: numbered steps, pictures with numbered marks, and what the numbers mean */

.doc ol {
  padding-left: 1.25rem;
}

.doc .note {
  margin: 1.5rem 0;
  padding: 0.9rem 1.15rem;
  border-radius: 1rem;
  background: var(--fill);
}

.doc .note p {
  margin: 0;
}

.guide h2 {
  margin-top: 3.5rem;
  font-size: 1.6rem;
  scroll-margin-top: 1rem;
}

.guide h3 {
  margin-top: 2.25rem;
  scroll-margin-top: 1rem;
}

.guide .toc {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.guide .toc ol {
  margin: 0;
}

.guide .toc li:last-child,
.guide .toc li:nth-last-child(2) {
  list-style: none;
}

.guide .plain {
  padding: 0;
  list-style: none;
}

.guide .tag {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--fill-2);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 0.12em;
}

.guide .shot {
  margin: 1.5rem 0 2rem;
}

.guide .shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.guide .shot figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.guide .marks {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mark;
}

.guide .marks li {
  position: relative;
  margin: 0;
  padding-left: 2.1rem;
  counter-increment: mark;
}

.guide .marks li::before {
  content: counter(mark);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.guide .marks strong,
.guide .shot figcaption strong {
  color: var(--ink);
  font-weight: 600;
}

/* Footer */

.site-footer {
  margin-top: clamp(1rem, 4vw, 2rem);
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .legal {
  margin: 1rem 0 0;
  font-size: 0.82rem;
}

/* Colour roles, as classes (the CSP allows no inline styles). */

.c-gray { color: var(--gray); }
.c-blue { color: var(--blue); }
.c-brown { color: var(--brown); }
.c-green { color: var(--green); }
.c-indigo { color: var(--indigo); }
.c-muted { color: var(--muted); }
.c-pink { color: var(--pink); }
.c-purple { color: var(--purple); }
.c-red { color: var(--red); }
.c-teal { color: var(--teal); }
.c-yellow { color: var(--yellow); }

.w23 { width: 23%; }
.w28 { width: 28%; }
.w40 { width: 40%; }
.w54 { width: 54%; }

.sprite {
  position: absolute;
  overflow: hidden;
}
