/*
  PAUSE website, Home: layout only. Every colour, font, size and duration is a token
  in theme.css. Desktop first; phones get a simple stacked version for now.
*/

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  font-feature-settings: "ss01" 0;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--accent);
  color: var(--paper);
}

/* Two languages in one page: only the chosen one shows (see the script in <head>). */
html[lang="ko"] [lang="en"],
html[lang="en"] [lang="ko"] {
  display: none !important;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-pill);
}

.skip:focus {
  top: 1rem;
}

/* ---------- Shared pieces ---------- */

.section {
  padding: var(--section-space) var(--gutter);
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
}

/* An editorial grid: a narrow label column and a wide main column. */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--column-gap);
}

.grid__side {
  grid-column: 1 / span 3;
}

.grid__main {
  grid-column: 4 / span 9;
}

.label {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-soft);
}

html[lang="ko"] .label {
  letter-spacing: 0.06em;
}

.title {
  font-size: var(--text-title);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  text-wrap: balance;
}

html[lang="ko"] .title,
html[lang="ko"] .hero__title {
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-head {
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
  row-gap: 1.5rem;
}

/* Buttons: a quiet pill; the ink fills it from the left on hover. */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--button-height);
  padding: 0 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--hover-duration) var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform var(--hover-duration) var(--ease-out);
}

.button:hover::before {
  transform: translateX(0);
}

.button--small {
  height: 2.375rem;
  padding: 0 1.125rem;
  font-size: var(--text-small);
}

.text-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  padding: 0.25rem 0;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform var(--hover-duration) var(--ease-out);
}

.text-link:hover::after {
  transform: scaleX(0);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-height);
  transition: background-color var(--nav-duration) var(--ease-out),
    box-shadow var(--nav-duration) var(--ease-out),
    backdrop-filter var(--nav-duration) var(--ease-out);
}

.nav--solid {
  background: var(--nav-glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hairline);
}

.nav__inner {
  height: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav__logo img {
  width: 5.75rem;
  height: auto;
}

.nav__links {
  display: flex;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.nav__links a {
  position: relative;
  padding: 0.25rem 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hover-duration) var(--ease-out);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.language {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.language button {
  padding: 0.25rem 0.125rem;
  color: var(--ink-faint);
  transition: color var(--hover-duration) var(--ease-out);
}

.language button:hover,
.language button[aria-pressed="true"] {
  color: var(--ink);
}

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

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 40rem;
  max-height: 75rem;
  overflow: hidden;
  background: var(--paper-deep) url("/media/hero-desktop.jpg") center / cover no-repeat;
}

.hero__film-frame {
  position: absolute;
  inset: 0;
  transform: translateY(var(--film-shift, 0px));
  will-change: transform;
}

.hero__film {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

/* A soft lift from the left and the top, so the words and the nav always read,
   even over the darker corners of the film. */
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--veil) 0%, var(--veil-faint) 34%, var(--paper-clear) 52%),
    linear-gradient(180deg, var(--veil-top) 0%, var(--paper-clear) 18%);
}

.hero__content {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  max-width: 30rem;
  /* home.js sets these while the hero scrolls away */
  transform: translateY(calc(-46% - var(--hero-lift, 0px)));
  opacity: var(--hero-fade, 1);
  will-change: opacity, transform;
}

.hero__title {
  font-size: var(--text-display);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: 1.04;
}

