/*
  Pepperelle landing page. Built for a phone first.
  The look follows the app's design system (handoff/design/README.md):
  four colours, three themes, Nunito, 1px hairlines in the ink colour,
  no shadows, no gradients, no tints. Hierarchy comes from weight and size.
*/

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/nunito.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #7f1719;
  --ivory: #f5eee1;
  --white: #ffffff;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(64px, 10vw, 136px);
  --sheet: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 900px) { :root { --sheet: 40px; } }

/* Themes. A filled control is the page inverted; a card can nest its own theme. */
.t-ivory { --surface: var(--ivory); --ink: var(--red); --on-ink: var(--ivory); }
.t-white { --surface: var(--white); --ink: var(--red); --on-ink: var(--white); }
.t-red   { --surface: var(--red);   --ink: var(--ivory); --on-ink: var(--red); }
.t-ivory, .t-white, .t-red { background: var(--surface); color: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 26px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--red); color: var(--ivory); }
.t-red ::selection { background: var(--ivory); color: var(--red); }
.t-red .t-ivory ::selection, .t-red .t-white ::selection { background: var(--red); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1264px; margin-inline: auto; padding-inline: var(--gutter); }

/* Sections lie on each other like sheets: a rounded top edge over the one before. */
.section { position: relative; padding-block: var(--section) calc(var(--section) + var(--sheet)); }
.sheet { margin-top: calc(var(--sheet) * -1); border-radius: var(--sheet) var(--sheet) 0 0; }
.sheet--line { border-top: 1px solid var(--ink); }

/* Type */
.eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; }
.small { font-size: 13px; line-height: 18px; }
.body { font-size: 17px; line-height: 26px; max-width: 34em; }
.lead { font-size: clamp(18px, 1.75vw, 22px); line-height: 1.5; max-width: 26em; }

/* The statement: a soft line in Light, answered by a firm line in ExtraBold. */
.statement { font-weight: 300; text-wrap: balance; }
.statement b { display: block; font-weight: 800; }
.statement--xl { font-size: clamp(42px, 11.5vw, 84px); line-height: 1.04; letter-spacing: -0.014em; }
.statement--l { font-size: clamp(34px, 9vw, 58px); line-height: 1.1; letter-spacing: -0.008em; }
.statement--m { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.2; }
.statement--card, .statement--phone { font-size: 24px; line-height: 30px; }

@media (min-width: 900px) {
  .body { font-size: 18px; line-height: 28px; }
  .statement--xl { font-size: clamp(48px, 5.6vw, 88px); }
  .statement--l { font-size: clamp(40px, 4.3vw, 58px); }
}

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 15px; line-height: 20px; font-weight: 700; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--small { min-height: 36px; padding: 0 18px; font-size: 14px; }
button.btn:active { transform: scale(0.97); }
@media (hover: hover) {
  button.btn--primary:hover { background: transparent; color: var(--ink); }
}

.link { font-size: 12px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; min-height: 44px; padding-inline: 4px; }

.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 15px; line-height: 20px;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.dots { display: inline-flex; gap: 8px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink); }
.dots i.on { background: var(--ink); }
.dots--s { gap: 5px; }
.dots--s i { width: 7px; height: 7px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink); }
.dot.on { background: var(--ink); }

.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--ink); flex: none; transition: background-color 0.15s; }
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--ink); transition: transform 0.2s var(--ease), background-color 0.15s;
}
.switch[aria-checked="true"] { background: var(--ink); }
.switch[aria-checked="true"]::after { transform: translateX(20px); background: var(--on-ink); border-color: var(--on-ink); }
.switch-label { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; line-height: 20px; cursor: pointer; }

.arrow { flex: none; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.arrow--s { display: inline-block; vertical-align: baseline; margin-inline: 2px; }

/* Things come in as they enter the screen. Without the script nothing is hidden. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* The first screen does not wait for the script: it comes in by itself. */
.hero .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Hero */
.hero { position: relative; z-index: 2; border-radius: 0 0 var(--sheet) var(--sheet); }
.top { padding-block: 20px; }
.top__logo { display: inline-block; }
.top__logo img { width: 128px; height: auto; margin-left: -5px; }
.hero__in { display: grid; gap: 40px; padding-top: clamp(20px, 5vw, 48px); }
.hero__text .eyebrow { margin-bottom: clamp(16px, 2.4vw, 28px); }
.hero__text .lead { margin-top: clamp(20px, 2.6vw, 32px); }
.soon-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
  min-height: 40px; padding: 0 18px 0 14px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 14px; line-height: 20px;
}
.hero__figure { justify-self: center; width: min(360px, 100%); margin-bottom: -88px; }
.hero__figure figcaption { margin-bottom: 14px; text-align: center; }
@media (min-width: 900px) {
  .top { padding-block: 28px; }
  .top__logo img { width: 140px; }
  .hero__in { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(48px, 7vw, 112px); align-items: center; padding-top: 8px; }
  .hero__figure { justify-self: end; margin-bottom: -112px; }
}

