:root {
  color-scheme: light;
  --bg: #f6f2ea; --fg: #1b2230; --muted: #5b6372; --accent: #b4432a; --navy: #142033;
  --border: #e2dacb; --radius: 10px; --font: "Source Sans 3", system-ui, sans-serif; --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.65 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.25rem; }
h1, h2, h3, .logo { font-family: var(--serif); line-height: 1.15; }
.kick { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 .5rem; }

.top { background: var(--navy); position: sticky; top: 0; z-index: 5; }
.topbar { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding: .8rem 1.25rem; }
.logo { color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; }
.logo span { color: #f0a58f; font-weight: 500; margin-left: .3rem; font-style: italic; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; }
nav a { color: #d6dbe5; text-decoration: none; font-size: .95rem; }
nav a:hover { color: #fff; }

.hero { position: relative; color: #fff; min-height: 560px; display: flex; align-items: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,32,51,.35), rgba(20,32,51,.92)); }
.hero-in { position: relative; z-index: 1; padding-top: 6rem; padding-bottom: 4rem; }
.hero .kick { color: #f0a58f; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; margin: 0 0 1rem; }
.lede { max-width: 46rem; color: #e3e7ee; font-size: 1.1rem; }
.cta { display: inline-block; margin-top: 1rem; background: var(--accent); color: #fff; text-decoration: none; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600; }

.band { background: #ece4d5; border-bottom: 1px solid var(--border); }
.pillars { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pillar h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }

.intro { max-width: 52rem; margin: 4rem auto 1rem; font-family: var(--serif); font-size: 1.35rem; text-align: center; line-height: 1.5; }
.sec { display: grid; gap: 2rem; padding: 3.5rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.sec figure { margin: 0; }
.sec img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgba(20,32,51,.5); }
.sec h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 1rem; }
.sec p { margin: 0 0 1rem; }
@media (min-width: 860px) {
  .sec { grid-template-columns: 5fr 6fr; gap: 3.5rem; }
  .sec figure { position: sticky; top: 5rem; }
  .sec.flip figure { order: 2; }
}
.checks { list-style: none; padding: 1.2rem 1.4rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin: 0 0 1rem; }
.checks li { padding-left: 1.8rem; position: relative; margin: .35rem 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.check { display: grid; gap: 2rem; background: var(--navy); color: #fff; border-radius: 16px; padding: 2.5rem 1.5rem; margin: 4rem 0; }
.check h2 { margin: 0 0 .6rem; font-size: 2rem; }
.check .kick { color: #f0a58f; }
.check p { color: #cfd5df; }
.bar { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: #f0a58f; transition: width .3s; }
.check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.check label { display: flex; gap: .7rem; align-items: center; background: rgba(255,255,255,.07); padding: .7rem 1rem; border-radius: 8px; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: #f0a58f; }
@media (min-width: 860px) { .check { grid-template-columns: 1fr 1fr; padding: 3rem; } }

.txt { min-width: 0; }

/* Shared state primitives from src/ui.tsx */
.loading { display: flex; gap: .7rem; align-items: center; color: var(--muted); padding: 1.5rem 0; }
.spinner { width: 1.2rem; height: 1.2rem; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.empty-title { font-family: var(--serif); font-size: 1.2rem; color: var(--fg); margin: 0 0 .3rem; }
.hint { color: var(--muted); font-size: .9rem; }
.alert { padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); margin: 1rem 0; }
.alert-error { background: #fbe9e4; border-color: #e8b4a6; color: #7a2615; }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: .6rem 1.2rem; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

.foot { background: var(--navy); color: #b9c1cf; padding: 3rem 0; }
.foot p { max-width: 36rem; }
.small { font-size: .85rem; opacity: .7; }