.hero__lede {
  margin-top: 2rem;
  max-width: 19rem;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

/* The film's pause button is the logo's own little PAUSE. It shows only while it has
   keyboard focus; otherwise it's hidden the way screen-reader text is. */
.film-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.film-toggle:not(:focus) {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.film-toggle__pill {
  position: relative;
  width: 2.25rem;
  height: 1.5rem;
  border-radius: 0.75rem / 0.75rem;
  background: var(--accent);
  transition: transform var(--hover-duration) var(--ease-out);
}

.film-toggle:hover .film-toggle__pill {
  transform: scale(1.08);
}

/* two bars while playing */
.film-toggle__pill::before,
.film-toggle__pill::after {
  content: "";
  position: absolute;
  top: 0.4375rem;
  width: 0.1875rem;
  height: 0.625rem;
  border-radius: 1px;
  background: var(--paper);
  transition: opacity var(--hover-duration) var(--ease-out);
}

.film-toggle__pill::before {
  left: 0.875rem;
}

.film-toggle__pill::after {
  right: 0.875rem;
}

/* a small triangle while paused */
.film-toggle[aria-pressed="true"] .film-toggle__pill::before {
  left: 0.9375rem;
  top: 0.4375rem;
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-left: 0.5rem solid var(--paper);
  border-top: 0.3125rem solid transparent;
  border-bottom: 0.3125rem solid transparent;
}

.film-toggle[aria-pressed="true"] .film-toggle__pill::after {
  opacity: 0;
}

.film-toggle__label[data-when="paused"],
.film-toggle[aria-pressed="true"] .film-toggle__label[data-when="playing"] {
  display: none;
}

.film-toggle[aria-pressed="true"] .film-toggle__label[data-when="paused"] {
  display: inline;
}

/* The hero's words arrive slowly once, on load. */
.js .hero__title,
.js .hero__lede,
.js .hero__actions {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  animation: hero-in var(--hero-intro-duration) var(--ease-out) forwards;
}

.js .hero__title { animation-delay: var(--hero-delay-title); }
.js .hero__lede { animation-delay: var(--hero-delay-lede); }
.js .hero__actions { animation-delay: var(--hero-delay-actions); }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Introduction ---------- */

.statement {
  font-size: var(--text-statement);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  line-height: 1.32;
  text-wrap: pretty;
}

.statement__soft {
  display: block;
  margin-bottom: 0.35em;
  color: var(--ink-faint);
}

.intro .label {
  padding-top: 0.9em;
}

.facts {
  margin-top: clamp(5rem, 9vw, 8.5rem);
}

.fact {
  grid-column: span 3;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.fact:first-child {
  grid-column: 4 / span 3;
}

.fact__mark {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

.fact__title {
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.fact__text {
  max-width: 20em;
  color: var(--ink-soft);
}

/* ---------- Interlude ---------- */

.interlude {
  padding: 0 var(--gutter);
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
}

.interlude__image {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: var(--paper-deep);
}

.interlude__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--column-gap);
  counter-reset: step;
}

.step:nth-child(2) {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.step:nth-child(3) {
  margin-top: clamp(6rem, 12vw, 12rem);
}

.step__number {
  margin-top: 1.75rem;
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}

.step__title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.015em;
}

.step__text {
  margin-top: 0.75rem;
  max-width: 24em;
  color: var(--ink-soft);
}

/* The step pictures: one desk, morning to late afternoon. Same frame and slow zoom as
   the colour pictures. */
.step__image,
.app__image {
  overflow: hidden;
  border-radius: var(--radius-image);
  background: var(--paper-deep);
}

.step__image {
  aspect-ratio: 4 / 5;
}

.app__image {
  aspect-ratio: 1 / 1;
}

.step__image img,
.app__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--image-zoom-duration) var(--ease-out);
}

.step:hover .step__image img,
.app__image:hover img {
  transform: scale(var(--image-zoom));
}

/* ---------- Colours ---------- */

.editions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--column-gap);
}

.edition__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-image);
  background: var(--paper-deep);
}

.edition__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--image-zoom-duration) var(--ease-out);
}

.edition:hover .edition__image img {
  transform: scale(var(--image-zoom));
}

.edition__name {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: var(--weight-medium);
}

.edition__swatch {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px var(--swatch-edge);
}

/* ---------- Modes (dark) ---------- */

.section--night {
  max-width: none;
  background: var(--night);
  color: var(--night-text);
}

.section--night > * {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
}

.section--night .label {
  color: var(--night-soft);
}

.section--night .section-head {
  margin-left: auto;
  margin-right: auto;
}

.modes__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--column-gap);
}

.mode {
  padding-top: 1.5rem;
  border-top: 1px solid var(--night-hairline);
}

.mode__number {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  color: var(--accent);
}

.mode__title {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

.mode p:last-child {
  max-width: 24em;
  color: var(--night-soft);
}

/* ---------- App ---------- */

.app__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--column-gap);
  align-items: center;
}

.app__image {
  grid-column: 1 / span 6;
}

.app__text {
  grid-column: 8 / span 5;
}

.app__text .title {
  margin-top: 1.5rem;
}

