@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BNSonic";
  src: url("/assets/fonts/BNSonic.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #1c3c34;
  --evergreen: #122722;
  --yellow: #f7ec50;
  --lavender: #a8a3f3;
  --violet: #8076c6;
  --orange: #ff9754;
  --mint: #d9f2e6;
  --cream: #f9f6e8;
  --paper: #fffdf4;
  --muted: #4f746c;
  --line: rgba(28, 60, 52, 0.17);
  --shadow: 0 22px 70px rgba(18, 39, 34, 0.15);
  --page: min(1240px, calc(100vw - 48px));
  --display: "BNSonic", "Satoshi", sans-serif;
  --body: "Satoshi", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--forest);
  background: var(--cream);
  font-family: var(--body);
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
summary {
  font: inherit;
}

::selection {
  color: var(--evergreen);
  background: var(--yellow);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--yellow);
  background: var(--evergreen);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 14px 0;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(18, 39, 34, 0.06);
}

.nav-shell {
  width: var(--page);
  height: 50px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  width: 126px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 44px);
}

.desktop-nav a,
.footer-links a {
  position: relative;
  text-decoration: none;
}

.desktop-nav a {
  font-size: 14px;
}

.desktop-nav a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  font-family: var(--body);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button:active {
  transform: translateY(1px);
}

.button--small {
  justify-self: end;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.button--dark {
  color: var(--yellow);
  background: var(--evergreen);
  box-shadow: 0 6px 0 #071713;
}

.button--dark:hover {
  background: var(--forest);
  box-shadow: 0 9px 0 #071713;
}

.button--app-store {
  min-width: 205px;
  justify-content: flex-start;
}

.button--app-store svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.button--app-store span {
  display: grid;
  font-size: 18px;
  line-height: 1.05;
  text-align: left;
}

.button--app-store small {
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 1160px;
  padding: clamp(54px, 6vw, 84px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 18%, rgba(168, 163, 243, 0.22) 0 9%, transparent 9.2%),
    radial-gradient(circle at 94% 17%, rgba(247, 236, 80, 0.32) 0 11%, transparent 11.2%),
    var(--cream);
}

.hero::before {
  position: absolute;
  top: 182px;
  left: calc(50% + 440px);
  width: 170px;
  height: 170px;
  border: 3px solid var(--forest);
  border-radius: 50%;
  content: "";
  opacity: 0.16;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100vw - 40px));
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow--yellow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  font-size: clamp(54px, 7.8vw, 104px);
  line-height: 0.89;
}

