/* eatpandesal.com: the launch page.
 * Tokens match the app (constants/theme.ts): warm paper, warm ink, one
 * cobalt accent. Fonts are the app's own (IM Fell French Canon for display,
 * Geist for body), self-hosted so the page makes no third-party requests. */

@font-face { font-family: "Fell"; src: url("fonts/IMFellFrenchCanon_400Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fell"; src: url("fonts/IMFellFrenchCanon_400Regular_Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist_500Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #fbfaf6;
  --paper-2: #f4f1e8;
  --ink: #1a1410;
  --ink-2: #4d3f33;
  --ink-3: #8a7c66;
  --line: #e2d9bf;
  --accent: #2752d3;
  --accent-ink: #1c3a9b;
  --display: "Fell", "Iowan Old Style", Georgia, serif;
  --body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }

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

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.top .logo img { width: 116px; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }

/* Hero: golden split, words take the major share */
.hero {
  display: grid;
  grid-template-columns: 61.8fr 38.2fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0 72px;
}
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px;
}
h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.01em;
  margin: 0 0 14px;
}
h1 em { font-style: italic; color: var(--ink-2); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 32em; margin: 0 0 30px; }
.hero-art img { width: 100%; max-width: 420px; margin-left: auto; mix-blend-mode: multiply; }

.cta {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 999px;
}
.cta:hover { background: var(--accent-ink); color: #fff; }
.cta-note { display: block; margin-top: 12px; font-size: 14px; color: var(--ink-3); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; margin: 0 0 12px;
}
.section-lede { color: var(--ink-2); font-size: 17px; max-width: 34em; margin: 0 0 36px; }

.plates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 8px; }
.plates figure { margin: 0; }
.plates img { mix-blend-mode: multiply; }
.plates figcaption { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: -4px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.three h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 6px; }
.three p { margin: 0; color: var(--ink-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; }
.steps b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; margin-bottom: 4px; }
.steps span { color: var(--ink-2); font-size: 15px; }

.closing { text-align: center; }
.closing h2 { margin-bottom: 14px; }
.closing .section-lede { margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--ink-3); }
footer a:hover { color: var(--ink); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Legal pages */
.doc { max-width: 680px; margin: 0 auto; padding: 8px 0 80px; }
.doc h1 { font-size: clamp(38px, 6vw, 54px); }
.doc h2 { font-size: 26px; margin: 36px 0 8px; }
.doc p { color: var(--ink-2); }
.draft-banner {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 14px 16px; margin: 18px 0 28px; font-size: 15px; color: var(--ink);
}
.draft-banner b { display: block; margin-bottom: 2px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 8px; padding: 16px 0 56px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; margin: 0 auto; }
  .plates { grid-template-columns: repeat(3, 1fr); }
  .plates figure:nth-child(n+4) { display: none; }
  .three { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr 1fr; }
  section { padding: 48px 0; }
}
