:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #171a1d;
  --text: #f2f0e8;
  --muted: #aeb4ad;
  --line: #343a3f;
  --accent: #d8b45f;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.page::before,
.page::after {
  content: "";
  position: fixed;
  inset: -30vmax;
  pointer-events: none;
}

.page::before {
  opacity: 0.22;
  background: url("/static/whirlpool.svg") center / min(96vmin, 900px) no-repeat;
  filter: blur(0.2px);
}

.page::after {
  opacity: 0.38;
  background:
    radial-gradient(circle at center, transparent 0 18%, rgba(16, 18, 20, 0.52) 46%, var(--bg) 72%),
    radial-gradient(ellipse at center, rgba(216, 180, 95, 0.08), transparent 56%);
}

.panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  border: 1px solid var(--line);
  background: rgba(23, 26, 29, 0.92);
  padding: clamp(24px, 5vw, 48px);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
  font-weight: 650;
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.label {
  font-size: 1.25rem;
  font-weight: 700;
}

.url {
  color: var(--muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .links {
    grid-template-columns: 1fr;
  }

  .masthead {
    align-items: flex-start;
    flex-direction: column;
  }
}
