:root {
  --green-900: #064f41;
  --green-800: #0b5f4f;
  --green-100: #e7f4ef;
  --ink: #18191f;
  --muted: #6f7179;
  --line: #e6e1d8;
  --paper: #fffdf8;
  --mist: #f4f7f6;
  --gold: #f6cc52;
  --coral: #ef7b5e;
  --aqua: #68c7d4;
  --shadow: 0 18px 45px rgba(10, 31, 28, 0.14);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(230, 225, 216, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  font-weight: 850;
  white-space: nowrap;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(6, 79, 65, 0.16);
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: #4c4f55;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a,
.site-footer nav a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer nav a:hover {
  color: var(--green-900);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
}

.button {
  border: 2px solid transparent;
}

.button.primary {
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 10px 24px rgba(6, 79, 65, 0.24);
}

.button.secondary {
  background: #fff;
  border-color: var(--green-900);
  color: var(--green-900);
}

.hero {
  position: relative;
  min-height: calc(88vh - 72px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0.96) 36%, rgba(255, 253, 248, 0.72) 58%, rgba(255, 253, 248, 0.38) 100%),
    url("assets/screenshots/06_saved_dishes.png") center right / auto 120% no-repeat;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  padding: 4vh 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  color: var(--green-900);
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: #34363c;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}

.hero-stats div {
  min-height: 126px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(230, 225, 216, 0.9);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--green-900);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-phone {
  position: absolute;
  width: min(28vw, 310px);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.phone-main {
  right: 9vw;
  bottom: -12vh;
  width: min(31vw, 390px);
}

.phone-menu {
  right: 30vw;
  top: 12vh;
  transform: rotate(-8deg);
}

.phone-dish {
  right: -4vw;
  top: 18vh;
  transform: rotate(7deg);
}

.section,
.intro-band,
.download-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: var(--green-900);
  color: #fff;
}

.intro-grid,
.community-grid,
.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.intro-band .eyebrow,
.download-section .eyebrow {
  color: var(--gold);
}

.intro-band p,
.download-section p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.section-heading.wide > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.step-card,
.impact-panel,
.feature-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(28, 32, 34, 0.07);
}

.step-card {
  min-height: 260px;
  padding: 26px;
  border-top: 8px solid var(--aqua);
}

.step-card.accent-gold {
  border-top-color: var(--gold);
}

.step-card.accent-coral {
  border-top-color: var(--coral);
}

.step-number {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 900;
}

.step-card p,
.feature-text p,
.community-grid p,
.legal-content p {
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-section {
  background: var(--mist);
}

.feature-list {
  display: grid;
  gap: 26px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
}

.feature-row.reverse {
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row img {
  width: min(100%, 340px);
  justify-self: center;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 8px;
  font-weight: 900;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(210px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 22px;
  scroll-snap-type: x proximity;
}

.screenshot-grid figure {
  min-width: 210px;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.screenshot-grid figcaption {
  margin-top: 12px;
  color: var(--green-900);
  font-weight: 900;
  text-align: center;
}

.community-section {
  background: #fff;
}

.impact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
}

.impact-panel div {
  display: grid;
  min-height: 160px;
  align-content: center;
  justify-items: center;
  padding: 24px 12px;
  background: #fff;
}

.impact-panel strong {
  color: var(--green-900);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
}

.impact-panel span {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.download-section {
  background: var(--green-900);
  color: #fff;
}

.download-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.store-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.store-badge small,
.store-badge strong {
  display: block;
  line-height: 1.1;
}

.store-badge small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.store-badge strong {
  margin-top: 4px;
  color: var(--green-900);
  font-size: 1.16rem;
  font-weight: 950;
}

.store-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
}

.store-icon.play {
  background: #fff;
}

.store-icon img {
  width: 26px;
  height: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #111714;
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .copyright {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-brand {
  color: #fff;
}

.legal-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px) 34px;
  background: var(--green-900);
  color: #fff;
}

.legal-hero .section-inner {
  max-width: 900px;
}

.legal-hero .eyebrow {
  color: var(--gold);
}

.legal-hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 7vw, 6rem);
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.legal-content {
  max-width: 900px;
  padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 72px) clamp(72px, 10vw, 118px);
  margin: 0 auto;
}

.legal-content section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 10px;
  color: var(--green-900);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.support-content .button {
  margin-top: 8px;
}

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

.support-list div {
  min-height: 180px;
  padding: 18px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.support-list h3 {
  margin-bottom: 8px;
  color: var(--green-900);
  font-size: 1.1rem;
}

.support-list p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

@media (max-width: 1050px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 34vw;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 1) 0%, rgba(255, 253, 248, 0.96) 62%, rgba(255, 253, 248, 0.72) 100%),
      url("assets/screenshots/06_saved_dishes.png") center bottom / 82vw auto no-repeat;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-phone {
    display: none;
  }

  .intro-grid,
  .community-grid,
  .download-inner,
  .section-heading.wide,
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-text {
    order: 0;
  }

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

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    min-height: 66px;
  }

  .brand span:last-child {
    max-width: 122px;
    white-space: normal;
    line-height: 1.05;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 3.45rem;
  }

  .hero-stats,
  .impact-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: none;
  }

  .hero-stats div {
    min-height: auto;
  }

  .download-inner {
    justify-items: start;
  }

  .store-badges,
  .support-list {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}
