/* Burnout Helper site styles. Same palette and type as the Comeback app. */
:root {
  --bg: #140F24; --card: #1E1733; --soft: #2B2148; --line: #33284F;
  --ink: #F7F2FF; --muted: #B9AED6; --ink-dark: #1A1230;
  --violet: #A08CFF; --sunset: #FF9B6E; --mint: #A6EBCB; --butter: #FFE6B8; --lilac: #CBB8FF; --peach: #FFC09C; --care: #FF9A8A;
  --display: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--lilac); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
img { max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; letter-spacing: -0.04em; line-height: 1; }
h1 { font-size: clamp(48px, 7vw, 88px); line-height: 0.93; letter-spacing: -0.05em; }
h2 { font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.accent { color: var(--sunset); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Header + footer */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.04em; }
.brand span { color: var(--sunset); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-footer { border-top: 1.5px solid var(--line); padding: 40px 0; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.site-footer .links a { color: var(--muted); }
.crisis { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 20px; font-size: 15px; margin-bottom: 24px; }
.crisis strong:first-child { color: var(--care); }

/* Buttons + pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-sunset { background: var(--sunset); color: var(--ink-dark); }
.btn-sunset:hover { color: var(--ink-dark); filter: brightness(1.05); }
.btn-ghost { border: 1.5px solid var(--violet); color: var(--ink); background: transparent; }
.btn-dark { background: var(--ink-dark); color: var(--ink); }
.btn-dark:hover { color: var(--ink); }
.sticker { display: inline-block; align-self: flex-start; font-family: var(--display); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; color: var(--ink-dark); transform: rotate(-2deg); }
.bg-butter { background: var(--butter); } .bg-mint { background: var(--mint); } .bg-lilac { background: var(--lilac); } .bg-violet { background: var(--violet); } .bg-sunset { background: var(--sunset); } .bg-peach { background: var(--peach); }

/* Cards */
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.block { border-radius: 28px; padding: 30px; color: var(--ink-dark); display: flex; flex-direction: column; gap: 10px; }
.block a { color: var(--ink-dark); }
.step-num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.article-card { text-decoration: none; color: var(--ink); }
.article-card:hover { border-color: var(--violet); color: var(--ink); }
.article-card .meta { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Band */
.band { background: var(--violet); color: var(--ink-dark); }
.band .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }

/* App promo */
.promo { background: var(--card); border: 1.5px solid var(--line); border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.promo > * { flex: 1 1 340px; min-width: 0; }
.phone { width: 280px; max-width: 100%; margin: 0 auto; aspect-ratio: 9 / 18; border-radius: 44px; background: var(--bg); border: 1.5px solid var(--line); box-shadow: 0 0 80px rgba(160,140,255,0.28); padding: 34px 20px; display: flex; flex-direction: column; gap: 10px; }
.lvl { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 10px 12px; font-weight: 700; font-size: 15px; }
.lvl i { width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li::before { content: "✓  "; color: var(--mint); font-weight: 800; }

/* Article page */
.article { padding: 56px 0 88px; }
.article h1 { font-size: clamp(40px, 6vw, 64px); }
.article .lede { font-size: 21px; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 34px; margin-top: 18px; }
.prose h3 { font-size: 24px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose blockquote { margin: 0; border-radius: 22px; background: var(--card); border: 1.5px solid var(--line); padding: 20px 24px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.35; }
.note { font-size: 14px; color: var(--muted); border-top: 1.5px solid var(--line); padding-top: 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--lilac); color: var(--ink-dark); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; }

/* Forms */
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; min-height: 50px; padding: 0 14px; width: 100%; }
textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.hidden { position: absolute; left: -9999px; }
.inline-form { flex-direction: row; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .site-nav { gap: 14px; }
  .site-nav .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Articles from the database */
.article-card .cover { width: calc(100% + 2px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin-bottom: 4px; }
.article-cover { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.prose img { max-width: 100%; border-radius: 20px; }
.prose figure { margin: 0; }
.prose hr { border: 0; border-top: 1.5px solid var(--line); margin: 8px 0; }
.prose a { font-weight: 600; }