.hero-lede {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.download-stack {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.download-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.hero-actions .text-link,
.feature-card .text-link {
  min-height: 44px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.screen-stage {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: -350px;
  width: 1400px;
  height: 760px;
  transform: translateX(50%);
}

.hero-mori {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 220px;
  width: 360px;
  aspect-ratio: 1;
  pointer-events: none;
  transform: translateX(50%);
}

.hero-mori.reveal {
  opacity: 0;
  transform: translate(50%, 28px) scale(0.94);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) 360ms,
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1) 360ms;
}

.hero-mori.reveal.is-visible {
  opacity: 1;
  transform: translate(50%, 0) scale(1);
}

.hero-mori__halo {
  position: absolute;
  inset: 8%;
  background: var(--orange);
  border: 3px solid var(--evergreen);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(18, 39, 34, 0.14);
}

.hero-mori img {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 16px 16px rgba(18, 39, 34, 0.18));
  animation: mori-float 3200ms cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

.hero-mori__token {
  position: absolute;
  z-index: 3;
  width: 38px;
  height: 30px;
  border: 3px solid var(--evergreen);
  border-radius: 7px;
  box-shadow: 0 7px 0 rgba(18, 39, 34, 0.16);
}

.hero-mori__token::after {
  position: absolute;
  top: 6px;
  left: 7px;
  width: 10px;
  height: 4px;
  background: var(--evergreen);
  border-radius: 999px;
  content: "";
}

.hero-mori__token--yellow {
  top: 18%;
  left: -3%;
  background: var(--yellow);
  animation: token-drift-left 2600ms cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

.hero-mori__token--lavender {
  top: 31%;
  right: -7%;
  background: var(--lavender);
  animation: token-drift-right 2900ms cubic-bezier(0.25, 1, 0.5, 1) 180ms infinite
    alternate;
}

.screen-fan {
  --fan-transform: translateY(0);
  position: absolute;
  bottom: 0;
  width: 286px;
  aspect-ratio: 1290 / 2796;
  overflow: hidden;
  border: 6px solid var(--evergreen);
  border-radius: 36px 36px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: var(--fan-transform);
  transform-origin: bottom center;
}

.screen-fan::before,
.feature-card__screen::before {
  position: absolute;
  z-index: 4;
  top: -1px;
  left: 50%;
  width: 34%;
  height: 18px;
  background: var(--evergreen);
  border-radius: 0 0 12px 12px;
  content: "";
  transform: translateX(-50%);
}

.screen-fan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-fan--1 {
  --fan-transform: rotate(-8deg) translateY(66px);
  left: 16px;
}

.screen-fan--2 {
  --fan-transform: rotate(-4deg) translateY(18px);
  left: 278px;
}

.screen-fan--3 {
  --fan-transform: translateY(-34px);
  z-index: 3;
  left: 557px;
  width: 305px;
}

.screen-fan--4 {
  --fan-transform: rotate(4deg) translateY(18px);
  z-index: 2;
  right: 278px;
}

.screen-fan--5 {
  --fan-transform: rotate(8deg) translateY(66px);
  right: 16px;
}

.rhythm-strip {
  min-height: 230px;
  padding: 56px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 56px);
  color: var(--cream);
  background: var(--forest);
}

.rhythm-strip p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1;
  text-align: center;
}

.rhythm-shape {
  width: clamp(46px, 6vw, 78px);
  aspect-ratio: 1;
  display: block;
}

.rhythm-shape--lavender {
  background: var(--lavender);
  border-radius: 50%;
}

.rhythm-shape--yellow {
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 170px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading--center {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.smart-cook h2,
.clarity-copy h2,
.final-cta h2 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
}

.section-heading > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section--goals {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
}

.goal-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(270px, 1fr));
  gap: 16px;
}

.goal-card {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-rows: 300px minmax(220px, 1fr);
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}

.goal-card__copy {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.goal-card__copy span,
.feature-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.goal-card h3,
.feature-card h3 {
  margin-bottom: 13px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
}

.goal-card p,
.feature-card__copy > p:last-child {
  line-height: 1.5;
}

.goal-card__media {
  position: relative;
  z-index: 0;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.goal-card__media img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  transform: none;
}

.goal-card:nth-child(3) .goal-card__media img,
.goal-card:nth-child(4) .goal-card__media img {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transform: none;
}

.goal-card::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, rgba(18, 39, 34, 0.12));
  content: "";
}

.goal-card--mint {
  background: var(--mint);
}

.goal-card--lavender {
  background: var(--lavender);
}

.goal-card--orange {
  background: var(--orange);
}

.goal-card--yellow {
  background: var(--yellow);
}

.section--features {
  padding-top: 40px;
}

