@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Text";
  src: url("assets/fonts/dm-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Text";
  src: url("assets/fonts/dm-serif-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fcfaf6;
  --ink: #312a35;
  --body: #4c4651;
  --muted: #625a69;
  --purple: #514074;
  --deep: #402e59;
  --line: #ded8df;
  --soft: #f3eff6;
  --serif: "DM Serif Text", Georgia, serif;
  --gutter: clamp(1.15rem, 5.2vw, 5.2rem);
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

button, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

a {
  color: inherit;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p, figure, blockquote {
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #6e48a0;
  outline-offset: 4px;
}

.shell {
  max-width: 78rem;
  width: calc(100% - var(--gutter) * 2);
  margin-inline: auto;
}

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  top: .7rem;
  left: .7rem;
  z-index: 20;
  background: white;
  padding: .7rem 1rem;
}

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.masthead-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.masthead-inner {
  min-height: 5.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--deep);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  border-radius: 30%;
}

.brand span {
  font-size: .99rem;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.025em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.7vw, 2.4rem);
  margin-left: auto;
  margin-right: clamp(.5rem, 2.6vw, 2.3rem);
}

.main-nav a, .footer-links a {
  text-decoration: none;
  font-size: .96rem;
  font-weight: 700;
}

.main-nav a:hover, .footer-links a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.header-actions, .hero-actions, .step-actions, .demo-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}

.button, .text-button, .card-action, .roll-button, .zoom-caption {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: 1rem;
  line-height: 1.23;
  font-weight: 700;
  text-decoration: none;
}

.button {
  min-height: 3.1rem;
  padding: .82rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: background .16s, color .16s, border-color .16s;
}

.button-dark {
  background: var(--purple);
  color: white;
}

.button-dark:hover {
  background: var(--deep);
}

.button-outline {
  border-color: #b6a8c1;
  color: var(--deep);
  background: transparent;
}

.button-outline:hover {
  background: #f0e9f4;
  border-color: var(--purple);
}

.header-app {
  min-height: 2.65rem;
  font-size: .94rem;
  padding: .64rem 1.28rem;
}

.button-small {
  min-height: 2.75rem;
  padding: .58rem 1.12rem;
  font-size: .94rem;
}

.text-button {
  color: var(--deep);
  padding: .65rem .15rem;
  min-height: 2.75rem;
  background: transparent;
  border: 0;
}

.text-button:hover {
  text-decoration: underline;
}

.text-button:disabled {
  opacity: .46;
  text-decoration: none;
}

.play-icon {
  display: inline-block;
  flex: none;
  width: 0;
  height: 0;
  border-top: .38em solid transparent;
  border-bottom: .38em solid transparent;
  border-left: .61em solid currentColor;
}

.menu-button, .mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(2.2rem, 4.5vw, 4.5rem);
  padding-block: clamp(2.25rem, 4.2vw, 4.35rem) clamp(3rem, 5.45vw, 5.5rem);
}

.hero-copy {
  min-width: 0;
  padding-block: 1.35rem;
}

.product-kind {
  display: flex;
  align-items: center;
  gap: .52rem;
  color: var(--purple);
  font-weight: 700;
  font-size: .94rem;
  margin-bottom: 1.4rem;
}

.product-kind img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
}

h1 {
  color: #382d42;
  font-size: clamp(3rem, 5.72vw, 5.38rem);
  line-height: 1.025;
  letter-spacing: -.055em;
}

h1 span {
  display: block;
}

h1 em {
  font-weight: 400;
  color: var(--purple);
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: .09em;
  left: -.02em;
  right: -.04em;
  bottom: .064em;
  background: #efc092;
  border-radius: 70% 40% 55% 40%;
  transform: rotate(-2.5deg);
}

.hero-intro {
  max-width: 39ch;
  color: var(--body);
  font-size: clamp(1.075rem, 1.38vw, 1.24rem);
  line-height: 1.57;
  margin: 1.45rem 0 1.8rem;
}

