/* fossie public site. Tokens mirror DESIGN.md; the brand file is master. */
:root {
  --primary: #1F2A55;
  --primary-raised: #2A3769;
  --secondary: #F4E7CE;
  --secondary-raised: #FBF4E4;
  --accent: #E7A92B;
  --on-primary: #F4E7CE;
  --on-primary-muted: #C9C7CF;
  --on-secondary: #1F2A55;
  --on-secondary-muted: #4A5275;
  --line-dark: #3E4C85;
  --line-light: #D9C9A8;
  --score-good-light: #3B6B2C;
  --score-maybe-light: #8A5A00;
  --score-no-light: #B23A1C;
  --r-sm: 5px;
  --r-md: 12px;
  --r-lg: 24px;
  --gutter: clamp(16px, 5vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--secondary);
  color: var(--on-secondary);
  font: 400 16px/24px Gabarito, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: Caprasimo, Georgia, serif; font-weight: 400; margin: 0; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 960px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 640px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--primary); padding: 8px 12px; border-radius: var(--r-md); z-index: 10; }

/* Ground: indigo */
.dark { background: var(--primary); color: var(--on-primary); }
.dark .muted { color: var(--on-primary-muted); }

/* Hero */
.hero { position: relative; overflow: hidden; border-radius: 0 0 var(--r-lg) var(--r-lg); padding-top: 88px; padding-bottom: 56px; }
.hero-logo { text-align: center; }
.hero .logo { width: 320px; max-width: 70%; height: auto; display: inline-block; }
.hero-copy { text-align: center; padding-top: 8px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; line-height: 18px; margin-bottom: 16px; }
.display { font-size: clamp(36px, 8vw, 56px); line-height: 1.08; letter-spacing: -1px; margin-bottom: 24px; }
.lead { font-size: 18px; line-height: 28px; margin: 0 auto 16px; max-width: 600px; }

/* Cream sections */
.section { padding-top: 72px; }
.h1 { font-size: clamp(28px, 6vw, 36px); line-height: 1.2; margin-bottom: 12px; }
.intro { color: var(--on-secondary-muted); max-width: 600px; margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--secondary-raised); border: 1px solid var(--line-light); border-radius: var(--r-md); padding: 24px 16px 24px; }
.step-n { font-family: Caprasimo, Georgia, serif; font-size: 36px; line-height: 42px; display: block; margin-bottom: 8px; }
.step h3 { font-size: 24px; line-height: 30px; margin-bottom: 8px; }
.step p { color: var(--on-secondary-muted); }

.verdicts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.verdict { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; line-height: 18px; padding: 8px 16px 8px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--c); background: color-mix(in srgb, var(--c) 12%, var(--secondary-raised)); color: var(--c); white-space: nowrap; min-width: 140px; }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.pill.good { --c: var(--score-good-light); }
.pill.maybe { --c: var(--score-maybe-light); }
.pill.no { --c: var(--score-no-light); }
.verdict span.why { color: var(--on-secondary-muted); flex: 1 1 220px; }

.stall { text-align: center; }
.stall img { margin: 0 auto 24px; width: 100%; max-width: 420px; }
.stall p { margin: 0 auto 16px; max-width: 560px; color: var(--on-secondary-muted); }
.stall .h1 { margin-bottom: 16px; }

/* Coming soon panel */
.panel { background: var(--primary); color: var(--on-primary); border-radius: var(--r-lg); padding: 40px var(--gutter); text-align: center; }
.panel .h1 { margin-bottom: 16px; }
.panel p { max-width: 540px; margin: 0 auto 16px; color: var(--on-primary-muted); }
.panel .signin { margin: 24px auto 0; font-size: 14px; line-height: 18px; }
.panel .signin a { color: var(--on-primary); font-weight: 700; text-underline-offset: 4px; }

.foot { margin-top: 72px; border-top: 1px solid var(--line-light); padding-top: 24px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; line-height: 18px; color: var(--on-secondary-muted); }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .section { padding-top: 56px; }
  .hero { padding-bottom: 40px; }
}

/* 404 */
.nf { min-height: 100vh; min-height: 100dvh; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 112px var(--gutter) 56px; }
.awning { position: absolute; top: 0; right: 0; display: flex; }
.awning img { width: 88px; height: 44px; }
.nf .bird { width: 240px; max-width: 70vw; margin-bottom: 24px; }
.nf .bird.sway { transform-origin: 50% 90%; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.nf h1 { font-size: clamp(32px, 8vw, 48px); line-height: 1.12; margin-bottom: 16px; }
.nf p { max-width: 460px; margin: 0 auto 32px; color: var(--on-primary-muted); }
.btn { display: inline-block; background: var(--accent); color: var(--primary); font-weight: 700; font-size: 14px; line-height: 18px; text-decoration: none; padding: 12px 24px; border-radius: var(--r-md); }
.btn:hover { background: var(--secondary); }
@media (prefers-reduced-motion: reduce) { .nf .bird.sway { animation: none; } }

/* Waitlist form (inside the indigo panel) */
.waitlist { max-width: 460px; margin: 32px auto 0; text-align: left; }
.waitlist h3 { font-size: 24px; line-height: 30px; margin-bottom: 16px; text-align: center; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; line-height: 18px; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; color: var(--on-secondary); background: var(--secondary-raised); border: 1.5px solid var(--line-light); border-radius: var(--r-sm); padding: 10px 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check label { font-size: 14px; line-height: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; min-height: 0; }
.waitlist .btn { display: block; width: 100%; border: 0; cursor: pointer; font-family: inherit; text-align: center; }
.panel .waitlist .privacy { margin: 16px 0 0; max-width: none; font-size: 13px; line-height: 19px; }
.panel .privacy a { color: var(--on-primary); }
