:root {
  --green: #146c43;
  --green-deep: #0e4f31;
  --green-soft: #d7ece0;
  --turmeric: #b45309;
  --turmeric-soft: #fdefdc;
  --ink: #1c1b19;
  --muted: #5d5a54;
  --line: #e7e3dc;
  --ground: #faf9f7;
  --card: #ffffff;
  --veg: #15803d;
  --nonveg: #7c3a10;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 1.25rem;
  --max: 72rem;
  --shadow: 0 1px 2px rgb(28 27 25 / 0.05), 0 12px 32px -12px rgb(28 27 25 / 0.14);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--ground);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.9375rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

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

.btn--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 6px 18px -6px rgb(20 108 67 / 0.55);
}

.btn--primary:hover {
  background: var(--green-deep);
}

.btn--ghost {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line);
}

.btn--lg {
  min-height: 3.25rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}

/* ---- Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(250 249 247 / 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
}

.brand {
  color: var(--green);
  font: 600 1.5rem/1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:not(.btn):hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}

@media (max-width: 44rem) {
  .nav .nav-optional {
    display: none;
  }
  .nav {
    gap: 1rem;
  }
}

/* ---- Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.hero::before {
  top: -10rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  background: var(--green-soft);
}

.hero::after {
  bottom: -12rem;
  left: -10rem;
  width: 30rem;
  height: 30rem;
  background: var(--turmeric-soft);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.375rem 0.875rem;
  color: var(--turmeric);
  background: var(--turmeric-soft);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
}

.hero .lede {
  max-width: 34rem;
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 1.1875rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fine {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 56rem) {
  .hero {
    padding-top: 3rem;
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---- Phone mockup ----------------------------------------------------------- */

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  width: 18.5rem;
  max-width: 100%;
  padding: 0.75rem;
  background: #1c1b19;
  border-radius: 2.75rem;
  box-shadow:
    0 40px 80px -30px rgb(28 27 25 / 0.45),
    inset 0 0 0 2px #3a3833;
  transform: rotate(2.5deg);
}

.screen {
  overflow: hidden;
  background: #fff;
  border-radius: 2.1rem;
}

.screen-head {
  padding: 1.5rem 1.25rem 1rem;
  color: #fff;
  background: linear-gradient(160deg, #1f2a24, #0e4f31);
}

.screen-head small {
  display: block;
  opacity: 0.7;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-head strong {
  display: block;
  margin-top: 0.25rem;
  font: 600 1.375rem/1.2 var(--serif);
}

.chips {
  display: flex;
  gap: 0.375rem;
  padding: 0.875rem 1rem 0.25rem;
  overflow: hidden;
}

.chip {
  flex: none;
  padding: 0.3125rem 0.75rem;
  color: var(--muted);
  background: var(--ground);
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.chip--on {
  color: #fff;
  background: var(--green);
}

.dishes {
  margin: 0;
  padding: 0.5rem 1rem 1.25rem;
  list-style: none;
}

.dish {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.625rem;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.dish:last-child {
  border-bottom: 0;
}

.dish p {
  margin: 0.125rem 0 0;
  color: var(--muted);
  font-size: 0.6875rem;
  line-height: 1.4;
}

.dish b {
  font-weight: 600;
}

.mark {
  display: grid;
  place-items: center;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.1875rem;
  border: 1.5px solid var(--veg);
  border-radius: 0.1875rem;
}

.mark::after {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: var(--veg);
  border-radius: 50%;
}

.mark--nonveg {
  border-color: var(--nonveg);
}

.mark--nonveg::after {
  background: var(--nonveg);
}

.qr-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1.125rem;
  background: var(--card);
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px -20px rgb(28 27 25 / 0.35);
  font-size: 0.9375rem;
  text-align: center;
  transform: rotate(-3deg);
}

.qr-badge svg {
  flex: none;
  width: 10rem;
  height: 10rem;
  border-radius: 0.5rem;
}

.qr-badge b {
  display: block;
  font: 600 1.125rem/1.25 var(--serif);
}

.qr-badge span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (max-width: 30rem) {
  .qr-badge {
    bottom: 0.5rem;
    left: -0.5rem;
  }
  .qr-badge svg {
    width: 7rem;
    height: 7rem;
  }
}

/* ---- Sections --------------------------------------------------------------- */

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--card);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-head p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font: 600 1.125rem/1 var(--serif);
}

.step h3,
.feature h3 {
  font-size: 1.125rem;
}

.step p,
.feature p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature {
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.125rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 0.875rem;
}

.icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.icon--pro {
  color: var(--turmeric);
  background: var(--turmeric-soft);
}

.tag {
  display: inline-block;
  margin-left: 0.375rem;
  padding: 0.125rem 0.5rem;
  color: var(--turmeric);
  background: var(--turmeric-soft);
  border-radius: 0.375rem;
  font: 700 0.6875rem/1.6 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

@media (max-width: 56rem) {
  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 36rem) {
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
}

/* Highlight band */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgb(255 255 255 / 0.12), transparent 40%),
    linear-gradient(140deg, var(--green), var(--green-deep));
  border-radius: 2rem;
}

