:root {
  --bg: #eef5ef;
  --bg-soft: #f8fbf5;
  --card: rgba(255, 255, 255, 0.72);
  --card-strong: rgba(255, 255, 255, 0.86);
  --line: rgba(78, 110, 89, 0.18);
  --ink: #21362c;
  --ink-soft: #4d6458;
  --jade: #7fb48d;
  --jade-deep: #5f8f74;
  --jade-light: #d9ebda;
  --mint: #eff8f0;
  --mist: rgba(245, 249, 245, 0.92);
  --gold: #d1b46e;
  --peach: #f4d9d7;
  --shadow: 0 18px 46px rgba(76, 104, 88, 0.15);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-title: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top, rgba(152, 191, 165, 0.18), transparent 35%),
    linear-gradient(180deg, #f9fcf7 0%, #edf5ee 42%, #e6f1e7 100%);
  scroll-snap-type: y proximity;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-inputting .progress-nav {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
}

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

button,
a,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--jade-deep);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding:
    calc(10px + env(safe-area-inset-top))
    16px
    12px;
  background: linear-gradient(180deg, rgba(248, 252, 248, 0.92), rgba(248, 252, 248, 0.58));
  backdrop-filter: blur(18px);
}

.topbar__brand {
  display: grid;
  gap: 2px;
}

.topbar__brand strong,
h1,
h2,
h3 {
  font-family: var(--font-title);
}

.topbar__eyebrow,
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(33, 54, 44, 0.56);
}

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

.topbar__button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(95, 143, 116, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.topbar__button--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-nav {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  gap: 8px;
  width: min(calc(100vw - 24px), 380px);
  padding: 8px;
  border: 1px solid rgba(96, 142, 116, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(72, 96, 84, 0.14);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  transition: transform 220ms ease, opacity 220ms ease;
}

.progress-nav__dot {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(33, 54, 44, 0.62);
  font-size: 12px;
}

.progress-nav__dot.is-active {
  color: #fff;
  background: linear-gradient(135deg, #7fb48d, #9ec5a1);
}

.screens {
  position: relative;
}

.screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding:
    calc(92px + env(safe-area-inset-top))
    16px
    calc(112px + env(safe-area-inset-bottom));
  scroll-snap-align: start;
  overflow: clip;
}

.screen__bg {
  position: absolute;
  inset: 0;
}

.screen__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.screen__inner--hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.7));
}

.screen__inner--split {
  display: grid;
  gap: 22px;
}

.screen__inner--finale {
  display: grid;
  gap: 22px;
}

.screen--intro {
  background: linear-gradient(180deg, #f8fbf7 0%, #eff6f0 100%);
}

.screen--memorial {
  background:
    radial-gradient(circle at top right, rgba(159, 202, 170, 0.2), transparent 24%),
    linear-gradient(180deg, #f4f8f3 0%, #ecf5ed 100%);
}

.screen--food {
  background:
    radial-gradient(circle at top left, rgba(211, 180, 110, 0.12), transparent 18%),
    linear-gradient(180deg, #f9fbf7 0%, #eef5ee 100%);
}

.screen--outing {
  background:
    radial-gradient(circle at top center, rgba(127, 180, 141, 0.16), transparent 26%),
    linear-gradient(180deg, #f8fcf7 0%, #edf5ee 100%);
}

.screen--finale {
  background:
    radial-gradient(circle at top, rgba(127, 180, 141, 0.14), transparent 22%),
    linear-gradient(180deg, #f9fcf8 0%, #eef5ef 100%);
}

.screen__bg--intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(238, 245, 239, 0.92));
}

.screen--intro.is-cleared .mist-canvas {
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease;
}

.art--hero {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 70%;
  object-fit: cover;
  opacity: 0.94;
}

.rain-layer {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 38%),
    repeating-linear-gradient(
      102deg,
      transparent 0 10px,
      rgba(255, 255, 255, 0.82) 11px 13px,
      transparent 14px 24px
    );
  animation: rain-drift 10s linear infinite;
}

.mist-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.lead,
.section-text,
.hint,
.gesture-tip {
  line-height: 1.7;
  color: var(--ink-soft);
}

.lead {
  margin: 14px 0 18px;
  font-size: 15px;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(32px, 8vw, 42px);
  line-height: 1.16;
}

h2 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.18;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.mist-meter {
  width: 100%;
  height: 8px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113, 146, 122, 0.14);
}

.mist-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a6ceb2, #7fb48d);
  transition: width 180ms ease;
}

