/* Dinner, Decided: spice palette. Brand reference: Codex/Digital products/diet/Brand/ */

@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/literata-latin-opsz-normal.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'Literata Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/literata-latin-opsz-italic.woff2) format('woff2-variations');
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-opsz-normal.woff2) format('woff2-variations');
}

:root {
  --kokum: #8C3118;      /* primary */
  --kokum-deep: #74280F; /* hover */
  --clove: #2A1A14;      /* dark background, main text */
  --ghee: #F7F0E3;       /* light background */
  --turmeric: #E0A93B;   /* accent: rules, big italic words, buttons on dark */
  --curry: #3E5A38;      /* secondary: veg, fibre, success */
  --chai: #E9DCC8;       /* soft panels, borders */
  --clove-soft: #5B4A40; /* secondary text on light */
  --serif: 'Literata Variable', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ghee);
  color: var(--clove);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
a { color: var(--kokum); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--turmeric);
  outline-offset: 3px;
}

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--clove); color: var(--ghee); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: clamp(16px, 5vw, 48px); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.rule { width: 44px; height: 3px; background: var(--turmeric); border-radius: 2px; }

/* Top bar */
.topbar { background: var(--kokum); color: var(--ghee); border-bottom: 1px solid rgba(247,240,227,.14); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 60px; gap: 12px; }
.wordmark { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ghee); text-decoration: none; letter-spacing: -.01em; }
.wordmark em { color: var(--turmeric); font-style: italic; font-weight: 500; }
.topbar .ig { color: var(--ghee); font-size: 14px; text-decoration: none; opacity: .9; }
.topbar .ig:hover { text-decoration: underline; }

/* Hero */
.hero { background: var(--kokum); color: var(--ghee); padding-block: clamp(36px, 7vw, 80px) clamp(44px, 8vw, 96px); }
.hero .wrap { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } }
.hero .eyebrow { color: var(--turmeric); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 7vw, 66px); letter-spacing: -.02em; color: var(--ghee); }
.hero h1 em { display: block; color: var(--turmeric); font-style: italic; font-weight: 500; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); max-width: 34ch; color: var(--ghee); }

/* Signup card */
.signup {
  background: var(--ghee);
  color: var(--clove);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: 0 24px 60px rgba(42,26,20,.28);
}
.signup h2 { font-size: clamp(22px, 3vw, 27px); }
.signup .sub { color: var(--clove-soft); margin-top: 6px; font-size: 15.5px; }
.signup form { margin-top: 20px; display: grid; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--clove-soft); }
.field input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 13px 14px;
  border: 1.5px solid #CDBBA3;
  border-radius: 10px;
  background: #FFFDF8;
  color: var(--clove);
}
.field input:focus { border-color: var(--kokum); outline: none; box-shadow: 0 0 0 3px rgba(224,169,59,.45); }
.field input:user-invalid { border-color: var(--kokum); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 17px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-kokum { background: var(--kokum); color: var(--ghee); }
.btn-kokum:hover { background: var(--kokum-deep); }
.btn-turmeric { background: var(--turmeric); color: var(--clove); }
.btn-turmeric:hover { background: #CF9A2E; }
.btn-ghost { background: transparent; color: var(--kokum); border: 1.5px solid var(--kokum); }
.btn-ghost:hover { background: rgba(140,49,24,.06); }
.btn-block { width: 100%; }

.consent { font-size: 13.5px; color: var(--clove-soft); line-height: 1.5; }
.consent a { color: var(--clove); }

/* Sections */
.section { padding-block: clamp(48px, 8vw, 96px); }
.section-chai { background: var(--chai); }
.section h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.015em; }
.section .eyebrow { color: var(--kokum); margin-bottom: 12px; }
.section-intro { max-width: 60ch; margin-top: 12px; color: var(--clove-soft); font-size: 18px; }

.inside { margin-top: 32px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .inside { grid-template-columns: 1fr 1fr; } }
.item {
  background: #FFFBF3;
  border: 1px solid var(--chai);
  border-radius: 14px;
  padding: 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
}
.item .num { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--kokum); line-height: 1; min-width: 30px; }
.item h3 { font-size: 19px; }
.item p { margin-top: 4px; color: var(--clove-soft); font-size: 15.5px; }

/* Plate */
.plate-row { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; margin-top: 28px; }
@media (min-width: 820px) { .plate-row { grid-template-columns: .8fr 1.2fr; } }
.plate {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: #FFFDF8;
  box-shadow: 0 0 0 10px #FFFDF8, 0 0 0 11px #D9C7AE, 0 20px 40px rgba(42,26,20,.15);
}
.plate .disc {
  position: absolute; inset: 10px; border-radius: 50%;
  background: conic-gradient(from 0deg, #F3DFB0 0 25%, #F0D2C2 25% 50%, #DFE5CF 50% 100%);
}
.plate span {
  position: absolute; font-family: var(--serif); font-weight: 600; color: var(--clove); text-align: center; line-height: 1.2; font-size: 15px;
}
.plate .veg { left: 8%; top: 50%; transform: translateY(-50%); width: 40%; }
.plate .veg small, .plate .grain small, .plate .dal small { display: block; font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--curry); margin-top: 4px; }
.plate .grain { right: 8%; top: 24%; width: 38%; }
.plate .dal { right: 8%; bottom: 22%; width: 38%; }
.plate .grain small, .plate .dal small { color: var(--kokum); }
.plate .curd {
  right: -6px; bottom: -6px; width: 70px; height: 70px; border-radius: 50%;
  background: #FFFDF8; border: 2px solid var(--clove); display: grid; place-items: center; font-size: 13px;
}
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.points li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--turmeric); box-shadow: 0 0 0 4px rgba(224,169,59,.25); }

/* Dark band */
.band-clove { background: var(--clove); color: var(--ghee); }
.band-clove h2 { color: var(--ghee); }
.band-clove .eyebrow { color: var(--turmeric); }
.band-clove p { color: #E8DFD2; }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.note { font-size: 13.5px; color: var(--clove-soft); }
.disclaimer { max-width: 70ch; font-size: 13.5px; color: var(--clove-soft); margin-top: 18px; }

/* Thanks page */
.ready { background: var(--kokum); color: var(--ghee); padding-block: clamp(44px, 8vw, 88px); }
.ready h1 { font-size: clamp(36px, 6vw, 58px); color: var(--ghee); letter-spacing: -.02em; }
.ready h1 em { color: var(--turmeric); font-style: italic; font-weight: 500; }
.ready .eyebrow { color: var(--turmeric); margin-bottom: 16px; }
.ready .lead { margin-top: 16px; max-width: 46ch; font-size: 18px; }
.downloads { margin-top: 28px; display: grid; gap: 12px; max-width: 520px; }
.dl {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  background: var(--ghee); color: var(--clove); text-decoration: none;
  border-radius: 14px; padding: 16px 18px;
}
.dl strong { display: block; font-size: 17px; }
.dl span { font-size: 14px; color: var(--clove-soft); }
.dl .arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--kokum); color: var(--ghee); display: grid; place-items: center; font-weight: 700; }
.dl:hover .arrow { background: var(--kokum-deep); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 62ch; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--kokum); line-height: 1.2; }

/* Text pages (privacy, 404) */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); margin: 6px 0 6px; }
.prose h2 { font-size: clamp(22px, 3vw, 26px); margin: 34px 0 10px; }
.prose p { margin-top: 12px; color: #3B2B23; }
.prose .eyebrow { color: var(--kokum); }

/* Footer */
.foot { background: var(--clove); color: #CDBFB0; font-size: 14px; padding-block: 28px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.foot a { color: #F2E8D8; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
