/* Deskathon site. Tokens follow design/DESIGN_LANGUAGE.md (teal on graphite,
   four input inks, system fonts, rounded tabular digits for numbers). */

:root {
  color-scheme: light dark;

  --paper: #f4f6f6;
  --surface: #ffffff;
  --ink: #14181b;
  --ink-2: #4c5459; /* secondary text, 7.3:1 on paper */
  --ink-3: #646c71; /* captions, 4.9:1 on paper */
  --line: rgba(20, 24, 27, 0.12);
  --track: rgba(20, 24, 27, 0.1);

  --accent: #0b7378; /* links and focus, 5.4:1 on paper */
  --pointer: #1f8c88;
  --clicks: #c26a2e;
  --scroll: #2a4fb0;
  --keys: #8a2a62;
  --inactive: #858585;

  --placeholder-bg: #fff2b8;
  --placeholder-ink: #5c4300;

  /* The instrument: graphite, as on the app icon. Same in both modes. */
  --graphite-1: #3e454c;
  --graphite-2: #262b30;
  --graphite-3: #16191d;
  --on-graphite: #eef1f2;
  --on-graphite-2: #aab3b9;
  --drum-ink: #1a1d21;
  --teal-drum-1: #0f6f6a;
  --teal-drum-2: #168a83;

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-number: ui-rounded, "SF Pro Rounded", -apple-system,
    BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --shell: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-panel: 28px;
  --r-frame: 14px;
  --r-small: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121517;
    --surface: #1b1f22;
    --ink: #f2f4f4;
    --ink-2: #b4bcc0;
    --ink-3: #959ea3;
    --line: rgba(242, 244, 244, 0.14);
    --track: rgba(242, 244, 244, 0.12);

    --accent: #4fe0d2;
    --pointer: #4fe0d2;
    --clicks: #fbae7e;
    --scroll: #7f9bf0;
    --keys: #ec5fb5;
    --inactive: #8e8e8e;

    --placeholder-bg: #4a3a00;
    --placeholder-ink: #ffe28a;

    --graphite-1: #30363c;
    --graphite-2: #1f2327;
    --graphite-3: #0f1214;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--pointer);
  color: #fff;
}

.num {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--r-small);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Owner placeholders: visible on purpose until the owner fills them. */
.placeholder,
mark.placeholder {
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  padding: 0.05em 0.3em;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.owner-note {
  border-left: 4px solid var(--placeholder-ink);
  background: var(--placeholder-bg);
  color: var(--placeholder-ink);
  padding: 12px 16px;
  border-radius: 0 var(--r-small) var(--r-small) 0;
  font-size: 0.9375rem;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  min-height: 44px;
}

.wordmark img {
  width: 32px;
  height: 32px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 4px;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: var(--r-small);
}

@media (max-width: 719px) {
  .site-nav {
    margin-inline: -8px;
  }
  .site-nav ul {
    gap: 0;
  }
  .site-nav a {
    padding-inline: 8px;
    font-size: 0.875rem;
  }
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--track);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Store badge placeholder ---------- */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  border: 1.5px dashed var(--ink-3);
  color: var(--ink);
  background: var(--surface);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px);
}

.hero .shell {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero .shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero .lede {
  margin-top: 22px;
  max-width: 34rem;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 32px;
}

.hero-actions p {
  color: var(--ink-3);
  font-size: 0.9375rem;
}

/* ---------- The instrument (live odometer) ---------- */

.instrument {
  position: relative;
  padding: clamp(20px, 3.4vw, 36px);
  border-radius: var(--r-panel);
  background:
    linear-gradient(180deg, var(--graphite-1), var(--graphite-2) 55%, var(--graphite-3));
  color: var(--on-graphite);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -30px rgba(10, 20, 22, 0.55);
}

.instrument-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-graphite-2);
  font-size: 0.9375rem;
}

.instrument-head svg {
  width: 18px;
  height: 18px;
  color: #4fe0d2;
  flex: none;
}

.odometer {
  --d: clamp(2.5rem, 1rem + 8.4vw, 4.75rem);
  display: flex;
  align-items: flex-end;
  gap: 0.22em;
  margin-top: 18px;
  font-size: var(--d);
}

.drums {
  display: inline-flex;
  align-items: stretch;
  gap: 0.06em;
  padding: 0.08em;
  border-radius: 0.2em;
  background: #060708;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.drum {
  position: relative;
  width: 0.8em;
  height: 1.22em;
  overflow: hidden;
  border-radius: 0.1em;
  background: linear-gradient(
    180deg,
    #a9afb5 0%,
    #eef0f2 24%,
    #fbfbfc 58%,
    #a5abb1 100%
  );
  color: var(--drum-ink);
}

.drum.tenths {
  background: linear-gradient(
    180deg,
    var(--teal-drum-1) 0%,
    var(--teal-drum-2) 30%,
    #1c958d 60%,
    #0e6a65 100%
  );
  color: #fff;
}

