/* Groggy site: tokens from design/DESIGN.md */
:root {
  --primary: #F2934E;
  --primary-light: #F5C081;
  --primary-lighter: #FFD9A8;
  --sun-glow: #F9C98A;
  --sun-core: #FFEBC9;
  --cta-top: #FFAD52;
  --cta-bottom: #EF8B26;
  --bg: #FBF3E8;
  --page: #F3EDE3;
  --text: #4A3323;
  --text-2: #A0784A;
  --text-3: #B08C5C;
  --sky-top: #BFD6E6;
  --sky-mid: #F6CF9A;
  --sky-bottom: #F2A35E;
  --card: #FFFFFF;
  --card-shadow: 0 4px 16px rgba(180, 120, 40, 0.10);
  --cta-shadow: 0 6px 18px rgba(239, 139, 38, 0.35);
  --radius-card: 20px;
  --radius-pill: 29px;
  --max: 720px;
  --max-wide: 880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(251, 243, 232, 0.88);
  border-bottom: 1px solid rgba(160, 120, 60, 0.14);
}

.site-header .inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(160, 120, 60, 0.14);
  background: rgba(243, 237, 227, 0.65);
}

.site-footer .inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-2);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--text-2);
}

.site-footer a:hover {
  color: var(--primary);
}

/* Landing */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 48%, var(--sky-bottom) 100%);
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 48px 20px 56px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 18%, rgba(255, 235, 201, 0.55), transparent 60%),
    linear-gradient(180deg, transparent 42%, rgba(251, 243, 232, 0.55) 72%, var(--bg) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.mascot {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 24px rgba(180, 100, 40, 0.22));
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero .pitch {
  font-size: 17px;
  color: var(--text);
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.45;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--cta-shadow);
  border: none;
  text-decoration: none;
  cursor: default;
}

.cta:hover {
  text-decoration: none;
  color: #fff;
}

.cta.is-placeholder {
  opacity: 0.92;
}

.cta-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-2);
}

.legal-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
}

.legal-links a {
  color: var(--text-2);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 56px;
}

.one-liner {
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto;
}

/* Legal pages */
.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 72px;
}

.legal-page .eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}

.legal-page h1 {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal-card {
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 28px 24px;
}

.legal-card h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 18px 0 8px;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 8px 0 0 1.15em;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-card li::marker {
  color: var(--primary);
}

.toc {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(242, 147, 78, 0.08);
  border: 1px solid rgba(242, 147, 78, 0.16);
}

.toc strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}

.toc ol {
  margin-left: 1.2em;
  font-size: 14px;
}

.toc a {
  color: var(--text);
  font-weight: 600;
}

.note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sun-core);
  border: 1px solid var(--primary-light);
  color: var(--text);
  font-size: 14px;
}

.tba {
  background: rgba(91, 107, 104, 0.12);
  color: #3f4f4c;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .mascot {
    width: 196px;
    height: 196px;
  }

  .legal-card {
    padding: 36px 40px;
  }

  .hero {
    padding-top: 64px;
  }
}
