/* Rodwenn — link-in-bio */

:root {
  --bg: #0f0e0d;
  --surface: #1a1918;
  --border: #2d2a28;
  --text: #e8e6e3;
  --text-muted: #9c9893;
  --accent: #d4a055;
  --accent-hover: #e4b86a;
  --radius: 12px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.page {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile */
.profile {
  text-align: center;
  margin-bottom: 2rem;
}

.avatar {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.profile h1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-align: center;
}

/* Links */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.link:hover {
  border-color: var(--accent);
  background: rgba(212, 160, 85, 0.08);
  color: var(--accent-hover);
}

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

.link-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link:hover .link-icon {
  color: var(--accent-hover);
}

.link-label {
  text-align: center;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-top: 2.5rem;
  text-align: center;
}

.footer a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}