.hero-scene {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.34;
  overflow: hidden;
  border-radius: 2rem;
  background: linear-gradient(125deg, #eee4f4, #d8c6e7 84%);
}

.scene-halo {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 100%;
  height: 146%;
  border-radius: 50%;
  background: #f3e7eae0;
  box-shadow: 0 0 0 1rem #f0e4f040, 0 0 0 1.1rem #f5eaf255;
}

.scene-table {
  position: absolute;
  z-index: 1;
  left: -3%;
  bottom: -5%;
  width: 106%;
  height: 22%;
  background-color: #ededdd;
  background-image: repeating-linear-gradient(90deg, transparent 0 15px, #a9adae45 15px 29px), repeating-linear-gradient(0deg, transparent 0 12px, #a9adae45 12px 23px);
  border-top: 2px solid #c5bfc4;
  transform: skewY(-2deg);
  transform-origin: left bottom;
}

.scene-mama, .scene-kids {
  position: absolute;
  height: auto;
}

.scene-mama {
  width: 47.8%;
  left: 3.8%;
  bottom: 12.5%;
}

.scene-kids {
  width: 55.8%;
  right: 1.5%;
  bottom: 11.2%;
}

.scene-call {
  position: absolute;
  top: 12.5%;
  right: 5.5%;
  max-width: 45%;
  border-radius: 1.25rem;
  padding: .62rem 1.1rem;
  background: #fffaf0;
  color: #48334c;
  box-shadow: 0 3px 0 #9e85ab36;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  text-align: center;
  transform: rotate(4deg);
}

.scene-call::after {
  content: "";
  position: absolute;
  left: 35%;
  bottom: -.57rem;
  width: .9rem;
  height: 1rem;
  background: #fffaf0;
  clip-path: polygon(0 0, 100% 0, 16% 100%);
}

.recipe-ticket {
  position: absolute;
  z-index: 2;
  bottom: 3.8%;
  left: 7%;
  width: 86%;
  display: flex;
  align-items: center;
  gap: .78rem;
  padding: .52rem .68rem .52rem .52rem;
  background: #fffdf9;
  border: 1px solid #e1d7de;
  border-radius: 1.08rem;
  box-shadow: 0 5px 16px #47334324;
  transform: rotate(-1.6deg);
}

.ticket-photo {
  width: clamp(2.75rem, 4.5vw, 4rem);
  height: clamp(2.75rem, 4.5vw, 4rem);
  flex: none;
  border-radius: .7rem;
  object-fit: cover;
}

.ticket-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: .18rem;
}

.ticket-copy strong {
  font-family: var(--serif);
  font-size: clamp(1.06rem, 1.5vw, 1.38rem);
  line-height: 1.16;
  font-weight: 400;
}

.ticket-copy span {
  color: var(--muted);
  font-size: .84rem;
}

.roll-button {
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  color: var(--purple);
  background: #efe8f4;
  border: 0;
  border-radius: 50%;
}

.roll-button:hover {
  background: #e6d9ef;
}

.die {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid currentColor;
  border-radius: .28rem;
  position: relative;
  transform: rotate(13deg);
}

.die i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 100%;
}

.die i:nth-child(1) {
  top: 2px;
  left: 2px;
}

.die i:nth-child(2) {
  top: 2px;
  right: 2px;
}

.die i:nth-child(3) {
  top: calc(50% - 1.5px);
  left: calc(50% - 1.5px);
}

.die i:nth-child(4) {
  bottom: 2px;
  left: 2px;
}

.die i:nth-child(5) {
  bottom: 2px;
  right: 2px;
}

section[id] {
  scroll-margin-block-start: 1rem;
}

.section-band {
  background: var(--soft);
  border-block: 1px solid #e8e2eb;
}

