:root {
  --ink: #202026;
  --muted: #77747d;
  --paper: #f8f6f1;
  --line: rgba(32, 32, 38, 0.14);
  --pink: #ef4c86;
  --blue: #48a8da;
  --yellow: #f6c94b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(239, 76, 134, 0.055), transparent 20rem),
    radial-gradient(circle at 92% 80%, rgba(72, 168, 218, 0.07), transparent 22rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(239, 76, 134, 0.2);
}

.site-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(32, 32, 38, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 38, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, black 24%, black 72%, transparent);
}

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border: 3px solid var(--ink);
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--yellow);
}

.site-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.site-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #41b884;
  box-shadow: 0 0 0 4px rgba(65, 184, 132, 0.12);
}

.hero {
  width: min(820px, calc(100% - 48px));
  margin: auto;
  padding: clamp(72px, 12vh, 140px) 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  width: fit-content;
  margin: 0 auto 28px;
  padding: 8px 12px 7px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 13vw, 152px);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.86;
}

.hero h1 span {
  display: inline-block;
  color: var(--pink);
  position: relative;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  left: 10%;
  right: -3%;
  bottom: -13px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(-2deg);
}

.intro {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.08em;
}

.tiny-note {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 36px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.tiny-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

.hero-orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.hero-orbit-left {
  width: 110px;
  height: 110px;
  left: -74px;
  top: 20%;
}

.hero-orbit-left::after {
  top: 8px;
  right: 11px;
  background: var(--blue);
}

.hero-orbit-right {
  width: 170px;
  height: 170px;
  right: -128px;
  bottom: 13%;
}

.hero-orbit-right::after {
  left: 15px;
  bottom: 24px;
  background: var(--yellow);
  border: 2px solid var(--ink);
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero {
    width: calc(100% - 32px);
  }

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

  .site-status {
    font-size: 0;
  }

  .site-status::after {
    content: "ONLINE";
    font-size: 10px;
  }

  .hero {
    padding-block: 72px;
  }

  .hero h1 {
    font-size: clamp(68px, 23vw, 104px);
    line-height: 0.92;
  }

  .hero h1 span {
    display: block;
  }

  .hero-orbit-left {
    left: -88px;
  }

  .hero-orbit-right {
    right: -142px;
  }

  .site-footer {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

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