/* sdelano.app. Colours come only from the tokens block (design/tokens.json via site/gen/build.mjs);
   the phone frame and the coin are the brand's fixed colours. Layout follows the approved boards
   design/prototype/L*.dc.html: phones below 700 px, tablet up to 1099 px, desktop from 1100 px. */

/* tokens:start (generated by site/gen/build.mjs from design/tokens.json, do not edit) */
:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface2: #eef1f8;
  --border: #e1e5ef;
  --text: #1e2a4a;
  --text2: #5a6584;
  --accent: #ff6b4a;
  --accentText: #c4391b;
  --accentSoft: #fff1ec;
  --button: #ee5535;
  --onButton: #ffffff;
  --points: #ffc83d;
  --onPoints: #1e2a4a;
  --successText: #17794f;
  --avatarKid: #e3f5ec;
  --infoSoft: #e8eefc;
  --onInfoSoft: #2f5bc7;
  --warningSoft: #fff1cc;
  --onWarningSoft: #8a5a00;
  --track: #e3e7f0;
  --mark-top: #ff6b4a;
  --mark-bottom: #1e2a4a;
  --snake: #f9c6bd;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0b0f1c;
    --surface: #151b2e;
    --surface2: #1e2640;
    --border: #2a3350;
    --text: #eef1f8;
    --text2: #a3acc4;
    --accent: #ff8a6e;
    --accentText: #ff8a6e;
    --accentSoft: #2e1f24;
    --button: #ff8a6e;
    --onButton: #0b0f1c;
    --points: #ffc83d;
    --onPoints: #0b0f1c;
    --successText: #4cc38a;
    --avatarKid: #14302a;
    --infoSoft: #1a2445;
    --onInfoSoft: #7fa4ff;
    --warningSoft: #2e2817;
    --onWarningSoft: #ffc83d;
    --track: #2a3350;
    --mark-top: #ff8a6e;
    --mark-bottom: #ffc83d;
    --snake: #4f3133;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0f1c;
  --surface: #151b2e;
  --surface2: #1e2640;
  --border: #2a3350;
  --text: #eef1f8;
  --text2: #a3acc4;
  --accent: #ff8a6e;
  --accentText: #ff8a6e;
  --accentSoft: #2e1f24;
  --button: #ff8a6e;
  --onButton: #0b0f1c;
  --points: #ffc83d;
  --onPoints: #0b0f1c;
  --successText: #4cc38a;
  --avatarKid: #14302a;
  --infoSoft: #1a2445;
  --onInfoSoft: #7fa4ff;
  --warningSoft: #2e2817;
  --onWarningSoft: #ffc83d;
  --track: #2a3350;
  --mark-top: #ff8a6e;
  --mark-bottom: #ffc83d;
  --snake: #4f3133;
}
/* tokens:end */

:root {
  --frame: #1b1f2b;
  --font-display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
}

@font-face {
  font-family: 'Nunito';
  src: url('/fonts/nunito.woff2?v=56f753d7a3') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

main {
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin: 0;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accentText);
}

:focus-visible {
  outline: 3px solid var(--accentText);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
  flex-shrink: 0;
}

.only-dark {
  display: none;
}

/* ---------- the S mark and the coin ---------- */

.mark-top,
.mark-bottom {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-top {
  stroke: var(--mark-top);
}

.mark-bottom {
  stroke: var(--mark-bottom);
}

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

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}