.tour, .section-pad, .faq {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

h2 {
  color: #382e40;
  font-size: clamp(2.05rem, 3.45vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.section-head p {
  max-width: 57ch;
  margin-top: .6rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.route-switch {
  display: inline-flex;
  align-items: stretch;
  padding: .25rem;
  border: 1px solid #d5cadb;
  border-radius: 100px;
  background: #e9e2ef;
  flex: none;
}

.route-switch button {
  background: transparent;
  color: #544361;
  border: 0;
  border-radius: 100px;
  font-size: .91rem;
  line-height: 1.3;
  font-weight: 700;
  min-height: 2.55rem;
  padding: .52rem 1.05rem;
}

.route-switch button[aria-pressed="true"] {
  background: #fffdfc;
  color: var(--deep);
  box-shadow: 0 1px 5px #4c31551c;
}

.route-switch button:hover {
  color: #2a1c39;
  background: #f8f3fa;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 2.4vw, 2.25rem);
}

.guide-ready .guide-layout {
  grid-template-columns: minmax(12rem, .267fr) minmax(0, 1fr);
}

.chapter-nav ol {
  display: grid;
  gap: .23rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: station;
}

.chapter-nav li {
  counter-increment: station;
}

.chapter-nav li button {
  width: 100%;
  min-height: 3.05rem;
  display: flex;
  align-items: center;
  gap: .68rem;
  padding: .48rem .7rem;
  text-align: left;
  font-size: .95rem;
  line-height: 1.25;
  font-weight: 700;
  color: #554b60;
  background: transparent;
  border: 1px solid transparent;
  border-radius: .9rem;
}

.chapter-nav li button::before {
  content: counter(station);
  display: grid;
  place-items: center;
  flex: none;
  width: 1.62rem;
  height: 1.62rem;
  border-radius: 50%;
  background: #e7deee;
  color: #5b4970;
  font-size: .83rem;
}

.chapter-nav li button:hover {
  background: #ebe4f0;
}

.chapter-nav li button[aria-current="step"] {
  background: white;
  border-color: #d3c7db;
  color: var(--deep);
}

.chapter-nav li button[aria-current="step"]::before {
  background: var(--purple);
  color: white;
}

.mobile-chapter {
  display: none;
}

.chapter-card {
  display: grid;
  grid-template-columns: 1.25fr minmax(13rem, .8fr);
  gap: .65rem;
  padding: .72rem;
  background: #fffdfb;
  border: 1px solid #ddd6df;
  border-radius: 1.55rem;
  box-shadow: 0 4px 15px #41304606;
  min-width: 0;
}

.chapter-reading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(1rem, 2.15vw, 2.25rem);
}

.step-counter {
  color: var(--purple);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .74rem;
}

.chapter-reading h3, .extra-copy h3, .demo-notes h3 {
  color: #382e40;
  font-size: clamp(1.62rem, 2.15vw, 2.12rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.chapter-reading article > p, .extra-copy p {
  margin-top: .82rem;
  color: var(--body);
  line-height: 1.58;
}

.chapter-reading article + article:not([hidden]) {
  margin-top: 2rem;
}

.guide-ready .chapter-reading article + article:not([hidden]) {
  margin-top: 0;
}

.chapter-reading strong, .extra-copy strong, .faq-list strong {
  font-weight: 700;
  color: #42374a;
}

.chapter-reading blockquote {
  display: flex;
  gap: .72rem;
  align-items: center;
  margin-top: 1.25rem;
  color: #553d63;
  font-size: .95rem;
  line-height: 1.42;
}

.chapter-reading blockquote::before {
  content: "";
  flex: none;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 1px solid #e3c9b9;
  background: #f5ddc8 url("assets/art/mama.webp") center 2px / 2.62rem auto no-repeat;
}

.chapter-reading blockquote[data-speaker="kinder"]::before {
  border-color: #d7c8df;
  background: #e8dcf0 url("assets/art/geschwister-leise.webp") center 3px / 3.45rem auto no-repeat;
}

.chapter-reading .speaker-name {
  display: block;
  font-size: .86rem;
  line-height: 1.3;
  color: var(--purple);
  margin-bottom: .12rem;
}

.step-actions {
  margin-top: 1.32rem;
  justify-content: space-between;
}

.screen-stage {
  --screen-wash: #f6e5d7;
  border-radius: 1.05rem;
  background: var(--screen-wash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.55rem .85rem 1rem;
  gap: .85rem;
  min-width: 0;
}

.screen-stage[data-tone="lilac"] {
  --screen-wash: #e8def1;
}

.screen-stage[data-tone="rose"] {
  --screen-wash: #f5dfe6;
}

.screen-stage[data-tone="blue"] {
  --screen-wash: #e1eaf5;
}

.screen-stage[data-tone="mint"] {
  --screen-wash: #dbecdf;
}

.phone-frame {
  display: block;
  width: min(94%, 13.55rem);
  padding: .31rem;
  border: 1px solid #443e48;
  background: #433c48;
  border-radius: 1.43rem;
  box-shadow: 0 9px 16px #4a364925;
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 1.08rem;
  background: #faf9f6;
}

.zoom-caption, .card-action {
  min-height: 2.5rem;
  color: var(--deep);
  font-size: .94rem;
}

.zoom-caption:hover, .card-action:hover {
  text-decoration: underline;
}

.zoom-icon {
  display: inline-block;
  position: relative;
  flex: none;
  width: .87rem;
  height: .87rem;
  border: 1.8px solid currentColor;
  border-radius: 50%;
  margin-right: .18rem;
}

.zoom-icon::after {
  content: "";
  position: absolute;
  width: .45rem;
  height: 1.8px;
  background: currentColor;
  transform: rotate(45deg);
  right: -.32rem;
  bottom: -.13rem;
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.8rem);
}

.extra-card {
  overflow: hidden;
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
}

.extra-copy {
  padding: clamp(1.2rem, 2.2vw, 1.95rem);
}

.extra-copy h3 {
  font-size: clamp(1.5rem, 2.1vw, 2rem);
}

.extra-copy .card-action {
  margin-top: .8rem;
}

.feature-details {
  border-top: 1px solid var(--line);
  margin-top: .75rem;
}

.feature-details summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 700;
  padding-block: .9rem .35rem;
}

.feature-details summary::marker {
  color: #80668e;
}

.feature-details ol {
  padding-left: 1.45rem;
  color: var(--body);
  margin: .65rem 0 0;
}

.feature-details li + li {
  margin-top: .5rem;
}

.feature-details li::marker {
  color: var(--purple);
  font-weight: 700;
}

.food-strip, .pantry-art {
  height: clamp(10.5rem, 15.5vw, 14rem);
  overflow: hidden;
}

.food-strip {
  display: grid;
  grid-template-columns: 1.3fr .9fr .8fr;
  gap: .25rem;
  background: #f1e7db;
}

.food-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}

.pantry-art {
  position: relative;
  background: linear-gradient(112deg, #dceee0, #b8d9c4);
  isolation: isolate;
}

.pantry-art::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  right: -5%;
  bottom: -120%;
  border-radius: 50%;
  background: #e6f3dd80;
}

.pantry-screen {
  position: absolute;
  top: 1rem;
  left: 10%;
  width: 64%;
  max-width: 22rem;
  border-radius: 1rem;
  transform: rotate(-4deg);
  border: .28rem solid #fdfcf8;
  overflow: hidden;
  box-shadow: 0 3px 15px #37533f29;
}

.pantry-screen img {
  width: 100%;
  height: auto;
}

.pantry-tomato {
  position: absolute;
  width: clamp(4.5rem, 8vw, 7rem);
  height: auto;
  bottom: .65rem;
  right: 6%;
  transform: rotate(12deg);
}

.faq {
  background: #f3eee7;
  border-color: #e5ddd3;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(14rem, .6fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
}

.faq-heading img {
  width: 7rem;
  height: 8.6rem;
  margin-top: 1.55rem;
  object-fit: contain;
  border-bottom: 2px solid #d7bda7;
}

.faq-list {
  border-top: 1px solid #d8cfc5;
}

.faq-list details {
  border-bottom: 1px solid #d8cfc5;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.2rem;
  padding: 1.05rem 0;
  cursor: pointer;
  color: #3c3341;
  font-weight: 700;
  font-size: 1.075rem;
  line-height: 1.4;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #c8bdb2;
  border-radius: 50%;
  font-size: 1.24rem;
  line-height: 1;
  font-weight: 400;
}

.faq-list [open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 68ch;
  padding: 0 2.4rem 1.25rem 0;
  color: var(--body);
}

.footer-inner {
  padding-block: 1.8rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--purple);
}

dialog {
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #d8cfe0;
  border-radius: 1.35rem;
  box-shadow: 0 20px 85px #24162b45;
}

dialog::backdrop {
  background: #2a2034b5;
}

.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  min-height: 3.75rem;
  padding: .55rem 1rem .55rem 1.3rem;
  background: #fffcf8;
  border-bottom: 1px solid var(--line);
}

.dialog-bar h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.dialog-bar .play-icon {
  color: var(--purple);
}

.close-button, .menu-button {
  flex: none;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid #d9cfe0;
  border-radius: 50%;
  color: var(--deep);
  background: #f2ecf6;
}

.close-button:hover, .menu-button:hover {
  background: #e9dfef;
}

.close-button span, .menu-button span {
  display: block;
  position: relative;
  width: 1rem;
  height: 2px;
}

.close-button span::before, .close-button span::after, .menu-button span::before, .menu-button span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: currentColor;
  top: 0;
  left: 0;
  border-radius: 1rem;
}