.hero-actions,
.action-row,
.summary-row,
.chip-row,
.ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 18px;
}

.gesture-tip {
  margin: 10px 0 0;
  font-size: 13px;
}

.primary-button,
.ghost-button,
.phrase-chip,
.ingredient-chip,
.fact-card,
.hotspot,
.slider-dot {
  min-height: 44px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #6ea57f, #8cc099);
  box-shadow: 0 10px 24px rgba(96, 147, 116, 0.24);
}

.ghost-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(96, 142, 116, 0.18);
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.section-copy--compact {
  margin-bottom: 16px;
}

.chip-row {
  margin: 18px 0 14px;
}

.phrase-chip,
.ingredient-chip {
  border: 1px solid rgba(111, 147, 122, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.phrase-chip.is-active,
.ingredient-chip.is-picked {
  color: #fff;
  background: linear-gradient(135deg, #74aa82, #96c29d);
}

.wish-editor {
  display: grid;
  gap: 10px;
}

.wish-editor span {
  font-weight: 600;
}

.wish-editor textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: none;
  border: 1px solid rgba(96, 142, 116, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  line-height: 1.6;
}

.editor-meta,
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.editor-meta {
  margin-top: 10px;
}

.editor-count,
.toolbar-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(96, 142, 116, 0.14);
  color: rgba(33, 54, 44, 0.72);
  font-size: 13px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(125, 173, 140, 0.12);
  color: var(--jade-deep);
}

.kite-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.82), rgba(235, 244, 236, 0.84)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.24));
  border: 1px solid rgba(96, 142, 116, 0.14);
}

.art--scroll {
  position: absolute;
  inset: 20px auto auto 50%;
  width: min(88%, 330px);
  opacity: 0.58;
  transform: translateX(-50%);
}

.wish-cloud {
  position: absolute;
  top: 46px;
  left: 50%;
  z-index: 1;
  max-width: 220px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(108, 132, 120, 0.12);
  text-align: center;
  transform: translate(-50%, 0);
}

.wish-cloud.is-active {
  animation: cloud-float 2.4s ease-in-out;
}

.kite-button {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 280px);
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  user-select: none;
  -webkit-touch-callout: none;
}

.kite-button.is-pressing {
  transform: scale(0.98);
}

.kite-button.is-launched {
  animation: kite-launch 1.7s cubic-bezier(0.2, 0.82, 0.2, 1) forwards;
}

.kite-visual svg {
  width: min(48vw, 180px);
  filter: drop-shadow(0 12px 24px rgba(96, 142, 116, 0.2));
}

.kite-tag {
  max-width: 200px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 18px rgba(109, 140, 123, 0.12);
  text-align: center;
  font-size: 14px;
}

.kite-action {
  font-size: 13px;
  color: rgba(33, 54, 44, 0.62);
}

.hold-meter {
  width: min(100%, 160px);
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(111, 147, 122, 0.14);
}

.hold-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7db189, #a8d0ad);
  transition: width 80ms linear;
}

.memory-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 18px;
}

.memory-chip,
.memory-list__empty {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(33, 54, 44, 0.72);
  font-size: 13px;
}

.food-lab,
.stamp-box,
.card-stage,
.fact-detail {
  border: 1px solid rgba(96, 142, 116, 0.14);
  border-radius: 28px;
  background: var(--card-strong);
  box-shadow: var(--shadow);
}

