:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #72727a;
  --soft-muted: #a0a0a8;
  --line: rgba(29, 29, 31, 0.07);
  --violet: #7c5ce7;
  --violet-deep: #6643d8;
  --blue: #5d82ef;
  --pink: #c064de;
  --radius: 20px;
  --shadow: 0 4px 18px rgba(39, 31, 73, 0.07);
}

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

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, 0.06), transparent 26rem),
    radial-gradient(circle at 88% 24%, rgba(90, 200, 250, 0.06), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "SF Pro Text", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.top-accent {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c5ce7 0%, #9d74ef 44%, #58c7d8 100%);
}

.site-shell {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 44px 24px 12px;
}

.hero {
  padding: 20px 24px 30px;
  text-align: center;
}

.portrait-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 14px;
}

.portrait-wrap::before {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(124, 92, 231, 0.24);
  border-radius: 50%;
  content: "";
}

.avatar {
  display: block;
  width: 104px;
  height: 104px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(61, 45, 112, 0.16);
  object-fit: cover;
}

.portrait-dot {
  position: absolute;
  right: 2px;
  bottom: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: #5bc68a;
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero h1 {
  font-family: "SF Pro Display", "Avenir Next", "PingFang SC", sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.hero h1 span {
  font-weight: 750;
}

.tagline {
  max-width: 620px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.identity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.identity-tags li {
  padding: 7px 15px;
  border: 1px solid rgba(124, 92, 231, 0.12);
  border-radius: 999px;
  background: linear-gradient(145deg, #f5f1ff, #eee9fc);
  box-shadow: 0 2px 7px rgba(85, 61, 157, 0.06);
  color: #6c52bd;
  font-size: 12px;
  font-weight: 600;
}

.profile-section {
  width: 100%;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-section > summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.profile-section > summary::-webkit-details-marker {
  display: none;
}

.profile-section > summary:focus-visible {
  outline: 3px solid rgba(124, 92, 231, 0.3);
  outline-offset: -3px;
}

.section-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.section-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #9a87f0, #7863db);
  box-shadow: 0 5px 12px rgba(124, 92, 231, 0.24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-kicker {
  margin-top: 2px;
  color: var(--soft-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.chevron {
  width: 9px;
  height: 9px;
  margin: 0 4px 4px 14px;
  border-right: 2px solid #a7a7ad;
  border-bottom: 2px solid #a7a7ad;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

details[open] .chevron {
  margin-bottom: -4px;
  transform: rotate(225deg);
}

.section-body {
  border-top: 1px solid var(--line);
}

.about-section .section-body {
  background: linear-gradient(145deg, rgba(251, 250, 255, 0.92), rgba(247, 246, 251, 0.96));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  padding: 20px 22px 22px;
}

.fact-list,
.info-card ul {
  list-style: none;
}

.fact-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.fact-list li,
.info-card li {
  position: relative;
  padding-left: 16px;
  color: #4f4f57;
  font-size: 13px;
}

.fact-list li::before,
.info-card li::before {
  position: absolute;
  top: 0.68em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  content: "";
}

.help-section .section-number {
  background: linear-gradient(145deg, #74a0f3, #5e7ee5);
  box-shadow: 0 5px 12px rgba(94, 126, 229, 0.24);
}

.help-section .section-body {
  background: linear-gradient(145deg, #f6f9ff, #f1f4fc);
}

.why-section .section-number {
  background: linear-gradient(145deg, #d57be7, #bd60d4);
  box-shadow: 0 5px 12px rgba(189, 96, 212, 0.24);
}

.why-section .section-body {
  background: linear-gradient(145deg, #fff8ff, #faf2fb);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}

.info-card {
  min-width: 0;
  min-height: 188px;
  padding: 17px 16px 18px;
  border: 1px solid rgba(30, 30, 35, 0.045);
  border-top: 3px solid #7994ec;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 15px rgba(36, 47, 83, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-section .info-card {
  border-top-color: #c879df;
}

.info-card:hover {
  box-shadow: 0 9px 24px rgba(45, 45, 66, 0.1);
  transform: translateY(-2px);
}

.info-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(30, 30, 35, 0.11);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}

.why-section .info-card h2 {
  color: #ae57c6;
}

.card-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card ul {
  display: grid;
  gap: 11px;
  margin-top: 13px;
}

.info-card li {
  font-size: 12.5px;
}

.help-section .info-card li::before {
  background: #7994ec;
}

.why-section .info-card li::before {
  background: #d084e2;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 20px 44px;
  color: #a0a0a8;
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b5b5bb;
}

.footer a {
  color: inherit;
  text-decoration: none;
  text-transform: lowercase;
}

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

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  animation: fade-in-up 0.52s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@media (max-width: 700px) {
  .site-shell {
    padding: 34px 16px 8px;
  }

  .hero {
    padding: 20px 8px 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .profile-section > summary {
    padding-inline: 14px;
  }

  .section-heading {
    gap: 9px;
  }

  .section-kicker {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-shell {
    padding-inline: 12px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .tagline {
    font-size: 13px;
  }

  .identity-tags {
    gap: 6px;
  }

  .identity-tags li {
    padding-inline: 11px;
    font-size: 11px;
  }

  .section-title {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