.close-button span::before, .menu-button[aria-expanded="true"] span::before {
  transform: rotate(45deg);
}

.close-button span::after, .menu-button[aria-expanded="true"] span::after {
  transform: rotate(-45deg);
}

.image-dialog {
  width: min(34rem, calc(100vw - 1.2rem));
  max-width: 100%;
  max-height: 94vh;
  max-height: 94dvh;
  overflow: hidden;
}

.image-scroll {
  display: grid;
  justify-items: center;
  max-height: calc(94vh - 4.15rem);
  max-height: calc(94dvh - 4.15rem);
  overflow: auto;
  background: #eae4ef;
  overscroll-behavior: contain;
}

.image-scroll img {
  width: min(100%, 28rem);
  height: auto;
  align-self: start;
}

.demo-dialog {
  width: min(53rem, calc(100vw - 1.5rem));
  max-width: 100%;
  max-height: 94vh;
  max-height: 94dvh;
  overscroll-behavior: contain;
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(14rem, .83fr) minmax(0, 1fr);
}

.demo-stage {
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: #e9dff0;
}

.demo-frame {
  position: relative;
  width: min(100%, 18.3rem, calc((90vh - 7rem) * .51316));
  width: min(100%, 18.3rem, calc((90dvh - 7rem) * .51316));
  border-radius: .65rem;
  outline: 3px solid #514554;
  box-shadow: 0 7px 16px #31203829;
  overflow: hidden;
  background: #faf9f6;
}