.food-lab {
  display: grid;
  gap: 18px;
  padding: 18px;
}

.section-toolbar--center {
  justify-content: center;
  flex-wrap: wrap;
}

.recipe-stage {
  position: relative;
  display: grid;
  gap: 18px;
}

.recipe-stage__bowl {
  position: relative;
  height: 122px;
  border-radius: 110px 110px 38px 38px;
  background: linear-gradient(180deg, rgba(194, 218, 196, 0.46), rgba(126, 179, 143, 0.18));
  border: 1px solid rgba(96, 142, 116, 0.14);
}

.flying-ingredient {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(88, 114, 100, 0.14);
  animation: ingredient-fly 620ms ease forwards;
}

.recipe-stage__dot {
  position: absolute;
  top: 42px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(96, 142, 116, 0.16);
  transform: translateX(-50%);
  transition: transform 220ms ease, background 220ms ease;
}

.recipe-stage__dot[data-slot="0"] {
  left: 28%;
}

.recipe-stage__dot[data-slot="1"] {
  left: 50%;
}

.recipe-stage__dot[data-slot="2"] {
  left: 72%;
}

.recipe-stage__dot.is-active {
  background: #84b992;
  transform: translateX(-50%) scale(1.5);
}

.food-result {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  background: rgba(245, 250, 245, 0.92);
  opacity: 0.5;
  transform: scale(0.94);
  transition: opacity 240ms ease, transform 240ms ease;
}

.food-result img {
  width: min(100%, 230px);
}

.recipe-stage.is-complete .food-result {
  opacity: 1;
  transform: scale(1);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fact-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(96, 142, 116, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  text-align: left;
}

.fact-card img {
  width: 100%;
  height: 86px;
  object-fit: contain;
}

.fact-card strong {
  font-size: 17px;
}

.fact-card span {
  line-height: 1.55;
  color: var(--ink-soft);
  font-size: 13px;
}

.fact-card.is-active {
  border-color: rgba(111, 147, 122, 0.3);
  box-shadow: 0 12px 24px rgba(110, 149, 124, 0.14);
}

.food-icon {
  place-self: center;
  width: 72px;
  height: 54px;
}

.food-icon--dumpling {
  border-radius: 58px 58px 16px 16px;
  background:
    linear-gradient(180deg, rgba(133, 186, 147, 0.94), rgba(103, 156, 118, 0.96)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent);
  box-shadow:
    inset -12px -12px 0 rgba(54, 96, 66, 0.16),
    inset 12px 10px 0 rgba(255, 255, 255, 0.14);
  transform: rotate(-8deg);
}

.fact-detail {
  padding: 18px;
}

.slider-shell {
  display: grid;
  gap: 12px;
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.outing-card {
  scroll-snap-align: start;
}

.outing-scene {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(96, 142, 116, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(231, 242, 232, 0.76));
  box-shadow: var(--shadow);
}

.outing-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.98;
}

.outing-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(235, 244, 236, 0.84));
}

.outing-scene--blossom::before {
  content: "";
  position: absolute;
  inset: 18px 10px auto auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 214, 218, 0.92) 0 6px, transparent 8px),
    radial-gradient(circle at 36% 72%, rgba(255, 214, 218, 0.82) 0 8px, transparent 10px),
    radial-gradient(circle at 72% 30%, rgba(255, 214, 218, 0.92) 0 7px, transparent 9px),
    radial-gradient(circle at 66% 66%, rgba(255, 228, 230, 0.92) 0 9px, transparent 11px);
}

.hotspot {
  position: absolute;
  z-index: 2;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 22px rgba(90, 116, 102, 0.14);
}

.hotspot::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #84b992;
  transform: translateY(-50%);
}

