/* Values come from the tmy design system (design-tokens.json in tmy_workspace). */
:root {
  --base: #000000;
  --surface: #141414;
  --hover: #262626;
  --border: #333333;
  --text: #FFFFFF;
  --text-2: #B3B3B3;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --radius-lg: 12px;
  --tap: 48px;
}

* { box-sizing: border-box; }

html {
  font-size: 17px;
  background: var(--base);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-4);
  min-height: 100vh;
  min-height: 100dvh;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-6);
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--border);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 var(--space-2);
}

.bio {
  color: var(--text-2);
  margin: 0;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: calc(var(--tap) + 8px);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 120ms ease;
}

.link:hover,
.link:active { background: var(--hover); }

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

.link span {
  flex: 1;
  text-align: center;
  /* Balance the icon on the left so the label stays centred. */
  margin-right: calc(24px + var(--space-3));
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon .fill {
  fill: currentColor;
  stroke: none;
}

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
}
