:root {
  --cream: #f7f1e8;
  --paper: #fffdf9;
  --cocoa: #4b2e25;
  --cocoa-deep: #2c1914;
  --clay: #a45c3f;
  --sage: #55725c;
  --amber: #d29a42;
  --ink: #2c2521;
  --muted: #6f655f;
  --line: #ded2c5;
  --shadow: 0 24px 64px rgba(75, 46, 37, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: white;
  transform: translateY(calc(-100% - 2rem));
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px 12px 18px 18px;
  color: var(--paper);
  background: var(--cocoa);
  font-family: Georgia, serif;
  font-style: italic;
}
.site-header nav, footer nav { display: flex; gap: 26px; }
.site-header nav a, footer nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--cocoa); }
.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 44px auto 76px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}
.eyebrow { color: var(--clay); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  max-width: 720px;
  color: var(--cocoa-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 600;
}
h1 span { color: var(--clay); font-style: italic; }
.lede { max-width: 650px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 20px; }
.centered-actions { justify-content: center; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--cocoa);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.button.primary { background: var(--cocoa); color: var(--paper); box-shadow: 0 8px 24px rgba(75, 46, 37, .2); }
.button.primary:hover { background: var(--cocoa-deep); }
.button.secondary { background: transparent; color: var(--cocoa); }
.availability { color: var(--muted); font-size: .9rem; }
.availability span { color: var(--sage); }
.app-preview {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 42px;
  color: var(--paper);
  background: linear-gradient(145deg, var(--cocoa-deep), var(--cocoa));
  box-shadow: var(--shadow);
}
.app-preview::before { content: ""; position: absolute; width: 300px; height: 300px; right: -150px; top: -150px; border-radius: 50%; background: rgba(210,154,66,.16); }
.preview-top { display: flex; justify-content: space-between; align-items: center; }
.preview-label { font-size: .75rem; font-weight: 900; letter-spacing: .16em; opacity: .72; }
.pro-pill { padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--cocoa-deep); font-size: .68rem; font-weight: 900; }
.pan-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 44px 0 34px; text-align: center; }
.pan-card p { margin: 10px 0 0; color: rgba(255,255,255,.65); font-size: .8rem; }
.pan { display: grid; place-items: center; aspect-ratio: 1; margin: auto; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: inset 0 0 0 8px rgba(255,255,255,.06); }
.pan-small { width: 82px; }
.pan-large { width: 110px; }
.pan span { font-weight: 850; }
.factor { display: flex; flex-direction: column; color: rgba(255,255,255,.55); }
.factor strong { color: var(--paper); font-variant-numeric: tabular-nums; }
.ingredient-result { display: flex; justify-content: space-between; gap: 24px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.09); }
.ingredient-result span { color: rgba(255,255,255,.68); }
.ingredient-result strong { color: #f7c87b; }
.preview-warning { margin: 16px 0 0; color: rgba(255,255,255,.58); font-size: .75rem; text-align: center; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust-strip p { margin: 0; padding: 24px; text-align: center; background: rgba(255,255,255,.36); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--cocoa); }
.trust-strip span { color: var(--muted); font-size: .85rem; }
.section { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
h2 { color: var(--cocoa-deep); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card, .price-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
}
.feature-card.featured { background: var(--paper); box-shadow: 0 14px 36px rgba(75,46,37,.07); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border-radius: 15px; color: var(--paper); background: var(--cocoa); font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; }
.tier { margin-bottom: 8px; font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.tier.free { color: var(--sage); }
.tier.pro { color: var(--clay); }
.feature-card h3, .price-card h3, .steps h3 { margin-bottom: 8px; color: var(--cocoa-deep); font-size: 1.35rem; }
.feature-card > p:last-child, .steps p { margin: 0; color: var(--muted); }
.process { border-top: 1px solid var(--line); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li > span { color: var(--clay); font-family: Georgia, serif; font-size: 1.3rem; font-style: italic; }
.pricing-section { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1100px) / 2)); background: var(--cocoa-deep); }
.pricing-section h2, .pricing-section .section-heading > p:last-child { color: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 20px; }
.price-card { background: var(--paper); }
.price-card.pro-card { border: 2px solid var(--amber); }
.best-value { position: absolute; right: 22px; top: 22px; color: var(--clay); font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.price { margin: 22px 0; color: var(--cocoa-deep); font-size: 2.3rem; font-weight: 850; letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: 0; }
.price-card ul { display: grid; gap: 11px; padding: 0; list-style: none; }
.price-card li::before { content: "✓"; margin-right: 10px; color: var(--sage); font-weight: 900; }
.storefront-note { margin: 22px 0 0; color: var(--muted); font-size: .75rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; color: var(--cocoa-deep); font-size: 1.1rem; font-weight: 800; }
.faq details p { max-width: 760px; margin: 14px 0 0; color: var(--muted); }
.closing { padding: 110px 20px; text-align: center; background: #eadfce; }
.closing h2 { max-width: 720px; margin-inline: auto; }
.closing > p:not(.eyebrow) { color: var(--muted); }
footer { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 40px max(20px, calc((100vw - 1180px) / 2)); color: var(--muted); background: var(--paper); }
.footer-brand { color: var(--cocoa); }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; }
.legal-page { min-height: 70vh; }
.legal-copy { width: min(760px, calc(100% - 40px)); margin: 50px auto 100px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.legal-copy h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.legal-copy h2 { margin-top: 36px; font-size: 1.7rem; }
.legal-copy li, .legal-copy p { color: var(--muted); }
.legal-copy a { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .site-header { min-height: 72px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 24px; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .trust-strip { grid-template-columns: 1fr; }
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer nav { justify-content: center; }
  .footer-brand { justify-content: center; }
}

@media (max-width: 460px) {
  h1 { font-size: 3rem; }
  .hero, .section { width: min(100% - 28px, 1100px); }
  .pan-row { gap: 10px; }
  .pan-small { width: 68px; }
  .pan-large { width: 88px; }
  .ingredient-result { flex-direction: column; gap: 4px; text-align: center; }
  .legal-copy { padding: 26px; }
}

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