#demo-shot {
  width: 100%;
  height: auto;
  aspect-ratio: 39/76;
}

.hotspot {
  position: absolute;
  border: 2px solid #b4530e;
  background: #f5bf3024;
  box-shadow: inset 0 0 0 2px #fff3c8, 0 0 0 2px #ffdc72;
  border-radius: .4rem;
  padding: 0;
  cursor: pointer;
}

.hotspot:hover, .hotspot:focus-visible {
  background: #f5bf304a;
  outline: 3px solid #563472;
  outline-offset: 0;
}

.demo-notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  min-width: 0;
  padding: clamp(1.3rem, 3.3vw, 2.8rem);
}

.demo-notes h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

#demo-instruction {
  margin-top: .85rem;
  color: var(--body);
}

.demo-help {
  margin-top: 1.45rem;
  font-size: .93rem;
  color: var(--muted);
}

.demo-controls {
  margin-top: 1rem;
  gap: .5rem 1rem;
}

.demo-controls .button {
  max-width: 100%;
}

.demo-notes progress {
  appearance: none;
  width: 100%;
  height: .35rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 1.55rem;
  background: #e5dceb;
  color: var(--purple);
}

.demo-notes progress::-webkit-progress-bar {
  background: #e5dceb;
}

.demo-notes progress::-webkit-progress-value {
  background: var(--purple);
}

