/* Annual Calendar — web
   Design tokens mirror mobile/design-system (colors.ts, typography.ts).
   Titles: Playfair Display. Body: SF Pro via the system stack. */

:root {
  --bg: #000000;
  --bg-elevated: #1c1c1e;
  --bg-muted: #2c2c2e;
  --label: #ffffff;
  --label-secondary: rgba(235, 235, 245, 0.6);
  --label-tertiary: rgba(235, 235, 245, 0.3);
  --separator: #38383a;
  --button-bg: #ffffff;
  --button-label: #000000;

  --title: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --max: 680px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  padding: 28px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--label);
  text-decoration: none;
}

.brand svg { display: block; height: 32px; width: auto; }

.brand span {
  font-family: var(--title);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

.site-header nav a {
  color: var(--label-secondary);
  text-decoration: none;
}

.site-header nav a:hover { color: var(--label); }

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 64px;
  text-align: center;
}

.hero .mark {
  height: 96px;
  width: auto;
  margin-bottom: 36px;
  color: var(--label);
}

h1 {
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
}

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--label-secondary);
  margin: 0 auto 36px;
  max-width: 32em;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--button-label);
  font-family: var(--title);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.cta:hover { opacity: 0.78; }

.cta-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--label-tertiary);
}

/* ---------- features ---------- */

.features {
  border-top: 1px solid var(--separator);
  padding: 56px 0 8px;
}

.feature {
  padding: 0 0 40px;
}

.feature h2 {
  font-family: var(--title);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  color: var(--label-secondary);
  font-size: 17px;
}

/* ---------- closing ---------- */

.closing {
  border-top: 1px solid var(--separator);
  padding: 64px 0;
  text-align: center;
}

.closing p {
  font-family: var(--title);
  font-size: 26px;
  line-height: 1.35;
  margin: 0 0 32px;
}

/* ---------- legal pages ---------- */

.legal { padding: 40px 0 24px; }

.legal h1 {
  font-size: clamp(32px, 5.5vw, 44px);
  text-align: left;
  margin-bottom: 12px;
}

.legal .updated {
  color: var(--label-tertiary);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  font-family: var(--title);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  margin: 44px 0 12px;
}

.legal h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  margin: 28px 0 8px;
}

.legal p, .legal li {
  color: var(--label-secondary);
  font-size: 16px;
}

.legal p { margin: 0 0 16px; }

.legal ul { margin: 0 0 16px; padding-left: 22px; }

.legal li { margin-bottom: 8px; }

.legal strong { color: var(--label); font-weight: 600; }

.legal a { color: var(--label); text-decoration: underline; text-underline-offset: 3px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}

.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--separator);
  color: var(--label-secondary);
}

.legal th { color: var(--label); font-weight: 600; }

.callout {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 0 0 28px;
}

.callout p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--separator);
  padding: 36px 0 56px;
  font-size: 14px;
  color: var(--label-tertiary);
}

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

.site-footer a { color: var(--label-secondary); text-decoration: none; }

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

.site-footer p { margin: 0 0 6px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 48px; }
  .hero .mark { height: 76px; margin-bottom: 28px; }
}
