:root {
  color-scheme: dark;
  --paper: #111512;
  --card: #1c221e;
  --ink: #edf1ed;
  --muted: #a2aca4;
  --line: #333d36;
  --accent: #a7b9aa;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.card {
  width: min(100%, 440px);
  padding: 42px 38px 26px;
  background: var(--card);
  border: 1px solid rgba(32, 36, 33, .045);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(38, 44, 39, .055);
}

.intro { text-align: center; }

.monogram {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: #617665;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.06em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 36px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.15;
}

.note {
  margin: 10px 0 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.links { display: grid; gap: 8px; }

.link {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 13px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.link:hover {
  border-color: #58675b;
  background: #252d27;
  transform: translateY(-1px);
}

.link:focus-visible { outline: 3px solid #aab9ac; outline-offset: 3px; }

.link-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--accent);
  background: #29332c;
}

.link-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.link-icon svg .fill { fill: currentColor; stroke: none; }
.wordmark { font-family: Arial, sans-serif; font-size: 22px; font-weight: 700; }
.x-mark { font-size: 18px; }
.art-mark { font-size: 20px; }

.link-copy { min-width: 0; display: grid; gap: 2px; }
.link-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.link-detail { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.arrow { margin-left: auto; color: #a1a8a2; font-size: 16px; }

footer {
  padding-top: 22px;
  color: #89948c;
  text-align: center;
  font-size: 11px;
}

@media (max-width: 480px) {
  .page { padding: 24px 14px; }
  .card { padding: 34px 22px 22px; border-radius: 15px; }
  .note { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
