:root {
  --cream: #fff8ef;
  --paper: #fffdf8;
  --ink: #2e241f;
  --muted: #6f625a;
  --terracotta: #9a3412;
  --terracotta-2: #c2410c;
  --sage: #0f7f5c;
  --sage-soft: #dce9d2;
  --butter: #f4d58d;
  --line: #eadfd5;
  --shadow: 0 24px 70px rgba(72, 43, 25, .16);
  --radius: 28px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 213, 141, .46), transparent 34rem),
    linear-gradient(180deg, #fff8ef 0%, #fffdf8 44%, #f6eee4 100%);
}

a { color: inherit; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 248, 239, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 223, 213, .7);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: "Varela Round", "Nunito Sans", sans-serif;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand-mark svg {
  width: 2.4rem;
  height: 2.4rem;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5.5rem) 3rem;
}

.eyebrow {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .45rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--terracotta);
  font-weight: 900;
}

h1, h2, h3 {
  font-family: "Varela Round", "Nunito Sans", sans-serif;
  line-height: 1.02;
  letter-spacing: -.045em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 6.4rem);
  margin: 1rem 0 1rem;
  max-width: 12ch;
}

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

p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero p {
  max-width: 41rem;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn {
  min-height: 3.15rem;
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.35rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 4px solid rgba(15, 127, 92, .28);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--sage), #0a6e50);
  box-shadow: 0 15px 28px rgba(15, 127, 92, .25);
}

.btn-secondary {
  color: var(--terracotta);
  background: white;
  border: 1px solid var(--line);
}

.trust {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  color: var(--muted);
  font-weight: 800;
}

.trust span {
  padding: .55rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid var(--line);
}

.phone-wrap {
  justify-self: center;
  position: relative;
}

.phone {
  width: min(390px, 88vw);
  min-height: 720px;
  padding: 1.1rem;
  border: 10px solid #231f1c;
  border-radius: 48px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.app-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-pill {
  padding: .45rem .7rem;
  border-radius: 999px;
  background: var(--sage-soft);
  color: #174132;
  font-weight: 900;
}

.dash-card, .feature-card, .pricing-card, .recipe-card, .panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 35px rgba(72, 43, 25, .08);
}

.dash-card {
  padding: 1.1rem;
  margin: .8rem 0;
}

.macro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}

.macro div {
  padding: .7rem;
  border-radius: 18px;
  background: #fff2e0;
  text-align: center;
  font-weight: 900;
}

.macro small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.recipe-card {
  padding: .85rem;
  margin: .65rem 0;
}

.recipe-card strong, .recipe-card span, .recipe-card small {
  display: block;
}

.recipe-card span, .recipe-card small {
  color: var(--muted);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5.5rem);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.feature-card {
  padding: 1.4rem;
}

.feature-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--terracotta);
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.2rem;
  align-items: start;
}

.panel {
  padding: 1.2rem;
}

.mobile-install-section {
  position: relative;
  overflow: hidden;
}

.mobile-install-section::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: rgba(220, 233, 210, .62);
  filter: blur(20px);
  z-index: -1;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin: 1.35rem 0;
}

.install-steps article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 28px rgba(72, 43, 25, .07);
}

.install-steps strong,
.install-steps span {
  display: block;
}

.install-steps strong {
  margin-bottom: .35rem;
  color: var(--terracotta);
}

.install-steps span {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 800;
}

.fine-print,
figcaption {
  font-size: .86rem;
  line-height: 1.5;
  color: #7d7169;
}

.recipe-hero {
  margin: 0;
  justify-self: center;
}

.recipe-phone {
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(255,248,239,.92), rgba(255,255,255,.98)),
    radial-gradient(circle at 30% 15%, rgba(244,213,141,.5), transparent 14rem);
}

.recipe-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1rem 0;
}

.food-photo {
  position: relative;
  min-height: 132px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: inset 0 -42px 42px rgba(0,0,0,.18), 0 16px 30px rgba(72, 43, 25, .12);
}

.food-photo::before,
.food-photo::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.food-photo span {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .7rem;
  color: white;
  font-weight: 1000;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

.photo-one {
  background: linear-gradient(135deg, #f0b27a, #b45309);
}

.photo-one::before {
  width: 72px;
  height: 72px;
  top: 18px;
  left: 18px;
  background: #fff0c2;
  box-shadow: 74px 36px 0 #6b8e23, 110px 18px 0 #f8fafc;
}

.photo-two {
  background: linear-gradient(135deg, #9fbe75, #0f7f5c);
}

.photo-two::before {
  width: 82px;
  height: 82px;
  top: 18px;
  right: 18px;
  background: #f8fafc;
  box-shadow: -74px 30px 0 #f97316, -30px 72px 0 #fde68a;
}

.photo-three {
  background: linear-gradient(135deg, #f4d58d, #c2410c);
}

.photo-three::before {
  width: 150px;
  height: 74px;
  top: 26px;
  left: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
}

.photo-three::after {
  width: 42px;
  height: 42px;
  top: 42px;
  left: 42px;
  background: #84cc16;
  box-shadow: 48px 0 0 #fb923c, 96px 0 0 #92400e;
}

.photo-four {
  background: linear-gradient(135deg, #fee2b3, #9a3412);
}

.photo-four::before {
  width: 96px;
  height: 74px;
  top: 24px;
  left: 42px;
  background: #fff7ed;
  box-shadow: 20px 10px 0 #fbbf24, -26px 54px 0 #22c55e;
}

.plan-row {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: .8rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.plan-row:last-child { border-bottom: 0; }
.plan-row b { color: var(--terracotta); }

.offer {
  border-radius: 44px;
  background: linear-gradient(135deg, #321f18, #6e351f);
  color: white;
  overflow: hidden;
}

.offer p, .offer .muted { color: rgba(255,255,255,.78); }

.pricing-card {
  background: white;
  color: var(--ink);
  padding: 1.5rem;
}

.price {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  font-family: "Varela Round", sans-serif;
  letter-spacing: -.06em;
  color: var(--sage);
  margin: .5rem 0;
}

.check-list {
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: .6rem;
  padding: .55rem 0;
  color: var(--muted);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  color: var(--sage);
  font-weight: 1000;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 1rem 1.1rem;
  margin: .8rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.footer {
  padding: 2rem clamp(1rem, 5vw, 5.5rem);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.65);
}

.main-app {
  padding: clamp(1rem, 4vw, 2.4rem);
}

.app-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
}

@media (max-width: 920px) {
  .hero, .split, .app-grid, .app-shell {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links a:not(.btn) {
    display: none;
  }

  .phone {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
