/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
  font-family: "Open Runde";
  src: url("../assets/fonts/open-runde/OpenRunde-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Runde";
  src: url("../assets/fonts/open-runde/OpenRunde-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --font: "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Open Runde", "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, sans-serif;

  --white: #ffffff;
  --ink: #1a1615;
  --ink-soft: #453f3d;
  --btn-ink: #424242;
  --page: #f6f5f3;

  --sky-hero: linear-gradient(180deg, #0468cc 0%, #f0f5fa 100%);
  --sky-footer: linear-gradient(180deg, #84b4e4 0%, #5598dc 100%);

  --container: 1020px;
  --container-wide: 1072px;
  --gutter: 24px;
  --radius-pill: 999px;
  --frost-shadow: rgba(26, 22, 21, 0.08) 0 0.6px 0.6px -0.83px, rgba(26, 22, 21, 0.08) 0 2.29px 2.29px -1.67px, rgba(26, 22, 21, 0.08) 0 10px 10px -2.5px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.btn--white {
  background: var(--white);
  color: var(--btn-ink);
}

.btn--white:hover {
  background: #eef3fb;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.logo__mark {
  width: 24px;
  height: 24px;
  flex: none;
}

.logo__word {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 20px;
  font-weight: 400;
}

/* ==========================================================================
   Header (behaviour copied from ghostwriterrr.com)
   Desktop: full-width bar that springs into a floating frosted pill after
   150px of scroll. Mobile: always a frosted pill with a dropdown panel.
   ========================================================================== */
.site-header {
  --header-ease: cubic-bezier(0.3, 1.15, 0.45, 1);
  --header-speed: 0.45s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
  pointer-events: none;
}

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 40px;
  background-color: rgba(132, 178, 224, 0);
  pointer-events: auto;
  transition:
    max-width var(--header-speed) var(--header-ease),
    margin-top var(--header-speed) var(--header-ease),
    padding var(--header-speed) var(--header-ease),
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a,
.mobile-menu a:not(.btn),
.nav-copy {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
  transition: background-color 0.2s ease;
}

.site-nav a:hover,
.mobile-menu a:not(.btn):hover,
.nav-copy:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* "Contact Us" copies the email: the label slips out, "Copied email" pops in as green text, then fades away.
   Both labels share one grid cell so the button keeps the width of the longer one. */
.nav-copy {
  display: inline-grid;
  justify-items: center;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-copy > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-copy__label {
  color: var(--white);
  transition: opacity 0.2s ease 0.1s, transform 0.28s var(--header-ease) 0.1s;
}

.nav-copy__done {
  color: #4ade80;
  text-shadow: 0 0 14px rgba(74, 222, 128, 0.55);
  opacity: 0;
  transform: scale(0.82);
  /* Fade out in place, then shrink back without being seen. */
  transition: opacity 0.16s ease, transform 0s linear 0.16s;
}

.nav-copy__done svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0s linear 0.16s;
}

.nav-copy.is-copied .nav-copy__label {
  opacity: 0;
  transform: translateY(-60%);
  transition: opacity 0.1s ease, transform 0.16s var(--header-ease);
}

.nav-copy.is-copied .nav-copy__done {
  opacity: 1;
  transform: none;
  animation: nav-copy-pop 0.26s cubic-bezier(0.2, 1.45, 0.36, 1) both;
}

.nav-copy.is-copied .nav-copy__done svg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.16s ease 0.05s;
}

@keyframes nav-copy-pop {
  0% {
    transform: scale(0.86);
  }
  48% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn--header {
  transition: padding var(--header-speed) var(--header-ease), background-color 0.2s ease;
}

@media (min-width: 810px) {
  .site-header.is-scrolled .site-header__bar {
    max-width: 834px;
    margin-top: 16px;
    padding: 2px 8px 2px 24px;
    background-color: rgba(132, 178, 224, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .site-header.is-scrolled .btn--header {
    padding: 5.5px 18px;
  }

  .mobile-menu {
    display: none;
  }
}

/* Two-line menu icon that turns into an X. */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--header-ease), top 0.3s var(--header-ease);
}

.nav-toggle span:first-child {
  top: 19px;
}

.nav-toggle span:last-child {
  top: 27px;
}

.nav-open .nav-toggle span:first-child {
  top: 23px;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-menu {
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 16px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--frost-shadow);
  text-align: center;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 0.25s ease, transform 0.35s var(--header-ease), visibility 0.25s;
}

.nav-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__cta {
  display: flex;
  margin-top: 24px;
}

/* ==========================================================================
   Hero (headline + product shot)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 59px; /* room for the fixed header */
  background: var(--sky-hero);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 105px;
  text-align: center;
  color: var(--white);
}

.hero__title {
  font-size: 76px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero__ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 40px;
}

.hero__caption {
  margin: 0 0 0 14px;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* App Store button, copied as-is from the 75 Days site: glossy black face with a conic "sheen"
   border whose highlight circles the button once every 15s (24deg/s, like the original). */
@property --appstore-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes appstore-sheen {
  to {
    --appstore-angle: 360deg;
  }
}

.btn-appstore {
  --appstore-angle: 0deg;
  animation: appstore-sheen 15s linear infinite;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #fff;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.3);
  background:
    linear-gradient(to bottom, rgb(45, 45, 45) 0%, rgb(15, 15, 15) 50%, rgb(5, 5, 5) 100%) padding-box,
    conic-gradient(from var(--appstore-angle), rgb(60, 60, 60) 0%, rgb(60, 60, 60) 40%, rgba(255, 255, 255, 0.7) 48%, white 50%, rgba(255, 255, 255, 0.7) 52%, rgb(60, 60, 60) 60%, rgb(60, 60, 60) 100%) border-box;
}

.btn-appstore svg {
  width: 16px;
  height: 16px;
}

/* Clouds: absolutely placed SVGs that hang off the left/right edges. */
.cloud {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.cloud--left,
.cloud--right {
  width: 300px;
  height: 260px;
}

.cloud--left {
  left: -10px;
}

.cloud--right {
  right: -10px;
  transform: scaleX(-1);
}

.hero .cloud {
  top: 175px;
}

/* The sub-page band is shorter, so its clouds sit higher to stay inside it. */
.page-hero .cloud {
  top: 110px;
}

/* While the product shot is hidden, the hero is shorter: add room below the CTAs and keep
   the blue strong through them so the white buttons and caption stay readable. */
.hero:has(> .mockup-stage[hidden]) {
  padding-bottom: 200px;
  background: linear-gradient(180deg, #0468cc 0%, #6aa6df 70%, #f0f5fa 100%);
}

/* Product shot */
.mockup-stage {
  position: relative;
  z-index: 2;
  max-width: calc(1000px + var(--gutter) * 2);
  margin-top: 79px;
  height: 536px;
  perspective: 1400px;
  perspective-origin: 50% 0%;
}

.mockup {
  --tilt: 14deg;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 20px 60px rgba(30, 70, 140, 0.12);
  transform-origin: 50% 100%;
  transform: rotateX(var(--tilt));
  will-change: transform;
}

.mockup__chrome {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 15px;
  padding-left: 7px;
  background: #e4e4e4;
}

.mockup__chrome i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5f57;
}

.mockup__chrome i:nth-child(2) {
  background: #febc2e;
}

.mockup__chrome i:nth-child(3) {
  background: #28c840;
}

.mockup__body {
  display: flex;
  height: calc(100% - 15px);
}

.mockup__rail {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  padding-top: 34px;
  border-right: 1.5px solid #e7e7e7;
}

.mockup__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4a36c, #d9604b);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.mockup__rail-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 118px;
}

.mockup__rail-icons svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #8c8c8c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mockup__main {
  flex: 1;
  min-width: 0;
  padding: 36px 0 0 28px;
}

.mockup__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-right: 16px;
}

.mockup__title,
.mockup__subtitle {
  font-size: 23px;
  line-height: 1.33;
  letter-spacing: -0.02em;
  color: #2b2b2b;
}

.mockup__subtitle {
  color: #8a8a8a;
}

.mockup__buttons {
  flex: none;
  display: flex;
  gap: 13px;
  margin-top: 12px;
}

.mockup__btn {
  padding: 7px 10px;
  border-radius: 4px;
  background: #e5e5e5;
  color: #7d7d7d;
  font-size: 11.5px;
}

.mockup__btn--dark {
  background: #2b2b2b;
  color: var(--white);
}

.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  gap: 24px;
  margin-top: 46px;
}

.meal-card {
  position: relative;
  padding: 11px 9px 9px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meal-card:not(:first-child) {
  margin-top: 10px;
}

.meal-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meal-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f2efe9;
  color: #b07a3c;
  font-size: 15px;
}

.meal-card__head strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #222;
}

