:root {
  color-scheme: light;
  --ink: #111512;
  --muted: #69736d;
  --soft: #eef2ee;
  --line: #dde4dd;
  --surface: #ffffff;
  --wash: #f6f8f4;
  --leaf: #28754a;
  --leaf-dark: #153d2a;
  --blue: #4f84c8;
  --tomato: #c6543f;
  --gold: #c58a2a;
  --shadow: 0 24px 70px rgba(17, 21, 18, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--wash);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 68px;
  border-bottom: 1px solid rgba(221, 228, 221, 0.72);
  background: rgba(246, 248, 244, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img,
.hero-icon {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(17, 21, 18, 0.14);
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--leaf);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: clamp(620px, 76vh, 800px);
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 21, 18, 0.92) 0%, rgba(17, 21, 18, 0.72) 42%, rgba(17, 21, 18, 0.22) 74%, rgba(17, 21, 18, 0.08) 100%),
    #111512;
  box-shadow: var(--shadow);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(135deg, rgba(40, 117, 74, 0.36), rgba(198, 84, 63, 0.12) 46%, rgba(79, 132, 200, 0.22));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(34px, 7vw, 76px);
  color: white;
}

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

.home-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 210, 141, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 210, 141, 0.22), rgba(198, 84, 63, 0.16)),
    rgba(255, 255, 255, 0.08);
  color: #ffe1ab;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: clamp(0.98rem, 1.45vw, 1.28rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
}

.home-hero .lead {
  color: rgba(255, 255, 255, 0.82);
  margin: 18px 0 0;
}

.hero-actions,
.band-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 34px 0 0;
}

.hero-stats div {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.phone-showcase {
  position: relative;
  z-index: 1;
  justify-self: center;
  align-self: center;
  width: min(336px, 80%);
  margin: 28px clamp(22px, 5vw, 76px) 28px 0;
  filter: drop-shadow(0 38px 50px rgba(0, 0, 0, 0.35));
}

.phone-showcase img,
.screen-card img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-showcase img {
  border-radius: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
}

.store-badge img {
  width: 170px;
  height: auto;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.primary-button {
  background: var(--leaf);
  color: white;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: white;
  backdrop-filter: blur(14px);
}

.privacy-band .secondary-button,
.page .secondary-button,
.hero-details .secondary-button {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.feature-grid {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  scroll-margin-top: 96px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(26px, 5vw, 58px);
  box-shadow: 0 18px 48px rgba(17, 21, 18, 0.08);
}

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

.feature.reverse > div {
  order: 2;
}

.feature.share-flow {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  background:
    radial-gradient(circle at 84% 20%, rgba(79, 132, 200, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff, #f7faf7);
}

.feature p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.screen-pair .screen-card {
  width: min(250px, 100%);
}

.screen-pair .screen-card:nth-child(2) {
  transform: translateY(34px);
}

.screen-card {
  justify-self: center;
  width: min(330px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 228, 221, 0.8);
  border-radius: 34px;
  background: #f1f2f5;
  box-shadow: 0 24px 60px rgba(17, 21, 18, 0.14);
}

.why-section {
  display: grid;
  gap: 42px;
  margin-top: 22px;
  padding: clamp(42px, 7vw, 78px) 0 10px;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-pill {
  width: fit-content;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #e8f0fb;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  max-width: 780px;
  color: #1b1d34;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.08;
}

.section-heading p:not(.section-pill) {
  max-width: 720px;
  margin: 0;
  color: #686b8a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.benefit-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(17, 21, 18, 0.05);
}

.benefit-card span {
  margin-bottom: 42px;
  font-size: 2rem;
  line-height: 1;
}

.benefit-card h3 {
  margin: 0 0 18px;
  color: #1b1d34;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  line-height: 1.15;
}

.benefit-card p {
  margin: 0;
  color: #626680;
  font-size: 1.03rem;
  line-height: 1.58;
}

.privacy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #17201b;
  color: white;
  padding: clamp(28px, 5vw, 52px);
}

.privacy-band p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.recipe {
  display: grid;
  gap: 28px;
}

.recipe-hero,
.hero-details,
.recipe-content > div,
.source,
.page,
.state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(17, 21, 18, 0.08);
}

.recipe-hero {
  position: relative;
  min-height: min(480px, 55vh);
  overflow: hidden;
}

.hero-title-overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(20px, 4vw, 36px);
}

.recipe-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--leaf), var(--gold));
}

.recipe-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 18, 13, 0.62) 72%, rgba(8, 18, 13, 0.84));
}

.recipe-image.fallback {
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
}

.recipe-hero h1 {
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78);
}

.hero-details {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.hero-details .lead {
  margin: 0;
}

.tag-row,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  margin-bottom: 4px;
}

.tag-row span,
.meta-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--leaf-dark);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 7px 11px;
}

.meta-row {
  margin: 0;
}

.nutrition-panel {
  display: grid;
  gap: 14px;
  margin-top: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.nutrition-panel > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.nutrition-panel span {
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nutrition-panel strong {
  color: var(--muted);
  font-size: 0.92rem;
}

.nutrition-panel dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin: 0;
}

.nutrition-panel dl div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nutrition-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.nutrition-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 850;
}

.recipe-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.recipe-content > div,
.source {
  padding: 26px;
}

.ingredient-list,
.step-list {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: #24312a;
  line-height: 1.7;
}

.ingredient-list li + li,
.step-list li + li {
  margin-top: 10px;
}

.source {
  display: grid;
  gap: 8px;
  overflow-wrap: anywhere;
}

.source span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source a {
  color: var(--leaf);
}

.page,
.state {
  max-width: 800px;
  margin: 36px auto;
  padding: clamp(28px, 6vw, 56px);
}

.page h1 {
  position: relative;
  max-width: 680px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.page h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 96px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--leaf), var(--gold), var(--tomato));
}

.page p,
.state p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.page .primary-button,
.state .primary-button {
  margin-top: 12px;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 4px solid var(--line);
  border-top-color: var(--leaf);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(17, 21, 18, 0.92) 0%, rgba(17, 21, 18, 0.78) 48%, rgba(17, 21, 18, 0.28) 100%),
      #111512;
  }

  .hero-copy {
    align-self: start;
    padding-bottom: 18px;
  }

  .phone-showcase {
    width: min(264px, 59vw);
    margin: 8px auto 30px;
  }

  .feature,
  .feature.reverse,
  .feature.share-flow,
  .recipe-content {
    grid-template-columns: 1fr;
  }

  .feature.reverse > div {
    order: 0;
  }

  .screen-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header::before {
    height: 104px;
  }

  main {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 30px 24px 14px;
  }

  .hero-stats {
    display: none;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .phone-showcase {
    width: min(240px, 62vw);
    margin-bottom: 26px;
  }

  .feature {
    min-height: auto;
    padding: 24px;
  }

  .screen-card {
    max-width: 260px;
    border-radius: 28px;
  }

  .screen-pair {
    gap: 10px;
  }

  .screen-pair .screen-card:nth-child(2) {
    transform: translateY(18px);
  }

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

  .benefit-card {
    min-height: auto;
  }

  .benefit-card span {
    margin-bottom: 28px;
  }

  .recipe-hero {
    min-height: 280px;
  }
}
