/*
 * bloatie.app — tokens from the Figma frame "Bloatie design system · Light"
 * (file JfV3XV2lWHl6y3RCyNg71B, node 464:2420). Same values as the app's
 * src/constants/theme.ts. Pink and sunshine always carry navy text.
 */
:root {
  --navy: #061331;
  --white: #ffffff;
  --pink: #f6aece;
  --sunshine: #ffc733;
  --neutral: #eef1f5;
  --gray: #525252;
  --pale: #e2e8f0;
  --midnight: #0b132c;

  --success-ink: #00693b;
  --success-surface: #d1fae5;
  --success-marker: #00d370;
  --warning-ink: #8a5a00;
  --warning-surface: #ffefd1;
  --warning-marker: #fdae00;
  --danger-ink: #b30000;
  --danger-surface: #fee2e2;
  --danger-marker: #ff0000;

  --radius-card: 24px;
  --radius-field: 16px;
  --stroke: 1.5px;
  --shadow-hard: 0 4px 0 #000;

  --gutter: 20px;
  --max: 1040px;
  --prose: 680px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 16px; border-radius: 999px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---- header ---- */
.site-header { border-bottom: var(--stroke) solid var(--navy); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; width: 132px; flex: none; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { font-weight: 700; font-size: 15px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { text-decoration: underline; }

/* Figma wordmark; 180×74.5 viewBox. */
.logo-img { display: block; width: 100%; height: auto; }


/* ---- type ---- */
h1, h2, h3 { margin: 0; line-height: 1.15; }
.display { font-size: clamp(36px, 7vw, 48px); font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(28px, 5vw, 32px); font-weight: 900; }
h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.lede { font-size: 18px; font-weight: 500; }
.muted { color: var(--gray); }
.caption { font-size: 13px; font-weight: 500; color: var(--gray); }

.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 32px; }

main { padding: 48px 0 72px; }

/* ---- hero ---- */
.hero { background: var(--sunshine); border-bottom: var(--stroke) solid var(--navy); padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero .logo-img { width: min(100%, 440px); }
@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.1fr 1fr; }
  .hero .logo-img { justify-self: end; }
}
.hero + main { padding-top: 56px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-secondary { background: var(--pink); color: var(--navy); }
.btn-outline { background: var(--white); color: var(--navy); }
.btn:hover { text-decoration: none; filter: brightness(0.96); }

/* ---- store links: greyed out (Figma's Disabled button) until the app is live ---- */
.download-head { display: flex; align-items: center; gap: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.store {
  display: flex; flex-direction: column; justify-content: center; min-width: 200px; min-height: 64px;
  padding: 8px 28px; border: 2px solid var(--navy); border-radius: 999px;
  background: var(--pale); color: var(--gray); cursor: not-allowed; line-height: 1.15;
}
.store-kicker { font-size: 12px; font-weight: 500; }
.store-name { font-size: 20px; font-weight: 900; }
@media (max-width: 480px) { .stores li, .store { width: 100%; } }

/* ---- cards ---- */
.card {
  background: var(--white);
  border: var(--stroke) solid var(--navy);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard);
  padding: 24px;
}
.card-neutral { background: var(--neutral); box-shadow: none; }
.grid-3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--pink); color: var(--navy); font-weight: 900; border: var(--stroke) solid var(--navy);
}

/* ---- serving status chips (Bloatie/Status/* in Figma) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px;
  border-radius: 999px; border: var(--stroke) solid var(--navy);
  font-size: 14px; font-weight: 700;
}
.chip::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.chip-easy { background: var(--success-surface); color: var(--success-ink); }
.chip-easy::before { background: var(--success-marker); }
.chip-portion { background: var(--warning-surface); color: var(--warning-ink); }
.chip-portion::before { background: var(--warning-marker); }
.chip-watch { background: var(--danger-surface); color: var(--danger-ink); }
.chip-watch::before { background: var(--danger-marker); }

/* ---- notices ---- */
.notice {
  border: var(--stroke) solid var(--navy); border-radius: var(--radius-field);
  background: var(--neutral); padding: 16px 20px; font-size: 15px;
}
.notice-draft { background: var(--warning-surface); color: var(--navy); margin-bottom: 24px; }

/* ---- legal / long text ---- */
.doc h2 { font-size: 22px; margin-top: 40px; }
.doc p { margin-top: 12px; }
.doc .meta { margin-top: 8px; }

/* ---- FAQ ---- */
.faq { border-top: var(--stroke) solid var(--navy); }
.faq details { border-bottom: var(--stroke) solid var(--navy); padding: 18px 0; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 900; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 10px; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: var(--white); padding: 40px 0 48px; }
.site-footer a { color: var(--white); }
.site-footer .wrap { display: grid; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 0; list-style: none; font-weight: 700; }
.site-footer .small { font-size: 13px; color: var(--pale); }
