:root {
  --paper: #82322B;
  --deep: #7A2C24;
  --ink: #3f130f;
  --cream: #FBDFBA;
  --gold: #E3A36B;
  --ring: #DCA879;
  --cream-soft: rgba(251, 223, 186, 0.78);
  --line: rgba(220, 168, 121, 0.55);
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Lora", Georgia, "Times New Roman", serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--cream);
  font: 400 1rem/1.55 var(--body);
  background-color: var(--deep);
  background-image:
    var(--grain),
    radial-gradient(120% 70% at 50% 0%, #933a32 0%, var(--paper) 40%, var(--deep) 75%, #5c1f19 100%);
  background-attachment: scroll, fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* gold double rules along the top and bottom, like the jar label band */
body::before,
body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  border-top: 3px solid var(--ring);
  border-bottom: 1px solid var(--ring);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}
body::before { top: 10px; }
body::after { bottom: 10px; transform: scaleY(-1); }

.page {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: calc(44px + env(safe-area-inset-top)) 16px calc(48px + env(safe-area-inset-bottom));
}

/* ---------- hero ---------- */
.hero { text-align: center; }

.badge {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  border-radius: 50%;
  filter: drop-shadow(0 14px 24px rgba(40, 8, 6, 0.55));
}

.brand {
  margin: 0;
  font: 700 2rem/1.1 var(--display);
  letter-spacing: 0.08em;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(40, 8, 6, 0.35);
}

.tagline {
  margin: 10px 0 0;
  font: 600 0.72rem/1.4 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.tagline span { white-space: nowrap; }

@media (max-width: 419px) {
  .tagline span { display: block; }
  .tagline .sep { display: none; }
}

.lede {
  margin: 14px auto 0;
  max-width: 34ch;
  font-style: italic;
  color: var(--cream-soft);
}

/* ---------- buttons ---------- */
.links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 14px 12px 12px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(50, 12, 9, 0.28);
  box-shadow: inset 0 1px 0 rgba(251, 223, 186, 0.08), 0 6px 16px rgba(40, 8, 6, 0.25);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.link:hover {
  border-color: var(--ring);
  background: rgba(50, 12, 9, 0.4);
  transform: translateY(-1px);
}

.link:active { transform: scale(0.98); }

.link:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.link__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  background: rgba(251, 223, 186, 0.06);
}

.icon { width: 22px; height: 22px; }

.link__text {
  flex: 1;
  min-width: 0;
  display: grid;
}

.link__label {
  font: 600 1.06rem/1.25 var(--body);
}

.link__note {
  font-size: 0.86rem;
  color: var(--cream-soft);
  overflow-wrap: anywhere;
}

.chevron {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--gold);
  opacity: 0.85;
}

.link--primary {
  min-height: 76px;
  border-color: var(--cream);
  color: var(--ink);
  background: linear-gradient(180deg, #fde8c9 0%, var(--cream) 55%, #f3cf9f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 22px rgba(40, 8, 6, 0.4);
}

.link--primary:hover {
  border-color: var(--cream);
  background: linear-gradient(180deg, #fff0d9 0%, #fde3bf 55%, #f6d5a8 100%);
}

.link--primary .link__icon {
  color: var(--cream);
  border-color: transparent;
  background: var(--deep);
}

.link--primary .link__label { font-size: 1.14rem; }
.link--primary .link__note,
.link--primary .chevron { color: #6b2a22; }

.link--skeleton {
  border-style: dashed;
  background: rgba(50, 12, 9, 0.18);
  box-shadow: none;
  animation: pulse 1.2s ease-in-out infinite alternate;
}

.links__error {
  margin: 0;
  padding: 16px;
  border: 1.5px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  color: var(--cream-soft);
}

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

/* ---------- divider ---------- */
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 28px;
  color: var(--gold);
  font-size: 0.8rem;
}

.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 5px;
  border-top: 1.5px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- product ---------- */
.product {
  position: relative;
  padding: 26px 20px 22px;
  text-align: center;
  border: 1.5px solid var(--ring);
  border-radius: 20px;
  outline: 1px solid var(--line);
  outline-offset: 4px;
  background: rgba(50, 12, 9, 0.22);
}

.eyebrow {
  margin: 0;
  font: 600 0.7rem/1 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.product h2 {
  margin: 10px 0 0;
  font: 600 1.6rem/1.15 var(--display);
  letter-spacing: 0.05em;
}

.price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 0;
  font: 600 1.05rem/1 var(--body);
  color: var(--gold);
}

.price strong { font-size: 1.3rem; color: var(--cream); }
.price .dot { opacity: 0.7; }

.ingredients {
  margin: 16px auto 0;
  max-width: 32ch;
  color: var(--cream-soft);
}

.lang { font-style: italic; }

.promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.promises li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  background: rgba(251, 223, 186, 0.06);
}

.promises li::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -3px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.tip {
  margin: 16px 0 0;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--cream-soft);
}

.marks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
}

/* Indian vegetarian mark: green dot in a green square */
.veg {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid #2e8b3a;
  border-radius: 3px;
  background: #fff;
}

.veg::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e8b3a;
}

.vegan {
  padding: 3px 10px;
  border: 2px solid #4caf50;
  border-radius: 999px;
  font: 600 0.75rem/1.2 var(--body);
  color: #2e7d32;
  background: #fff;
}

/* ---------- footer ---------- */
.footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(251, 223, 186, 0.62);
}

.footer p { margin: 2px 0; }
.footer .copy { margin-top: 10px; font-family: var(--display); letter-spacing: 0.1em; }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .page { padding-top: 64px; }
  .badge { width: 240px; height: 240px; }
  .brand { font-size: 2.4rem; }
  .tagline { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .link, .link--skeleton { transition: none; animation: none; }
}
