/* Worth a Shot landing page.
   Instrument Sans (OFL) for everything, set like the Runbook template: 600 headings, tight leading and tracking.
   Geist Mono (OFL) for labels. One accent, sun yellow, used for fills only.
   One system throughout: one radius, one hairline per band, one label style, and a 12-column grid
   where leads and media start at column 7. */

@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --paper: #ffffff;
  --paper-2: #f3f3f0;
  --ink: #111110;
  --ink-2: #565652;
  --ink-3: #8b8b86;
  --rule: #e4e4e0;
  --rule-2: #d6d6d1;
  --night: #111110;
  --night-2: #1c1c1b;
  --night-ink: #f3f3f0;
  --night-ink-2: #a2a29c;
  --night-ink-3: #8a8a84;
  --night-rule: #2c2c2a;
  --sun: #ffc934;
  --sun-deep: #f2b705;
  --stage: #d9d4cb;

  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: "Instrument Sans", system-ui, sans-serif;

  --pad: clamp(20px, 4.45vw, 64px);
  --max: 1312px;
  --gap: 24px;
  --sec: clamp(88px, 10vw, 144px);
  --head-gap: clamp(44px, 5vw, 72px);
  --r: 6px;
  --r-s: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* from the edge of the content column to the edge of the window */
  --bleed: calc((100vw - min(100vw, var(--max) + var(--pad) * 2)) / 2 + var(--pad));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus, var(--ink)); outline-offset: 3px; }
.dark, .dev-dark, .foot { --focus: var(--night-ink); }

.wrap { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* ---------------------------------------------------------------- type */
.h-hero, .h-xl, .h-l, .h-m, .h-s { font-family: var(--sans); font-weight: 600; text-wrap: balance; }
.h-hero { font-size: clamp(54px, 9.7vw, 140px); line-height: .88; letter-spacing: -0.03em; }
.h-xl   { font-size: clamp(52px, 8.6vw, 124px); line-height: .9; letter-spacing: -0.03em; }
.h-l    { font-size: clamp(36px, 4.2vw, 60px); line-height: .98; letter-spacing: -0.025em; }
.h-m    { font-size: clamp(30px, 2.9vw, 42px); line-height: 1.02; letter-spacing: -0.02em; }
.h-s    { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.24; letter-spacing: -0.012em; }
.lead   { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.meta   { font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); }
.note   { font-size: 14px; color: var(--ink-3); }

/* a section's label: mono, with one small sun mark */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 1px; background: var(--sun); }

.dark .lead, .dev-dark .lead { color: var(--night-ink-2); }
.dark .meta, .dev-dark .meta, .foot .meta { color: var(--night-ink-3); }
.dark .eyebrow, .dev-dark .eyebrow { color: var(--night-ink); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 15px; font-size: 14px; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-line { border-color: #d0d0cb; color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2b2b29; }
.btn-line-ink { border-color: rgba(17,17,16,.3); color: var(--ink); }
.btn-line-ink:hover { border-color: var(--ink); background: rgba(17,17,16,.04); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--sans); letter-spacing: -0.015em; text-decoration: none; }
.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; flex: none; }
.mark::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--sun); }
.nav-links { display: flex; gap: 32px; margin: 0 auto; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .18s; }
.nav-links a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- 1. hero */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.hero-grid .h-hero { grid-column: 1 / -1; padding: clamp(52px, 5.6vw, 84px) 0 clamp(36px, 3.4vw, 52px); }
.hero-copy { grid-column: 1 / span 4; padding-bottom: 28px; }
.hero-copy .lead { max-width: 26em; margin-top: -7px; }
.hero-copy .actions { margin-top: 32px; }
.hero-copy .note { margin-top: 16px; }

