@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500;1,9..144,600&family=Geist:wght@400;500;600&display=swap');

:root {
  --bg: #f5f5f3;
  --fg: #14140f;
  --muted: #6e7068;
  --line: #d8d6cf;
  --accent: #03BF8F;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f0c;
    --fg: #ededea;
    --muted: #8b8d85;
    --line: #2a2b27;
    --accent: #61C98C;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: 'ss01', 'cv02';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 32px 24px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.mark {
  width: 48px;
  height: 48px;
  color: var(--fg);
  margin-bottom: 18px;
}

.mark svg { width: 100%; height: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.title {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 9vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--fg);
}

.title em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 36ch;
}

.divider {
  width: 56px;
  height: 1px;
  background: var(--line);
  margin: 36px auto 28px;
}

.btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}

.btn:active { transform: translateY(1px); }

.btn__ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--solid {
  background: var(--fg);
  color: var(--bg);
}

.btn--solid:hover {
  background: var(--accent);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--fg);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

footer a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease-out;
}

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

footer .version {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
  body { padding: 24px 22px; }
  .eyebrow { margin-bottom: 40px; }
  .lede { font-size: 15px; }
  .btn { padding: 0 16px; }
  footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
