:root {
  --bg: #fdfcf9;
  --card: #ffffff;
  --ink: #181512;
  --muted: #81786f;
  --brand: #ef542c;
  --brand-dark: #c94722;
  --brand-soft: #fff1eb;
  --green: #1c8f62;
  --blue: #3478f6;
  --line: rgba(24, 21, 18, 0.1);
  --shadow: 0 1.25rem 3rem rgba(24, 21, 18, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 84, 44, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(52, 120, 246, 0.08), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1rem, 5vw, 4rem) 1rem;
  background: rgba(253, 252, 249, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(24, 21, 18, 0.06);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 900;
}

.brand img,
.footer-brand img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a,
.site-footer a {
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

select {
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  padding: 0 0.75rem;
  font-weight: 800;
}

.download-pill {
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0.85rem 1.5rem rgba(239, 84, 44, 0.22);
}

.page {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 4rem);
}

.hero {
  min-height: calc(100svh - 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: 3rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
}

h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.35rem;
}

p,
li {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.hero-text {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.2rem;
}

.hero-actions,
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.button {
  border: 0;
  min-height: 3.35rem;
  border-radius: 1rem;
  padding: 0.85rem 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 0.85rem 1.5rem rgba(239, 84, 44, 0.22);
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}

.phone-scene {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 23rem);
  min-height: 39rem;
  padding: 1.25rem;
  border: 0.75rem solid #1f1d1a;
  border-radius: 2.5rem;
  background: #f8f6f1;
  box-shadow: var(--shadow);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
}

.phone-top img {
  width: 2.35rem;
  height: 2.35rem;
}

.phone-greeting {
  margin: 1.8rem 0 0.25rem;
  color: var(--brand);
  font-weight: 900;
}

.phone h2 {
  font-size: 2.3rem;
}

.day-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin: 1.4rem 0;
}

.day-row span {
  padding: 0.75rem 0.45rem;
  border-radius: 1rem;
  background: white;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.day-row strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--ink);
  font-size: 1.45rem;
}

.day-row .active {
  background: var(--brand);
  color: white;
}

.day-row .active strong {
  color: white;
}

.recipe-card {
  padding: 1rem;
  border-radius: 1.25rem;
  background: white;
  box-shadow: 0 0.7rem 1.6rem rgba(24, 21, 18, 0.08);
}

.recipe-image {
  height: 9.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.55), transparent 2.5rem),
    linear-gradient(135deg, #ef542c, #f6b16a 46%, #18885a);
}

.recipe-card strong {
  display: block;
  font-size: 1.25rem;
}

.recipe-card small {
  color: var(--muted);
  font-size: 0.95rem;
}

.mini-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.mini-actions span {
  padding: 0.8rem 0.45rem;
  border-radius: 999px;
  background: white;
  text-align: center;
  color: var(--brand);
  font-weight: 900;
}

.section {
  padding: 4rem 0;
  border-top: 1px solid rgba(24, 21, 18, 0.08);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article,
.price-card,
.legal-card,
.invite-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
}

.feature-grid article {
  padding: 1.35rem;
}

.icon-tile {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  display: inline-grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.price-card {
  padding: 1.4rem;
}

.price-card.highlighted {
  border-color: rgba(239, 84, 44, 0.35);
  background: linear-gradient(180deg, #fff5ef, white);
}

.price {
  margin: 0.35rem 0 1rem;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.price-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.fineprint,
.updated {
  font-size: 0.92rem;
  color: var(--muted);
}

.legal-page,
.invite-page {
  min-height: calc(100svh - 12rem);
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.legal-card {
  max-width: 54rem;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 7vw, 4.7rem);
}

.legal-card h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal-card a {
  color: var(--brand);
  font-weight: 900;
}

.legal-button {
  margin-top: 1rem;
}

.steps {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.steps div {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}

.steps strong {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
}

.steps span {
  color: var(--muted);
}

.invite-page {
  display: grid;
  place-items: center;
}

.invite-card {
  width: min(100%, 34rem);
  padding: clamp(1.5rem, 5vw, 2.4rem);
  text-align: center;
}

.invite-card img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.invite-card h1 {
  font-size: clamp(2.3rem, 9vw, 4.4rem);
}

.invite-actions {
  justify-content: center;
}

.invite-code {
  margin: 1.25rem auto 0;
  padding: 1rem;
  width: min(100%, 18rem);
  border-radius: 1rem;
  background: var(--brand-soft);
  border: 1px dashed rgba(239, 84, 44, 0.35);
}

.invite-code span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.invite-code strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--brand);
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.site-footer {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: 2rem clamp(1rem, 5vw, 4rem) max(2rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid rgba(24, 21, 18, 0.08);
}

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

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .phone-scene {
    order: -1;
  }

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

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }

  .brand span {
    display: none;
  }

  .download-pill {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .phone {
    min-height: auto;
    border-width: 0.45rem;
  }

  .hero-actions .button,
  .invite-actions .button {
    width: 100%;
  }
}
