/* Beavr site. Tokens follow CLAUDE.md "Design system". Teal is for non-text surfaces only (3.0:1 on white). */
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url('/fonts/Figtree-400.ttf') format('truetype'); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url('/fonts/Figtree-600.ttf') format('truetype'); }
@font-face { font-family: Figtree; font-weight: 800; font-display: swap; src: url('/fonts/Figtree-800.ttf') format('truetype'); }
:root { --ground: #F4F5F7; --surface: #FFFFFF; --ink: #17202A; --muted: #5B6572; --line: #E3E6EB; --link: #1F4FA8; --brand: #15A4A8; --brand-tint: #E3F5F5; --warn-bg: #FFF4E5; --warn-line: #F2CF9F; --warn-ink: #8A3F06; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 Figtree, system-ui, sans-serif; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 56px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
main { flex: 1; width: 100%; padding: 32px 0 56px; }
main.wrap { padding: 32px 16px 56px; }
h1 { font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 12px; }
h2 { font-size: 22px; line-height: 1.25; font-weight: 800; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 0 0 4px; }
p, ul, ol { margin: 0 0 12px; }
li { margin-bottom: 6px; }
.lead { font-size: 20px; color: var(--ink); max-width: 36em; }
.muted { color: var(--muted); font-size: 15px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: #2a3644; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.doc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; }
.doc h1 { margin-top: 0; }
.faq h2 { margin-top: 24px; }
.email { font-weight: 600; user-select: all; }
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 24px 0; color: var(--muted); font-size: 15px; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 8px; padding: 0; margin: 0 0 8px; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
@media (max-width: 480px) { h1 { font-size: 30px; } .doc { padding: 16px 14px; } }

/* Landing page: a question beside the screen that answers it. */
.home { padding: 0; }
.home h1, .home .scene h2 { letter-spacing: -0.015em; line-height: 1.08; font-weight: 800; }
.home h1 { font-size: clamp(38px, 4.8vw, 64px); margin-bottom: 20px; }
.home .scene h2 { font-size: clamp(30px, 3.2vw, 44px); margin: 0 0 16px; }
.scene { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.facts + .scene, .scene + .scene { border-top: 1px solid var(--line); }
.words { align-self: center; max-width: 620px; justify-self: end; width: 100%; padding: 48px 48px 48px 16px; }
.words p { font-size: 19px; max-width: 30em; }
.home .lead { font-size: 22px; line-height: 1.4; margin-bottom: 20px; }
.not-yet { background: var(--brand-tint); border-radius: 8px; padding: 12px 16px; font-weight: 600; }
.panel { display: flex; justify-content: center; align-items: center; background: var(--brand-tint); padding: 40px 16px; }
/* Each crop ends just below a whole section of its screen. */
.screen { display: block; width: min(320px, 100%); height: auto; object-fit: cover; object-position: top; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.screen.pets { aspect-ratio: 720 / 862; }
.screen.today { aspect-ratio: 720 / 932; }
.screen.groceries { aspect-ratio: 720 / 956; }
.screen.kid-mode { aspect-ratio: 720 / 894; }
.screen.family { aspect-ratio: 720 / 926; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 48px 16px; }
.facts h2 { margin-top: 0; }
.facts p { margin-bottom: 0; }
.flip .words { order: 2; justify-self: start; padding: 48px 16px 48px 48px; }
.flip .panel { order: 1; }
body:has(.home) header.site .wrap, body:has(.home) footer.site .wrap { max-width: 1240px; }
@media (max-width: 800px) {
  .scene, .facts { grid-template-columns: 1fr; }
  .words, .flip .words { order: 0; justify-self: start; max-width: none; padding: 28px 16px 24px; }
  .flip .panel { order: 1; }
  .home .lead { font-size: 20px; }
  .panel { padding: 20px 16px; }
  .screen { width: min(250px, 100%); }
  header.site .wrap { flex-wrap: nowrap; }
  header.site nav a { padding: 0 6px; font-size: 15px; }
  .facts { gap: 28px; padding: 32px 16px; }
  }
