:root {
  --cream: #f8efe5;
  --warm-white: #fffaf4;
  --rose: #d9b9b1;
  --gold: #d9b775;
  --gold-bright: #f4d99e;
  --ink: #251c19;
  --muted: rgba(255, 250, 244, 0.74);
  --glass: rgba(27, 20, 18, 0.48);
  --glass-strong: rgba(24, 17, 15, 0.76);
  --line: rgba(255, 245, 229, 0.18);
  --shadow: 0 24px 80px rgba(10, 7, 6, 0.36);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --safe-top: max(16px, env(safe-area-inset-top));
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; min-height: 100%; background: #171210; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow: hidden;
  background: #171210;
  color: var(--warm-white);
  font-family: Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.site-shell { min-height: 100svh; position: relative; }
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: calc(66px + var(--safe-top));
  padding: var(--safe-top) clamp(16px, 3vw, 46px) 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(13, 9, 8, .68), rgba(13, 9, 8, .08) 72%, transparent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }

.icon-button {
  position: absolute;
  top: var(--safe-top);
  height: 44px;
  min-width: 44px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  color: var(--warm-white);
  background: rgba(25, 19, 18, .46);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.icon-button:hover { transform: translateY(-2px); background: rgba(41, 31, 28, .68); border-color: rgba(255, 255, 255, .3); }
.back-button { left: clamp(16px, 3vw, 46px); width: 44px; font-size: 21px; }

.progress-wrap { width: min(46vw, 520px); }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 250, 244, .72); }
.progress-track { height: 2px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .17); }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); box-shadow: 0 0 18px rgba(244, 217, 158, .58); transition: width .6s cubic-bezier(.22, .8, .2, 1); }

.screen {
  position: fixed;
  inset: 0;
  min-height: 100svh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.018);
  transition: opacity .58s ease, transform .9s cubic-bezier(.2, .75, .15, 1), visibility 0s linear .59s;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.screen.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
  z-index: 2;
}
.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  min-height: 100%;
  background: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: saturate(.82) contrast(1.02);
  transform: scale(1.015);
}
.screen-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-height: 100%;
  background:
    radial-gradient(circle at 75% 18%, rgba(244, 217, 158, .12), transparent 34%),
    linear-gradient(90deg, rgba(17, 12, 11, .87) 0%, rgba(17, 12, 11, .54) 54%, rgba(17, 12, 11, .56) 100%),
    linear-gradient(0deg, rgba(10, 7, 6, .78) 0%, transparent 48%, rgba(10, 7, 6, .24) 100%);
}

[data-bg="intro"] { --bg-image: url("assets/images/intro.jpg"); }
[data-bg="home"] { --bg-image: url("assets/images/home.webp"); }
[data-bg="place"] { --bg-image: url("assets/images/place.webp"); }
[data-bg="morning"] { --bg-image: url("assets/images/morning.webp"); }
[data-bg="breakfast"] { --bg-image: url("assets/images/breakfast.webp"); }
[data-bg="day"] { --bg-image: url("assets/images/day.webp"); }
[data-bg="evening"] { --bg-image: url("assets/images/evening2.webp"); }
[data-bg="tradition"] { --bg-image: url("assets/images/tradition.webp"); }
[data-bg="dream"] { --bg-image: url("assets/images/evening.webp"); }
[data-bg="summary"] { --bg-image: url("assets/images/summary.webp"); }
[data-bg="success"] { --bg-image: url("assets/images/success.webp"); }