/* The phone in the hero: the Today screen */
.phone { display: flex; flex-direction: column; min-height: 664px; border: 1px solid var(--ink); border-radius: 44px; padding: 14px 20px 0; overflow: hidden; }
.phone::before { content: ""; flex: none; align-self: center; width: 84px; height: 24px; border-radius: 999px; background: var(--ink); margin-bottom: 24px; }
.ph-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ph-head .eyebrow { margin-bottom: 6px; font-size: 11px; }
.ph-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); }
.ph-uv {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  margin-top: 18px; padding: 12px 0; border-block: 1px solid var(--ink);
  font-size: 13px; line-height: 18px;
}
.ph-uv b { font-weight: 800; font-size: 14px; }
.ph-uv__city { margin-left: auto; }
.ph-part { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-bottom: 10px; }
.ph-part .eyebrow { font-size: 11px; }

.steps li { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 0; border-top: 1px solid var(--ink); }
.steps li:last-child { border-bottom: 1px solid var(--ink); }
.steps__n { flex: none; width: 34px; font-size: 24px; line-height: 28px; font-weight: 300; }
.steps__body { flex: 1; min-width: 0; }
.steps__body b { display: block; font-size: 16px; line-height: 21px; font-weight: 800; }
.steps__body small { display: block; font-size: 13px; line-height: 18px; }
.tick { position: relative; flex: none; width: 44px; height: 44px; margin-right: -8px; }
.tick::after {
  content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid var(--ink);
  transition: background-color 0.2s, transform 0.3s var(--ease);
}
.tick[aria-pressed="true"]::after { background: var(--ink); transform: scale(1.08); }

.ph-actions { display: flex; gap: 10px; margin-top: 16px; }
.ph-closed { display: none; justify-content: space-between; align-items: center; margin-top: 18px; padding: 4px 0; border-block: 1px solid var(--ink); font-size: 14px; }
.ph-closed span { display: inline-flex; align-items: center; gap: 10px; }
.ph-closed b { font-weight: 800; font-size: 16px; }
.phone[data-state="done"] .ph-open { display: none; }
.phone[data-state="done"] .ph-closed { display: flex; }

.ph-parts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 20px; }
.part { border: 1px solid var(--ink); border-radius: 999px; padding: 7px 8px; text-align: center; }
.part b { display: block; font-size: 14px; line-height: 18px; font-weight: 800; }
.part small { display: block; font-size: 12px; line-height: 16px; }

.ph-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: auto -20px 0; padding: 10px 6px 18px; border-top: 1px solid var(--ink); text-align: center; font-size: 13px; line-height: 18px; }
.ph-tabs i { display: block; width: 6px; height: 6px; margin: 0 auto 6px; border-radius: 50%; border: 1px solid var(--ink); }
.ph-tabs .is-active { font-weight: 800; }
.ph-tabs .is-active i { background: var(--ink); }

/* How it works */
.how-sec { margin-top: calc(var(--sheet) * -1); padding-top: calc(var(--sheet) + 88px + 48px); overflow: hidden; }
@media (min-width: 900px) { .how-sec { padding-top: calc(var(--sheet) + 112px + 64px); } }