.meal-card__head small {
  display: block;
  margin-top: 2px;
  font-size: 7.5px;
  color: #8d8d8d;
}

.meal-card__quote {
  margin-top: 9px;
  font-size: 9px;
  line-height: 1.5;
  color: #333;
}

.meal-card__quote em {
  font-style: normal;
  color: #8d8d8d;
}

.meal-card__visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
  margin-top: 8px;
  padding: 14px;
  border-radius: 2px;
}

.meal-card__visual--peach {
  background: radial-gradient(circle at 75% 25%, #ffd9a8 0%, transparent 55%), linear-gradient(140deg, #f6b98a, #e98a6b 60%, #d9675a);
}

.meal-card__visual--green {
  background: radial-gradient(circle at 25% 80%, #dbeeb0 0%, transparent 55%), linear-gradient(140deg, #a8d58e, #6fb47a 55%, #3f8f6a);
}

.meal-card__visual--lilac {
  background: radial-gradient(circle at 70% 70%, #e6e2ff 0%, transparent 50%), linear-gradient(140deg, #b9c6f5, #8ea3ec 55%, #6c7fe0);
}

.meal-card__kcal {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--white);
}

.meal-card__kcal small {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.85;
}

.meal-card__macros {
  display: flex;
  gap: 6px;
}

.meal-card__macros b {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 500;
}

.meal-card__actions {
  position: absolute;
  left: 50%;
  bottom: -26px;
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-30%);
}

.meal-card__action {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e3e3e3;
  color: #555;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.meal-card__action--yes {
  background: #2f6fd6;
  color: var(--white);
}

.meal-card__cursor {
  position: absolute;
  right: 4px;
  bottom: -16px;
  width: 16px;
  height: 16px;
  fill: #111;
  stroke: var(--white);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

/* ==========================================================================
   Sub-page hero (short sky band with a title, e.g. the privacy page)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: 59px;
  background: linear-gradient(180deg, #0468cc 0%, #f0f5fa 88%, var(--page) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 105px 0 120px;
  text-align: center;
  color: var(--white);
}

/* ==========================================================================
   Page body
   ========================================================================== */
.page-body {
  background: var(--page);
}

/* Long-form legal text (privacy policy) */
.legal {
  max-width: calc(768px + var(--gutter) * 2);
  margin-inline: auto;
  padding: 64px var(--gutter) 96px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.legal__back {
  font-size: 14px;
  color: #6b6563;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.legal__back:hover {
  color: var(--ink);
  text-decoration: underline dotted;
}

.legal section {
  margin-top: 40px;
}

.legal h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 16px;
}

.legal ul {
  margin: 0;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 10px;
}

.legal li::marker {
  color: #8a8582;
}

.legal strong {
  font-weight: 500;
  color: var(--ink);
}

.legal a:not(.legal__back) {
  color: var(--ink);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/* FAQ accordion */
.faq {
  max-width: calc(768px + var(--gutter) * 2);
  margin-inline: auto;
  padding: 96px var(--gutter);
}

.faq__title {
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--ink);
}

.faq__item:not(:last-child) {
  border-bottom: 1px solid rgba(117, 113, 112, 0.2);
}

.faq__item h3 {
  margin: 0;
  font: inherit;
}

.faq__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-radius: 8px;
  background: none;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
  color: var(--ink);
  text-underline-offset: 4px;
  cursor: pointer;
}

.faq__trigger:hover {
  text-decoration: underline dotted;
}

.faq__trigger:focus-visible {
  outline: 2px solid #0468cc;
  outline-offset: 2px;
}

.faq__trigger svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  fill: none;
  stroke: #8a8582;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.faq__trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Animates to the content's natural height via grid rows. */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel p {
  max-width: 640px;
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #6b6563;
}

