/* Colors mirror App/DesignSystem/Palette.swift. */
:root {
  --bg: #FBF4EA;
  --bg-2: #F6E6DA;
  --surface: #FFFFFF;
  --edge: #E2CDB4;
  --sunken: #F0E6DA;
  --stroke: #E6D7C3;
  --ink: #2E2A3A;
  --ink-2: #6E6177;
  --primary: #C4502F;
  --primary-hi: #E56E4E;
  --primary-edge: #8E3520;
  --on-primary: #FFFFFF;
  --blue: #3B78B8;
  --green: #37803A;
  --success-fill: #A9D69B;
  --danger: #B8432F;
  --gold: #F5B83D;
  --star: #F0A92E;
  --accent: #D9607F;
  --wood: #9A6A44;
  --leaf: #6FA06F;
  --snow: #FFFFFF;
  --shadow: rgba(90, 74, 48, .14);
  --nav-bg: rgba(251, 244, 234, .78);

  --l1: #D4704F; --l2: #E2A040; --l3: #5E9A5A; --l4: #4F80C2; --l5: #8460C0; --l6: #C8607F;

  --radius: 16px;
  --radius-lg: 26px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1D1B25;
    --bg-2: #26222F;
    --surface: #2D2A38;
    --edge: #16141C;
    --sunken: #3A3646;
    --stroke: #4A4558;
    --ink: #F4EEF6;
    --ink-2: #B9AFC2;
    --primary: #F2896B;
    --primary-hi: #F8A389;
    --primary-edge: #B45A40;
    --on-primary: #2A1009;
    --blue: #8EC0E8;
    --green: #7CC791;
    --success-fill: #2D4A36;
    --danger: #F2826F;
    --star: #F3C25A;
    --accent: #F29AB0;
    --wood: #B88A60;
    --leaf: #5E8F63;
    --snow: #E6ECF0;
    --shadow: rgba(0, 0, 0, .45);
    --nav-bg: rgba(29, 27, 37, .78);
    --l1: #F08A6A; --l2: #F3B85A; --l3: #84C27F; --l4: #7FA8E6; --l5: #AE8AE8; --l6: #EE8FAA;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 900; letter-spacing: -.01em; }
p { margin: 0; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 14px;
  background: linear-gradient(var(--primary-hi), var(--primary));
  color: var(--on-primary);
  box-shadow: 0 4px 0 var(--primary-edge), 0 10px 20px var(--shadow);
  font: 800 1rem/1 var(--font);
  text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--primary-edge), 0 4px 10px var(--shadow); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .95rem; }

.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 60px; padding: 8px 22px 8px 16px;
  border-radius: 16px;
  background: #111; color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: transform .15s, box-shadow .15s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 0, 0, .28); }
