/* A single visual language for the landing page and the program pages. */
:root {
  --navy: #102c3d;
  --navy-deep: #0a2231;
  --ink: #173745;
  --muted: #55717c;
  --teal: #087e7b;
  --teal-deep: #086b6a;
  --aqua: #64d6ca;
  --line: rgba(24, 83, 97, 0.15);
  --shadow: 0 28px 64px -34px rgba(15, 56, 72, 0.26);
}

html,
body.home {
  width: 100%;
  min-width: 320px;
}

body.home {
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 18%, rgba(105, 206, 201, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 82%, rgba(110, 170, 215, 0.18), transparent 32rem),
    #f5f9fb;
}

body.home::before {
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(30, 111, 130, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 111, 130, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
}

body.home::after { display: none; }

.home .page-shell {
  width: min(100% - 3rem, 1350px);
  height: 100svh;
  grid-template-rows: 84px minmax(0, 1fr) 46px;
}

.home .site-header {
  min-height: 62px;
  align-self: center;
  padding: 0.45rem 1.2rem 0.45rem 0.5rem;
  border: 1px solid rgba(117, 188, 192, 0.18);
  border-radius: 17px;
  color: #f6fbfc;
  background: linear-gradient(115deg, #0d2c3c, #123e4b 68%, #153d47);
  box-shadow: 0 14px 30px -20px rgba(10, 43, 56, 0.46);
}

.home .brand { gap: 0.8rem; }
.home .brand-mark {
  width: 46px;
  height: 46px;
  padding: 2px;
  border: 1px solid rgba(224, 202, 146, 0.4);
  border-radius: 11px;
  background: #0b1a24;
  box-shadow: none;
}
.home .brand-mark::after { display: none; }
.home .brand-mark img { border-radius: 9px; }
.home .brand-copy { gap: 0.28rem; }
.home .brand-copy strong {
  color: #f6fbfc;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.home .brand-copy small {
  color: #9fc6cd;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.home .header-link {
  min-height: 40px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(177, 222, 221, 0.25);
  border-radius: 10px;
  color: #e6f7f6;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 700;
}
.home .header-link:hover {
  border-color: rgba(177, 222, 221, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.home .header-link span { color: #8bded3; }

.home .hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4.2rem);
  padding: clamp(2rem, 4.5vh, 3.25rem) clamp(2.25rem, 5vw, 5rem);
  border: 1px solid #dce8eb;
  border-radius: 24px;
  background:
    radial-gradient(circle at 44% 0%, rgba(169, 235, 226, 0.17), transparent 35%),
    linear-gradient(125deg, #fff 0%, #fff 49%, #f5fafb 100%);
  box-shadow: 0 28px 65px -42px rgba(16, 58, 75, 0.38), 0 4px 15px rgba(16, 58, 75, 0.06);
}
.home .hero::before {
  top: -14rem;
  left: 38%;
  background: rgba(110, 205, 202, 0.13);
  filter: blur(46px);
}
.home .hero-copy { max-width: 660px; }
.home .eyebrow {
  margin-bottom: clamp(1rem, 2.2vh, 1.35rem);
  color: #08736f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.home .eyebrow span {
  width: 7px;
  height: 7px;
  background: #1aa695;
  box-shadow: 0 0 0 4px rgba(26, 166, 149, 0.12);
}
.home h1 {
  max-width: 730px;
  margin-bottom: clamp(1rem, 2.2vh, 1.45rem);
  color: #102f3e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3.3rem, 5vw, 5.4rem);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.99;
}
.home h1 em {
  color: #087e7b;
  background: none;
  -webkit-text-fill-color: currentColor;
  font-style: normal;
  font-weight: 780;
}
.home .hero-lead {
  max-width: 590px;
  margin-bottom: clamp(1.3rem, 2.9vh, 1.95rem);
  color: #516d78;
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.62;
}
.home .program-facts {
  width: min(100%, 440px);
  gap: 0;
  margin-bottom: clamp(1.3rem, 2.8vh, 1.85rem);
  padding: 0.9rem 0;
  border-top: 1px solid #deeaec;
  border-bottom: 1px solid #deeaec;
}
.home .program-facts > div {
  flex: 1;
  gap: 0.18rem;
  padding-inline: 1rem;
}
.home .program-facts > div:first-child { padding-left: 0; }
.home .program-facts > div + div { border-left: 1px solid #deeaec; }
.home .program-facts strong {
  color: #123849;
  font-size: 1.25rem;
  font-weight: 800;
}
.home .program-facts span {
  color: #5d7780;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}
.home .hero-actions {
  max-width: 470px;
  gap: 0.65rem;
}
.home .button {
  min-height: 52px;
  padding: 0.77rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.home .button:hover { transform: translateY(-2px); }
.home .button-primary {
  color: #fff;
  background: #0e6e73;
  box-shadow: 0 10px 20px -12px rgba(6, 100, 102, 0.6);
}
.home .button-primary:hover {
  background: #095f65;
  box-shadow: 0 13px 24px -12px rgba(6, 100, 102, 0.6);
}
.home .button-booking {
  border-color: #b4d7d6;
  color: #135d65;
  background: #e9f6f4;
}
.home .button-booking:hover {
  border-color: #84bdbd;
  background: #def1ee;
}
.home .button-secondary,
.home .button-roblox {
  border-color: #d5e4e8;
  color: #254b5c;
  background: #fff;
}
.home .button-secondary:hover,
.home .button-roblox:hover {
  border-color: #a8cdce;
  background: #f4fafa;
  box-shadow: 0 10px 18px -14px rgba(24, 83, 97, 0.35);
}
.home .roblox-icon { width: 12px; height: 12px; border-width: 3.5px; }
.home .micro-copy {
  display: block;
  margin-top: 1.05rem;
  color: #607983;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.home .micro-copy span { padding-inline: 0.28rem; color: #4aada4; }

.home .visual-panel {
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(1.15rem, 2vw, 1.65rem);
  border: 1px solid rgba(141, 209, 208, 0.28);
  border-radius: 19px;
  background:
    radial-gradient(circle at 49% 38%, rgba(22, 122, 126, 0.3), transparent 43%),
    linear-gradient(145deg, #102d3b, #0a2635 72%, #0c3640);
  box-shadow: 0 24px 45px -30px rgba(8, 51, 65, 0.58);
}
.home .visual-panel::before {
  opacity: 0.16;
  background-size: 52px 38px;
}
.home .visual-glow {
  width: 58%;
  background: rgba(59, 209, 196, 0.12);
  filter: blur(76px);
}
.home .emblem-frame img {
  width: min(88%, 400px);
  max-height: 100%;
  border: 1px solid rgba(130, 225, 213, 0.23);
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.84) drop-shadow(0 20px 24px rgba(2, 20, 26, 0.22));
  transform: none;
}
.home .visual-caption {
  align-items: center;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(169, 219, 219, 0.15);
}
.home .visual-caption > div { gap: 0.3rem; }
.home .visual-caption span {
  color: #9fc5c9;
  font-size: 0.7rem;
}
.home .visual-caption strong { color: #f2fbfb; font-size: 1rem; }
.home .status-pill {
  border-color: rgba(158, 214, 211, 0.25);
  color: #dcf8f3 !important;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.67rem !important;
}
.home .site-footer { color: #63808b; font-size: 0.77rem; }
.home .site-footer a { color: #506c78; }
.home .site-footer strong { color: #164352; }

.home .modal { max-height: 88svh; border-radius: 22px; }
.home .modal-card {
  border: 1px solid #dce9ec;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7fbfb);
}
.home .modal h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 760;
  line-height: 1.08;
}
.home .modal-kicker { color: #087e7b; }
.home .modal-stat-grid { border-color: #dce9ec; background: #fff; }
.home .modal-stat-grid span,
.home .modal-columns li { font-size: 0.85rem; }
.home .roblox-symbol {
  border: 1px solid rgba(134, 219, 212, 0.26);
  background: #0e4858;
  box-shadow: 0 14px 26px -18px rgba(5, 52, 69, 0.55);
}
.home .roblox-project-card {
  border-color: #d6e7e9;
  background: #f0f8f8;
}
.home .roblox-project-card > span { background: #146e77; }
.home .roblox-kicker { color: #087e7b; }

/* The other three pages use the same restrained color and surface treatment. */
body:not(.home) {
  color: #173745;
  background: #f5f9fb;
}
body:not(.home) .announcement {
  border-color: rgba(147, 211, 207, 0.15);
  color: #b8d5d8;
  background: #0b2837;
  letter-spacing: 0.07em;
}
body:not(.home) .site-header {
  border-color: rgba(137, 205, 206, 0.17);
  background: rgba(10, 38, 51, 0.96);
}
body:not(.home) .site-header .brand {
  border-color: rgba(170, 207, 204, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
body:not(.home) .site-header .brand-logo {
  border-color: rgba(227, 199, 137, 0.42);
  border-radius: 9px;
  background: #0b1a24;
  box-shadow: none;
}
body:not(.home) .desktop-nav > a[aria-current="page"]:not(.button) {
  color: #f3faf9;
  background: rgba(94, 205, 194, 0.13);
}
body:not(.home) .button-primary {
  border: 1px solid #0a7478;
  border-radius: 10px;
  color: #fff;
  background: #0e7478;
  box-shadow: 0 10px 22px -16px rgba(6, 97, 103, 0.6);
}
body:not(.home) .button-primary:hover {
  background: #09666d;
  box-shadow: 0 13px 26px -18px rgba(6, 97, 103, 0.65);
}
body:not(.home) .page-hero {
  border-color: #dce9ec;
  background:
    radial-gradient(circle at 87% 12%, rgba(115, 209, 200, 0.13), transparent 27rem),
    linear-gradient(130deg, #fff, #f6fafb);
  box-shadow: 0 24px 50px -42px rgba(16, 59, 75, 0.32);
}
body:not(.home) .page-hero::before { opacity: 0.16; }
body:not(.home) .page-intro h1,
body:not(.home) h2,
body:not(.home) h3 {
  color: #143746;
  letter-spacing: -0.038em;
}
body:not(.home) .page-intro h1 { font-weight: 790; }
body:not(.home) .eyebrow { color: #087e7b; }
body:not(.home) .section { padding-block: clamp(4rem, 7vw, 6rem); }
body:not(.home) .section-alt {
  border-color: rgba(134, 202, 203, 0.14);
  background:
    radial-gradient(circle at 12% 14%, rgba(28, 158, 163, 0.11), transparent 32rem),
    linear-gradient(130deg, #0d3040, #0a2635);
}
body:not(.home) .section-alt h2,
body:not(.home) .section-alt h3 { color: #f0f8f9; }
body:not(.home) .info-card,
body:not(.home) .week-card,
body:not(.home) .step {
  border: 1px solid #dce9ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 36px -30px rgba(14, 57, 75, 0.3);
}
body:not(.home) .cta-panel,
body:not(.home) .checkout-card {
  border: 1px solid rgba(111, 208, 199, 0.23);
  border-radius: 20px;
  background: linear-gradient(120deg, #103848, #0b2a39 75%, #0e3a43);
  box-shadow: 0 25px 46px -32px rgba(8, 45, 60, 0.5);
}
body:not(.home) .cta-panel h2 { color: #f4fafb; }
body:not(.home) .site-footer { background: #0a2432; }

@media (max-width: 1100px), (max-height: 780px) {
  html, body.home { height: auto; min-height: 100%; overflow-y: auto; overflow-x: hidden; }
  .home .page-shell { height: auto; min-height: 100svh; grid-template-rows: 80px auto 46px; }
  .home .hero { min-height: 650px; }
}

@media (max-width: 900px) {
  .home .page-shell { width: min(100% - 1.5rem, 760px); }
  .home .hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: clamp(1.4rem, 4vw, 2.2rem);
  }
  .home .hero-copy { max-width: 100%; }
  .home h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .home .visual-panel { min-height: 390px; }
  .home .emblem-frame img { width: min(63%, 315px); }
}

@media (max-width: 600px) {
  .home .page-shell {
    width: calc(100% - 1rem);
    grid-template-rows: 70px auto 42px;
  }
  .home .site-header {
    min-height: 56px;
    padding: 0.35rem 0.65rem 0.35rem 0.35rem;
    border-radius: 13px;
  }
  .home .brand-mark { width: 42px; height: 42px; }
  .home .brand-copy strong { font-size: 0.87rem; }
  .home .brand-copy small { font-size: 0.59rem; }
  .home .header-link { min-height: 38px; padding: 0.45rem 0.58rem; font-size: 0.73rem; }
  .home .header-link span { display: none; }
  .home .hero { min-height: 0; gap: 1.2rem; padding: 1.4rem 1.2rem; border-radius: 17px; }
  .home .eyebrow { font-size: 0.68rem; margin-bottom: 0.85rem; }
  .home h1 { font-size: clamp(2.6rem, 11vw, 4.1rem); line-height: 1; margin-bottom: 0.95rem; }
  .home .hero-lead { font-size: 1rem; line-height: 1.54; margin-bottom: 1.15rem; }
  .home .program-facts { margin-bottom: 1.2rem; }
  .home .program-facts > div { padding-inline: 0.65rem; }
  .home .program-facts strong { font-size: 1.08rem; }
  .home .program-facts span { font-size: 0.62rem; }
  .home .hero-actions { max-width: none; gap: 0.55rem; }
  .home .button { min-height: 48px; padding: 0.65rem 0.45rem; font-size: 0.83rem; }
  .home .micro-copy { margin: 0.85rem 0 0; font-size: 0.72rem; line-height: 1.45; }
  .home .visual-panel {
    min-height: 250px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 1rem;
  }
  .home .emblem-frame img { width: min(50vw, 190px); }
  .home .visual-caption { display: flex; align-items: center; }
  .home .visual-caption strong { font-size: 0.86rem; }
  .home .status-pill { font-size: 0.57rem !important; }
  .home .site-footer { font-size: 0.66rem; }
  .home .modal-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .home .header-link { font-size: 0.68rem; }
  .home .brand-copy small { display: block; }
  .home .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .micro-copy { font-size: 0.67rem; }
  .home .visual-caption > div span { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .home .button,
  .home .header-link { transition: none; }
}
