/* Tiger Kids site styles
 * Brand: sunshine yellow #FFD60A on warm white #FAFAF5
 * Used on homepage, generating page, privacy, admin login, error pages.
 * Reports use report.css.
 */

:root {
  --brand-yellow: #FFD60A;
  --brand-yellow-hover: #ffce00;
  --warm-white: #FAFAF5;
  --warm-white-card: #FFFFFF;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #767676;
  --rule: #e8e8e0;
  --magic-gold: #E6A817;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

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

.container.narrow { max-width: 560px; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-top: 32px; margin-bottom: 12px; }
h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 8px; }

p { margin: 0 0 16px 0; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-muted); font-size: 0.95rem; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover { color: var(--magic-gold); }

code {
  font-family: 'SF Mono', Menlo, monospace;
  background: var(--warm-white-card);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  word-break: break-all;
  border: 1px solid var(--rule);
}

button, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 120ms ease, transform 80ms ease;
}

.btn-primary {
  background: var(--brand-yellow);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--brand-yellow-hover);
  color: var(--ink);
}

.btn-secondary {
  background: var(--warm-white-card);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-secondary:hover {
  background: var(--warm-white);
  color: var(--ink);
}

.centered-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.report-link-area {
  margin-top: 32px;
  padding: 20px;
  background: var(--warm-white-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.brand-hero {
  background: var(--brand-yellow);
  padding: 64px 0 80px;
  text-align: center;
}
.brand-hero h1 { font-size: 3rem; margin-bottom: 12px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.75rem; }
  .brand-hero h1 { font-size: 2.25rem; }
  .container { padding: 0 20px; }
}