.store-badge svg { width: 30px; height: 30px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: .74rem; font-weight: 600; opacity: .85; }
.store-badge strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) {
  .store-badge { background: #fff; color: #111; }
}

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--stroke);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.2rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 10px var(--shadow); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 10px 14px; border-radius: 12px;
  text-decoration: none; font-weight: 800; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: var(--sunken); color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: 104px var(--gutter) 120px;
  overflow: hidden;
}
.hero__scenery { position: absolute; inset: 0; z-index: -1; }
.hero__scenery img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
@media (prefers-color-scheme: dark) {
  .hero__scenery::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(29, 27, 37, .72), rgba(29, 27, 37, .45) 65%, rgba(29, 27, 37, .2));
  }
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 90px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero__inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin: 28px 0 18px; }
.accent {
  background: linear-gradient(100deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 34em; font-weight: 600; }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.hero__note { font-weight: 800; color: var(--ink-2); }

@media (max-width: 960px) {
  .hero { padding-top: 96px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .lead { margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .logo { justify-content: center; }
}

/* Logo tiles */
.logo { display: flex; gap: clamp(4px, 1vw, 8px); }
.tile {
  display: grid; place-items: center;
  width: clamp(38px, 5.4vw, 56px); aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 5px 0 var(--edge), 0 10px 18px var(--shadow);
  color: var(--c);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900;
  animation: drop .6s cubic-bezier(.3, 1.5, .5, 1) backwards;
}
.tile:nth-child(1) { animation-delay: .05s; transform: rotate(-3deg); }
.tile:nth-child(2) { animation-delay: .1s; transform: rotate(2deg); }
.tile:nth-child(3) { animation-delay: .15s; transform: rotate(-1deg); }
.tile:nth-child(4) { animation-delay: .2s; transform: rotate(3deg); }
.tile:nth-child(5) { animation-delay: .25s; transform: rotate(-2deg); }
.tile:nth-child(6) { animation-delay: .3s; transform: rotate(1deg); }
.tile--blank { animation-delay: .35s; position: relative; }
.tile--blank::before {
  content: ""; position: absolute; left: 25%; right: 25%; bottom: 30%;
  height: 4px; border-radius: 2px; background: var(--ink-2); opacity: .5;
  animation: fade-out .3s 1.6s forwards;
}
.tile--blank span { opacity: 0; transform: scale(.3); animation: pop .5s 1.7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(0); } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes fade-out { to { opacity: 0; } }

/* Phone demo */
.phone {
  justify-self: center;
  width: min(340px, 100%);
  padding: 12px;
  border-radius: 48px;
  background: #1A1820;
  box-shadow: 0 0 0 2px #3A3646, 0 40px 80px rgba(40, 30, 20, .3), 0 12px 24px rgba(40, 30, 20, .2);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.phone__screen {
  border-radius: 38px;
  background: linear-gradient(var(--bg), var(--bg-2));
  padding: 30px 16px 20px;
  display: flex; flex-direction: column; align-items: center;
  min-height: 560px;
  text-align: center;
}
.phone__label { font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.phone__category {
  margin-top: 6px; padding: 4px 14px; border-radius: 99px;
  background: var(--surface); box-shadow: 0 2px 0 var(--edge);
  font-weight: 900; color: var(--primary); font-size: .95rem;
}
.flower { width: 150px; height: 150px; margin: 6px 0 0; }
.flower__stem { fill: none; stroke: var(--leaf); stroke-width: 5; stroke-linecap: round; }
.flower__leaf { fill: var(--leaf); }
.flower__center { fill: var(--gold); }
.petal { fill: #F2A0B8; transform-box: view-box; transition: transform .9s cubic-bezier(.5, 0, .8, .6), opacity .9s; }
.petal.is-gone { transform: translate(var(--dx), 90px) rotate(var(--rot)); opacity: 0; }
.phone__lives { font-size: .85rem; font-weight: 800; color: var(--ink-2); min-height: 1.4em; }
.word { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 12px 0 8px; }
.word span {
  display: grid; place-items: center;
  width: 28px; height: 36px; border-radius: 8px;
  background: var(--sunken);
  font-weight: 900; font-size: 1.25rem;
}
.word span.is-shown { background: var(--success-fill); animation: pop-in .35s cubic-bezier(.3, 1.6, .5, 1); }
.word span.is-missed { color: var(--danger); background: var(--surface); }
@keyframes pop-in { from { transform: scale(.4); } }
.phone__result { min-height: 1.6em; font-weight: 900; font-size: 1.1rem; }
.phone__result.win { color: var(--green); }
.phone__result.lose { color: var(--danger); }
.keyboard {
  --key: #FCF9F4; --key-edge: #DCC7AE; --key-hi: rgba(255,255,255,.6);
  --key-miss: rgba(46,42,58,.12); --key-miss-ink: rgba(110,97,119,.7);
  --hit-hi: #5AA853; --hit: #37803A; --hit-edge: #24592A;
  width: 100%; margin-top: auto; padding: 3px; border-radius: 16px;
  background: rgba(90,66,50,.24); border: 1px solid rgba(255,255,255,.45);
}
@media (prefers-color-scheme: dark) {
  .keyboard {
    --key: #4A4464; --key-edge: #2C2840; --key-hi: rgba(255,255,255,.14);
    --key-miss: rgba(21,19,28,.45); --key-miss-ink: rgba(185,175,194,.55);
    --hit-hi: #9AD8A8; --hit: #7CC791; --hit-edge: #4C8A5A;
    background: rgba(15,13,22,.5); border-color: rgba(255,255,255,.12);
  }
}
.keyboard__row { display: flex; justify-content: center; }
.key {
  flex: 0 0 10%; min-width: 0; padding: 4px 2px 7px; border: 0; background: none; cursor: pointer;
  font: 800 1rem var(--font); color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.key span {
  display: grid; place-items: center; height: 36px; border-radius: 8px;
  background: var(--key); box-shadow: 0 3px 0 var(--key-edge), 0 4px 2px rgba(0,0,0,.22), inset 0 1px 0 var(--key-hi);
  transition: transform .08s, background .2s;
}
.key:active:not(:disabled) span { transform: translateY(2px) scale(.94); box-shadow: 0 1px 0 var(--key-edge); }
.key:disabled { cursor: default; }
.key:disabled span { transform: translateY(3px); box-shadow: none; }
.key.is-hit { color: #fff; }
.key.is-hit span { background: linear-gradient(var(--hit-hi), var(--hit)); animation: pop-in .35s cubic-bezier(.3, 1.6, .5, 1); }
@media (prefers-color-scheme: dark) { .key.is-hit { color: #10261A; } }
.key.is-miss { color: var(--key-miss-ink); }
.key.is-miss span { background: var(--key-miss); }
@media (prefers-reduced-motion: reduce) { .key.is-hit span { animation: none; } }
.phone__again { margin-top: 12px; }

/* Stats */
.stats { padding: 0 var(--gutter); margin-top: -40px; position: relative; }
.stats__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 6px 0 var(--edge), 0 24px 48px var(--shadow);
  padding: 28px 16px;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 900; color: var(--primary); line-height: 1.1; }
.stat span { font-weight: 800; color: var(--ink-2); }
@media (max-width: 640px) { .stats__inner { grid-template-columns: repeat(2, 1fr); row-gap: 24px; } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 120px) var(--gutter) 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head h2, .split__copy h2, .final h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 14px; }
.section__head > p:last-child { color: var(--ink-2); font-size: 1.15rem; font-weight: 600; }
.overline { font-size: .85rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cards--four { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 5px 0 var(--edge), 0 18px 36px var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-weight: 600; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, transparent);
}
.card__icon svg { width: 30px; height: 30px; fill: var(--c); }
.card__icon .cut { fill: none; stroke: var(--surface); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.card--flat { box-shadow: 0 4px 0 var(--edge); }
.card--flat h3 { margin-top: 12px; }
.emoji { font-size: 2rem; line-height: 1; }

/* Levels split */
.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .section--split { grid-template-columns: 1fr; } }
.map {
  position: relative; aspect-ratio: 300 / 380; max-width: 420px; margin: 0 auto;
  border-radius: 32px; overflow: hidden;
  background: url("/images/scenery-portrait.webp") center / cover;
  box-shadow: 0 6px 0 var(--edge), 0 30px 60px var(--shadow);
}
@media (prefers-color-scheme: dark) { .map { background-image: url("/images/scenery-portrait-dark.webp"); } }
.map__path { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__path path { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 6; stroke-dasharray: 2 14; stroke-linecap: round; }
.node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--ink-2);
  box-shadow: 0 4px 0 var(--edge), 0 8px 16px var(--shadow);
  font-weight: 900; font-size: 1.3rem;
}
.node i { position: absolute; bottom: -18px; font-style: normal; font-size: .8rem; color: var(--star); letter-spacing: 1px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.node--done { color: var(--green); }
.node--next {
  width: 68px; height: 68px;
  background: linear-gradient(var(--primary-hi), var(--primary)); color: var(--on-primary);
  box-shadow: 0 5px 0 var(--primary-edge), 0 0 0 8px color-mix(in srgb, var(--primary) 25%, transparent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 5px 0 var(--primary-edge), 0 0 0 16px color-mix(in srgb, var(--primary) 0%, transparent); } }
.chip {
  position: absolute; left: var(--x); top: var(--y);
  padding: 6px 12px; border-radius: 99px;
  background: var(--surface); box-shadow: 0 3px 0 var(--edge);
  font-size: .85rem; white-space: nowrap;
}
.chip b { font-weight: 900; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 40px; font-weight: 700; font-size: 1.1rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--success-fill); color: var(--green); font-weight: 900; font-size: .95rem;
}

/* Styles gallery */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 480px) { .styles { grid-template-columns: repeat(2, 1fr); } }
.style {
  margin: 0; padding: 18px 12px 16px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 5px 0 var(--edge);
  text-align: center;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.style:hover { transform: translateY(-6px) rotate(-1.5deg); }
.style svg { width: 100%; max-width: 120px; aspect-ratio: 1; margin: 0 auto; }
.style figcaption { margin-top: 8px; font-weight: 900; }
.ink-line { fill: none; stroke: var(--ink); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.string { fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.snow { fill: var(--snow); stroke: var(--stroke); stroke-width: 2; }
.wood-line { stroke: var(--wood); stroke-width: 3.5; stroke-linecap: round; }
.wick { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.flame path { fill: var(--gold); transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.4s ease-in-out infinite alternate; }
.flame path:nth-child(2) { animation-delay: .4s; }
.flame path:nth-child(3) { animation-delay: .8s; }
@keyframes flicker { to { transform: scale(.88, 1.08) rotate(3deg); } }

/* Soft band */
.section--soft { max-width: none; background: linear-gradient(var(--bg), var(--bg-2)); padding-bottom: clamp(72px, 10vw, 120px); }
.section--soft > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Final */
.final { padding: clamp(72px, 10vw, 120px) var(--gutter); }
.final__card {
  max-width: 760px; margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) 24px;
  border-radius: 36px;
  background: linear-gradient(140deg, var(--primary-hi), var(--primary) 55%, var(--accent));
  color: var(--on-primary);
  text-align: center;
  box-shadow: 0 8px 0 var(--primary-edge), 0 30px 60px var(--shadow);
  display: flex; flex-direction: column; align-items: center;
}
.final__card img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); margin-bottom: 24px; }
.final__card p { font-weight: 700; font-size: 1.15rem; opacity: .92; margin-bottom: 28px; max-width: 30em; }
.store-badge--light { background: #fff; color: #111; }
@media (prefers-color-scheme: dark) { .store-badge--light { background: #111; color: #fff; } }

/* Footer */
.footer { border-top: 1px solid var(--stroke); padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom)); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; }
.footer__fine { font-size: .8rem; font-weight: 600; max-width: 560px; }
.footer__links { display: flex; gap: 8px 20px; flex-wrap: wrap; margin: 0; }
.footer a { color: var(--ink-2); text-decoration-color: var(--stroke); text-underline-offset: 3px; }
.footer a:hover { color: var(--primary); text-decoration-color: currentColor; }

/* Legal pages (privacy.html) */
.legal { max-width: 760px; margin: 0 auto; padding: 112px var(--gutter) 64px; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-weight: 600; }
.legal strong { color: var(--ink); }
.legal a { color: var(--primary); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 1.25em; margin: 0 0 14px; }
.legal li + li { margin-top: 8px; }
.legal__meta { font-weight: 700; margin-bottom: 20px !important; }
.legal__summary { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px 20px; box-shadow: 0 4px 14px var(--shadow); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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