/* Yeast site — light-only, tokens lifted verbatim from the app palette. */
:root {
  --sand: #f3e9da;   /* app backdrop */
  --cream: #fbf6ee;  /* card surface */
  --crust: #c2683f;  /* primary brand */
  --ember: #e08a4b;  /* warm accent (oven glow) */
  --char: #3a2a1f;   /* primary text */
  --muted: #8a7561;  /* secondary text */
  --line: rgba(58, 42, 31, 0.1);
  --display: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  color-scheme: light;
  background: var(--sand);
  min-height: 100%;
}

/* The app's oven glow: warm ember rising from the bottom of the viewport.
   A fixed pseudo-element avoids the tiling/hard-edge artifacts of painting
   a radial gradient on the root element itself. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(130% 80% at 50% 108%, rgba(224, 138, 75, 0.28), rgba(224, 138, 75, 0) 65%);
}

body {
  margin: 0 auto;
  max-width: 41rem;
  min-height: 100vh;
  padding: 1.4rem 1.25rem 4.5rem;
  color: var(--char);
  font: 1.02rem/1.65 -apple-system, system-ui, "Segoe UI", sans-serif;
}

/* ── Header ─────────────────────────────────────────────── */
.site-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 2.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--char);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}
.brand img { border-radius: 9px; display: block; }
.site-head nav { margin-left: auto; display: flex; gap: 1.1rem; font-size: 0.92rem; }
.site-head nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-head nav a:hover { color: var(--crust); }

/* ── Type ───────────────────────────────────────────────── */
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  margin: 2.3rem 0 0.5rem;
}
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.25rem;
}
p { margin: 0.65rem 0; }
a { color: var(--crust); text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.updated { color: var(--muted); font-size: 0.88rem; font-style: normal; }

/* ── Index hero ─────────────────────────────────────────── */
.hero { text-align: center; padding: 1.2rem 0 0.6rem; }
.hero .app-icon {
  width: 104px; height: 104px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(58, 42, 31, 0.18);
  margin-bottom: 1.2rem;
}
.hero .tagline {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--crust);
  margin: 0 0 0.9rem;
}
.hero .pitch { max-width: 34rem; margin: 0 auto 1.6rem; color: var(--char); }

.cta {
  display: inline-block;
  background: var(--crust);
  color: #fbf6ee;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(194, 104, 63, 0.35);
}
.cta:hover { background: #ad5a35; }
.platform-note { color: var(--muted); font-size: 0.88rem; margin-top: 0.9rem; }
.platform-note a { color: var(--muted); }

/* ── Feature cards (the app's glass cards, in daylight) ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 0.9rem;
  margin: 2.6rem 0 0;
  text-align: left;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.05rem 1.15rem;
}
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; line-height: 1.5; }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  margin-top: 3.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
footer a { color: var(--muted); }
