/* Jumbo Bricks — landing page.
   Toybox maximalist: full-bleed colour bins, chunky ink outlines, hard
   sticker shadows, fat stud-circles as the repeating motif, and a live
   3D brick as the hero. Loud but disciplined — the brick is the star. */

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- reusable toys ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 800; font-size: 17px;
  padding: 15px 26px;
  border: 3px solid var(--ink); border-radius: var(--pill);
  text-decoration: none; white-space: nowrap;
  box-shadow: var(--pop-lg);
  transition: transform 80ms ease, box-shadow 80ms ease, background 130ms ease;
}
.btn:active { transform: translate(7px, 7px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: #ff6198; }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--yellow); }
.btn .arrow { transition: transform 130ms ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { font-size: 20px; padding: 18px 34px; }

.eyebrow-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  background: var(--card); border: 2.5px solid var(--ink);
  border-radius: var(--pill); padding: 7px 15px;
  box-shadow: var(--pop-sm);
}
.eyebrow-tag .beat { width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); }

.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 16px;
}
.section-kicker::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--pink); border: 2.5px solid currentColor;
}

/* ---------- top bar ---------- */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 0;
  background: rgba(255, 246, 236, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; width: min(1180px, 92vw); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-marks { display: inline-flex; gap: 5px; }
.brand-marks i {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--pink); border: 2.5px solid var(--ink); display: block;
}
.brand-marks i:nth-child(2) { background: var(--blue); }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 20px;
  letter-spacing: -0.01em; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 4px 2px; border-bottom: 3px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
.nav-links a:hover { border-color: var(--yellow); }
.nav .btn { font-size: 14.5px; padding: 10px 18px; box-shadow: var(--pop-sm); }
.nav .btn:active { transform: translate(3px, 3px); }
.nav-cta-mobile { display: none; }

/* ---------- hero ---------- */

.hero { position: relative; padding: 48px 0 34px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 0.94; letter-spacing: -0.03em;
  margin: 20px 0 0;
}
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--pink); }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 8%; height: 34%;
  background: var(--yellow); border-radius: 6px; z-index: -1;
  transform: rotate(-1.6deg);
}
.hero-sub {
  font-size: clamp(16px, 1.65vw, 20px); line-height: 1.5; font-weight: 500;
  color: var(--ink); max-width: 30em; margin: 22px 0 0;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.spec {
  font-family: var(--mono); font-size: 12.5px; font-weight: 700;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--pill);
  padding: 6px 13px; box-shadow: var(--pop-sm);
}
.spec b { color: var(--pink-ink); }

/* hero 3D stage */
.hero-stage { position: relative; aspect-ratio: 1 / 1; min-height: 340px; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.hero-blob {
  position: absolute; inset: 6% 6% 10% 6%; z-index: -1; border-radius: 42% 58% 54% 46% / 52% 44% 56% 48%;
  background: radial-gradient(60% 60% at 50% 42%, var(--pink-soft), transparent 72%);
}
.hero-callout {
  position: absolute; z-index: 3;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--pill);
  padding: 6px 12px; box-shadow: var(--pop-sm); white-space: nowrap;
}
.hero-callout.c1 { top: 6%; left: 2%; }
.hero-callout.c2 { bottom: 12%; right: 0%; }
.hero-callout.c3 { top: 44%; right: -2%; background: var(--blue); color: #fff; }
.hero-drag {
  position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%);
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 7px;
}

