:root {
  color-scheme: light;
  --cream: #fff5f5;
  --blush: #f7d6d0;
  --rose: #e2b4bd;
  --rose-ink: #9b5967;
  --charcoal: #4a4a4a;
  --paper: #fffafa;
  --line: rgba(74, 74, 74, 0.16);
  --muted: rgba(74, 74, 74, 0.7);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 84% 4%, rgba(226, 180, 189, 0.42), transparent 26rem),
    linear-gradient(135deg, var(--paper), var(--cream));
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 48px, 1240px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 94px;
  border-bottom: 1px solid var(--line);
}

.brand,
.github-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.github-link {
  gap: 8px;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.github-link svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.github-link:hover svg,
.github-link:focus-visible svg {
  transform: translate(2px, -2px);
}

main {
  flex: 1;
}

.hero {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(72px, 10vw, 132px) 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.4rem, 7.7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

h1 span {
  color: var(--rose-ink);
}

.intro {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.signal {
  position: relative;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  justify-self: end;
}

.signal::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: rgba(247, 214, 208, 0.44);
  filter: blur(2px);
}

.signal-orbit,
.signal-core,
.orbit-label {
  position: absolute;
}

.signal-orbit {
  inset: 0;
  border: 1px solid rgba(74, 74, 74, 0.24);
  border-radius: 50%;
}

.signal-orbit--outer::after,
.signal-orbit--inner::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 4px solid var(--cream);
  border-radius: 50%;
  background: var(--charcoal);
}

.signal-orbit--outer {
  animation: spin 28s linear infinite;
}

.signal-orbit--outer::after {
  top: 10%;
  right: 19%;
}

.signal-orbit--inner {
  inset: 19%;
  border-color: rgba(74, 74, 74, 0.15);
  animation: spin 20s linear infinite reverse;
}

.signal-orbit--inner::after {
  right: -7px;
  bottom: 27%;
  background: var(--rose);
}

.signal-core {
  inset: 34%;
  display: grid;
  place-content: center;
  gap: 8px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: center;
}

.signal-dot {
  width: 7px;
  height: 7px;
  margin: auto;
  border-radius: 50%;
  background: var(--blush);
  box-shadow: 0 0 0 7px rgba(247, 214, 208, 0.12);
}

.orbit-label {
  padding: 6px 10px;
  border: 1px solid rgba(74, 74, 74, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 250, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.orbit-label--build {
  top: 8%;
  left: 2%;
}

.orbit-label--learn {
  top: 49%;
  right: -7%;
}

.orbit-label--refine {
  bottom: 7%;
  left: 16%;
}

.interests {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(40px, 8vw, 120px);
  padding: 58px 0 76px;
  border-top: 1px solid var(--line);
}

.interests h2 {
  font-family: "Manrope", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.interest-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.interest-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}

.number {
  color: var(--rose-ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.8;
}

.interest-list h3 {
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.interest-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  margin-bottom: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 70px;
  }

  .signal {
    width: min(78vw, 390px);
    justify-self: center;
  }

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

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 32px, 1240px);
  }

  .site-header {
    min-height: 76px;
  }

  .hero {
    padding: 76px 0 88px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .interest-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 20px 0;
  }
}

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

  .signal-orbit {
    animation: none;
  }

  .github-link svg {
    transition: none;
  }
}