.rail-instruction {
  display: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-rows: auto minmax(270px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feature-card--wide {
  grid-column: 1 / -1;
  min-height: 620px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr;
}

.feature-card__copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding: clamp(30px, 5vw, 64px);
}

.feature-card__copy > p:last-child {
  max-width: 420px;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: 17px;
}

.feature-card--forest {
  color: var(--cream);
  background:
    radial-gradient(circle at 82% 22%, rgba(247, 236, 80, 0.16) 0 9%, transparent 9.2%),
    var(--forest);
}

.feature-card--cream {
  background: var(--paper);
}

.feature-card--yellow {
  background: var(--yellow);
}

.feature-card--lavender {
  background: var(--lavender);
}

.feature-card__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.feature-card__screen {
  position: absolute;
  right: 3%;
  top: 18px;
  width: 72%;
  aspect-ratio: 1290 / 2796;
  overflow: hidden;
  border: 6px solid var(--evergreen);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.feature-card__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__screen::before {
  height: 16px;
}

.feature-card--wide .feature-card__screen {
  right: 8%;
  top: 42px;
  width: 72%;
}

.feature-card__screen--tilted {
  right: -8%;
  top: 22px;
  width: 78%;
  transform: rotate(8deg);
}

.feature-card__screen--cropped {
  right: 8%;
  top: 22px;
  width: 72%;
  transform: rotate(-3deg);
}

.feature-card .text-link {
  margin-top: 18px;
}

.smart-cook {
  padding: clamp(90px, 12vw, 170px) max(24px, calc((100vw - 1240px) / 2));
  color: var(--cream);
  background: var(--evergreen);
}

.smart-cook__intro {
  margin-bottom: 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
}

.smart-cook__intro h2 {
  margin-bottom: 0;
}

.smart-cook__intro > p {
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 18px;
  line-height: 1.6;
}

.cook-story {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.cook-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 0.63;
  background: var(--forest);
}

.cook-frame:first-child {
  border-radius: 14px 0 0 14px;
}

.cook-frame:last-child {
  border-radius: 0 14px 14px 0;
}

.cook-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cook-frame:hover img {
  transform: scale(1.04);
}

.cook-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--evergreen);
  background: var(--cream);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.cook-frame figcaption span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  background: var(--forest);
  border-radius: 50%;
}

.clarity-section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(96px, 13vw, 180px) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}

.clarity-art {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--orange);
  border-radius: 50% 50% 12px 12px;
}

.clarity-art::after {
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(28, 60, 52, 0.3);
  border-radius: inherit;
  content: "";
}

.clarity-art img {
  position: relative;
  z-index: 2;
  width: 82%;
  filter: drop-shadow(0 24px 20px rgba(18, 39, 34, 0.18));
}

.orbit {
  position: absolute;
  border: 2px solid var(--forest);
  border-radius: 50%;
  opacity: 0.23;
}

.orbit::before {
  position: absolute;
  top: 9%;
  left: 16%;
  width: 18px;
  aspect-ratio: 1;
  background: var(--yellow);
  border: 3px solid var(--forest);
  border-radius: 50%;
  content: "";
}

.orbit--1 {
  width: 390px;
  height: 390px;
}

.orbit--2 {
  width: 510px;
  height: 510px;
}

.clarity-copy h2 {
  margin-bottom: 42px;
}

.clarity-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.clarity-list > div {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.clarity-list span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background: var(--forest);
  border-radius: 50%;
  font-family: var(--display);
}

.clarity-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.clarity-list strong {
  color: var(--forest);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: clamp(50px, 9vw, 130px);
  border-top: 1px solid var(--line);
}

.faq-section .section-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 26px;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 24px;
  height: 24px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 11px;
  left: 3px;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 650px;
  padding: 0 42px 28px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.final-cta {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mint);
}

.final-cta__content {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100vw - 40px));
  text-align: center;
}

.final-cta h2 {
  margin-bottom: 42px;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.88;
}

.final-cta .button {
  margin: 0 auto;
}

.final-cta .download-note {
  color: var(--forest);
}

.final-cta__shape {
  position: absolute;
  border-radius: 50%;
}

.final-cta__shape--1 {
  top: -140px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--lavender);
}

.final-cta__shape--2 {
  right: -120px;
  bottom: -150px;
  width: 440px;
  height: 440px;
  background: var(--yellow);
}

.site-footer {
  padding: 72px max(24px, calc((100vw - 1240px) / 2)) 0;
  overflow: hidden;
  color: var(--cream);
  background: var(--evergreen);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.footer-brand {
  align-self: start;
  width: 170px;
  display: grid;
  gap: 16px;
  color: var(--mint);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 13px;
}

.footer-links h3 {
  margin-bottom: 10px;
  color: var(--yellow);
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--cream);
  font-size: 15px;
}

