:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --text: #1c1b19;
  --muted: #6b675f;
  --line: #e3dfd5;
  --accent: #1c1b19;
  --accent-text: #f6f4ef;
  --dot: #3f8f5a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1b1b19;
    --text: #eeebe4;
    --muted: #a19c92;
    --line: #2d2c29;
    --accent: #eeebe4;
    --accent-text: #141413;
    --dot: #6cc48a;
  }
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.card {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot);
}

h1 {
  margin: 28px 0 0;
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

h1 span { color: var(--muted); }

.lead {
  margin: 24px auto 0;
  max-width: 42ch;
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: balance;
}

.rule {
  width: 48px;
  height: 1px;
  margin: 40px auto;
  border: 0;
  background: var(--line);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta:hover { opacity: 0.88; }
.cta:active { transform: translateY(1px); }

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

.cta svg { flex-shrink: 0; }

.note {
  margin: 16px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.note a {
  color: inherit;
  text-underline-offset: 3px;
}

footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

footer a {
  color: inherit;
  text-underline-offset: 3px;
}

footer a:hover { color: var(--text); }

.sep { margin: 0 8px; }

@media (max-height: 480px) {
  main { padding: 16px 20px; }
  h1 { margin-top: 16px; font-size: clamp(2rem, 9vw, 3.5rem); }
  .lead { margin-top: 16px; }
  .rule { margin: 20px auto; }
  .cta { padding: 10px 22px; }
  footer { padding: 8px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
