:root {
  --bg: #fafaf9;
  --text: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --accent: #1d4ed8;
  --button-bg: #f5f5f4;
  --button-hover: #e7e5e4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --text: #f5f5f4;
    --muted: #a8a29e;
    --line: #2e2c2a;
    --accent: #93b4ff;
    --button-bg: #23211f;
    --button-hover: #2e2c2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 7rem) 1rem 4rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.role { margin: 0.35rem 0 0; color: var(--muted); }

.about { margin: 2rem 0 2.5rem; }
.about p { margin: 0 0 1rem; }

h2 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts { list-style: none; margin: 0; padding: 0; }

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  border-bottom: 1px solid var(--line);
}

.contact-label { color: var(--muted); }

.reveal {
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--button-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  cursor: pointer;
}
.reveal:hover { background: var(--button-hover); }

.contact-value {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: right;
}
.contact-value:hover { text-decoration: underline; }

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

.note { color: var(--muted); }
