/* grinly.au. The app's own palette (ios/Shared/Theme.swift in c31labs/Grinly):
   warm paper by day, a soft plum night, and five accent colours, one per kind
   of card. Accents are fills and rules; the --*-text tokens are the versions
   dark (or, at night, light) enough for text. */

@font-face {
  font-family: "Grinly Rounded";
  src: url("fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Company31 Mono";
  src: url("fonts/company31-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #FFF7EC;
  --surface: #FFFFFF;
  --surface-high: #FFF1DE;
  --hairline: #F0E3D0;
  --ink: #231F35;
  --muted: #625C72;
  --night: #16131F;
  --night-surface: #211D2D;
  --night-rule: #332D45;
  --night-ink: #FFF4E6;
  --night-dim: #A49DB5;

  --sun: #FFC23D;
  --coral: #FF6F59;
  --mint: #3CCB9A;
  --sky: #6BA8FF;
  --lilac: #A78BFA;
  --on-accent: #231F35;

  --sun-text: #8A5A00;
  --coral-text: #B7412E;
  --link: #9A3A28;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(35, 31, 53, .06), 0 8px 24px rgba(35, 31, 53, .06);
  --rounded: ui-rounded, "SF Pro Rounded", "Grinly Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Company31 Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #16131F;
    --surface: #211D2D;
    --surface-high: #2A2539;
    --hairline: #332D45;
    --ink: #FFF4E6;
    --muted: #A49DB5;
    --sun-text: #FFC23D;
    --coral-text: #FF9A88;
    --link: #FFB4A6;
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #16131F;
  --surface: #211D2D;
  --surface-high: #2A2539;
  --hairline: #332D45;
  --ink: #FFF4E6;
  --muted: #A49DB5;
  --sun-text: #FFC23D;
  --coral-text: #FF9A88;
  --link: #FFB4A6;
  --shadow: none;
  color-scheme: dark;
}

/* --- base -------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--rounded);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6rem; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--on-accent); padding: .6rem 1rem; z-index: 10; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* The house caption: mono, uppercase, tracked. */
.cap {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .7rem;
}
.cap-sun { color: var(--sun); }
.cap-dim { color: var(--night-dim); }
.sun { color: var(--sun); }

/* --- buttons ------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.button:active { transform: scale(.97); }
.button-sun { background: var(--sun); color: var(--on-accent); }
.button-sun:hover { background: #FFCF66; }
.button-ghost { border-color: rgba(255, 244, 230, .45); color: var(--night-ink); background: transparent; }
.button-ghost:hover { border-color: var(--night-ink); }
.button-ghost-dark { border-color: var(--hairline); color: var(--ink); background: var(--surface); }
.button-ghost-dark:hover { border-color: var(--ink); }
.app-badge { display: inline-block; line-height: 0; padding: 0 12px 12px 0; vertical-align: middle; }
.app-badge img { height: 48px; width: auto; display: block; }

/* --- header ------------------------------------------------------------- */

.site-header { padding: 1rem 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: .3rem 1.1rem; flex-wrap: wrap; }
.site-nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--sun); }
.site-nav .nav-app { background: var(--ink); color: var(--paper); padding: .45rem 1rem; border-radius: 999px; border: 0; }
.site-nav .nav-app:hover { background: var(--coral-text); }
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.theme-toggle[hidden] { display: none; }

/* --- the night panel: the app's own dark ground -------------------------- */