.stores {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.store {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-width: 11.5rem;
  padding: 0.875rem 1.125rem 0.875rem 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: 0.875rem;
  transition: border-color var(--hover-duration) var(--ease-out),
    background-color var(--hover-duration) var(--ease-out);
}

.store:hover {
  border-color: var(--ink);
  background: var(--hover-wash);
}

.store__small {
  grid-column: 1;
  font-size: var(--text-label);
  color: var(--ink-soft);
  line-height: 1.3;
}

.store__name {
  grid-column: 1;
  font-size: 1.125rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.store__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  font-size: var(--text-small);
  color: var(--ink-soft);
  transition: transform var(--hover-duration) var(--ease-out);
}

.store:hover .store__arrow {
  transform: translate(2px, -2px);
}

/* ---------- Closing ---------- */

.closing {
  position: relative;
  height: min(100vh, 56.25vw);
  min-height: 36rem;
  overflow: hidden;
}

.closing__image,
.closing__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}

.closing__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--veil) 0%, var(--paper-clear) 45%);
}

.closing__content {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  max-width: 30rem;
}

.closing__title {
  font-size: var(--text-display);
  line-height: 1.04;
}

/* The note is centred under the button. Keep it nearly as wide as the button, but
   never wider (or the button moves off the title's edge): a much shorter note looks
   indented, and one starting at the pill's round edge looks too far left. */
.closing__actions {
  margin-top: 2.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.closing__note {
  font-size: var(--text-small);
  color: var(--ink-soft);
}

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

.footer {
  padding: var(--footer-space) var(--gutter) 2.5rem;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--column-gap);
  align-items: start;
}

.footer__logo {
  grid-column: 1 / span 5;
}

.footer__logo img {
  width: min(100%, 22rem);
  height: auto;
}

.footer__columns {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--column-gap);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
}

.footer__column .label {
  margin-bottom: 0.625rem;
}

.footer__column a {
  width: fit-content;
  color: var(--ink);
  transition: color var(--hover-duration) var(--ease-out);
}

.footer__column a:hover {
  color: var(--accent);
}

.footer__bottom {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: var(--text-label);
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* Business details: each item stands apart, the label lighter than its value. */
.footer__business {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1.75rem;
  color: var(--ink-soft);
}

.footer__key {
  margin-right: 0.375em;
  color: var(--ink-faint);
}

/* Never break inside one item, the copyright or the address. */
.footer__item,
.footer__bottom > p:not(.footer__business) {
  white-space: nowrap;
}

/* ---------- Support page (support.html: the same nav and footer as Home) ---------- */

/* The page you're on keeps its underline in the nav. */
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* One centred column, read top to bottom: the title, the email as its next line,
   then the FAQs, smaller and quieter, after a pause in the rhythm (no dividing line). */
.support {
  padding-top: calc(var(--nav-height) + var(--section-space) * 0.55);
  padding-bottom: 0;
}

.support__column {
  max-width: var(--support-width);
  margin: 0 auto;
}

.support__title {
  margin-top: 1.25rem;
}

.support__contact {
  margin-top: clamp(1.5rem, 2.2vw, 2rem);
}

.support__lede {
  font-size: var(--text-lede);
  color: var(--ink-soft);
}

/* The address reads as the title's next line: clearly smaller than the title, but
   still the strongest thing after it. Easy to select and copy. */
.support__email {
  margin-top: 0.375rem;
  font-size: var(--text-email);
  font-weight: var(--weight-medium);
  letter-spacing: -0.015em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.support__faq-label {
  margin-top: clamp(4rem, 6.5vw, 5.5rem);
  margin-bottom: 1rem;
  text-transform: none; /* "FAQs", not "FAQS" */
}

.faq {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

/* Questions: a hairline between each; a + that turns into a - when open. */
.faq__item + .faq__item {
  border-top: 1px solid var(--hairline);
}

.faq__question {
  position: relative;
  display: block;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: -0.005em;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  transition: color var(--hover-duration) var(--ease-out);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__question::before,
.faq__question::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0.75rem;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--hover-duration) var(--ease-out);
}

.faq__question::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__question::after {
  transform: rotate(0deg);
}

.faq__answer {
  max-width: 38em;
  padding: 0 2.5rem 1.5rem 0;
  font-size: var(--text-small);
  color: var(--ink-soft);
}

.faq__item[open] .faq__answer {
  animation: faq-open var(--faq-open-duration) var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-0.375rem);
  }
}

.faq__answer p + p {
  margin-top: 0.75rem;
}