.content {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  min-height: 100svh;
  padding: clamp(112px, 14vh, 148px) 0 max(54px, var(--safe-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.content-intro { align-items: flex-start; max-width: 1120px; }
.eyebrow { margin: 0 0 16px; font-size: 10px; font-weight: 750; letter-spacing: .23em; text-transform: uppercase; color: var(--gold-bright); }
h1, h2, h3 { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; text-wrap: balance; }
h1, h2 { margin: 0; font-weight: 600; text-shadow: 0 14px 45px rgba(0, 0, 0, .24); }
h1 { max-width: 930px; font-size: clamp(58px, 7.4vw, 104px); line-height: .9; letter-spacing: -.046em; }
h2 { max-width: 850px; font-size: clamp(46px, 5.1vw, 72px); line-height: .98; letter-spacing: -.036em; }
.intro-copy { max-width: 620px; margin: 28px 0 32px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.72; color: var(--muted); }
.intro-copy p { margin: 0 0 5px; }
.microcopy { margin: 17px 4px 0; font-size: 11px; letter-spacing: .035em; color: rgba(255, 250, 244, .56); }

.primary-button, .secondary-button {
  min-height: 58px;
  padding: 0 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .28s ease, box-shadow .28s ease, opacity .28s ease, background .28s ease, border-color .28s ease;
}
.primary-button {
  width: fit-content;
  color: #2b211b;
  font-weight: 750;
  background: linear-gradient(135deg, #f6e1b2, #cda66d);
  box-shadow: 0 16px 38px rgba(157, 116, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.primary-button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(157, 116, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .65); }
.primary-button:disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.3); }
.secondary-button { color: var(--warm-white); background: rgba(28, 21, 19, .48); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.secondary-button:hover { transform: translateY(-3px); background: rgba(39, 30, 27, .7); border-color: rgba(255, 255, 255, .34); }

.questionnaire-content { align-items: stretch; }
.heading-block { max-width: 820px; margin-bottom: 24px; }
.subtitle { margin: 15px 0 0; max-width: 680px; font-size: clamp(14px, 1.4vw, 17px); line-height: 1.62; color: var(--muted); }
.options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; width: min(1000px, 100%); }
.option-card {
  position: relative;
  min-height: 122px;
  padding: 20px 21px 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-lg);
  color: var(--warm-white);
  text-align: left;
  background: linear-gradient(145deg, rgba(41, 31, 28, .58), rgba(25, 19, 17, .4));
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 14px 45px rgba(7, 5, 4, .15);
  cursor: pointer;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 13px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.option-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 8%, rgba(244, 217, 158, .25), transparent 42%);
  transition: opacity .25s ease;
  pointer-events: none;
}
.option-card:hover { transform: translateY(-2px); border-color: rgba(244, 217, 158, .4); background: linear-gradient(145deg, rgba(55, 42, 37, .68), rgba(30, 23, 20, .45)); }
.option-card.selected {
  border-color: rgba(244, 217, 158, .82);
  background: linear-gradient(145deg, rgba(81, 62, 49, .74), rgba(38, 28, 24, .58));
  box-shadow: 0 15px 48px rgba(146, 108, 59, .22), 0 0 0 1px rgba(244, 217, 158, .17) inset;
}
.option-card.selected::after { opacity: 1; }
.option-number { grid-row: 1 / span 2; position: relative; z-index: 1; color: var(--gold-bright); font-family: Georgia, serif; font-size: 19px; line-height: 1.22; }
.option-title { position: relative; z-index: 1; align-self: start; font-size: clamp(14px, 1.15vw, 16px); font-weight: 700; line-height: 1.38; }
.option-description { position: relative; z-index: 1; margin-top: 7px; color: rgba(255, 250, 244, .64); font-size: 12px; line-height: 1.52; }
.options-grid.compact .option-card { min-height: 88px; grid-template-rows: auto; align-items: center; }
.options-grid.compact .option-number { grid-row: auto; }
.options-grid.compact .option-title { align-self: center; }
.after-choice { max-width: 790px; margin: 16px 0 0; color: var(--gold-bright); font-family: Georgia, serif; font-size: clamp(17px, 1.8vw, 23px); font-style: italic; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.after-choice.visible { opacity: 1; transform: translateY(0); }
.continue-button { margin-top: 21px; }

.tradition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tradition-grid .custom-option { grid-column: 1 / -1; min-height: 78px; }
.field-wrap {
  width: min(820px, 100%);
  margin-top: 20px;
  padding: 17px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(26, 20, 18, .52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.field-wrap label { display: block; margin: 0 0 10px; color: var(--gold-bright); font-size: 10px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, .08);
  min-height: 100px;
  padding: 15px;
  border-radius: 15px;
  color: var(--warm-white);
  background: rgba(10, 8, 7, .38);
  line-height: 1.6;
  caret-color: var(--gold-bright);
}
textarea::placeholder { color: rgba(255, 250, 244, .4); }
.field-meta { display: flex; justify-content: space-between; gap: 18px; margin-top: 8px; color: rgba(255, 250, 244, .47); font-size: 11px; }
.field-error { color: #ffd2c5; }
.dream-field-wrap { margin-top: 8px; }
.dream-field-wrap textarea { min-height: 170px; }

.summary-screen::before { background-attachment: fixed; }
.summary-content { width: min(920px, calc(100% - 44px)); align-items: center; text-align: center; justify-content: flex-start; padding-top: clamp(112px, 13vh, 146px); padding-bottom: 80px; }
.summary-content > .eyebrow { margin-bottom: 14px; }
.summary-content h2 { max-width: 760px; }
.story-book {
  width: 100%;
  margin: 32px 0 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 30px;
  background: linear-gradient(165deg, rgba(31, 23, 20, .91), rgba(15, 11, 10, .85));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 36px 100px rgba(7, 5, 4, .48);
  text-align: left;
}
.story-cover {
  padding: clamp(34px, 6vw, 70px) clamp(25px, 6vw, 72px) clamp(30px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 86% 10%, rgba(244, 217, 158, .17), transparent 34%),
    linear-gradient(135deg, rgba(89, 65, 49, .37), rgba(22, 16, 14, .12));
}
.story-cover::after { content: "“"; position: absolute; right: 3%; top: -52px; font-family: Georgia, serif; font-size: 240px; line-height: 1; color: rgba(244, 217, 158, .08); pointer-events: none; }
.story-overline { margin: 0 0 17px; color: var(--gold-bright); font-size: 10px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.story-cover h3 { position: relative; z-index: 1; max-width: 720px; margin: 0; color: #fff8ed; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -.035em; font-weight: 600; }
.story-meta { margin-top: 20px; color: rgba(255, 250, 244, .53); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.story-lead { max-width: 720px; margin: 27px 0 0; color: rgba(255, 250, 244, .75); font-family: Georgia, serif; font-size: clamp(18px, 2.2vw, 25px); line-height: 1.58; }
.story-text { padding: clamp(35px, 6vw, 72px) clamp(25px, 7vw, 86px); color: rgba(255, 249, 240, .89); }
.story-chapter { position: relative; max-width: 720px; margin: 0 auto; padding: 0 0 clamp(46px, 7vw, 78px); }
.story-chapter:last-child { padding-bottom: 0; }
.story-chapter + .story-chapter::before { content: ""; display: block; width: 72px; height: 1px; margin: 0 0 clamp(40px, 6vw, 64px); background: linear-gradient(90deg, var(--gold), transparent); opacity: .68; }
.chapter-kicker { display: block; margin-bottom: 11px; color: var(--gold-bright); font-size: 10px; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; }
.story-chapter h4 { margin: 0 0 24px; color: #fff8ed; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 43px); line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.story-chapter p { margin: 0 0 18px; font-family: Georgia, serif; font-size: clamp(17px, 2vw, 21px); line-height: 1.82; color: rgba(255, 249, 240, .85); }
.story-chapter p:last-child { margin-bottom: 0; }
.story-chapter .emphasis { margin: 28px 0; padding: 22px 0 22px 24px; border-left: 2px solid rgba(244, 217, 158, .66); color: #fff8ed; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.55; font-style: italic; }
.story-signature { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px clamp(25px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .11); color: rgba(255, 250, 244, .47); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.story-signature span:last-child { color: var(--gold-bright); font-size: 17px; }
.final-copy { max-width: 760px; font-size: clamp(14px, 1.5vw, 17px); line-height: 1.8; color: rgba(255, 250, 244, .75); }
.final-copy p { margin: 0 0 13px; }
.final-letter { padding: 0 18px; }
.final-declaration { max-width: 850px; margin: 32px 0 34px; font-family: Georgia, serif; font-size: clamp(31px, 4.5vw, 58px); line-height: 1.12; color: var(--gold-bright); }
.summary-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.status-box { width: min(680px, 100%); margin-top: 18px; padding: 15px 18px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .17); background: rgba(23, 17, 15, .7); color: rgba(255, 250, 244, .84); font-size: 13px; line-height: 1.55; }
.status-box.error { border-color: rgba(255, 168, 143, .4); color: #ffd9cf; }

.success-content { width: min(720px, calc(100% - 40px)); align-items: center; text-align: center; }
.success-symbol { width: 86px; height: 86px; margin-bottom: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-bright); font-size: 32px; border: 1px solid rgba(244, 217, 158, .48); background: rgba(64, 48, 39, .4); box-shadow: 0 0 80px rgba(244, 217, 158, .24); }
.success-content p:not(.eyebrow) { max-width: 620px; margin: 24px 0 32px; color: var(--muted); line-height: 1.8; font-size: 17px; }

.ambient-orb { position: absolute; border-radius: 50%; filter: blur(4px); opacity: .2; pointer-events: none; mix-blend-mode: screen; }
.orb-one { width: 420px; height: 420px; right: 5vw; top: 8vh; background: radial-gradient(circle, rgba(244, 217, 158, .68), transparent 68%); animation: float 10s ease-in-out infinite; }
.orb-two { width: 280px; height: 280px; left: 25vw; bottom: 4vh; background: radial-gradient(circle, rgba(217, 185, 177, .42), transparent 70%); animation: float 13s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate3d(0, -18px, 0) scale(1.06); } }

@media (max-width: 760px) {
  .topbar { min-height: calc(62px + var(--safe-top)); padding-inline: 14px; }
  .back-button { left: 14px; }
  .progress-wrap { width: calc(100% - 92px); max-width: 520px; }
  .progress-meta { display: none; }

  .content { width: min(calc(100% - 28px), 1120px); padding-top: calc(86px + var(--safe-top)); padding-bottom: calc(112px + var(--safe-bottom)); justify-content: flex-start; }
  .content-intro { width: min(calc(100% - 30px), 1120px); min-height: 100svh; padding-top: calc(96px + var(--safe-top)); padding-bottom: calc(34px + var(--safe-bottom)); justify-content: center; }
  .eyebrow { margin-bottom: 13px; font-size: 9px; letter-spacing: .21em; }
  h1 { max-width: 360px; font-size: clamp(46px, 13vw, 59px); line-height: .93; letter-spacing: -.043em; }
  h2 { font-size: clamp(37px, 10.2vw, 49px); line-height: 1.01; }
  .intro-copy { margin: 23px 0 27px; font-size: 14px; line-height: 1.65; }
  .microcopy { margin-top: 15px; font-size: 10px; line-height: 1.45; }
  .primary-button, .secondary-button { width: 100%; min-height: 58px; padding-inline: 18px; }

  .heading-block { margin-bottom: 18px; }
  .subtitle { margin-top: 11px; font-size: 13px; line-height: 1.55; }
  .options-grid, .tradition-grid { grid-template-columns: 1fr; gap: 9px; }
  .tradition-grid .custom-option { grid-column: auto; }
  .option-card { min-height: 95px; padding: 16px 16px 15px; border-radius: 18px; grid-template-columns: 31px minmax(0, 1fr); column-gap: 10px; }
  .options-grid.compact .option-card { min-height: 72px; }
  .option-number { font-size: 18px; }
  .option-title { font-size: 14px; }
  .option-description { margin-top: 6px; font-size: 11px; line-height: 1.48; }
  .after-choice { margin-top: 13px; font-size: 18px; }
  .continue-button, .dream-button {
    position: fixed;
    z-index: 28;
    left: 14px;
    right: 14px;
    bottom: var(--safe-bottom);
    width: auto;
    margin: 0;
    box-shadow: 0 16px 45px rgba(9, 6, 5, .48), inset 0 1px 0 rgba(255, 255, 255, .55);
  }
  .field-wrap { margin-top: 13px; padding: 13px; }
  .dream-field-wrap textarea { min-height: 150px; }

  .screen-overlay {
    background:
      linear-gradient(0deg, rgba(13, 9, 8, .92) 0%, rgba(13, 9, 8, .67) 54%, rgba(13, 9, 8, .54) 100%),
      radial-gradient(circle at 80% 8%, rgba(244, 217, 158, .11), transparent 38%);
  }
  [data-bg="intro"]::before { background-position: 56% center; }
  [data-bg="home"]::before { background-position: 58% center; }
  [data-bg="place"]::before { background-position: 48% center; }
  [data-bg="breakfast"]::before { background-position: 64% center; }
  [data-bg="day"]::before { background-position: 52% center; }
  [data-bg="dream"]::before { background-position: 50% center; }

  .summary-content { width: min(calc(100% - 24px), 920px); padding-top: calc(91px + var(--safe-top)); padding-bottom: calc(54px + var(--safe-bottom)); }
  .summary-content h2 { font-size: clamp(38px, 10.4vw, 50px); }
  .story-book { margin: 24px 0 31px; border-radius: 22px; }
  .story-cover { padding: 30px 21px 28px; }
  .story-cover::after { right: -4%; top: -32px; font-size: 170px; }
  .story-cover h3 { font-size: clamp(36px, 10.4vw, 48px); }
  .story-meta { margin-top: 16px; font-size: 9px; line-height: 1.5; }
  .story-lead { margin-top: 21px; font-size: 18px; line-height: 1.6; }
  .story-text { padding: 34px 21px 38px; }
  .story-chapter { padding-bottom: 48px; }
  .story-chapter + .story-chapter::before { margin-bottom: 40px; }
  .story-chapter h4 { margin-bottom: 20px; font-size: 29px; }
  .story-chapter p { margin-bottom: 16px; font-size: 17px; line-height: 1.78; }
  .story-chapter .emphasis { margin: 24px 0; padding: 18px 0 18px 18px; font-size: 20px; }
  .story-signature { padding: 18px 21px; font-size: 8px; line-height: 1.5; }
  .final-copy { font-size: 14px; }
  .final-declaration { margin: 28px 4px 31px; font-size: 31px; }
  .summary-actions { width: 100%; }
}

@media (max-width: 380px) {
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .content { width: calc(100% - 24px); }
  .option-card { padding-inline: 14px; }
  .story-text { padding-inline: 18px; }
}

@media (max-height: 760px) and (min-width: 761px) {
  .content { justify-content: flex-start; padding-top: 98px; }
  .option-card { min-height: 88px; }
  .heading-block { margin-bottom: 18px; }
  .after-choice { margin-top: 11px; }
  .continue-button { margin-top: 14px; }
}

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

@media (max-width: 760px) and (max-height: 700px) {
  .content:not(.content-intro):not(.summary-content):not(.success-content) {
    padding-bottom: calc(34px + var(--safe-bottom));
  }
  .continue-button, .dream-button {
    position: static;
    width: 100%;
    margin-top: 18px;
  }
}