.brand .mark {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.langs {
  display: flex;
  padding: 2px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.langs a {
  min-width: 44px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}

.langs a[aria-current='page'] {
  background: var(--accentText);
  color: var(--onButton);
}

.theme-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  cursor: pointer;
}

.theme-btn[hidden] {
  display: none;
}

.theme-btn .icon {
  position: absolute;
  inset: 11px;
  transition: none;
}

.icon-sun {
  opacity: 0;
  rotate: -180deg;
}

/* ---------- shared pieces ---------- */

.lead {
  color: var(--text2);
  font-size: 17px;
  line-height: 26px;
}

.tile {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tile .icon {
  stroke-width: 2.4;
}

.tile-lg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.tile-lg .icon {
  width: 28px;
  height: 28px;
}

.tone-coral {
  background: var(--accentSoft);
  color: var(--accentText);
}

.tone-mint {
  background: var(--avatarKid);
  color: var(--successText);
}

.tone-sun {
  background: var(--warningSoft);
  color: var(--onWarningSoft);
}

.tone-sky {
  background: var(--infoSoft);
  color: var(--onInfoSoft);
}

/* The "soon" badge: the coin yellow with dark text, never coral (it is not an action). */
.soon {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 22px 8px 8px;
  border-radius: 999px;
  background: var(--points);
  color: var(--onPoints);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 22px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgb(255 200 61 / 0.35);
}

.soon-dot {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--onPoints);
  color: var(--points);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.soon-dot .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

/* Screenshots: a container sized by its width, the frame drawn in units of it (390 = the screen). */
.shot {
  position: absolute;
  container-type: inline-size;
}

.frame {
  overflow: hidden;
  border-radius: 12.3cqw;
  box-shadow:
    0 0 0 max(4px, 2.56cqw) var(--frame),
    0 24px 48px rgb(11 15 28 / 0.28);
  background: var(--frame);
}

.shot--sheet .frame {
  border-radius: 6.15cqw 6.15cqw 12.3cqw 12.3cqw;
}

/* ---------- the snake ---------- */

.snake,
.snake-gap {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
}

.hero-in {
  position: relative;
  z-index: 1;
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
  padding: 20px 0 24px;
  display: grid;
  gap: 20px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-stage {
  position: relative;
  aspect-ratio: 390 / 470;
  width: calc(100% + 32px);
  max-width: 560px;
  margin-inline: -16px;
  justify-self: center;
}

.glow {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 999px;
}

.glow-1 {
  left: 1.3%;
  top: 4.3%;
  width: 97.4%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: 0.38;
}

.glow-2 {
  left: 30.8%;
  top: 25.5%;
  width: 66.7%;
  background: radial-gradient(circle, var(--points) 0%, transparent 68%);
  opacity: 0.4;
}

.deco {
  position: absolute;
  aspect-ratio: 1;
  height: auto;
}

.deco-mark,
.coin-3 {
  display: none;
}

.coin-1 {
  left: 2%;
  top: 1.7%;
  width: 18.5%;
  rotate: -14deg;
  z-index: 3;
}

.coin-2 {
  left: 83.6%;
  top: 76.6%;
  width: 11.3%;
  rotate: 12deg;
  z-index: 3;
}

.hero-adult {
  left: 5.6%;
  top: 11.1%;
  width: 45.9%;
  rotate: -7deg;
  z-index: 1;
}

.hero-kid {
  left: 45.6%;
  top: 4.3%;
  width: 45.9%;
  rotate: 6deg;
  z-index: 2;
}

/* ---------- steps ---------- */

.steps {
  position: relative;
  padding: 16px 0 48px;
}

.steps .wrap {
  position: relative;
  z-index: 1;
}

.steps h2 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 22px;
  font-weight: 800;
}

.step-note {
  color: var(--text2);
  font-size: 15px;
  line-height: 21px;
}

/* ---------- features ---------- */

.feature {
  position: relative;
  padding: 8px 0 48px;
}

.feature-in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature h2 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 23px;
}

.points .icon {
  margin-top: 1px;
  color: var(--successText);
  stroke-width: 2.6;
}

/* Stages: the boards' compositions in a 600 x 660 box (gen/landing.py, STAGES), in per cent. */
.stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 600 / 660;
  justify-self: center;
}

.stage--tasks .st-1 {
  left: 0;
  top: 10.6%;
  width: 45%;
  rotate: -6deg;
  z-index: 1;
}

.stage--tasks .st-2 {
  left: 29.2%;
  top: 0;
  width: 41.7%;
  rotate: 3deg;
  z-index: 2;
}

.stage--tasks .st-3 {
  left: 53.3%;
  top: 45.5%;
  width: 46.7%;
  rotate: 6deg;
  z-index: 3;
}

.stage--chat .st-1 {
  left: 6%;
  top: 10.6%;
  width: 36.7%;
  rotate: -7deg;
  z-index: 1;
}

.stage--chat .st-2 {
  left: 45%;
  top: 0;
  width: 45%;
  rotate: 4deg;
  z-index: 2;
}