.faq__platform,
.policy__platform {
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-label);
  color: var(--ink);
}

.faq__answer .faq__platform + p {
  margin-top: 0.25rem;
}

.faq__answer p + .faq__platform {
  margin-top: 1.25rem;
}

/* ---------- Privacy page (privacy.html: the same nav and footer as Home) ---------- */

/* The same centred column as 도움말: PAUSE, the title, the date, one opening line,
   then each part of the policy between hairlines, like the FAQs. */
.policy {
  padding-top: calc(var(--nav-height) + var(--section-space) * 0.55);
  padding-bottom: 0;
}

.policy__column {
  max-width: var(--support-width);
  margin: 0 auto;
}

.policy__title {
  margin-top: 1.25rem;
}

.policy__date {
  margin-top: 1rem;
  font-size: var(--text-small);
  color: var(--ink-faint);
}

.policy__lede {
  margin-top: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  font-size: var(--text-lede);
  color: var(--ink-soft);
}

.policy__part {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--text-small);
  color: var(--ink-soft);
}

.policy__part:last-child {
  border-bottom: 1px solid var(--hairline);
}

.policy__heading {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: var(--ink);
}

.policy__part > * + * {
  margin-top: 0.75rem;
}

.policy__part > :not(.policy__heading) + .policy__platform {
  margin-top: 1.5rem;
}

.policy__part > .policy__platform + ul {
  margin-top: 0.5rem;
}

/* Lists: a small dot before each item, hanging in the margin's line. */
.policy__part li {
  position: relative;
  padding-left: 1.125rem;
}

.policy__part li + li {
  margin-top: 0.5rem;
}

.policy__part li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.75em;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--ink-faint);
}

.policy__part strong {
  font-weight: var(--weight-medium);
  color: var(--ink);
}

/* ---------- Reveal on scroll (only with JavaScript; without it everything shows) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion: no movement, no autoplay (see home.js) ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js .hero__title,
  .js .hero__lede,
  .js .hero__actions {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .edition:hover .edition__image img,
  .step:hover .step__image img,
  .app__image:hover img {
    transform: none;
  }

  .faq__item[open] .faq__answer {
    animation: none;
  }
}

/* ---------- Phones and small windows: a simple stacked layout for now ---------- */

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
  }

  .grid__side,
  .grid__main,
  .fact,
  .fact:first-child {
    grid-column: 1 / -1;
  }

  .facts {
    row-gap: 2.5rem;
  }

  .steps,
  .editions,
  .modes__pair {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 3.5rem;
  }

  .step:nth-child(n) {
    margin-top: 0;
  }

  .app__image,
  .app__text,
  .footer__logo,
  .footer__columns {
    grid-column: 1 / -1;
  }

  .app__text,
  .footer__columns {
    margin-top: 3rem;
  }

  .hero__content {
    top: auto;
    bottom: 6rem;
    transform: none;
  }

  /* the close-up runs edge to edge, square, with the debossed logo in the middle */
  .interlude {
    padding: 0;
  }

  .interlude__image {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  .interlude__image img {
    object-position: 100% 50%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ---------- Phones (screens taller than 4:5): the 4:5 film fills the screen ----------
   The words sit together at the bottom, over the film, with a paper fade behind them. */

@media (max-aspect-ratio: 4/5) {
  .hero {
    background-image: url("/media/hero-phone.jpg");
  }

  .hero__film {
    object-position: 50% 50%;
  }

  .hero__veil {
    background:
      linear-gradient(0deg, var(--veil-strong) 0%, var(--veil) 30%, var(--paper-clear) 58%),
      linear-gradient(180deg, var(--veil-top) 0%, var(--paper-clear) 18%);
  }

  .hero__content {
    top: auto;
    bottom: var(--hero-phone-bottom);
    right: var(--gutter);
    max-width: none;
    transform: translateY(calc(-1 * var(--hero-lift, 0px)));
  }

  .hero__lede {
    margin-top: var(--hero-phone-lede-gap);
  }

  .hero__actions {
    margin-top: var(--hero-phone-actions-gap);
  }

  /* On phones the focused film button is just its pill, at the end of the button row
     (its words stay for screen readers). */
  .film-toggle {
    bottom: calc(var(--hero-phone-bottom) + (var(--button-height) - 1.5rem) / 2);
  }

  .film-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