.drum.lead {
  color: #5f666c;
}

.drum::after {
  /* the curvature shade at top and bottom of each drum */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28),
    transparent 22%,
    transparent 78%,
    rgba(0, 0, 0, 0.28)
  );
  pointer-events: none;
}

.strip {
  display: flex;
  flex-direction: column;
  font-family: var(--font-number);
  font-size: 0.84em;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.4524em; /* 1.22em of the drum */
  text-align: center;
  transform: translateY(0);
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.strip span {
  display: block;
  height: 1.4524em;
}

.strip.snap {
  transition: none;
}

.drum-point {
  align-self: flex-end;
  width: 0.16em;
  height: 0.16em;
  margin: 0 0.03em 0.18em;
  border-radius: 50%;
  background: #4fe0d2;
}

.odometer .unit {
  padding-bottom: 0.12em;
  font-family: var(--font-number);
  font-size: 0.42em;
  font-weight: 500;
  color: var(--on-graphite-2);
}

.landmark {
  margin-top: 22px;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  color: var(--on-graphite);
  min-height: 1.4em;
}

.next {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--on-graphite-2);
}

.next b {
  color: var(--on-graphite);
  font-weight: 600;
}

.bar {
  height: 6px;
  margin-top: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  border-radius: 3px;
  background: #4fe0d2;
  transition: width 250ms ease-out;
}

.instrument-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--on-graphite-2);
}


/* ---------- Sections ---------- */

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.1875rem;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  .split .section-head {
    margin-bottom: 0;
  }
}

/* ---------- Features ---------- */

.feature-text {
  max-width: 34rem;
}

.ink-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}

.ink-label svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.ink-pointer svg {
  color: var(--pointer);
}
.ink-clicks svg {
  color: var(--clicks);
}
.ink-scroll svg {
  color: var(--scroll);
}
.ink-keys svg {
  color: var(--keys);
}
.ink-neutral svg {
  color: var(--accent);
}

.tour-text h3 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
}

.tour-text p {
  margin-top: 12px;
  color: var(--ink-2);
}

.tour-text p.fact {
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

/* The tour: real screenshots of the app (sample data), one per row,
   alternating sides on wide screens. */

.tour {
  display: grid;
  gap: clamp(64px, 9vw, 128px);
}

.tour-row {
  display: grid;
  gap: 28px;
  align-items: center;
}

.tour-text {
  max-width: 32rem;
}

@media (min-width: 960px) {
  .tour-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(40px, 5vw, 72px);
  }
  .tour-row:nth-child(even) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .tour-row:nth-child(even) .tour-text {
    order: 2;
  }
}

/* A plate frames one screenshot. The screenshot brings its own backdrop. */
.plate {
  overflow: hidden;
  border-radius: var(--r-frame);
  border: 1px solid var(--line);
  background: var(--surface);
}

.plate img {
  width: 100%;
  height: auto;
}

.plate-dark {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Hero screenshot: the menu bar panel. */
.hero-shot {
  overflow: hidden;
  border-radius: var(--r-panel);
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-shot img {
  width: 100%;
  height: auto;
}

/* Try it: the live odometer, right under the hero. */
.section.try {
  padding-top: clamp(8px, 2vw, 24px);
}

.try-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .try-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
  }
}

.try-text h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 700;
  max-width: 18ch;
}

.try-text p {
  margin-top: 14px;
  max-width: 30rem;
  color: var(--ink-2);
}

