:root {
  --ink: #EFEADF;
  --bg: #0E2A2C;
  --bg-soft: #163B3D;
  --gold: #C7A24A;
  --gold-dim: #8C763A;
  --line: #2E4B4D;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: radial-gradient(ellipse at 50% 30%, var(--bg-soft), var(--bg) 70%);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6vh 1.5rem;
}

main {
  text-align: center;
  max-width: 34rem;
}

.badge {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.badge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  opacity: 0.55;
}

.badge span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  transform: translateY(-1px);
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}

h1 .y {
  font-style: italic;
  color: var(--gold);
}

.subtitle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 0 0 3rem;
  letter-spacing: 0.01em;
}

.divider {
  width: 2.5rem;
  height: 1px;
  background: var(--line);
  margin: 0 auto 3rem;
}

.notice {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #B9C2BB;
  margin: 0 0 3.5rem;
}

footer a {
  color: #9BA79E;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
}

footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: rise 0.6s ease-out;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