.hero { padding-block: clamp(.5rem, 2vw, 1.5rem) clamp(2rem, 5vw, 3.5rem); }
.night {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background-color: var(--night);
  background-image:
    radial-gradient(circle at 88% 12%, rgba(255, 194, 61, .22), transparent 32%),
    linear-gradient(to right, rgba(51, 45, 69, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 45, 69, .55) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
  border: 1px solid var(--night-rule);
  border-radius: 24px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  color: var(--night-ink);
}
.night h1 { color: var(--night-ink); margin-bottom: 1.1rem; }
.night .lede { color: rgba(255, 244, 230, .82); font-size: 1.15rem; max-width: 36rem; }
.night a:not(.button):not(.app-badge) { color: var(--sun); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.6rem; }
.hero-ctas .app-badge { padding: 0; }
.night-single, .night-today { display: block; max-width: 44rem; margin-inline: auto; }
.night-letter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* --- jokes --------------------------------------------------------------- */

.joke {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  border-top: 6px solid var(--sun);
  padding: 1.4rem 1.5rem 1.2rem;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.night .joke { background: #FFFFFF; color: #231F35; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.night .joke .cap { color: #625C72; }
.joke-q { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 1rem; }
.joke-grid .joke-q { font-size: 1.15rem; }
.joke-reveal summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: #FFF1DE;
  color: #231F35;
  font-weight: 800;
  font-size: .95rem;
}
.joke-reveal summary::-webkit-details-marker { display: none; }
.joke-reveal summary::before { content: "👀"; }
.joke-reveal[open] summary { display: none; }
.joke-a { font-size: 1.15rem; font-weight: 700; color: #8A5A00; margin: 0; animation: pop .35s ease; }
.joke-grid .joke-a { font-size: 1.05rem; }
.joke-actions { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin: auto 0 0; padding-top: 1rem; font-size: .88rem; }
.joke-link { color: #625C72 !important; }
.joke-share { font: inherit; font-weight: 700; color: #9A3A28; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.another { margin-top: 1.2rem; }
.hero-joke .cap-dim { margin-bottom: .8rem; }
.single-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.night-single .joke-q { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.joke-grid {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.1rem;
}
.joke-grid li:nth-child(5n+2) .joke { border-top-color: var(--coral); }
.joke-grid li:nth-child(5n+3) .joke { border-top-color: var(--sky); }
.joke-grid li:nth-child(5n+4) .joke { border-top-color: var(--mint); }
.joke-grid li:nth-child(5n+5) .joke { border-top-color: var(--lilac); }
.joke-grid-letter { grid-column: 1 / -1; background: var(--surface-high); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.today { padding-bottom: 2.5rem; }

@keyframes pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* --- page heads and sections ------------------------------------------- */

.page-head { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(1.2rem, 3vw, 2rem); }
.page-head .lede { font-size: 1.18rem; color: var(--muted); max-width: 42rem; }
.section-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.section-head h2 { margin: 0; }
.more { font-weight: 800; text-decoration: none; }
.latest, .kinds, .pause, .promises, .joke-list { padding-block: clamp(1.5rem, 4vw, 3rem); }
.empty { color: var(--muted); font-size: 1.1rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chips a { text-decoration: none; color: var(--ink); font-weight: 700; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--hairline); background: var(--surface); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.message { text-align: center; }
.message .lede { margin-inline: auto; }
.message-mark { border-radius: 16px; margin-bottom: 1rem; }
.message form { margin-top: 1.2rem; }
.message .night { text-align: left; margin-top: 2rem; }

/* --- the one-minute pause --------------------------------------------- */

.pause-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.breath { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; background: var(--surface); border-radius: 24px; padding: 2rem 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--hairline); }
.breath-ring { width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(107, 168, 255, .12), transparent 70%); border: 2px dashed rgba(107, 168, 255, .45); }
.breath-dot { width: 90px; height: 90px; border-radius: 50%; background: var(--sky); opacity: .85; transform: scale(.7); transition-property: transform; transition-timing-function: ease-in-out; }
.breath-say { font-weight: 800; font-size: 1.25rem; min-height: 2rem; margin: 0; }

/* --- post cards --------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.1rem; }
.post-card { background: var(--surface); border-radius: var(--radius); padding: 1.4rem 1.5rem; border-left: 5px solid var(--sky); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card-lifestyle { border-left-color: var(--mint); }
.post-card-laughs { border-left-color: var(--sun); }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .88rem; color: var(--muted); margin: auto 0 0; }
.listen-pill { display: inline-flex; align-items: center; gap: .3rem; background: var(--surface-high); color: var(--ink); padding: .2rem .65rem; border-radius: 999px; font-weight: 700; }
.listen-pill svg { width: 14px; height: 14px; fill: currentColor; }

/* --- the newsletter --------------------------------------------------- */

.letter { padding-block: clamp(1.5rem, 4vw, 3rem); }
.letter-card { background: var(--surface-high); border-radius: 24px; padding: clamp(1.4rem, 4vw, 2.6rem); border: 1px solid var(--hairline); position: relative; overflow: hidden; }
.letter-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--sun); opacity: .25; pointer-events: none; }
.signup-h { margin-bottom: .4rem; }
.signup-lede { max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.signup-fields { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) auto; gap: .8rem; align-items: end; margin-top: 1rem; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: .3rem; font-weight: 700; font-size: .92rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input { font: inherit; font-size: 1rem; min-height: 48px; padding: .6rem 1rem; border-radius: 14px; border: 2px solid var(--hairline); background: var(--surface); color: var(--ink); }
.field input:focus { border-color: var(--sky); outline: none; }
.signup-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup-fine { font-size: .85rem; color: var(--muted); margin: .9rem 0 0; }
.signup-status { font-weight: 800; margin: .6rem 0 0; }
.signup-status.ok { color: var(--ink); }
.signup-status.error { color: var(--coral-text); }
.signup.done .signup-fields { display: none; }
.signup-compact .signup-fields { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) auto; }

.letter-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.night .kind { background: var(--night-surface); }
.night .kind p { color: var(--night-ink); }

/* --- kinds and screenshots -------------------------------------------- */

.kind-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .9rem; }
.kind { background: var(--surface); border-radius: 14px; border-top: 4px solid var(--sun); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.kind p { margin: 0; font-weight: 700; }
.kind .cap { margin-bottom: .4rem; }
.kind-coral { border-top-color: var(--coral); }
.kind-sky { border-top-color: var(--sky); }
.kind-mint { border-top-color: var(--mint); }
.kind-lilac { border-top-color: var(--lilac); }
.night .kind .cap { color: var(--night-dim); }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; max-width: 820px; margin: 2rem 0 1rem; }
.shots figure { margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid var(--night-rule); background: #FFF7EC; }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; background: var(--night); color: var(--night-dim); padding: .6rem .8rem; }
.kinds-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; font-weight: 700; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.2rem 2rem; }
.cols > div { border-top: 3px solid var(--sun); padding-top: .9rem; }
.cols > div:nth-child(2) { border-top-color: var(--sky); }
.cols > div:nth-child(3) { border-top-color: var(--mint); }
.cols > div:nth-child(4) { border-top-color: var(--coral); }
.cols p { color: var(--muted); margin: 0; }

/* --- the article ------------------------------------------------------ */

.article-main { padding-top: clamp(1rem, 3vw, 2rem); }
.article { width: min(44rem, 100%); margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.back { display: inline-block; font-weight: 700; text-decoration: none; margin-bottom: 1.4rem; }
.article-head .cap { display: block; }
.article-title { display: flex; align-items: flex-start; gap: 1rem; }
.article-title h1 { flex: 1; }
.deck { font-size: 1.25rem; color: var(--muted); line-height: 1.5; }
.listen-toggle { flex: none; width: 56px; height: 56px; margin-top: .3rem; border-radius: 50%; background: var(--sun); color: var(--on-accent); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(255, 194, 61, .45); }
.listen-toggle svg { width: 26px; height: 26px; fill: currentColor; }
.listen-toggle .icon-pause, .listen-toggle.is-playing .icon-play { display: none; }
.listen-toggle.is-playing .icon-pause { display: block; }

.listen { margin: 1.6rem 0 2rem; padding: 1.2rem 1.3rem; background: var(--surface-high); border-radius: var(--radius); border: 1px solid var(--hairline); }
.listen h2 { margin-bottom: .8rem; }
.voices { border: 0; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.voices legend { font-weight: 800; font-size: .95rem; margin-bottom: .5rem; padding: 0; }
.voice { position: relative; }
.voice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.voice span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.05rem; border-radius: 999px; border: 2px solid var(--hairline); background: var(--surface); font-weight: 700; cursor: pointer; }
.voice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.voice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.listen audio { width: 100%; }
.listen-fine { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }

.article-body { font-size: 1.15rem; line-height: 1.75; }
.article-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.article-body h3 { margin: 1.8rem 0 .6rem; }
.article-body blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--sun); font-size: 1.2rem; font-weight: 700; }
.article-body blockquote p { margin: 0; }
.article-body li { margin-bottom: .4rem; }
.article-body li::marker { color: var(--coral-text); }
.article-body figure { margin: 2rem 0; }
.article-body img { border-radius: 14px; }
.article-body hr { border: 0; text-align: center; margin: 2.4rem 0; }
.article-body hr::after { content: "· · ·"; color: var(--muted); letter-spacing: .5em; }
.article-body code { font-family: var(--mono); font-size: .9em; background: var(--surface-high); padding: .1em .35em; border-radius: 6px; }
.article-foot { border-top: 1px solid var(--hairline); margin-top: 2.6rem; padding-top: 1.4rem; color: var(--muted); }
.article-end { text-align: center; margin-bottom: 1rem; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .7rem; }
.prose li { margin-bottom: .5rem; color: var(--muted); }
.prose li strong { color: var(--ink); }
.prose p { color: var(--muted); }
.updated { margin-top: .5rem; }

/* --- footer ------------------------------------------------------------- */

.site-footer { margin-top: clamp(2rem, 6vw, 4rem); background: var(--night); color: var(--night-ink); padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.site-footer a { color: var(--sun); }
.footer-app { display: flex; gap: 1.2rem; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid var(--night-rule); }
.footer-app img { border-radius: 15px; flex: none; }
.footer-app h2 { font-size: 1.4rem; }
.footer-app p { color: rgba(255, 244, 230, .78); max-width: 40rem; }
.footer-care { padding: 1.8rem 0; border-bottom: 1px solid var(--night-rule); }
.footer-care .cap { color: var(--night-dim); }
.footer-care p { color: rgba(255, 244, 230, .78); max-width: 46rem; }
.helplines { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.helplines a { display: inline-flex; gap: .4rem; text-decoration: none; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--night-rule); color: var(--night-ink); background: var(--night-surface); }
.helplines b { color: var(--sun); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer-base nav a { color: var(--night-ink); text-decoration: none; font-weight: 700; }
.footer-small { font-size: .85rem; color: var(--night-dim); margin: 0; }

/* --- narrow screens ----------------------------------------------------- */

@media (max-width: 860px) {
  .night, .night-letter, .pause-grid { grid-template-columns: 1fr; }
  .signup-fields, .signup-compact .signup-fields { grid-template-columns: 1fr; }
  .signup-fields .button { width: 100%; }
}
@media (max-width: 640px) {
  .night { border-radius: 18px; }
  .header-row { flex-wrap: nowrap; }
  .site-nav { gap: .2rem .8rem; flex-wrap: nowrap; }
  .site-nav .nav-app { display: none; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  .site-nav { gap: .2rem .7rem; }
  .site-nav a { font-size: .92rem; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .shots figure { scroll-snap-align: start; }
  .footer-app { flex-direction: column; }
  .listen-toggle { width: 48px; height: 48px; }
}

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

/* --- why Grinly is different ------------------------------------------- */

.why { padding-block: clamp(1.5rem, 4vw, 3rem); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.why-stat .why-number { font-size: clamp(4rem, 12vw, 7.5rem); font-weight: 800; line-height: .9; letter-spacing: -.04em; color: var(--coral-text); margin: 0 0 .8rem; }
.why-stat p { font-size: 1.1rem; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.why-list h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.why-list p { font-weight: 400; color: var(--muted); }
.cite { font-size: .7em; vertical-align: super; text-decoration: none; font-weight: 800; margin-left: .1em; }
.why-source { font-size: .82rem; color: var(--muted); margin-top: 1.4rem; max-width: 60rem; }
.why-source span { font-weight: 800; margin-right: .3rem; }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .why-list { grid-template-columns: 1fr; }
}