/* Smaller facts, after the tour. */
.also {
  display: grid;
  gap: 28px 48px;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .also {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.also li {
  padding-top: 18px;
  border-top: 2px solid var(--pointer);
}

.also h3 {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.also p {
  margin-top: 8px;
  color: var(--ink-2);
}

.big {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.big .dec-pointer {
  color: var(--pointer);
}
.big .dec-scroll {
  color: var(--scroll);
}
.big small {
  font-size: 0.42em;
  color: var(--ink-3);
  margin-left: 0.12em;
  letter-spacing: 0;
}

/* keys: deliberately quiet */
.keys-block {
  display: grid;
  gap: 24px 56px;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

@media (min-width: 880px) {
  .keys-block {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}

.keys-block h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.keys-block p {
  margin-top: 10px;
  color: var(--ink-2);
}

.checklist {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  color: var(--ink-2);
}

.checklist svg {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.checklist .yes svg {
  color: var(--pointer);
}

.checklist .no svg {
  color: var(--clicks);
}

.checklist b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Privacy (graphite band) ---------- */

.privacy-band {
  background: linear-gradient(180deg, var(--graphite-2), var(--graphite-3));
  color: var(--on-graphite);
  border-top: 0 !important;
}

.privacy-band .section-head p {
  color: var(--on-graphite-2);
}

.privacy-band a {
  color: #4fe0d2;
}

.privacy-band h2 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  max-width: 16ch;
}

.promises {
  display: grid;
  gap: 32px 48px;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .promises {
    grid-template-columns: 1fr 1fr;
  }
}

.promises li {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.promises h3 {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.promises p {
  margin-top: 8px;
  color: var(--on-graphite-2);
}

.privacy-head {
  display: grid;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 960px) {
  .privacy-head {
    margin-bottom: 0;
  }
}

.privacy-band .label-claim {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--on-graphite-2);
}

.privacy-band .label-claim b {
  color: var(--on-graphite);
  font-weight: 600;
}

.privacy-band .more {
  margin-top: 16px;
  color: var(--on-graphite-2);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  gap: 32px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.price-table caption {
  text-align: left;
  padding-bottom: 12px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.price-table th,
.price-table td {
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
  font-size: 1.125rem;
}

.price-table thead th span {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-2);
}

.price-table tbody th {
  font-weight: 600;
  width: 26%;
}

.price-table td {
  color: var(--ink-2);
}

.price-table .col-pro {
  background: color-mix(in srgb, var(--pointer) 7%, transparent);
}

.price {
  font-family: var(--font-number);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.pricing-notes {
  max-width: 44rem;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td,
  .price-table th {
    display: block;
    width: auto;
  }
  .price-table thead {
    display: none;
  }
  .price-table caption {
    display: block;
    width: auto;
  }
  .price-table tbody tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .price-table tbody th,
  .price-table td {
    padding: 4px 0;
    border: 0;
  }
  .price-table tbody th {
    width: auto;
    padding-bottom: 8px;
  }
  .price-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--ink);
  }
  .price-table .col-pro {
    background: none;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 48rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 200ms ease-out;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq .answer {
  padding-bottom: 20px;
  color: var(--ink-2);
  max-width: 42rem;
}

.faq .answer p + p {
  margin-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 40px 56px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.site-footer .shell {
  display: grid;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 8px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--ink-2);
}

.footer-links a:hover {
  color: var(--ink);
}

.trademarks {
  max-width: 52rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* ---------- Document pages (legal, support, press) ---------- */

.doc-hero {
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 40px);
}

.doc-hero h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  font-weight: 700;
  max-width: 20ch;
}

.doc-hero p {
  margin-top: 14px;
  max-width: 40rem;
  font-size: 1.1875rem;
  color: var(--ink-2);
}

.doc-layout {
  display: grid;
  gap: 40px;
  padding-bottom: clamp(64px, 8vw, 112px);
}

@media (min-width: 1000px) {
  .doc-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
  }
  .toc {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }
}

.toc h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.toc ol {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  font-size: 0.9375rem;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.prose {
  max-width: 44rem;
  color: var(--ink);
}

.prose > * + *,
.prose section > * + * {
  margin-top: 1em;
}

.prose > section:first-child > h2:first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: 1.625rem;
  font-weight: 700;
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.prose h4 {
  margin-top: 1.6em;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: 0;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.6em;
}

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

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li > ul,
.prose li > ol {
  margin-top: 0.4em;
}

.prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.3em;
  border-radius: 4px;
  background: var(--track);
}

.prose blockquote {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--pointer);
  color: var(--ink-2);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin-block: 2.4em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose th,
.prose td {
  padding: 10px 12px 10px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.prose th {
  width: 34%;
  font-weight: 600;
}

.prose td {
  color: var(--ink-2);
}

.prose .meta {
  color: var(--ink-2);
}

.download-list {
  display: grid;
  gap: 16px;
  padding: 0 !important;
  list-style: none;
}

@media (min-width: 640px) {
  .download-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.download-list li {
  margin: 0 !important;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-frame);
  background: var(--surface);
}

.download-list img {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

.download-list a {
  font-weight: 600;
}

.download-list span {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.prose .shot-grid {
  display: grid;
  gap: 24px;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.prose .shot-grid li + li {
  margin-top: 0;
}

.shot-grid a {
  display: block;
  font-weight: 600;
  text-decoration: none;
}

.shot-grid img {
  width: 100%;
  height: auto;
  border-radius: var(--r-small);
  border: 1px solid var(--line);
}

.shot-grid .shot-name {
  display: block;
  margin-top: 10px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.shot-grid li > span {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.contact-card {
  padding: 24px;
  border-radius: var(--r-frame);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-card .email {
  display: inline-block;
  margin-top: 6px;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- 404 ---------- */

.lost {
  padding-block: clamp(64px, 12vw, 160px);
}

.lost .big {
  font-size: clamp(4rem, 2rem + 10vw, 9rem);
}

.lost .big .dec-pointer {
  color: var(--pointer);
}

.lost h1 {
  margin-top: 24px;
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
}

.lost p {
  margin-top: 12px;
  max-width: 34rem;
  color: var(--ink-2);
}

/* ---------- Motion ---------- */

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