.hero-pic {
  grid-column: 5 / span 8; position: relative; aspect-ratio: 3 / 2; align-self: start;
  margin-right: calc(var(--bleed) * -1);
  background: var(--stage); cursor: crosshair; overflow: hidden; user-select: none; -webkit-user-select: none;
}
.hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 10%; transition: opacity .55s var(--ease), transform .8s var(--ease); }
.hero-pic .near { opacity: 0; transform: scale(1.012); z-index: 1; }
.hero-pic[data-focus="near"] .near { opacity: 1; transform: none; }
.hero-pic[data-focus="near"] .far { transform: scale(1.012); }
/* the focus point: four corner marks, as in a viewfinder */
.af {
  --c: var(--sun); --l: 15px; --t: 2px;
  position: absolute; z-index: 2; width: 76px; height: 76px; margin: -38px 0 0 -38px; left: var(--x, 41%); top: var(--y, 34%);
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l),
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t),
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l);
  background-repeat: no-repeat;
  transition: left .45s var(--ease), top .45s var(--ease), transform .45s var(--ease), opacity .3s;
}
.af.lock { animation: lock .5s var(--ease); }
@keyframes lock { 0% { transform: scale(1.35); opacity: .2; } 60% { transform: scale(.94); opacity: 1; } 100% { transform: scale(1); } }
.hero-cap {
  position: absolute; z-index: 2; left: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 10px; border-radius: var(--r-s);
  background: var(--ink); color: var(--night-ink); font: 500 13px/1.3 var(--mono); letter-spacing: 0.04em; pointer-events: none;
}
.hero-cap::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 1px; background: #4a4a46; transition: background-color .3s; }
.hero-cap.done::before { background: var(--sun); }

/* ---------------------------------------------------------------- bands */
.band { padding: var(--sec) 0; }
.band.grey { background: var(--paper-2); }
.band.dark { background: var(--night); color: var(--night-ink); }

.split-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.split-head > :first-child { grid-column: 1 / span 5; }
.split-head > .lead { grid-column: 7 / span 5; margin-bottom: -6px; }
.split-head .meta { margin-bottom: 22px; }

/* ---------------------------------------------------------------- 2. see it */
/* a header row, then the film from edge to edge; it runs straight into the next band */
#how { padding-bottom: 0; }
.feature-head { margin-bottom: var(--head-gap); }
.feature-head > :first-child { grid-column: 1 / span 6; }
.feature-media { display: block; width: 100%; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; background: var(--night-2); }

/* ---------------------------------------------------------------- 3. what you'll learn */
.show-head { margin-bottom: var(--head-gap); }
.show { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }

/* the index: two courses, a topic per line */
.show-index { grid-column: 1 / span 3; display: flex; flex-direction: column; align-items: flex-start; }
.show-group { width: 100%; padding-top: 14px; border-top: 1px solid var(--rule-2); margin-bottom: 10px; color: var(--ink-2); }
.show-group ~ .show-group { margin-top: 28px; }
.show-topic {
  all: unset; box-sizing: border-box; position: relative; cursor: pointer; padding: 5px 0 5px 20px;
  font: 600 clamp(19px, 1.5vw, 22px)/1.2 var(--sans); letter-spacing: -0.015em; color: var(--ink-3);
  transition: color .2s;
}
.show-topic::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 1px;
  background: var(--sun); transform: scale(0); transition: transform .25s var(--ease);
}
.show-topic:hover { color: var(--ink-2); }
.show-topic[aria-selected="true"] { color: var(--ink); }
.show-topic[aria-selected="true"]::before { transform: none; }
.show-topic:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

/* the stage: the lesson's own pictures at their own 3:2 shape */
.show-stage { grid-column: 5 / -1; }
.show-pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--stage); }
.show-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.show-pic img.on { opacity: 1; }

/* the settings: one segment each along a rule; the one shown carries the ink */
.show-steps { display: flex; flex-wrap: wrap; margin-top: 18px; }
.show-step {
  all: unset; box-sizing: border-box; position: relative; flex: 1 1 0; min-width: max-content; cursor: pointer;
  padding: 14px 16px 2px 0; border-top: 1px solid var(--rule-2);
  font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); transition: color .2s;
}
.show-step::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); }
.show-step:hover { color: var(--ink-2); }
.show-step.on { color: var(--ink); }
.show-step.on::after { width: 100%; }
.show.auto .show-step.on::after { animation: show-fill var(--dur, 1.8s) linear both; }
.show-step:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
@keyframes show-fill { from { width: 0; } to { width: 100%; } }

