:root {
  --ground: #241A14;
  --ground-elevated: #2C2019;
  --surface: #F3E7D2;
  --surface-dim: #E4D3B4;
  --ink: #2A2019;
  --ink-soft: #6E5C48;
  --cream: #F3E7D2;
  --cream-dim: #C9B79C;
  --stamp: #F97316;
  --stamp-soft: rgba(249, 115, 22, 0.14);
  --grad-start: #FD8A11;
  --grad-end: #F35B04;
  --hairline: rgba(243, 231, 210, 0.16);
  --hairline-on-paper: rgba(42, 32, 25, 0.14);

  --font-display: -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

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

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

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top nav ---------- */

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--hairline);
}

.topnav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.topnav .brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.topnav .brand .wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.topnav .brand .wordmark .food { color: var(--cream); }
.topnav .brand .wordmark .tr4cl { color: var(--stamp); }

.topnav nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  text-decoration: none;
  margin-left: 20px;
}

.topnav nav a:hover { color: var(--cream); }

.lang-switch {
  margin-left: 20px;
  background: transparent;
  color: var(--cream-dim);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
}

.lang-switch:hover { color: var(--cream); border-color: var(--stamp); }

.lang-switch option { background: var(--ground); color: var(--cream); }

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

.hero {
  padding: 64px 20px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 420px at 50% -10%, rgba(249,115,22,0.16), transparent 65%),
    var(--ground);
  border-bottom: 1px solid var(--hairline);
}

.hero-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 18px 40px -14px rgba(249,115,22,0.55);
  margin: 0 auto 22px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 520px;
  margin: 0 auto 28px;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  color: #241A14;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  padding: 13px 22px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: default;
}

.cta-btn.secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--hairline);
}

.cta-btn.secondary:hover { border-color: var(--stamp); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* Apple's official "Download on the App Store" badge, unmodified per their
   marketing guidelines — no recolor, no distortion. The padding here is the
   required clear space (~1/4 the badge's own height), not decorative. */
.store-badge-link {
  display: inline-block;
  line-height: 0;
  padding: 10px;
}

.store-badge-link img {
  height: 48px;
  width: auto;
}

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

section.block {
  padding: 56px 0;
  border-bottom: 1px solid var(--hairline);
}

section.block:last-of-type { border-bottom: none; }

.block .inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stamp);
  margin: 0 0 10px;
  text-align: center;
}

.block h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 26px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.block > .inner > p.lead {
  font-size: 15px;
  color: var(--cream-dim);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}

/* ---------- Feature grid ---------- */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.feat-card {
  background: var(--ground-elevated);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 18px;
}

.feat-card .feat-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--cream);
}

.feat-card p {
  font-size: 13.5px;
  color: var(--cream-dim);
  margin: 0;
  line-height: 1.5;
}

/* ---------- CTA section ---------- */

.cta-section {
  text-align: center;
}

.cta-section .social {
  margin-top: 18px;
  font-size: 14px;
  color: var(--cream-dim);
}

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

footer {
  padding: 32px 20px 48px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-dim);
}

.footer-inner a {
  color: var(--cream-dim);
  text-decoration: none;
  margin-left: 16px;
}

.footer-inner a:hover { color: var(--stamp); }

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

.legal .inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 6px;
}

.legal .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-dim);
  margin: 0 0 32px;
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 32px 0 10px;
  color: var(--stamp);
}

.legal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream-dim);
  margin: 0 0 14px;
}

.legal p strong { color: var(--cream); }

.tear {
  border: none;
  border-top: 1.5px dashed var(--hairline);
  margin: 36px 0;
}
