/* The welcome page. Same palette and type as the app (src/ui/styles.css), kept separate so the page loads none of the app. */
:root {
  --bg: #0c1016;
  --panel: #131922;
  --panel-2: #18202b;
  --line: #263140;
  --text: #dfe6ee;
  --dim: #8a97a8;
  --accent: #4fb3d9;
  --accent-2: #ffd24a;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
  --sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 22px; height: 56px; padding: 0 24px;
  background: rgba(19, 25, 34, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 650; letter-spacing: .04em; font-size: 14px; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.brand b { color: var(--accent); }
.brand:hover { text-decoration: none; }
.bar nav { display: flex; gap: 4px; margin-left: auto; }
.bar nav a { padding: 6px 11px; border-radius: 4px; color: var(--dim); font-size: 14px; }
.bar nav a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }

.btn { display: inline-block; padding: 11px 22px; border-radius: 6px; background: var(--accent); color: #06121a; font-weight: 650;
  border: 1px solid var(--accent); white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn.ghost { background: none; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.small { padding: 6px 14px; font-size: 14px; }

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
section { padding: 56px 0 8px; }
.hero { padding: 88px 0 40px; max-width: 820px; }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 14px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.12; margin: 0 0 22px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 26px; margin: 0 0 10px; font-weight: 650; }
h3 { font-size: 17px; margin: 18px 0 6px; font-weight: 620; }
p { margin: 8px 0; }
.lede { color: var(--dim); font-size: 18px; max-width: 760px; }
.hero .lede { color: #b9c4d1; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.fine { color: var(--dim); font-size: 13px; }

.shot { margin: 28px 0 0; }
.shot img { border: 1px solid var(--line); border-radius: 8px; }
.shot figcaption { color: var(--dim); font-size: 14px; margin-top: 10px; }

.grid { display: grid; gap: 18px; margin-top: 22px; }
.grid.two { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.card h3 { margin-top: 6px; }
.card p { color: #b9c4d1; font-size: 15px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.note { border-left: 3px solid var(--accent-2); }

.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.stats b { display: block; font-family: var(--mono); font-size: 34px; color: var(--accent); line-height: 1.1; }
.stats span { color: var(--dim); font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.gallery figure { margin: 0; background: #fff; border-radius: 8px; overflow: hidden; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { background: var(--panel); color: var(--dim); font-size: 13px; padding: 8px 12px; border-top: 1px solid var(--line); }

.end { text-align: center; padding: 80px 0 64px; }
.end .lede { margin: 0 auto; }
.end .cta { justify-content: center; }

.support { padding: 0 0 56px; }
.support .card { display: flex; align-items: center; gap: 28px; border-left: 3px solid var(--accent-2); }
.support h3 { margin-top: 0; }
.support p { margin-bottom: 0; }
.btn.kofi { flex: none; background: var(--accent-2); border-color: var(--accent-2); color: #1a1405; }

footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 1080px; margin: 0 auto; padding: 22px 24px 40px;
  border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

@media (max-width: 860px) {
  .bar nav { display: none; }
  .bar .btn.small { margin-left: auto; }
  .grid.two, .grid.three { grid-template-columns: 1fr; gap: 18px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .support .card { flex-direction: column; align-items: stretch; gap: 16px; }
  .btn.kofi { text-align: center; white-space: normal; }
  .hero { padding-top: 56px; }
}
@media (max-width: 480px) {
  .bar { padding: 0 16px; gap: 10px; }
  .brand { font-size: 12px; }
  .brand span { display: none; }
  main, footer { padding-left: 16px; padding-right: 16px; }
  .btn { width: 100%; text-align: center; }
  .bar .btn.small { width: auto; }
}