/* ---------------------------------------------------------------- 4. guide + player */
/* one centred column: the heading and lead, then a wide player */
.guide-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.guide-copy .lead { margin: 28px auto 0; }
.player { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 1088px); margin: var(--head-gap) auto 0; }
.player > img, .player > video { grid-area: 1 / 1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); background: var(--night); }
.play {
  all: unset; grid-area: 1 / 1; place-self: center; position: relative; cursor: pointer;
  width: 72px; height: 72px; border-radius: 50%; background: var(--sun);
  transition: transform .3s var(--ease), background-color .18s;
}
.play:hover { transform: scale(1.06); background: var(--sun-deep); }
.play:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.play span { position: absolute; left: 50%; top: 50%; margin: -12px 0 0 -7px; border: 12px solid transparent; border-left: 19px solid var(--ink); border-right: 0; }
.player-cap { grid-area: 2 / 1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.player.playing .play { display: none; }

/* ---------------------------------------------------------------- 5. devices */
.devices { display: grid; grid-template-columns: 1fr 1fr; }
.dev { padding: var(--sec) var(--pad); display: flex; flex-direction: column; align-items: flex-start; }
.dev > * { max-width: 540px; width: 100%; }
.dev-dark { background: var(--night); color: var(--night-ink); padding-left: var(--bleed); }
.dev-light { background: var(--paper-2); padding-right: var(--bleed); }
.dev .meta { margin-bottom: 22px; }
.dev .lead { margin: 20px 0 48px; max-width: 30em; }
.dev .btn { width: auto; max-width: none; margin-top: auto; }

/* ---------------------------------------------------------------- 6. photography 1 + day strip */
.band.day { padding-bottom: clamp(80px, 8vw, 120px); }
.strip { list-style: none; margin: var(--head-gap) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(7, 1fr); gap: 0 10px; max-width: 1760px; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--stage); }
/* the labels sit on one ruled line, a tick at each hour, like a time scale */
.strip .meta { position: relative; margin: 16px -10px 0 0; padding-top: 13px; border-top: 1px solid var(--rule-2); color: var(--ink); }
.strip li:last-child .meta { margin-right: 0; }
.strip .meta::before { content: ""; position: absolute; left: 0; top: -4px; width: 1px; height: 7px; background: var(--ink); }

/* ---------------------------------------------------------------- 7. photography 2 */
.p2-head { margin-bottom: var(--head-gap); }
.p2-head .lead { color: var(--night-ink-2); }
.p2-grid { display: grid; grid-template-columns: calc(50% + 21px) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.p2-big { grid-column: 1; }
.p2-big img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--night-2); }
.p2-small { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); }
.p2-small img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); background: var(--night-2); }
.p2-grid figcaption { margin-top: 14px; font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--night-ink-2); }

/* ---------------------------------------------------------------- 8. pricing */
.prices { margin-top: var(--head-gap); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.price { position: relative; grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 22px 28px 32px 0; }
.price + .price { padding-left: 28px; border-left: 1px solid var(--rule); }
.price .meta { color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 10px; }
.amount { font: 600 clamp(44px, 4.4vw, 64px)/1 var(--sans); letter-spacing: -0.035em; margin: 30px 0 22px; }
.price > p:last-child { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 22em; }
.price.best::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--sun); }
.tag { flex: none; padding: 4px 7px; border-radius: var(--r-s); background: var(--sun); color: var(--ink); font: 500 13px/1 var(--mono); letter-spacing: 0.02em; }
.fine { margin-top: 20px; font-size: 14px; color: var(--ink-3); max-width: 60em; }

/* ---------------------------------------------------------------- 9. questions */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; }
.faq > div:first-child { grid-column: 1 / span 5; position: sticky; top: 112px; }
.faq > div:first-child .lead { margin-top: 22px; max-width: 22em; }
.faq a { text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .18s; }
.faq a:hover { text-decoration-thickness: 2px; }
.qa { grid-column: 7 / span 6; border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule-2); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 clamp(18px, 1.45vw, 21px)/1.3 var(--sans); letter-spacing: -0.012em; transition: color .18s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ink-2); }
.qa summary:focus-visible { outline-offset: 2px; border-radius: 2px; }
.qa summary::after { content: ""; flex: none; width: 13px; height: 13px; margin-right: 3px; background: linear-gradient(var(--ink), var(--ink)) center / 13px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 13px no-repeat; transition: transform .35s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 56px 28px 0; color: var(--ink-2); font-size: 16.5px; max-width: 38em; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .qa details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .qa details[open]::details-content { height: auto; }
}

