:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #1d1d1f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
}

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px 128px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.headshot {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.role {
  margin: 10px 0 0;
  font-size: 1.08rem;
  font-weight: 550;
  color: #6e6e73;
}

.tagline {
  margin: 6px 0 0;
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.5;
}

hr {
  border: none;
  border-top: 1px solid #eaeaea;
  margin: 44px 0;
}

h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

section p {
  margin: 10px 0 0;
  color: #6e6e73;
  line-height: 1.65;
  font-size: 1rem;
}

section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #6e6e73;
  line-height: 1.7;
}

section li {
  margin-bottom: 6px;
}

a {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #d2d2d7;
}

a:hover { text-decoration-color: #1d1d1f; }

a.strong { font-weight: 600; }

.italic { font-style: italic; }

.contact {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #6e6e73;
}

@media (max-width: 520px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.88rem;
  font-weight: 550;
  color: #6e6e73;
  text-decoration: none;
}
.back-link:hover { color: #1d1d1f; }

.tools-header h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
}

.tools-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tools-list + .tools-list {
  margin-top: 0;
}

.tools-divider {
  border-top: 1px solid #ececec;
  margin: 56px 0;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 24px;
  border: 1px solid #ececec;
  border-radius: 16px;
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tool-card:hover {
  border-color: #d2d2d7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.tool-name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

.tool-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6e6e73;
}

.redirect-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.redirect-card p {
  color: #6e6e73;
  margin: 8px 0 0;
}

.redirect-card a {
  font-weight: 600;
}
