:root {
  --ink: #10141e;
  --ink-soft: #283142;
  --paper: #f4f6fb;
  --white: #ffffff;
  --line: #d7dce6;
  --night: #0f1117;
  --night-soft: #171a22;
  --mist: #d9dde6;
  --green: #19b85f;
  --green-dark: #0c7d45;
  --blue: #2088f4;
  --yellow: #ffca3a;
  --red: #f04d5f;
  --shadow: 0 18px 50px rgba(16, 20, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(32, 136, 244, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(25, 184, 95, 0.13), transparent 24rem),
    var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-weight: 900;
  font-size: 1rem;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  background: var(--white);
  transform: rotate(12deg);
}

.brand-mark::after {
  position: absolute;
  inset: 10px;
  content: "";
  background: var(--night);
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.creator-word {
  font-size: 1.25rem;
  text-transform: uppercase;
}

.build-word {
  color: #b8c0cf;
  font-size: 0.76rem;
}

nav {
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
}

nav a {
  padding: 10px 12px;
  border-radius: 8px;
}

nav a:hover,
nav a:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
  color: var(--ink);
  background: var(--white);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--mist);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 44px;
  min-height: 88vh;
  padding: 70px 6vw 52px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 17, 23, 0.74), rgba(15, 17, 23, 0.94)),
    radial-gradient(circle at 68% 28%, rgba(32, 136, 244, 0.28), transparent 25rem),
    radial-gradient(circle at 18% 72%, rgba(25, 184, 95, 0.24), transparent 22rem),
    var(--night);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 12px;
  color: #68e390;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.92;
  font-weight: 900;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 28px;
  color: #d7dbe5;
  font-size: 1.35rem;
  line-height: 1.45;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: rgba(23, 26, 34, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.event-strip div {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.event-strip div:last-child {
  border-right: 0;
}

.event-strip span,
.time-grid span {
  display: block;
  color: #aab2c0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-strip strong {
  display: block;
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.25;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.button.school-button {
  color: var(--white);
  background: rgba(32, 136, 244, 0.32);
  border-color: rgba(115, 179, 255, 0.74);
}

.button.dark-button {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button:hover,
.button:focus-visible {
  outline: 3px solid rgba(32, 136, 244, 0.25);
  transform: translateY(-1px);
}

.poster-frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--night-soft);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.school-hero {
  position: relative;
  min-height: 82vh;
  padding: 92px 6vw 76px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 17, 23, 0.7), rgba(15, 17, 23, 0.95)),
    radial-gradient(circle at 70% 24%, rgba(255, 202, 58, 0.22), transparent 24rem),
    radial-gradient(circle at 18% 72%, rgba(32, 136, 244, 0.25), transparent 25rem),
    var(--night);
}

.school-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.school-hero h1 {
  max-width: 980px;
  font-size: 5rem;
}

.experience-cloud {
  position: absolute;
  inset: 0;
  opacity: 0.64;
  filter: blur(0.3px);
  pointer-events: none;
}

.experience-cloud::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 17, 23, 0.58), transparent 48%, rgba(15, 17, 23, 0.72)),
    linear-gradient(180deg, rgba(15, 17, 23, 0.2), rgba(15, 17, 23, 0.88));
}

.tile {
  position: absolute;
  width: 148px;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 34%),
    var(--tile-color, #2088f4);
  box-shadow: inset 0 -35px 60px rgba(0, 0, 0, 0.42);
  transform: rotate(var(--tilt, -8deg));
}

.tile::before,
.tile::after {
  position: absolute;
  content: "";
}

.tile::before {
  left: 18%;
  right: 18%;
  bottom: 18%;
  height: 20%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.tile::after {
  top: 18%;
  left: 18%;
  width: 36%;
  height: 36%;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
}

.tile-one {
  --tile-color: #2348d8;
  --tilt: -13deg;
  top: 14%;
  left: 5%;
}

.tile-two {
  --tile-color: #a947ff;
  --tilt: 10deg;
  top: 9%;
  left: 32%;
}

.tile-three {
  --tile-color: #0f9e67;
  --tilt: -8deg;
  top: 16%;
  right: 8%;
}

.tile-four {
  --tile-color: #cc394d;
  --tilt: 13deg;
  top: 48%;
  left: 13%;
}

.tile-five {
  --tile-color: #e1aa1b;
  --tilt: -17deg;
  top: 58%;
  left: 42%;
}

.tile-six {
  --tile-color: #1b91cc;
  --tilt: 8deg;
  top: 50%;
  right: 22%;
}

.tile-seven {
  --tile-color: #754fe8;
  --tilt: -10deg;
  bottom: -6%;
  left: 3%;
}

.tile-eight {
  --tile-color: #27855b;
  --tilt: 14deg;
  bottom: -8%;
  right: 10%;
}

.tile-nine {
  --tile-color: #c85b2c;
  --tilt: 7deg;
  top: -4%;
  right: 34%;
}

.tile-ten {
  --tile-color: #3d4a5f;
  --tilt: -18deg;
  bottom: 18%;
  left: 61%;
}

.event-section,
.school-section,
.how-section,
.join-section {
  padding: 76px 6vw;
}

.event-section .eyebrow,
.school-section .eyebrow {
  color: var(--green-dark);
}

.school-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 202, 58, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(32, 136, 244, 0.16), transparent 26rem),
    #ffffff;
}