.footer-links > div:last-child a {
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 70px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(249, 246, 232, 0.2);
  color: var(--mint);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.footer-wordmark {
  margin-bottom: -0.22em;
  font-family: var(--display);
  font-size: clamp(120px, 24vw, 340px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.screen-fan.reveal {
  transform: var(--fan-transform) translateY(28px) scale(0.96);
}

.screen-fan.reveal.is-visible {
  transform: var(--fan-transform);
}

.clarity-art.is-visible img {
  animation: mori-float 3200ms cubic-bezier(0.25, 1, 0.5, 1) infinite alternate;
}

.clarity-art.is-visible .orbit--1 {
  animation: orbit-turn 9000ms linear infinite;
}

.clarity-art.is-visible .orbit--2 {
  animation: orbit-turn 13000ms linear infinite reverse;
}

@keyframes mori-float {
  from {
    transform: translateY(0) rotate(-1deg);
  }

  to {
    transform: translateY(-13px) rotate(1deg);
  }
}

@keyframes token-drift-left {
  from {
    transform: translate(0, 8px) rotate(-8deg);
  }

  to {
    transform: translate(-7px, -5px) rotate(-2deg);
  }
}

@keyframes token-drift-right {
  from {
    transform: translate(0, -3px) rotate(7deg);
  }

  to {
    transform: translate(8px, 8px) rotate(2deg);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(1turn);
  }
}

.screen-stage .reveal:nth-child(2),
.goal-rail .reveal:nth-child(2),
.feature-grid .reveal:nth-child(2),
.cook-story .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.screen-stage .reveal:nth-child(3),
.goal-rail .reveal:nth-child(3),
.feature-grid .reveal:nth-child(3),
.cook-story .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.screen-stage .reveal:nth-child(4),
.goal-rail .reveal:nth-child(4),
.feature-grid .reveal:nth-child(4),
.cook-story .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.screen-stage .reveal:nth-child(5),
.cook-story .reveal:nth-child(5) {
  transition-delay: 320ms;
}

@media (max-width: 1000px) {
  :root {
    --page: min(100% - 36px, 760px);
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .desktop-download {
    display: none;
  }

  .menu-button {
    width: 46px;
    height: 46px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    color: var(--cream);
    background: var(--evergreen);
    border: 0;
    border-radius: 8px;
  }

  .menu-button span {
    width: 21px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    inset: 78px 0 auto;
    padding: 30px 24px 36px;
    display: grid;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(18, 39, 34, 0.12);
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu > a:not(.button) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 24px;
    text-decoration: none;
  }

  .mobile-menu .button {
    margin-top: 24px;
  }

  .hero {
    min-height: 1060px;
  }

  .hero-mori {
    bottom: 140px;
    width: 300px;
  }

  .screen-stage {
    bottom: -260px;
    width: 970px;
    height: 610px;
  }

  .screen-fan {
    width: 210px;
  }

  .screen-fan--1 {
    left: 0;
  }

  .screen-fan--2 {
    left: 185px;
  }

  .screen-fan--3 {
    left: 374px;
    width: 225px;
  }

  .screen-fan--4 {
    right: 185px;
  }

  .screen-fan--5 {
    right: 0;
  }

  .rhythm-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rhythm-shape {
    width: 42px;
    justify-self: center;
  }

  .goal-rail {
    width: calc(100vw - 24px);
    padding-right: 24px;
    grid-template-columns: repeat(4, minmax(290px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .goal-rail::-webkit-scrollbar {
    display: none;
  }

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

  .rail-instruction {
    margin: -18px 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
  }

  .rail-instruction span {
    color: var(--forest);
  }

  .rail-instruction--light {
    margin-top: -34px;
    color: var(--mint);
  }

  .rail-instruction--light span {
    color: var(--yellow);
  }

  .feature-card--wide {
    min-height: 620px;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: 1fr;
  }

  .feature-card--wide .feature-card__copy {
    max-width: none;
    padding-right: 20px;
  }

  .feature-card--wide .feature-card__screen {
    right: 5%;
    top: 34px;
    width: 80%;
  }

  .smart-cook__intro,
  .clarity-section,
  .faq-section,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .smart-cook__intro {
    gap: 26px;
  }

  .cook-story {
    grid-template-columns: repeat(5, min(72vw, 250px));
    padding-bottom: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .cook-frame {
    scroll-snap-align: start;
  }

  .cook-frame,
  .cook-frame:first-child,
  .cook-frame:last-child {
    border-radius: 12px;
  }

  .clarity-section {
    max-width: 720px;
  }

  .clarity-art {
    min-height: 540px;
  }

  .faq-section .section-heading {
    position: static;
  }

  .footer-top {
    gap: 64px;
  }

  .footer-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100vw - 32px);
  }

  .site-header {
    padding: 10px 0;
  }

  .nav-shell {
    width: var(--page);
  }

  .brand-link {
    width: 112px;
  }

  .mobile-menu {
    top: 70px;
  }

  .hero {
    min-height: 964px;
    padding-top: 40px;
  }

  .hero-mori {
    bottom: 100px;
    width: 240px;
  }

  .hero-mori__token {
    width: 29px;
    height: 23px;
    border-width: 2px;
  }

  .hero-mori__token::after {
    top: 5px;
    left: 5px;
    width: 8px;
    height: 3px;
  }

  .hero::before {
    display: none;
  }

  h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 24px;
  }

  .screen-stage {
    bottom: -166px;
    width: 690px;
    height: 390px;
  }

  .screen-fan {
    width: 144px;
    border-width: 4px;
    border-radius: 18px 18px 0 0;
  }

  .screen-fan--1 {
    left: 4px;
  }

  .screen-fan--2 {
    left: 137px;
  }

  .screen-fan--3 {
    left: 267px;
    width: 158px;
  }

  .screen-fan--4 {
    right: 137px;
  }

  .screen-fan--5 {
    right: 4px;
  }

  .rhythm-strip {
    min-height: 430px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .rhythm-strip p {
    max-width: 260px;
    justify-self: center;
  }

  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .smart-cook h2,
  .clarity-copy h2,
  .final-cta h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .section--goals {
    padding-right: 16px;
    padding-left: 16px;
  }

  .goal-card {
    min-height: 460px;
  }

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

  .feature-card,
  .feature-card--wide {
    grid-column: auto;
    min-height: 620px;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(300px, 1fr);
  }

  .feature-card__screen,
  .feature-card--wide .feature-card__screen {
    right: 8%;
    top: 18px;
    width: 66%;
  }

  .feature-card--wide .feature-card__copy {
    max-width: none;
    padding-right: clamp(30px, 5vw, 64px);
  }

  .feature-card__screen--tilted,
  .feature-card__screen--cropped {
    right: 5%;
    top: 18px;
    width: 72%;
  }

  .feature-card--lavender .text-link {
    display: none;
  }

  .smart-cook {
    padding-right: 16px;
    padding-left: 16px;
  }

  .cook-story {
    grid-template-columns: repeat(5, min(74vw, 280px));
  }

  .clarity-art {
    min-height: 430px;
  }

  .orbit--1 {
    width: 280px;
    height: 280px;
  }

  .orbit--2 {
    width: 380px;
    height: 380px;
  }

  .faq-section {
    gap: 10px;
  }

  .faq-list summary {
    padding: 24px 0;
  }

  .final-cta {
    min-height: 600px;
  }

  .final-cta__shape--1 {
    width: 240px;
    height: 240px;
  }

  .final-cta__shape--2 {
    width: 270px;
    height: 270px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-wordmark {
    font-size: 27vw;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-mori.reveal,
  .hero-mori.reveal.is-visible {
    opacity: 1;
    transform: translateX(50%);
  }

  .screen-fan.reveal,
  .screen-fan.reveal.is-visible {
    transform: var(--fan-transform);
  }
}