.hotspot.is-lit {
  color: #fff;
  background: linear-gradient(135deg, #71a77f, #90bd9b);
}

.hotspot.is-lit::before {
  background: rgba(255, 255, 255, 0.86);
}

.hotspot--upper {
  top: 72px;
  left: 28px;
}

.hotspot--lower {
  bottom: 44px;
  right: 28px;
}

.hotspot--bridge {
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
}

.hotspot--side {
  bottom: 52px;
  right: 24px;
}

.hotspot--flower {
  top: 80px;
  left: 28px;
}

.hotspot--stream {
  bottom: 48px;
  left: 36px;
}

.outing-card__caption {
  display: grid;
  gap: 4px;
  padding: 14px 8px 4px;
}

.outing-card__caption span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dot {
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: rgba(33, 54, 44, 0.66);
}

.slider-dot.is-active {
  background: linear-gradient(135deg, #74aa82, #95c09e);
  color: #fff;
}

.stamp-box {
  margin-top: 18px;
  padding: 18px;
}

.stamp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.stamp {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(125, 173, 140, 0.12);
  color: var(--ink);
}

.stamp--empty {
  color: rgba(33, 54, 44, 0.6);
  background: rgba(255, 255, 255, 0.7);
}

.card-stage {
  padding: 12px;
}

.card-stage canvas {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fcf7, #eaf4eb);
}

.summary-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(96, 142, 116, 0.14);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 40;
  max-width: min(calc(100vw - 32px), 360px);
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(33, 54, 44, 0.88);
  color: #fff;
  text-align: center;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.board-page {
  min-height: 100svh;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(127, 180, 141, 0.18), transparent 20%),
    linear-gradient(180deg, #f9fcf8 0%, #edf5ee 100%);
}

.board {
  display: grid;
  gap: 20px;
  width: min(100%, 1200px);
  margin: 0 auto;
}

.board-hero,
.board-card,
.flow-item {
  border: 1px solid rgba(96, 142, 116, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.board-hero {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.board-hero__link {
  justify-self: start;
}

.board-grid {
  display: grid;
  gap: 18px;
}

.board-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.board-card h2 {
  margin: 0;
  font-size: 22px;
}

.board-card p,
.flow-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.phone-mock {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(233, 244, 233, 0.8), rgba(252, 252, 250, 0.84));
}

.phone-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mock__caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.phone-mock__fog {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 248, 246, 0.84), rgba(235, 244, 236, 0.68));
  backdrop-filter: blur(8px);
}

.phone-mock__kite {
  position: absolute;
  top: 64px;
  left: 50%;
  width: 94px;
  height: 94px;
  border: 2px solid #6b927a;
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%) rotate(45deg);
}

.board-flow {
  display: grid;
  gap: 14px;
}

.flow-item {
  padding: 18px;
}

.flow-item strong {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-title);
  font-size: 20px;
}

@keyframes rain-drift {
  from {
    transform: translateY(-6%);
  }

  to {
    transform: translateY(8%);
  }
}

@keyframes cloud-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -12px);
  }
}

@keyframes kite-launch {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }

  55% {
    transform: translate(56px, -180px) rotate(-12deg) scale(0.88);
    opacity: 1;
  }

  100% {
    transform: translate(124px, -300px) rotate(-18deg) scale(0.72);
    opacity: 0.18;
  }
}

@keyframes ingredient-fly {
  0% {
    transform: translate(0, 0) scale(0.92);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--fly-x, 0), var(--fly-y, 0)) scale(0.6);
    opacity: 0;
  }
}

@media (min-width: 760px) {
  .screen {
    padding-left: 24px;
    padding-right: 24px;
  }

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

@media (min-width: 980px) {
  .screen__inner--split {
    width: min(100%, 980px);
    grid-template-columns: 1fr 0.92fr;
    align-items: stretch;
  }

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

@media (max-width: 420px) {
  .screen__inner {
    padding: 24px 20px;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .progress-nav__dot {
    font-size: 11px;
  }

  .editor-meta,
  .section-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .text-button,
  .toolbar-chip {
    width: 100%;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