.stage--rewards .st-1 {
  left: 0;
  top: 6.1%;
  width: 38.3%;
  rotate: -6deg;
  z-index: 1;
}

.stage--rewards .st-2 {
  left: 41.7%;
  top: 0;
  width: 38.3%;
  rotate: 4deg;
  z-index: 2;
}

.stage--rewards .st-3 {
  left: 6.7%;
  top: 60.6%;
  width: 43.3%;
  rotate: -3deg;
  z-index: 3;
}

.stage--rewards .st-4 {
  left: 58.3%;
  top: 57.6%;
  width: 40%;
  rotate: 6deg;
  z-index: 4;
}

/* ---------- and more ---------- */

.more {
  padding: 16px 0 40px;
}

.more h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.more-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.more-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 0;
  min-height: 320px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.more-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
}

.tile-icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accentSoft);
  color: var(--accentText);
  stroke-width: 2.2;
}

.more-card p {
  color: var(--text2);
  font-size: 15px;
  line-height: 21px;
}

.more-shot {
  container-type: inline-size;
  margin-top: auto;
  align-self: center;
  width: 170px;
  padding-top: 18px;
}

.more-shot .frame {
  aspect-ratio: 390 / 370;
  border-radius: 12.3cqw 12.3cqw 0 0;
  box-shadow: 0 0 0 5px var(--frame);
  translate: 0 6px;
}

/* ---------- trust ---------- */

.trust {
  padding: 0 0 48px;
}

.trust-box {
  padding: 24px 20px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 22px;
}

.trust-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-head h2 {
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.18;
  font-weight: 800;
}

.trust-head p {
  color: var(--text2);
  font-size: 16px;
  line-height: 24px;
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.trust-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-list li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-list strong {
  font-size: 16px;
  line-height: 22px;
}

.trust-list strong + span {
  color: var(--text2);
  font-size: 15px;
  line-height: 21px;
}

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

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

.bottom-in {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0 32px;
}

.copy {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text2);
  font-size: 15px;
}

.mark-sm {
  width: 20px;
  height: 20px;
}

.legal {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text2);
  font-size: 15px;
}