.band h2 {
  color: #fff;
}

.band p {
  margin: 1rem 0 0;
  opacity: 0.85;
  font-size: 1.0625rem;
}

.band ul {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.band li {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgb(255 255 255 / 0.1);
  border-radius: 1rem;
}

.band li svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

@media (max-width: 56rem) {
  .band {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.5rem;
  }
}

/* FAQ */
.faq {
  max-width: 46rem;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--green);
  font-size: 1.375rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

/* Closing CTA */
.cta {
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.cta p {
  margin: 1rem auto 2rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.0625rem;
}

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

/* ---- Pricing ---------------------------------------------------------------- */

.page-head {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.page-head p {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.125rem;
}

.toggle {
  display: inline-flex;
  margin: 2rem auto 0;
  padding: 0.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.toggle button {
  min-height: 2.5rem;
  padding: 0 1.25rem;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  font: 600 0.9375rem/1 var(--sans);
  cursor: pointer;
}

.toggle button[aria-pressed='true'] {
  color: #fff;
  background: var(--green);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 24rem));
  justify-content: center;
  gap: 1.5rem;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.plan--featured {
  position: relative;
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.plan--featured .flag {
  position: absolute;
  top: -0.8125rem;
  left: 2rem;
  padding: 0.25rem 0.75rem;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan h2 {
  font-size: 1.75rem;
}

.plan .desc {
  margin: 0.5rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  min-height: 3rem;
  margin: 0;
}

.price .amount {
  font: 600 2.25rem/1 var(--serif);
  letter-spacing: -0.02em;
}

.price .per,
.price .unavailable {
  color: var(--muted);
  font-size: 0.9375rem;
}

.price .placeholder {
  width: 7rem;
  height: 2rem;
  background: var(--line);
  border-radius: 0.5rem;
  animation: pulse 1.2s ease-in-out infinite alternate;
}

@keyframes pulse {
  to {
    opacity: 0.45;
  }
}

.trial {
  align-self: flex-start;
  margin: 0.75rem 0 0;
  padding: 0.375rem 0.75rem;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.trial[hidden] {
  display: none;
}

.checks {
  flex: 1;
  margin: 1.75rem 0 2rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.checks li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  font-size: 0.9375rem;
}

.checks li::before {
  content: '';
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--green-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23146c43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 0.75rem no-repeat;
  border-radius: 50%;
}

.plan .btn {
  width: 100%;
}

.pricing-notes {
  max-width: 46rem;
  margin: 2.5rem auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.pricing-notes p {
  margin: 0 0 0.5rem;
}

@media (max-width: 44rem) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ---- Legal ------------------------------------------------------------------ */

.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: 4rem 1.25rem 5rem;
}

.legal h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
}

.legal .updated {
  margin: 0.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.legal h2 {
  margin: 2.25rem 0 0.5rem;
  font: 600 1.1875rem/1.3 var(--sans);
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: #3a3833;
}

.legal ul {
  padding-left: 1.25rem;
}

/* ---- Footer ----------------------------------------------------------------- */

.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--card);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid p {
  max-width: 18rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid h3 {
  margin-bottom: 0.875rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}

@media (max-width: 44rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* ---- Reveal on scroll ------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .feature {
    transition: none;
  }
}