.faq__panel a {
  color: var(--ink);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 200px var(--gutter) 64px;
  background: var(--sky-footer);
  color: var(--white);
}

.site-footer .cloud {
  top: 150px;
  width: 260px;
  height: 225px;
}

.footer-cta {
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer-cta__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.footer-cta__lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
}

.footer-cta .btn {
  margin-top: 32px;
}

.footer-card {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 120px auto 0;
  padding: 40px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.footer-card__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.logo--footer .logo__mark {
  width: 22px;
  height: 22px;
}

.logo--footer .logo__word {
  font-size: 17px;
}

.footer-card__tagline {
  max-width: 240px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #f2f2f2;
}

.footer-card__links {
  display: flex;
  margin-right: 10px;
}

.footer-card__links ul {
  min-width: 166px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-card__links ul:last-child {
  min-width: 0;
}

.footer-card__links li + li {
  margin-top: 16px;
}

.footer-card__links a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  text-underline-offset: 3px;
  transition: color 0.4s cubic-bezier(0.44, 0, 0.56, 1);
}

.footer-card__links a:hover {
  text-decoration: underline dotted;
}

.footer-card__links a:hover,
.footer-card__links a[aria-current="page"] {
  color: var(--white);
}

.footer-card__bottom {
  margin-top: 80px;
  padding-top: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-card__bottom p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0;
}

.footer-card__bottom a {
  text-underline-offset: 3px;
}

.footer-card__bottom a:hover {
  text-decoration: underline dotted;
}

/* ==========================================================================
   Responsive (breakpoints match the reference: 1200px and 810px)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .hero__title {
    font-size: 58px;
  }

  .cloud--left,
  .cloud--right {
    width: 240px;
    height: 208px;
  }

  .cloud--left {
    left: -60px;
  }

  .cloud--right {
    right: -60px;
  }

  .mockup__buttons {
    display: none;
  }
}

@media (max-width: 809.98px) {
  :root {
    --gutter: 16px;
  }

  /* Header becomes a frosted pill; links move into the dropdown panel. */
  .site-header {
    padding-top: 16px;
  }

  .site-header__bar {
    display: flex;
    justify-content: space-between;
    max-width: none;
    height: 64px;
    padding: 8px 8px 8px 16px;
    background-color: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--frost-shadow);
    transition: background-color 0.25s ease, border-radius 0.25s ease;
  }

  .nav-open .site-header__bar {
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .site-nav,
  .btn--header {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }

  .hero,
  .page-hero {
    padding-top: 80px;
  }

  .hero:has(> .mockup-stage[hidden]) {
    padding-bottom: 120px;
  }

  .hero__content {
    padding-top: 52px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hide-sm {
    display: none;
  }

  .hero__ctas {
    margin-top: 32px;
  }

  .cloud--left,
  .cloud--right {
    width: 170px;
    height: 147px;
  }

  .cloud--left {
    left: -70px;
  }

  .cloud--right {
    right: -70px;
  }

  .hero .cloud,
  .page-hero .cloud {
    top: 110px;
  }

  /* Product shot keeps its desktop proportions and crops on the right, like the wide version. */
  .mockup-stage {
    margin-top: 56px;
    height: 400px;
  }

  .mockup__rail {
    width: 36px;
    padding-top: 24px;
  }

  .mockup__rail-icons {
    margin-top: 60px;
    gap: 18px;
  }

  .mockup__main {
    padding: 24px 0 0 18px;
  }

  .mockup__title,
  .mockup__subtitle {
    font-size: 16px;
  }

  .mockup__cards {
    grid-template-columns: repeat(3, 230px);
    gap: 16px;
    margin-top: 28px;
  }

  .meal-card__visual {
    height: 150px;
  }

  .faq {
    padding-block: 64px;
  }

  .page-hero__content {
    padding: 52px 0 88px;
  }

  .legal {
    padding-top: 40px;
    padding-bottom: 64px;
    font-size: 15px;
  }

  .legal section {
    margin-top: 32px;
  }

  .legal h2 {
    font-size: 22px;
  }

  .faq__title {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .faq__trigger {
    padding: 16px 0;
    font-size: 16px;
  }

  .faq__trigger svg {
    margin-top: 4px;
  }

  .faq__panel p {
    padding-bottom: 16px;
    font-size: 15px;
  }

  /* Footer stacks: brand first, then the two link columns side by side. */
  .site-footer {
    padding-top: 120px;
    padding-bottom: 32px;
  }

  .site-footer .cloud {
    top: 90px;
    width: 150px;
    height: 130px;
  }

  .footer-cta__title {
    font-size: 28px;
  }

  .footer-cta__lead {
    font-size: 16px;
  }

  .footer-card {
    margin-top: 80px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .footer-card__top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-card__tagline {
    max-width: 300px;
  }

  .footer-card__links {
    margin-right: 0;
  }

  .footer-card__links ul {
    flex: 1;
    min-width: 0;
  }

  .footer-card__bottom {
    margin-top: 36px;
    padding-top: 24px;
  }
}

@media (max-width: 379.98px) {
  .hero__title {
    font-size: 34px;
  }

  .hero__ctas .btn {
    padding-inline: 18px;
  }
}

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

  .mockup {
    --tilt: 0deg !important;
  }

  .btn-appstore {
    animation: none;
  }

  .btn,
  .site-header__bar,
  .mobile-menu,
  .nav-toggle span,
  .faq__panel,
  .faq__trigger svg,
  .nav-copy,
  .nav-copy span,
  .nav-copy svg {
    transition: none;
    animation: none;
  }
}
