:root {
  color-scheme: light;
  --ink: #17171b;
  --muted: #5d616d;
  --line: #dddfe5;
  --paper: #fbfaf7;
  --mint: #79dac7;
  --coral: #ff6b5c;
  --yellow: #ffd45a;
  --blue: #3959ff;
  --plum: #51345f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 23, 27, 0.12);
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.ticker,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav {
  gap: 20px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100svh - 68px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) 40px;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 46px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.button.primary {
  background: var(--coral);
  color: white;
}

.button.ghost {
  background: white;
}

.toy-stage {
  display: grid;
  place-items: center;
  min-height: 560px;
  position: relative;
}

.toy-stage::before {
  content: "";
  position: absolute;
  width: min(78vw, 560px);
  aspect-ratio: 1;
  border: 2px solid rgba(23, 23, 27, 0.14);
  border-radius: 50%;
  background:
    linear-gradient(90deg, rgba(23, 23, 27, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(23, 23, 27, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.stage-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(92vw, 430px);
  aspect-ratio: 0.78;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 18%, var(--yellow) 0 9%, transparent 10%),
    linear-gradient(145deg, #ffffff 0 42%, #e9f8f4 42% 68%, #ffe5dd 68%);
  box-shadow: 16px 16px 0 var(--ink);
}

.collectible {
  position: relative;
  width: 220px;
  height: 330px;
  animation: floaty 4.8s ease-in-out infinite;
}

.collectible span {
  position: absolute;
  display: block;
  border: 3px solid var(--ink);
  background: #fff;
}

.ear {
  top: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.ear.left {
  left: 20px;
  background: var(--mint);
}

.ear.right {
  right: 20px;
  background: var(--coral);
}

.head {
  top: 36px;
  left: 30px;
  width: 160px;
  height: 126px;
  border-radius: 46px;
  background: #fff;
}

.head i,
.head b {
  position: absolute;
  top: 48px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
}

.head i {
  left: 48px;
}

.head b {
  right: 48px;
}

.torso {
  top: 158px;
  left: 48px;
  display: grid !important;
  place-items: center;
  width: 124px;
  height: 112px;
  border-radius: 30px 30px 22px 22px;
  background: var(--plum) !important;
  color: white;
}

.torso strong {
  font-size: 24px;
  letter-spacing: 0;
}

.arm {
  top: 174px;
  width: 48px;
  height: 118px;
  border-radius: 24px;
  background: var(--yellow) !important;
}

.arm.left {
  left: 0;
  transform: rotate(8deg);
}

.arm.right {
  right: 0;
  transform: rotate(-8deg);
}

.leg {
  bottom: 0;
  width: 62px;
  height: 82px;
  border-radius: 18px 18px 26px 26px;
  background: var(--blue) !important;
}

.leg.left {
  left: 48px;
}

.leg.right {
  right: 48px;
}

.stage-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  min-width: 168px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 5px 5px 0 var(--ink);
}

.stage-label span,
.stage-label strong {
  display: block;
}

.stage-label span {
  color: var(--muted);
  font-size: 12px;
}

.stage-label strong {
  font-size: 16px;
}

.ticker {
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(20px, 5vw, 72px) 56px;
}

.ticker span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
}

.story-copy {
  color: var(--muted);
  font-size: 18px;
}

.story-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  min-height: 260px;
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: white;
  box-shadow: 6px 6px 0 rgba(23, 23, 27, 0.16);
}

.feature:nth-child(2) {
  background: #fff2bf;
}

.feature:nth-child(3) {
  background: #dff7f1;
}

.feature:nth-child(4) {
  background: #ffe1da;
}

.feature-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.feature p,
.culture-content p,
.sources p,
.timeline span {
  color: var(--muted);
}

.culture-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  background: var(--ink);
  color: white;
}

.culture-content {
  max-width: 760px;
}

.culture-content .eyebrow {
  color: var(--mint);
}

.culture-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.culture-stats {
  display: grid;
  gap: 12px;
}

.culture-stats div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.culture-stats strong,
.culture-stats span {
  display: block;
}

.culture-stats strong {
  color: var(--yellow);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.culture-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  display: grid;
  gap: 12px;
  max-width: 940px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline time {
  font-weight: 900;
}

.sources {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  background: #fff;
}

.sources ul {
  margin: 0;
  padding-left: 20px;
}

.sources li + li {
  margin-top: 10px;
}

.sources a {
  color: var(--blue);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .culture-band,
  .sources {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .toy-stage {
    min-height: 500px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 64px);
  }

  .toy-stage {
    min-height: 420px;
  }

  .stage-card {
    width: min(86vw, 330px);
    box-shadow: 10px 10px 0 var(--ink);
  }

  .collectible {
    transform: scale(0.82);
  }

  .stage-label {
    right: 12px;
    bottom: 12px;
    min-width: 140px;
  }

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

  .feature {
    min-height: 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