/* ---------------------------------------------------------------- 10. call to action */
.cta { background: var(--sun); padding: clamp(88px, 10vw, 144px) 0 clamp(56px, 6vw, 88px); }
.cta .h-xl { max-width: 9em; }
.cta-row { margin-top: clamp(56px, 6vw, 96px); padding-top: 24px; border-top: 1px solid rgba(17,17,16,.2); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta .lead { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--night); color: var(--night-ink); padding: 80px 0 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.foot-grid > div { grid-column: 1 / span 5; }
.foot-grid > div p { margin-top: 18px; color: var(--night-ink-2); max-width: 26em; font-size: 15px; }
.foot-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.foot-grid nav:first-of-type { grid-column: 7 / span 3; }
.foot-grid nav:last-of-type { grid-column: 10 / span 3; }
.foot-grid nav .meta { margin-bottom: 8px; }
.foot-grid nav a { text-decoration: none; color: var(--night-ink-2); transition: color .18s; }
.foot-grid nav a:hover { color: var(--night-ink); }
.giant { width: max-content; margin: clamp(64px, 8vw, 112px) 0 24px; font: 600 10px/0.84 var(--sans); letter-spacing: -0.045em; white-space: nowrap; color: var(--night-ink); transition: none; }
.foot .mark { background: #2c2c2a; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--night-rule); font: 500 13px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--night-ink-3); }

/* ---------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero-copy { grid-column: 1 / span 5; }
  .hero-pic { grid-column: 6 / span 7; }
  .show-index { grid-column: 1 / span 4; }
}

@media (max-width: 860px) {
  .hero-grid { display: block; }
  .hero-grid .h-hero { padding: 44px 0 24px; }
  .hero-copy { padding: 0 0 36px; }
  .hero-copy .lead { margin-top: 0; }
  .hero-pic { aspect-ratio: 3 / 2; margin: 0 calc(var(--pad) * -1); }
  .hero-cap { bottom: 16px; left: 16px; }

  .h-l { font-size: clamp(36px, 6vw, 52px); }
  .h-m { font-size: clamp(30px, 4.6vw, 40px); }
  .split-head > :first-child, .split-head > .lead { grid-column: 1 / -1; }
  .split-head > .lead { margin: 4px 0 0; }

  .guide-copy { text-align: left; }
  .guide-copy .lead { margin-left: 0; }
  .player { margin-top: 40px; }

  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scroll-padding: 0 var(--pad); }
  .strip li { flex: 0 0 62%; scroll-snap-align: start; }

  /* the index becomes a row of topics that scrolls sideways, above the picture */
  .show { display: block; }
  .show-index {
    flex-direction: row; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad) * -1) 20px;
    padding: 0 var(--pad); scroll-padding: 0 var(--pad);
  }
  .show-index::-webkit-scrollbar { display: none; }
  .show-group { display: none; }
  .show-topic {
    flex: none; padding: 9px 14px; border: 1px solid var(--rule-2); border-radius: var(--r);
    font-size: 15px; letter-spacing: -0.01em; color: var(--ink-2); background: var(--paper);
  }
  .show-topic::before { display: none; }
  .show-topic[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
  .p2-grid { display: block; }
  .p2-small { margin-top: 40px; }

  .devices { grid-template-columns: 1fr; }
  .dev { padding: 80px var(--pad); }
  .dev .lead { margin-bottom: 36px; }

  .prices { grid-template-columns: 1fr 1fr; }
  .price { padding: 22px 16px 28px 0; }
  .price + .price { padding-left: 16px; }
  .price:nth-child(3) { padding-left: 0; border-left: 0; }
  .price:nth-child(n+3) { border-top: 1px solid var(--rule); }

  .faq { display: block; }
  .faq > div:first-child { position: static; margin-bottom: 40px; }

  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot-grid > div { grid-column: 1 / -1; }
  .foot-grid nav:first-of-type, .foot-grid nav:last-of-type { grid-column: span 1; }
  .foot-base { flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
  .actions .btn { flex: 1 1 auto; }

  .player-cap .meta { display: none; }
  .play { width: 60px; height: 60px; }
  .play span { margin: -10px 0 0 -6px; border-width: 10px; border-left-width: 16px; }

  /* prices become a ruled list: name and note on the left, the price on the right */
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price, .price + .price { grid-row: auto; grid-template-rows: auto auto; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; padding: 20px 0 22px; border-left: 0; }
  .price:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .price .meta { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .amount { grid-column: 2; grid-row: 1 / span 2; margin: -2px 0 0; font-size: 40px; text-align: right; }
  .price > p:last-child { grid-column: 1; grid-row: 2; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  /* none, not a tiny duration: fit() measures the footer word right after setting its size */
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- before launch */
/* Where a store button will go once the store page is live: a label in the eyebrow's style, beside the button that plays a lesson. */
.soon { display: inline-flex; align-items: center; gap: 10px; height: 48px; font: 500 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--ink-2); white-space: nowrap; }
.soon::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 1px; background: var(--sun); }
.actions:has(.soon) { column-gap: 20px; row-gap: 4px; }
@media (max-width: 520px) { .actions .soon { height: 36px; } }