.demo-notes progress::-moz-progress-bar {
  background: var(--purple);
}

@media (min-width: 721px) {
  .menu-button {
    display: none;
  }
}

@media (max-width: 1050px) {
  .guide-ready .guide-layout {
    grid-template-columns: 1fr;
  }
  .chapter-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
  }
  .chapter-nav li button {
    width: auto;
    padding: .45rem .65rem;
    min-height: 2.65rem;
    gap: .45rem;
  }
  .chapter-card {
    grid-template-columns: 1.3fr minmax(13rem, .75fr);
  }
  .section-head {
    align-items: start;
  }
  .tour .section-head {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.15rem;
  }
}

@media (max-width: 840px) {
  .hero {
    gap: 1.65rem;
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    font-size: clamp(2.8rem, 5.55vw, 3rem);
  }
  .hero-scene {
    aspect-ratio: 1.02;
  }
  .scene-mama {
    width: 53%;
    left: 1%;
  }
  .scene-kids {
    width: 58%;
    right: 0;
  }
  .scene-call {
    top: 14%;
  }
  .recipe-ticket {
    width: 92%;
    left: 4%;
  }
  .hero-actions {
    gap: .52rem;
  }
  .hero-actions .button {
    padding: .7rem .95rem;
    font-size: .94rem;
  }
}