.school-overview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 251, 0.98)),
    radial-gradient(circle at 18% 24%, rgba(25, 184, 95, 0.13), transparent 23rem);
}

.roblox-care-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(15, 17, 23, 0.8), rgba(15, 17, 23, 0.95)),
    radial-gradient(circle at 18% 16%, rgba(32, 136, 244, 0.26), transparent 24rem),
    radial-gradient(circle at 86% 18%, rgba(25, 184, 95, 0.18), transparent 24rem),
    var(--night);
}

.roblox-care-section .section-heading,
.roblox-care-section .parent-grid {
  position: relative;
  z-index: 1;
}

.roblox-care-section .eyebrow {
  color: #68e390;
}

.roblox-care-section h2 {
  max-width: 940px;
  color: var(--white);
}

.roblox-care-section .parent-card {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.roblox-care-section .parent-card p {
  color: #d9e2ee;
}

.school-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 18px;
}

.school-intro {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(16, 20, 30, 0.08);
}

.school-intro h3 {
  font-size: 1.45rem;
}

.school-intro p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.school-intro p + p {
  margin-top: -8px;
}

.how-section {
  background:
    linear-gradient(180deg, rgba(244, 246, 251, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 8% 18%, rgba(32, 136, 244, 0.14), transparent 24rem),
    radial-gradient(circle at 90% 22%, rgba(25, 184, 95, 0.12), transparent 26rem);
}

.how-section .eyebrow {
  color: var(--green-dark);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.08;
}

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

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.parent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.event-card,
.learning-card,
.parent-card,
.join-step {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.parent-card {
  min-height: 230px;
  box-shadow: 0 12px 34px rgba(16, 20, 30, 0.08);
}

.learning-card {
  min-height: 220px;
}

.learning-card:nth-child(1) {
  border-top: 8px solid var(--green);
}

.learning-card:nth-child(2) {
  border-top: 8px solid var(--blue);
}

.learning-card:nth-child(3) {
  border-top: 8px solid var(--yellow);
}

.learning-card:nth-child(4) {
  border-top: 8px solid var(--red);
}

.join-step {
  min-height: 285px;
  box-shadow: 0 12px 34px rgba(16, 20, 30, 0.08);
}

.event-card:nth-child(2) {
  border-top: 8px solid var(--blue);
}

.event-card:nth-child(3) {
  border-top: 8px solid var(--yellow);
}

.event-card:nth-child(4) {
  border-top: 8px solid var(--red);
}

.event-card:first-child {
  border-top: 8px solid var(--green);
}

.step-number {
  display: inline-block;
  margin-bottom: 44px;
  color: #6b7586;
  font-size: 0.82rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.event-card p,
.learning-card p,
.parent-card p,
.join-step p,
.join-panel p,
.countdown-note,
footer {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.join-step strong {
  color: var(--ink);
}

.text-link,
footer a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(16, 20, 30, 0.92), rgba(16, 20, 30, 0.86)),
    repeating-linear-gradient(90deg, #1f2938 0 2px, transparent 2px 96px);
  color: var(--white);
}

.join-panel,
.countdown {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.join-panel {
  padding: 30px;
}

.join-panel h2 {
  max-width: 900px;
}

.join-panel p {
  max-width: 780px;
  color: #d9e2ee;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 18px;
}

.reason {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.reason:hover,
.reason:focus-visible,
.reason.is-active {
  outline: none;
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.reason-detail {
  min-height: 56px;
  margin: 0;
  font-size: 1.1rem;
}

.countdown {
  align-self: stretch;
  padding: 28px;
}

.join-section .countdown-note {
  color: #d9e2ee;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 24px;
}

.time-grid div {
  min-width: 0;
  padding: 14px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
}

.time-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 6vw;
  background: var(--white);
}

footer p {
  margin: 0;
}

footer a {
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .school-layout,
  .join-section {
    grid-template-columns: 1fr;
  }

  .school-hero h1 {
    font-size: 4rem;
  }

  h1 {
    font-size: 4.5rem;
  }

  .poster-frame {
    transform: none;
  }

  .event-grid,
  .learning-grid,
  .parent-grid,
  .join-steps,
  .reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    display: block;
    padding: 14px 18px;
  }

  .brand {
    margin-bottom: 12px;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  nav a {
    padding: 8px 9px;
    font-size: 0.88rem;
  }

  .hero,
  .school-hero,
  .event-section,
  .school-section,
  .how-section,
  .join-section {
    padding: 24px 18px;
  }

  .hero {
    gap: 22px;
    min-height: auto;
  }

  .school-hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.95rem;
  }

  .school-hero h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-lede {
    margin: 16px 0 18px;
    font-size: 1rem;
  }

  .event-grid,
  .learning-grid,
  .parent-grid,
  .join-steps,
  .reasons,
  .time-grid {
    grid-template-columns: 1fr;
  }

  .reasons .reason-detail {
    min-height: auto;
    margin: -2px 0 6px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 202, 58, 0.55);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .event-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-strip div {
    padding: 11px 8px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .event-strip div:last-child {
    border-right: 0;
  }

  .event-strip span {
    font-size: 0.68rem;
  }

  .event-strip strong {
    font-size: 0.76rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 16px;
  }

  .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .poster-frame img {
    max-height: 145px;
  }

  .event-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 24px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin-top: 12px;
  }
}
