@import "./tokens.css";
@import "./reset.css";

html {
  background: var(--bg-canvas);
  color-scheme: dark;
}

body {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 5vw, 3rem);
  background: var(--bg-gradient);
  color: var(--text-primary);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.release-note {
  width: min(100%, 42rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface-solid), transparent 8%);
  box-shadow: var(--shadow-lg);
}

.release-note__eyebrow {
  margin-bottom: var(--space-3);
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-note h1 {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}

.release-note__summary {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.release-note ul {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-soft);
}

.release-note li {
  position: relative;
  padding-left: var(--space-5);
  color: var(--text-secondary);
  line-height: 1.65;
}

.release-note li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-soft);
}

.release-note--redirect {
  text-align: center;
}

.release-note--redirect p {
  margin-top: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.6;
}

.release-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent), transparent 45%);
  text-underline-offset: 0.2em;
}

.release-note a:hover {
  color: color-mix(in srgb, var(--accent), white 18%);
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