/* One word, said every day: a filled dot when it was, an empty one when it was not. */
.ribbon { margin-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.ribbon__track {
  display: flex; align-items: center; gap: 0.3em; width: max-content; padding-right: 0.3em;
  font-size: clamp(64px, 16vw, 168px); line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; white-space: nowrap;
  animation: ribbon 48s linear infinite;
}
.ribbon__track b { font-weight: 800; }
.ribbon__track i { flex: none; width: 0.26em; height: 0.26em; border-radius: 50%; border: 1px solid var(--ink); }
.ribbon__track i.on { background: var(--ink); }
@keyframes ribbon { to { transform: translateX(-50%); } }

.how__head .eyebrow { margin-bottom: 20px; }
.how__head .body { margin-top: 24px; }
.how {
  display: flex; gap: 12px; margin: clamp(36px, 5vw, 64px) calc(var(--gutter) * -1) 0; padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.how::-webkit-scrollbar { display: none; }
.how li {
  flex: 0 0 min(78%, 320px); scroll-snap-align: start;
  display: flex; flex-direction: column; min-height: 264px;
  border: 1px solid var(--red); border-radius: 12px; padding: 20px 20px 24px;
}
.how__n { font-size: 72px; line-height: 0.9; font-weight: 300; letter-spacing: -0.02em; margin-bottom: auto; padding-bottom: 32px; }
.how h3 { font-size: 22px; line-height: 28px; font-weight: 800; margin-bottom: 8px; }
.how p { font-size: 16px; line-height: 24px; }
@media (min-width: 760px) {
  .how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .how li { min-height: 320px; padding: 28px 28px 32px; }
  .how__n { font-size: 96px; }
}

/* Feature sections: text and a piece of the app */
.split { display: grid; gap: 48px; }
.split__text .eyebrow { margin-bottom: 20px; }
.split__text .body { margin-top: 24px; }
.split__text .aside { margin-top: 48px; }
.split__text .aside + .body { margin-top: 12px; }
.split .figure { width: 100%; max-width: 480px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
  .split .figure { justify-self: end; }
  .split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--flip .split__text { order: 2; }
  .split--flip .figure { justify-self: start; }
}

.facts { margin-top: 32px; max-width: 34em; }
.facts li { padding: 14px 0; border-top: 1px solid var(--ink); font-size: 16px; line-height: 24px; }
.facts li:last-child { border-bottom: 1px solid var(--ink); }

/* Figures */
.figure figcaption { margin-top: 16px; font-size: 13px; line-height: 18px; }
.panel { border: 1px solid var(--ink); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.panel__title { font-size: 20px; line-height: 26px; font-weight: 700; }
.panel__title + .small { margin: 6px 0 16px; }
.panel__title--next { margin: 28px 0 12px; }

/* UV */
.uv__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.uv__main { display: flex; align-items: center; gap: clamp(16px, 4vw, 36px); margin-top: 8px; }
.uv__num { font-size: clamp(168px, 46vw, 232px); line-height: 0.86; font-weight: 300; letter-spacing: -0.02em; margin-left: -0.04em; font-variant-numeric: tabular-nums; }
.uv__side { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; line-height: 22px; }
.uv__side b { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; font-weight: 800; }
.uv__curve { width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.uv__line { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.uv__fill { fill: var(--ink); }
.uv__now { fill: var(--surface); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.uv__curve text { fill: var(--ink); font-size: 12px; }
.uv__curve .is-now { font-weight: 800; }
@media (min-width: 900px) { .uv__num { font-size: clamp(180px, 16vw, 232px); } }

.spf { border-radius: 12px; padding: 24px; margin-top: 20px; }
.spf .statement b { display: inline; }
.spf[data-applied] .statement span::after { content: " ·"; }
.spf__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }

.js .uv .dots i.on { transition: background-color 0.3s; }
.js .uv:not(.is-in) .dots i.on { background: transparent; }
.js .uv.is-in .dots i:nth-child(1) { transition-delay: 0.35s; }
.js .uv.is-in .dots i:nth-child(2) { transition-delay: 0.55s; }
.js .uv.is-in .dots i:nth-child(3) { transition-delay: 0.75s; }
.js .uv .uv__fill { transition: opacity 0.6s 0.5s; }
.js .uv:not(.is-in) .uv__fill { opacity: 0; }
.js .uv .spf { transition: transform 0.8s var(--ease) 0.25s; }
.js .uv:not(.is-in) .spf { transform: translateY(24px); }

/* Diary calendar */
.cal .eyebrow { margin-bottom: 20px; }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.cal__head { font-size: 13px; line-height: 18px; padding-bottom: 8px; }
.cal__grid { row-gap: 6px; }
.cal__grid li { padding: 10px 0 12px; border: 1px solid transparent; border-radius: 8px; }
.cal__grid b { display: block; font-size: 15px; line-height: 20px; font-weight: 400; margin-bottom: 8px; }
.cal__grid span { display: inline-flex; gap: clamp(3px, 0.8vw, 5px); }
.cal__grid i { width: clamp(8px, 2.3vw, 10px); height: clamp(8px, 2.3vw, 10px); border-radius: 50%; border: 1px solid var(--ink); }
.cal__grid i.on { background: var(--ink); }
.cal__grid .is-today { border-color: var(--ink); }
.cal__grid .is-today b { font-weight: 800; }
.js .cal .cal__grid i.on { transition: background-color 0.25s; transition-delay: calc(var(--n, 0) * 22ms + 200ms); }
.js .cal:not(.is-in) .cal__grid i.on { background: transparent; transition-delay: 0s; }

/* Products */
.shelf__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shelf__title { font-size: 32px; line-height: 36px; font-weight: 800; }
.shelf__count { margin: 6px 0 20px; font-size: 15px; line-height: 22px; }
.shelf li { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; border-top: 1px solid var(--ink); }
.shelf li:last-child { border-bottom: 1px solid var(--ink); }
.level { position: relative; flex: none; width: 8px; height: 36px; border-radius: 999px; border: 1px solid var(--ink); overflow: hidden; }
.level i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ink); transform-origin: bottom; }
.shelf__body { flex: 1; min-width: 0; }
.shelf__body b { display: block; font-size: 17px; line-height: 22px; font-weight: 800; }
.shelf__body small { display: block; font-size: 13px; line-height: 18px; }
.shelf__est { font-size: 15px; line-height: 20px; white-space: nowrap; }
.js .figure .level i { transition: transform 1s var(--ease); transition-delay: calc(var(--n, 0) * 90ms + 250ms); }
.js .figure:not(.is-in) .level i { transform: scaleY(0); transition-delay: 0s; }

/* Check-in */
.js [data-demo="checkin"] .chip { transition: background-color 0.15s, color 0.15s, transform 0.5s var(--ease), opacity 0.5s; }
.js .figure:not(.is-in) [data-demo="checkin"] .chip { opacity: 0; transform: translateY(10px); }
.js .figure.is-in [data-demo="checkin"] .chip { transition-delay: 0s, 0s, calc(var(--n, 0) * 35ms + 150ms), calc(var(--n, 0) * 35ms + 150ms); }
.js .figure.is-settled [data-demo="checkin"] .chip { transition: background-color 0.15s, color 0.15s, transform 0.15s; transition-delay: 0s; }

/* Experiment result */
.result__title { margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 20px 0 4px; font-size: 13px; line-height: 18px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.bar-key { width: 28px; height: 8px; border-radius: 999px; border: 1px solid var(--ink); }
.bar-key.on { background: var(--ink); }
.measure { margin-top: 20px; }
.measure p { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.measure p > b { font-size: 17px; line-height: 22px; font-weight: 800; }
.measure p span { font-size: 15px; line-height: 20px; white-space: nowrap; }
.measure p span b { font-weight: 800; }
.bar { display: block; width: var(--w); height: 8px; border-radius: 999px; border: 1px solid var(--ink); }
.bar + .bar { margin-top: 6px; }
.bar.on { background: var(--ink); }
.js .figure .bar { transition: width 1.1s var(--ease) 0.3s; }
.js .figure .bar.on { transition-delay: 0.55s; }
.js .figure:not(.is-in) .bar { width: 8px; transition-delay: 0s; }
.reading { margin-top: 28px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--ink); font-size: 15px; line-height: 22px; }
.reading .eyebrow { margin-bottom: 8px; }

/* Principles */
.pairs { display: grid; gap: 0; margin-top: 28px; }
.pairs li { padding: 28px 0 32px; border-top: 1px solid var(--ink); }
.pairs .body { margin-top: 12px; max-width: 26em; }
@media (min-width: 760px) {
  .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); }
  .pairs li { padding: 32px 0 48px; }
}

/* Soon and footer */
.soon { padding-bottom: 0; }
.soon__symbol { width: clamp(64px, 12vw, 96px); height: auto; margin-bottom: clamp(24px, 3vw, 40px); }
.footer { position: relative; display: grid; gap: 20px; margin-top: var(--section); padding-block: 32px calc(104px + env(safe-area-inset-bottom)); font-size: 13px; line-height: 20px; }
.footer::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--ink); }
.footer img { width: 104px; height: auto; margin-left: -4px; }
.footer p { max-width: 44em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__links a { text-underline-offset: 3px; }

/* The page's tab bar: the app's own, labels with dots. It comes up after the hero. */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: var(--ivory); color: var(--red); border-top: 1px solid var(--red);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s 0.45s;
}
.tabs.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  min-height: 48px; text-decoration: none; font-size: 13px; line-height: 16px; border-radius: 999px;
}
.tabs i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--red); transition: background-color 0.2s; }
.tabs a[aria-current="true"] { font-weight: 800; }
.tabs a[aria-current="true"] i { background: var(--red); }
@media (min-width: 900px) {
  .tabs {
    left: 50%; right: auto; bottom: 24px; width: 500px; padding: 6px 12px;
    border: 1px solid var(--red); border-radius: 999px;
    transform: translate(-50%, 180%);
  }
  .tabs.is-on { transform: translate(-50%, 0); }
  .footer { padding-bottom: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
