:root {
  --bg: #1e1f20;
  --surface: #272829;
  --border: #333435;
  --border-mid: #444546;
  --text-1: #e2e2e0;
  --text-2: #a0a09e;
  --text-3: #9c9c9a;
  --text-4: #8e8e8c;
}

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

body,
html {
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text-1);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 24px 64px;
}

.card {
  width: 100%;
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 48px 40px;
  height: fit-content;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  min-height: 44px;
  margin-bottom: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-family: "DM Mono", monospace;
  font-size: 13px;
  text-decoration: none;
  transition:
    border-color 0.18s,
    color 0.18s;
}

.home-btn:hover {
  border-color: var(--border-mid);
  color: var(--text-1);
}

.home-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.profile-header {
  text-align: center;
  margin-bottom: 32px;
}

.avatar-wrap {
  margin-bottom: 20px;
}

.avatar {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border-mid);
  display: block;
  margin: 0 auto;
  background: var(--border);
}

.name {
  font-family: "DM Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.role {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 14px;
}

.homepage-nudge {
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
  line-height: 1.6;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.section {
  margin-bottom: 8px;
}

.lead-text {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.6;
  margin-bottom: 20px;
}

.body-text {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-2);
  margin-bottom: 16px;
}

.body-text:last-of-type {
  margin-bottom: 0;
}

.emphasis {
  color: var(--text-1);
  font-weight: 500;
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 4px 0 20px;
  padding-left: 26px;
}

.practice-item {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--text-2);
  padding-left: 6px;
}

.practice-item::marker {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--text-3);
}

.cta-section {
  text-align: center;
}

.body-text.cta-lead {
  margin-bottom: 32px;
}

.next-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 32px;
  min-height: 44px;
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s;
}

.next-cta:hover {
  border-color: var(--text-2);
  background: rgba(255, 255, 255, 0.09);
}

.next-cta .arrow {
  transition: transform 0.18s;
}

.next-cta:hover .arrow {
  transform: translateX(3px);
}

.next-cta:focus-visible,
.home-btn:focus-visible {
  outline: 2px solid var(--text-2);
  outline-offset: 3px;
  color: var(--text-1);
}

.scroll-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  z-index: 100;
  transition:
    border-color 0.18s,
    color 0.18s;
}

.scroll-btn:hover {
  border-color: var(--border-mid);
  color: var(--text-1);
}

.scroll-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.scroll-btn:focus-visible {
  outline: 2px solid var(--text-2);
  outline-offset: 3px;
  color: var(--text-1);
}

footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.02em;
  font-size: 13px;
  color: var(--text-4);
}

@media (max-width: 540px) {
  .page {
    padding: 24px 16px 48px;
  }
  .card {
    padding: 28px 20px 32px;
    border-radius: 16px;
  }
  .name {
    font-size: 20px;
  }
  .lead-text {
    font-size: 17px;
  }
  .body-text {
    font-size: 15px;
  }
}