/* floating background studs */
.hero-deco { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-deco span {
  position: absolute; border-radius: 50%; border: 3px solid var(--ink);
  opacity: 0.14;
}
.hero-deco .s1 { width: 120px; height: 120px; top: 8%; left: 40%; background: var(--blue); }
.hero-deco .s2 { width: 70px; height: 70px; bottom: 12%; left: 6%; background: var(--yellow); }
.hero-deco .s3 { width: 44px; height: 44px; top: 26%; left: 2%; background: var(--green); }

/* ---------- marquee ---------- */

.marquee {
  background: var(--yellow); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  overflow: hidden; padding: 13px 0;
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: scroll-x 30s linear infinite;
}
.marquee-track span {
  font-family: var(--display); font-weight: 800; font-size: 19px;
  letter-spacing: 0.01em; padding: 0 24px;
  display: inline-flex; align-items: center; gap: 24px;
}
.marquee-track span::after { content: "●"; font-size: 11px; color: var(--pink-ink); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- section frame ---------- */

.section { padding: 82px 0; position: relative; }
.section h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.section .lede { font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; line-height: 1.5; max-width: 34em; margin: 16px 0 0; color: var(--ink); }
.section-head { max-width: 40em; margin-bottom: 44px; }

/* ---------- features ---------- */

.features .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat {
  background: var(--card); border: 3px solid var(--ink); border-radius: 22px;
  padding: 24px 22px 26px; box-shadow: var(--pop-lg);
  transition: transform 130ms ease;
}
.feat:nth-child(odd) { transform: rotate(-1.2deg); }
.feat:nth-child(even) { transform: rotate(1deg); }
.feat:hover { transform: rotate(0) translateY(-4px); }
.feat-ico {
  width: 58px; height: 58px; border-radius: 16px; border: 3px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--pop-sm);
}
.feat:nth-child(1) .feat-ico { background: var(--pink); }
.feat:nth-child(2) .feat-ico { background: var(--blue); }
.feat:nth-child(3) .feat-ico { background: var(--yellow); }
.feat:nth-child(4) .feat-ico { background: var(--green); }
.feat-ico svg { width: 32px; height: 32px; }
.feat h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -0.01em; }
.feat p { font-size: 14.5px; line-height: 1.5; margin: 0; color: var(--ink-soft); font-weight: 500; }

/* ---------- steps ---------- */

.steps { background: var(--blue); color: #fff; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.steps .section-kicker { color: #fff; }
.steps .section-kicker::before { background: var(--yellow); }
.steps .lede { color: rgba(255,255,255,0.9); }
.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.step {
  background: var(--card); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 22px;
  padding: 26px 24px 28px; box-shadow: 6px 6px 0 rgba(24,19,33,0.55);
}
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin: 0 0 9px; }
.step p { font-size: 15px; line-height: 1.5; margin: 0; color: var(--ink-soft); font-weight: 500; }

/* ---------- palette / colours ---------- */

.palette { background: var(--paper-2); }
.palette-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mini-brick {
  width: 132px; height: 92px; position: relative; margin-top: 26px;
}
.mini-brick:nth-child(odd) { transform: rotate(-3deg); }
.mini-brick:nth-child(even) { transform: rotate(3deg); }
.mini-brick .body {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px;
  border-radius: 12px; border: 3px solid var(--ink); box-shadow: var(--pop);
}
.mini-brick .stud {
  position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--ink);
}
.mini-brick .stud.l { left: 22px; }
.mini-brick .stud.r { right: 22px; }
.palette-caption { text-align: center; margin-top: 34px; }

/* ---------- specs / for makers ---------- */

.specs .spec-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.spec-chip {
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--pill);
  padding: 9px 15px; box-shadow: var(--pop-sm);
}
.spec-chip b { color: var(--blue-ink); }
.origin {
  background: var(--pink-tint); border: 3px dashed var(--pink);
  border-radius: 22px; padding: 26px 26px;
}
.origin h3 { font-size: 20px; margin: 0 0 10px; }
.origin p { font-size: 15px; line-height: 1.55; margin: 0; font-weight: 500; color: var(--ink); }

/* ---------- final CTA ---------- */

.cta { background: var(--pink); color: #fff; border-top: 3px solid var(--ink); text-align: center; }
.cta h2 { font-size: clamp(34px, 5.2vw, 68px); letter-spacing: -0.02em; }
.cta p { font-size: 17px; font-weight: 600; margin: 14px 0 30px; }
.cta .btn-ghost { background: var(--ink); color: #fff; }
.cta .btn-ghost:hover { background: #000; }
.cta-note { display: block; margin-top: 20px; font-size: 13.5px; font-weight: 600; opacity: 0.92; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--paper); padding: 48px 0 34px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot .brand-name { color: var(--paper); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 700; font-size: 14.5px; border-bottom: 2px solid transparent; }
.foot-links a:hover { border-color: var(--yellow); }
.foot-disclaimer {
  margin-top: 30px; padding-top: 22px; border-top: 2px solid rgba(255,246,236,0.18);
  font-size: 12.5px; line-height: 1.55; color: rgba(255,246,236,0.62); max-width: 60em;
}
.foot .build-stamp {
  margin-top: 16px; font-size: 12px; letter-spacing: 0.05em;
  color: rgba(255,246,236,0.4); font-variant-numeric: tabular-nums;
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .features .cards { grid-template-columns: repeat(2, 1fr); }
  .specs .spec-wrap { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .features .cards { grid-template-columns: 1fr; }
  .step-cards { grid-template-columns: 1fr; }
  .feat:nth-child(odd), .feat:nth-child(even) { transform: none; }
  .section { padding: 58px 0; }
}
