:root {
  color-scheme: light dark;

  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1b1a18;
  --muted: #6b6862;
  --rule: #e4e0d8;
  --accent: #9a4b1f;
  --accent-soft: #f3ebe4;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14130f;
    --surface: #1c1a16;
    --text: #eceae5;
    --muted: #9b968c;
    --rule: #2e2b25;
    --accent: #e0925f;
    --accent-soft: #2a211a;
  }
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 34rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 12px 32px -20px rgb(0 0 0 / 30%);
}

.callsign {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: clamp(2.5rem, 11vw, 3.75rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.05;
  color: var(--accent);
}

.identity {
  margin: 0.85rem 0 0;
  font-size: 1.0625rem;
  font-weight: 500;
}

.location {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.blurb {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

hr {
  height: 1px;
  margin: 1.75rem 0;
  border: 0;
  background: var(--rule);
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.links a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  margin: 0 -0.75rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.links a:hover,
.links a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

.links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.links .label {
  font-weight: 500;
}

.links .desc {
  color: var(--muted);
  font-size: 0.875rem;
}

.links a:hover .desc,
.links a:focus-visible .desc {
  color: inherit;
  opacity: 0.75;
}

footer {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

@media (max-width: 30rem) {
  .card {
    padding: 2rem 1.5rem;
  }

  .links .desc {
    display: none;
  }
}
