/* Styling for the retirement notice. A file rather than a <style> block so the page's
   Content-Security-Policy can keep style-src at 'self' without unsafe-inline.
   Typefaces match the app this notice replaces (see frontend/app/index.html). */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e5e1db;
  --text: #1d1b18;
  --muted: #5f5a52;
  --accent: #1d5c3f;
  --accent-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16150f;
    --surface: #201e18;
    --border: #35322a;
    --text: #f2efe9;
    --muted: #b0aaa0;
    --accent: #7bc79c;
    --accent-text: #10261b;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 30rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

h1 {
  margin: 0 0 1rem;
  font-family: "Hanken Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.lede {
  color: var(--text);
}

.cta {
  display: inline-block;
  margin: 1.25rem 0 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.08);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.fine-print {
  margin: 0;
  font-size: 0.875rem;
}

@media (max-width: 30rem) {
  .card {
    padding: 2rem 1.25rem;
  }

  h1 {
    font-size: 1.4rem;
  }
}