@media (max-width: 720px) {
  .masthead-inner {
    min-height: 4.55rem;
    gap: .6rem;
  }
  .brand {
    gap: .5rem;
  }
  .brand img {
    width: 2.42rem;
    height: 2.42rem;
  }
  .brand span {
    font-size: .88rem;
  }
  .main-nav {
    display: none;
  }
  .header-actions {
    gap: .45rem;
  }
  .header-app {
    min-height: 2.5rem;
    padding: .55rem .84rem;
    font-size: .9rem;
  }
  .menu-button {
    width: 2.5rem;
    height: 2.5rem;
  }
  .menu-button span::before {
    transform: translateY(-3px);
  }
  .menu-button span::after {
    transform: translateY(3px);
  }
  .mobile-nav:not([hidden]) {
    display: grid;
    gap: .15rem;
    padding-block: .35rem .78rem;
  }
  .mobile-nav a {
    padding: .6rem .5rem;
    border-radius: .5rem;
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-nav a:hover {
    background: var(--soft);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-block: 2rem 2.15rem;
  }
  .hero-copy {
    padding: 0;
  }
  .product-kind {
    margin-bottom: .88rem;
  }
  h1 {
    font-size: clamp(2.9rem, 9.2vw, 4.1rem);
  }
  .hero-intro {
    max-width: 43ch;
    margin: 1.05rem 0 1.18rem;
  }
  .hero-actions .button-outline {
    border-color: transparent;
    padding-inline: .35rem;
    text-decoration: underline;
    text-decoration-color: #b6a8c1;
    text-underline-offset: .3em;
  }
  .hero-scene {
    width: 100%;
    max-width: 31rem;
    justify-self: center;
    aspect-ratio: 1.45;
    border-radius: 1.38rem;
  }
  .scene-mama {
    width: 45%;
    bottom: 12%;
    left: 4%;
  }
  .scene-kids {
    width: 53%;
    bottom: 10%;
    right: 2%;
  }
  .scene-call {
    top: 10%;
    font-size: clamp(1rem, 3.6vw, 1.3rem);
    padding: .45rem .75rem;
  }
  .recipe-ticket {
    width: 88%;
    left: 6%;
    padding: .38rem .55rem .38rem .38rem;
    gap: .55rem;
    bottom: 3%;
  }
  .ticket-photo {
    width: 2.75rem;
    height: 2.75rem;
  }
  .ticket-copy strong {
    font-size: 1.06rem;
  }
  .ticket-copy span {
    font-size: .8rem;
  }
  .roll-button {
    width: 2.65rem;
    height: 2.65rem;
  }
  .tour, .section-pad, .faq {
    padding-block: 2.6rem;
  }
  .section-head {
    margin-bottom: 1.3rem;
  }
  .section-head p {
    font-size: 1rem;
  }
  .guide-layout {
    gap: .8rem;
  }
  .chapter-nav ol {
    display: none;
  }
  .chapter-nav {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
  }
  .mobile-chapter {
    display: inline-block;
  }
  label.mobile-chapter {
    font-weight: 700;
    font-size: .9rem;
    color: var(--deep);
  }
  select.mobile-chapter {
    max-width: 100%;
    flex: 1;
    min-height: 2.75rem;
    padding: .48rem 2.15rem .48rem .7rem;
    border: 1px solid #cec2d5;
    border-radius: .7rem;
    color: var(--deep);
    background: #fffdfb;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #5d486f 50%), linear-gradient(135deg, #5d486f 50%, transparent 50%);
    background-size: 5px 5px;
    background-position: calc(100% - 1.1rem) 50%, calc(100% - 1.1rem + 5px) 50%;
    background-repeat: no-repeat;
  }
  .chapter-card {
    grid-template-columns: 1fr;
    padding: .65rem;
    gap: 0;
  }
  .chapter-reading {
    padding: .85rem .75rem 1.15rem;
  }
  .chapter-reading h3 {
    font-size: 1.74rem;
  }
  .chapter-reading blockquote {
    margin-top: .95rem;
  }
  .step-actions {
    margin-top: .7rem;
  }
  .screen-stage {
    padding: 1.15rem .75rem .4rem;
    gap: .35rem;
  }
  .phone-frame {
    width: min(100%, 12.5rem);
  }
  .extra-grid {
    grid-template-columns: 1fr;
  }
  .extra-copy {
    padding: 1.15rem;
  }
  .food-strip, .pantry-art {
    height: 10.25rem;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
  .faq-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .faq-heading img {
    margin: 0;
    width: 3.4rem;
    height: 4.35rem;
  }
  .faq-list summary {
    font-size: 1rem;
    min-height: 3.65rem;
  }
  .footer-inner {
    align-items: start;
    padding-block: 1.25rem;
  }
  .footer-links {
    flex-direction: column;
    align-items: end;
    gap: .3rem;
  }
  .demo-layout {
    grid-template-columns: 1fr;
  }
  .demo-dialog {
    width: min(28rem, calc(100vw - .7rem));
    max-height: 97vh;
    max-height: 97dvh;
  }
  .dialog-bar {
    min-height: 2.9rem;
    padding: .28rem .7rem .28rem .9rem;
  }
  .dialog-bar h2 {
    font-size: .98rem;
  }
  .demo-stage {
    padding: .55rem;
  }
  .demo-frame {
    width: min(58%, calc(45vh * .51316));
    width: min(58%, calc(45dvh * .51316));
    min-width: 6.7rem;
    border-radius: .45rem;
    outline-width: 2px;
  }
  .demo-notes {
    padding: .85rem 1rem 1rem;
  }
  .demo-notes .step-counter {
    font-size: .85rem;
    margin-bottom: .25rem;
  }
  .demo-notes h3 {
    font-size: 1.46rem;
    text-wrap: initial;
  }
  #demo-instruction {
    margin-top: .35rem;
    font-size: 1rem;
    line-height: 1.44;
  }
  .demo-help {
    font-size: .88rem;
    margin-top: .4rem;
    line-height: 1.36;
  }
  .demo-controls {
    margin-top: .6rem;
    gap: .25rem 1rem;
  }
  .demo-controls .button {
    min-height: 2.65rem;
    padding: .58rem .94rem;
    font-size: .94rem;
  }
  .demo-notes progress {
    margin-top: .6rem;
  }
}

@media (max-width: 360px) {
  :root {
    --gutter: .8rem;
  }
  .brand span {
    font-size: .81rem;
  }
  .hero-actions .button {
    font-size: .91rem;
    padding-inline: .82rem;
  }
  .section-head {
    gap: .85rem;
  }
  .route-switch button {
    padding-inline: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
}
