/* cheffy.me — one stylesheet for every page. Brand: oxblood, ivory, espresso, crème. */
:root {
  --oxblood: #6b2737;
  --ivory: #f7f1e8;
  --espresso: #3b2a22;
  --creme: #eadfd0;
  --muted: #7a6a60;
  --rule: #d9cbb8;
  --display: 'DM Serif Display', Georgia, serif;
  --text: 'Newsreader', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Header: wordmark left, small-caps links right. */
.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--oxblood);
  text-decoration: none;
}
.wordmark span { color: var(--espresso); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 0; justify-content: flex-end; }
.nav a {
  font-family: var(--text);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a + a::before { content: '/'; margin: 0 10px; color: var(--muted); font-weight: 400; }
.nav a:hover { color: var(--oxblood); }

/* Hero: words left, phone right. */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-copy { text-align: center; }
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 0 auto 24px;
  max-width: 13em;
}
/* Under the hero headline: the three-beat line, in oxblood italic. */
.hero .subline {
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--oxblood);
  margin: -8px auto 28px;
}
.kicker {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 auto 28px;
  max-width: 26em;
}

/* Download button: black, rounded, like a store badge without Apple's artwork. */
.get-app {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px 22px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}
.get-app small { font-size: 12px; letter-spacing: 0.02em; }
.get-app strong { font-family: var(--text); font-weight: 600; font-size: 22px; }
.get-app[aria-disabled='true'] { background: var(--espresso); cursor: default; }
.badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.beta-note { font-size: 14px; color: var(--muted); max-width: 24em; margin: 14px auto 0; line-height: 1.45; }
.beta-note a { color: inherit; }

/* Phone frame around real app screenshots. */
.phone {
  width: min(300px, 72vw);
  margin: 0 auto;
  padding: 10px;
  border-radius: 46px;
  background: #111;
  box-shadow: 0 30px 60px -20px rgba(59, 42, 34, 0.35);
}
.phone img { border-radius: 36px; width: 100%; height: auto; }

/* "Welcome to Cheffy" feature run. */
.welcome { padding: 24px 24px 64px; text-align: center; }
.welcome h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  margin: 0 0 56px;
}
.feature { margin: 0 auto 96px; max-width: 760px; }
.feature p { font-size: 20px; margin: 0 0 32px; }
.feature b { font-weight: 600; }
.feature em { font-style: italic; font-weight: 600; color: var(--oxblood); }

.closing { padding: 0 24px 56px; }

/* Footer: one line of small caps. */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 24px 40px;
  text-align: center;
}
.site-footer nav a {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 10px;
  color: var(--muted);
}
.site-footer nav a:hover { color: var(--oxblood); }
.site-footer p { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* Simple centered card for invite / open-in-app / email pages. */
.card-page { padding: 24px 24px 80px; }
.card {
  max-width: 460px;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--oxblood);
  color: var(--ivory);
  text-align: center;
}
.card .eyebrow {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  margin: 0 0 18px;
}
.card h1 { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1.1; margin: 0 0 14px; }
.card p { color: #e3c4c9; margin: 0 0 24px; }
.code {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: 0.22em;
  padding: 14px 0 14px 0.22em;
  margin: 0 0 24px;
  border: 1px solid rgba(247, 241, 232, 0.35);
  border-radius: 14px;
  color: var(--ivory);
}
.btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  margin: 0 0 12px;
  border: 0;
  border-radius: 14px;
  font: 600 18px var(--text);
  text-decoration: none;
  cursor: pointer;
}
.btn-light { background: var(--ivory); color: var(--oxblood); }
.btn-ghost { background: transparent; color: var(--ivory); border: 1px solid rgba(247, 241, 232, 0.5); }
.card .fine { font-size: 14px; color: #e3c4c9; margin: 8px 0 0; }

/* Legal pages. */
.prose { max-width: 720px; margin: 0 auto; padding: 16px 24px 72px; }
.prose h1 { font-family: var(--display); font-weight: 400; font-size: 44px; margin: 0 0 8px; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 36px 0 8px; }
.prose .updated { color: var(--muted); margin: 0 0 28px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 64px; }
  .hero .phone { order: 2; }
  .site-header { padding: 18px 16px; }
  .wordmark { font-size: 28px; }
  .nav a + a::before { margin: 0 6px; }
  .nav a { font-size: 11px; letter-spacing: 0.1em; }
  .feature { margin-bottom: 72px; }
}
@media (max-width: 420px) {
  .nav .hide-sm { display: none; }
  .card { padding: 32px 20px; }
}
