/* Sunny Plate site. Same palette and type as the app. No third-party requests. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #16213e;
  --ground: #f5f7fe;
  --card: #ffffff;
  --line: #e3e8f6;
  --muted: #55607d;
  --yellow: #ffc933;
  --yellow-deep: #ffb300;
  --yellow-tint: #fff1c2;
  --blue: #2456e6;
  --blue-deep: #1b46c4;
  --blue-tint: #eef3ff;
  --visited: #6a2fb5;
  --night-text: #c9d2ec;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 1.125rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 6vw + 1rem, 4.5rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3vw + 1rem, 2.9rem); }
h3 { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
a { color: var(--blue-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:visited { color: var(--visited); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: 999px; font-weight: 700; z-index: 10; }
.skip:focus { top: 1rem; color: #fff; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font: 800 1.35rem/1 var(--display); color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:visited { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.site-header nav ul { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.site-header nav a:hover { background: var(--card); }
.site-header nav a[aria-current="page"] { background: var(--yellow); }

/* Hero */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; }
.lede { font-size: clamp(1.15rem, 1vw + 1rem, 1.4rem); line-height: 1.5; }
.beta { display: flex; flex-direction: column; gap: 0.35rem; background: var(--card); border-radius: 22px; padding: 1.1rem 1.3rem; box-shadow: 0 1px 0 var(--line); max-width: 34rem; }
.beta strong { font-weight: 700; }
.beta span { color: var(--muted); font-size: 1rem; }
.hero-art { position: relative; display: flex; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem) 0; }
.hero-art::before { content: ""; position: absolute; inset: 0; margin: auto; width: min(100%, 30rem); aspect-ratio: 1; align-self: center; background: var(--yellow); border-radius: 50%; }

/* Phone screenshots */
.phone { position: relative; width: min(100%, 300px); border-radius: 44px; padding: 9px; background: var(--ink); box-shadow: 0 24px 50px -24px rgba(22, 33, 62, 0.55); }
.phone img { border-radius: 36px; width: 100%; }

/* Sections */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.eyebrow { font-weight: 700; color: var(--muted); font-size: 1rem; }

.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 7vw, 6rem); }
.feature-copy { display: flex; flex-direction: column; gap: 1rem; }
.feature .shot { display: flex; justify-content: center; }
.feature:nth-of-type(even) .shot { order: -1; }
.step { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--yellow); font: 800 1.3rem/1 var(--display); }

.band { background: var(--yellow); }
.band .wrap { display: flex; flex-direction: column; gap: 1rem; }
.band p { font-size: 1.2rem; }

.friends { background: var(--ink); color: #fff; }
.friends .eyebrow, .friends p.note { color: var(--night-text); }
.friends .phone { background: #24304f; }
.friends ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.friends li { background: #24304f; border-radius: 16px; padding: 0.8rem 1rem; }
.friends li strong { color: var(--yellow); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.facts li { background: var(--card); border-radius: 24px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; box-shadow: 0 1px 0 var(--line); }
.facts p { font-size: 1.05rem; color: var(--ink); }

.privacy-teaser { background: var(--blue-tint); }
.privacy-teaser .wrap { display: flex; flex-direction: column; gap: 1.1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 52px; padding: 0 1.6rem; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; }
.button:visited { color: #fff; }
.button:hover { background: var(--blue-deep); color: #fff; }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 1rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

/* Privacy page */
.doc { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.doc .wrap { width: min(760px, 100% - 2.5rem); display: flex; flex-direction: column; gap: 1.2rem; }
.doc h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); }
.doc h2 { font-size: 1.7rem; margin-top: 1.6rem; }
.doc ul { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; max-width: 62ch; }
.doc .summary { background: var(--yellow-tint); border-radius: 24px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.doc .summary h2 { margin-top: 0; font-size: 1.4rem; }
.doc .updated { color: var(--muted); font-size: 1rem; }
.todo { background: var(--yellow); border-radius: 6px; padding: 0 0.3rem; font-weight: 700; }

@media (max-width: 760px) {
  .hero .wrap, .feature, .facts { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-of-type(even) .shot { order: 0; }
  .phone { width: min(100%, 260px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