.chip-soon {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 404 ---------- */

.nf {
  width: min(560px, 100% - 32px);
  margin: 0 auto;
  padding: 48px 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.nf p {
  color: var(--text2);
  font-size: 16px;
  line-height: 24px;
}

.hill {
  width: 120px;
  height: 40px;
}

.hill path {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}

.hill-track {
  stroke: var(--track);
}

.hill-fill {
  stroke: var(--accent);
  stroke-dasharray: 22 100;
}

.nf .nf-code {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 32px;
  font-weight: 800;
  color: var(--text);
}

.nf h1 {
  font-size: 26px;
  line-height: 32px;
  font-weight: 800;
}

.nf h2 {
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

.nf-en {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

/* Large bold label (19 px, 800): white on the light button token passes 3:1 as large text. */
.btn {
  margin-top: 6px;
  min-height: 48px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--button);
  color: var(--onButton);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.btn-quiet {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

/* ---------- dark theme: images and the theme button ---------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .only-light {
    display: none;
  }

  :root:not([data-theme='light']) .only-dark {
    display: block;
  }

  :root:not([data-theme='light']) .icon-moon {
    opacity: 0;
    rotate: 180deg;
  }

  :root:not([data-theme='light']) .icon-sun {
    opacity: 1;
    rotate: 0deg;
  }
}

:root[data-theme='dark'] .only-light {
  display: none;
}

:root[data-theme='dark'] .only-dark {
  display: block;
}

:root[data-theme='dark'] .icon-moon {
  opacity: 0;
  rotate: 180deg;
}

:root[data-theme='dark'] .icon-sun {
  opacity: 1;
  rotate: 0deg;
}

/* ---------- tablet ---------- */

@media (min-width: 700px) {
  .hero-in {
    padding: 32px 0 40px;
  }

  .hero-stage {
    margin-inline: 0;
    width: 100%;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-box {
    padding: 32px;
  }

  .trust-list {
    gap: 22px;
  }

  .bottom-in {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .legal {
    flex-direction: row;
    gap: 28px;
  }

  .stage {
    width: 80%;
  }
}

/* ---------- desktop ---------- */

@media (min-width: 1100px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 24px;
    align-items: center;
    padding: 56px 0 72px;
  }

  .hero-text {
    gap: 28px;
  }

  .hero .lead {
    font-size: 20px;
    line-height: 30px;
    max-width: 520px;
  }

  .hero-stage {
    aspect-ratio: 560 / 640;
  }

  .glow-1 {
    left: 1.8%;
    top: 0;
    width: 114.3%;
    opacity: 0.34;
  }

  .glow-2 {
    left: 41.1%;
    top: 23.4%;
    width: 75%;
    opacity: 0.42;
  }

  .deco-mark,
  .coin-3 {
    display: block;
  }

  .deco-mark {
    left: 58.9%;
    top: 56.3%;
    width: 44.6%;
    rotate: 14deg;
  }

  .hero-adult {
    left: 5.4%;
    top: 10.9%;
    width: 50.2%;
  }

  .hero-kid {
    left: 48.2%;
    top: 1.6%;
    width: 50.2%;
  }

  .coin-1 {
    left: 0;
    top: 1.6%;
    width: 21.4%;
    rotate: -16deg;
  }

  .coin-2 {
    left: 92%;
    top: 81.3%;
    width: 11.4%;
    rotate: 14deg;
  }

  .coin-3 {
    left: 16.1%;
    top: 87.5%;
    width: 7.1%;
    rotate: -8deg;
  }

  .steps {
    padding: 0 0 56px;
  }

  .steps h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .step-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .feature {
    padding: 24px 0;
  }

  .feature-in {
    grid-template-columns: 440px minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }

  .media-left .feature-in {
    grid-template-columns: minmax(0, 1fr) 440px;
  }

  .media-left .feature-text {
    order: 2;
  }

  .feature-text {
    gap: 20px;
  }

  .feature .lead {
    font-size: 20px;
    line-height: 30px;
  }

  .points li {
    font-size: 17px;
    line-height: 24px;
  }

  .stage {
    width: 100%;
  }

  .more {
    padding: 56px 0 80px;
  }

  .more-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust {
    padding-bottom: 80px;
  }

  .trust-box {
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 48px;
    padding: 40px;
    border-radius: 28px;
  }

  .trust-list {
    align-content: center;
  }

  .bottom-in {
    padding: 28px 0 40px;
  }

  /* The snake: one line from the hero's S down through the steps and the three blocks. */
  .snake {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
  }

  .snake path {
    fill: none;
    stroke: var(--snake);
    stroke-width: 14px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .snake-gap {
    display: block;
    position: relative;
    height: 120px;
  }
}

/* ---------- motion, only when the system allows it ---------- */

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 48px;
  }
}

@keyframes sway {
  to {
    translate: 0 -8px;
  }
}

@keyframes drift {
  to {
    translate: 6px -10px;
  }
}

@keyframes hop {
  40% {
    translate: 0 -14px;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 32px;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body {
    transition:
      background-color 0.2s,
      color 0.2s;
  }

  .theme-btn .icon {
    transition:
      rotate 0.4s ease,
      opacity 0.3s ease;
  }

  .hero-phone {
    animation:
      rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      sway 3s ease-in-out 0.9s infinite alternate;
  }

  .hero-kid {
    animation-delay: 0.12s, 1.02s;
  }

  .deco {
    animation: drift 7s ease-in-out infinite alternate;
  }

  .coin-2 {
    animation-duration: 9s;
  }

  .coin-1:hover,
  .coin-2:hover,
  .coin-3:hover {
    animation: hop 0.6s ease-out;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }

    .step:nth-child(2),
    .more-card:nth-child(3n + 2) {
      animation-range: entry 8% entry 78%;
    }

    .step:nth-child(3),
    .more-card:nth-child(3n) {
      animation-range: entry 16% entry 86%;
    }

    .step:nth-child(4) {
      animation-range: entry 24% entry 94%;
    }

    .hero,
    .steps,
    .feature,
    .snake-gap {
      view-timeline-name: --section;
    }

    .snake path {
      stroke-dasharray: 1;
      animation: draw linear both;
      animation-timeline: --section;
      animation-range: entry 20% cover 55%;
    }

    .hero .snake path {
      animation-range: cover 0% cover 60%;
    }
  }
}
