/* Taste Notes — site styles. Palette follows the app's Bistro theme. */
:root {
  color-scheme: dark;
  --pine: #0d211c;        /* page ground */
  --pine-deep: #081512;   /* sunken bands */
  --bottle: #14342c;      /* raised surfaces */
  --bottle-edge: #24493f;
  --brass: #c9a257;       /* accent */
  --brass-hi: #e3c27a;
  --linen: #f3ecdd;       /* text */
  --sage: #a7b8ad;        /* secondary text */
  --sage-dim: #7f948a;
  --rose: #d9848d;        /* "Must Order" heart only */
  --rule: rgba(201, 162, 87, 0.22);

  --f-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", -apple-system, "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--pine);
  color: var(--linen);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--linen); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h3 { font-family: var(--f-body); font-weight: 650; font-size: var(--step-1); line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass);
}
.lede { color: var(--sage); font-size: var(--step-1); line-height: 1.5; max-width: 34ch; }
.muted { color: var(--sage); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(13, 33, 28, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--linen); text-decoration: none; font-weight: 650; font-size: 1.125rem; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--sage); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--linen); }
@media (max-width: 720px) { .nav .opt { display: none; } .nav { gap: 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font: 600 0.98rem/1 var(--f-body); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn-brass { background: linear-gradient(180deg, var(--brass-hi), var(--brass)); color: #1a1408; }
.btn-brass:hover { color: #1a1408; transform: translateY(-1px); }
.btn-ghost { border-color: var(--bottle-edge); color: var(--linen); }
.btn-ghost:hover { background: var(--bottle); color: var(--linen); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.is-soon { background: transparent; color: var(--brass-hi); border-color: var(--brass); cursor: default; }
.btn.is-soon:hover { transform: none; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(40, 96, 78, 0.55), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { font-size: var(--step-4); margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--brass-hi); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine { margin-top: 18px; font-size: var(--step--1); color: var(--sage-dim); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.stage { position: relative; display: flex; justify-content: center; padding-block: 8px 40px; }

/* Phone frame */
.phone {
  width: min(300px, 78vw); aspect-ratio: 720 / 1475;
  border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #3a3f3c, #121614 45%, #2a2f2c);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06) inset;
  max-width: 100%;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone.sm { width: min(240px, 70vw); border-radius: 36px; padding: 8px; }
.phone.sm img { border-radius: 29px; }

/* The order ticket: menu-style card with dotted leaders */
.ticket {
  position: absolute; left: -6%; bottom: 0; width: min(310px, 86%);
  background: var(--linen); color: #1f2a25;
  border-radius: 6px; padding: 18px 20px 16px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.6);
  transform: rotate(-3deg);
  font-size: 0.9rem;
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px;
  background: radial-gradient(circle at 5px -1px, transparent 5px, var(--linen) 5.5px) 0 0 / 10px 8px repeat-x;
}
.ticket::before { top: -7px; transform: rotate(180deg); }
.ticket::after { bottom: -7px; }
.ticket .t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 1px dashed #b9ad93; padding-bottom: 8px; margin-bottom: 8px; }
.ticket .t-name { font-family: var(--f-display); font-size: 1.2rem; line-height: 1.1; }
.ticket .t-date { font-family: var(--f-mono); font-size: 0.72rem; color: #6d6552; white-space: nowrap; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.ticket li { display: flex; align-items: baseline; gap: 6px; }
.ticket li .dish { white-space: nowrap; }
.ticket li .lead { flex: 1; border-bottom: 1.5px dotted #b9ad93; transform: translateY(-4px); min-width: 12px; }
.ticket li .score { font-family: var(--f-mono); font-size: 0.8rem; white-space: nowrap; color: #7a5a1c; }
.ticket .t-foot { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #b9ad93; font-size: 0.8rem; color: #5b5646; display: flex; gap: 6px; align-items: center; }
.ticket .heart { color: #b8505b; }
@media (max-width: 860px) { .ticket { left: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: settle .9s cubic-bezier(.2,.8,.2,1) .2s both; }
  @keyframes settle { from { transform: translateY(14px) rotate(-6deg); } to { transform: rotate(-3deg); } }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.band { background: var(--pine-deep); border-block: 1px solid var(--rule); }
.section-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--sage); font-size: var(--step-1); line-height: 1.5; }

/* Questions strip */
.questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.questions blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.2; color: var(--linen); }
.questions blockquote::before { content: "\201C"; color: var(--brass); }
.questions blockquote::after { content: "\201D"; color: var(--brass); }
.questions p { margin-top: 10px; color: var(--sage); font-size: 0.98rem; }
@media (max-width: 760px) { .questions { grid-template-columns: 1fr; } }

/* Steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps .num { font-family: var(--f-mono); font-size: 0.8rem; color: var(--brass); letter-spacing: .1em; }
.steps .num::before { content: "Step " counter(step); }
.steps p { color: var(--sage); font-size: 0.98rem; }
.steps .phone { width: 100%; margin-bottom: 8px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .steps .phone { width: min(260px, 100%); } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature.flip .copy { order: 2; }
.feature .copy { display: grid; gap: 16px; }
.feature h2 { font-size: var(--step-3); }
.feature .copy > p { color: var(--sage); font-size: var(--step-1); line-height: 1.5; max-width: 36ch; }
.feature .media { display: flex; justify-content: center; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--linen); font-size: 1rem; }
.checks li::before { content: ""; width: 8px; height: 8px; margin: 9px 0 0 4px; border-radius: 50%; background: var(--brass); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .copy { order: 0; }
}

/* Small feature grid */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.mini { background: var(--pine-deep); padding: 26px 24px; display: grid; gap: 8px; align-content: start; }
.mini p { color: var(--sage); font-size: 0.98rem; }
.mini svg { width: 26px; height: 26px; color: var(--brass); margin-bottom: 6px; }
@media (max-width: 860px) { .minis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .minis { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--bottle); border: 1px solid var(--bottle-edge); border-radius: 20px; padding: 28px 26px; display: grid; gap: 14px; align-content: start; }
.plan.feat { border-color: var(--brass); background: linear-gradient(180deg, #1a3d34, var(--bottle)); }
.plan .status { justify-self: start; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--bottle-edge); color: var(--sage); }
.plan.feat .status { border-color: var(--brass); color: var(--brass-hi); }
.plan h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--step-2); }
.plan .price { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.plan .price.is-tba { font-family: var(--f-body); font-size: 1.15rem; font-weight: 600; color: var(--brass-hi); line-height: 1.3; }
.plan .price-sub { color: var(--sage); font-size: 0.92rem; margin-top: -6px; }
.plan .checks li { font-size: 0.97rem; color: var(--sage); }
.plans-note { margin-top: 24px; color: var(--sage-dim); font-size: 0.92rem; max-width: 70ch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Roadmap */
.later { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.later div { border: 1px dashed var(--bottle-edge); border-radius: 16px; padding: 20px; display: grid; gap: 6px; align-content: start; }
.later h3 { font-size: 1.05rem; }
.later p { color: var(--sage); font-size: 0.95rem; }
.later-note { margin-top: 20px; color: var(--sage-dim); font-size: 0.92rem; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 780px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding-block: 4px; }
.faq summary { cursor: pointer; list-style: none; padding-block: 18px; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--brass); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--sage); padding-bottom: 20px; max-width: 64ch; }

/* Closing CTA */
.closer { text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.closer h2 { font-size: var(--step-3); max-width: 18ch; }
@media (max-width: 720px) { .closer { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 40px 48px; color: var(--sage-dim); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot a { color: var(--sage); text-decoration: none; }
.site-foot a:hover { color: var(--linen); }

/* ---------- Document pages (Privacy, Terms, Support) ---------- */
.doc { padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 110px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: var(--step-3); margin-block: 14px 10px; }
.doc .updated { font-family: var(--f-mono); font-size: 0.8rem; color: var(--sage-dim); }
.doc .summary { margin-block: 28px 8px; background: var(--bottle); border: 1px solid var(--bottle-edge); border-radius: 16px; padding: 20px 22px; }
.doc .summary p + p, .doc .summary ul { margin-top: 10px; }
.doc h2 { font-family: var(--f-body); font-weight: 650; font-size: 1.25rem; margin-top: 40px; margin-bottom: 10px; letter-spacing: 0; }
.doc p, .doc li { color: #d9d4c6; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 10px 0 0; display: grid; gap: 6px; }
.doc strong { color: var(--linen); }
.doc .contact-card { margin-top: 20px; display: grid; gap: 6px; }
.doc .faq { margin-top: 12px; }
