/* Frame the Crew coming-soon site. Palette B from brand/README.md.
   Coral is for fills and graphics only. Text uses navy, cream, coral-dark or yellow so every pair
   clears WCAG 2.1 AA (checked by site/check.py). No web fonts, no third-party requests. */
:root {
  --bg: #FFF8EC;
  --text: #1F2A44;
  --muted: #4A5675;
  --card: #FFE9C7;
  --link: #C9431F;
  --accent: #C9431F;
  --pill-bg: #FFC93C;
  --pill-text: #1F2A44;
  --btn-bg: #C9431F;
  --btn-text: #FFF8EC;
  --focus: #1F2A44;
  --rule: #E8D9BC;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F2A44;
    --text: #FFF8EC;
    --muted: #CBD1E3;
    --card: #2A3757;
    --link: #FFC93C;
    --accent: #FFC93C;
    --pill-bg: #FFC93C;
    --pill-text: #1F2A44;
    --btn-bg: #FFC93C;
    --btn-text: #1F2A44;
    --focus: #FFC93C;
    --rule: #3A4770;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { width: 100%; max-width: 60rem; margin: 0 auto; padding: 0 1rem; }
.serif, h1, h2, h3, .brand-name { font-family: Georgia, "Iowan Old Style", "Times New Roman", serif; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 0.5rem; top: -4rem; background: var(--btn-bg); color: var(--btn-text); padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 10; font-weight: 600; }
.skip:focus { top: 0.5rem; }

.site-header { padding: 1rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; }
.brand img { width: 3rem; height: 3rem; display: block; }
.brand-name { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.brand-name .crew { color: var(--accent); }

.hero { padding: 1.5rem 0 3rem; text-align: center; }
.hero-mark { width: min(15rem, 62vw); height: auto; display: block; margin: 0 auto 1.25rem; }
.pill { display: inline-block; background: var(--pill-bg); color: var(--pill-text); font-weight: 700; font-size: 1rem; padding: 0.35rem 0.9rem; border-radius: 999px; margin: 0 0 1rem; }
h1 { font-weight: 800; font-size: clamp(2.25rem, 8.5vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0 auto 1rem; max-width: 16ch; }
h1 .crew { color: var(--accent); }
.lede { font-size: clamp(1.125rem, 3.2vw, 1.375rem); max-width: 34rem; margin: 0 auto 0.75rem; }
.tagline { font-weight: 700; margin: 0 0 1.75rem; color: var(--accent); font-size: 1.25rem; }
.button { display: inline-block; background: var(--btn-bg); color: var(--btn-text); font-weight: 700; text-decoration: none; padding: 0.85rem 1.5rem; border-radius: 0.75rem; transition: transform 0.15s ease; }
.button:hover { transform: translateY(-2px); }

.points { padding: 0 0 3rem; }
.points ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card { background: var(--card); color: var(--text); border-radius: 1rem; padding: 1.5rem; }
.card h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 0.5rem; font-weight: 800; }
.card p { margin: 0; }

.contact { padding: 0 0 3rem; text-align: center; }
.contact h2 { font-size: 1.75rem; margin: 0 0 0.5rem; font-weight: 800; }
.contact p { margin: 0 auto; max-width: 32rem; }

.site-footer { border-top: 1px solid var(--rule); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer a { color: var(--link); }

.prose { padding: 1rem 0 3rem; max-width: 42rem; }
.prose h1 { max-width: none; text-align: left; font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 0.5rem; font-weight: 800; }
.prose p, .prose li { max-width: 42rem; }
.updated { color: var(--muted); margin: 0 0 1.5rem; }
.note { margin-top: 2.5rem; padding: 1rem 1.25rem; background: var(--card); border-radius: 0.75rem; font-size: 0.95rem; }
.todo { font-weight: 700; }

@media (min-width: 45rem) {
  .wrap { padding: 0 2rem; }
  .points ul { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 2.5rem 0 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
