/* Paris Eater — landing + legal pages. Brand tokens mirror src/config.js. */
:root {
  --cream: #f7f4ee;
  --paper: #fffdf9;
  --ink: #1c1a17;
  --ink-soft: #56504a;
  --line: #e4ded3;
  --accent: #b1442f;
  --accent-soft: #c9745f;
  --grey: #b6afa4;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- top bar ---- */
.site-header {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header .logo { height: 34px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 10px; }
.site-header nav a {
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.site-header nav a:hover {
  text-decoration: none;
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

/* ---- hero ---- */
.hero { padding: 52px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); }
.hero .lede {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0.6em auto 1.8em;
}
.kicker {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 18px;
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #9a3a28; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); text-decoration: none; }
.price-note { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* ---- iPhone device mockup ---- */
.phone {
  position: relative;
  width: 300px;
  margin: 0 auto 40px;
  padding: 11px;
  background: #14110f;
  border-radius: 48px;
  box-shadow:
    0 2px 0 1px rgba(255, 255, 255, 0.06) inset,
    0 44px 80px -34px rgba(28, 26, 23, 0.55),
    0 16px 36px -18px rgba(28, 26, 23, 0.35);
}
.phone-screen {
  position: relative;
  aspect-ratio: 300 / 650;
  border-radius: 38px;
  overflow: hidden;
  background: var(--cream);
}
/* Render at true iPhone logical size (375x812) and scale to fit the screen,
   so the app inside lays out exactly like a real phone. */
.phone-screen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 375px;
  height: 812px;
  border: 0;
  display: block;
  transform: scale(0.7413);
  transform-origin: top left;
}
@media (max-width: 360px) {
  .phone { width: 270px; }
  .phone-screen iframe { transform: scale(0.6613); }
}

/* ---- feature columns ---- */
.features { padding: 60px 0; }
.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 760px) { .features .grid { grid-template-columns: 1fr; gap: 28px; } }
.feature h3 { font-size: 22px; }
.feature p { color: var(--ink-soft); margin: 0; }

/* ---- pricing strip ---- */
.pricing { padding: 56px 0; text-align: center; }
.pricing .card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 34px;
}
.pricing .amount { font-family: 'Fraunces', serif; font-size: 56px; line-height: 1; }
.pricing ul { text-align: left; list-style: none; padding: 0; margin: 22px 0 26px; }
.pricing li { padding: 8px 0 8px 30px; position: relative; color: var(--ink-soft); }
.pricing li::before {
  content: '';
  position: absolute;
  left: 4px; top: 15px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer nav a { color: var(--ink-soft); margin-left: 20px; }
.site-footer nav a:first-child { margin-left: 0; }

/* ---- legal/prose pages ---- */
.prose { padding: 56px 24px 80px; max-width: 760px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.prose .updated { color: var(--grey); font-size: 14px; margin-bottom: 36px; }
.prose h2 { font-size: 24px; margin-top: 38px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 28px; font-size: 14px; }
