:root { font-family: 'Nunito', sans-serif; color: #123c5a; font-synthesis: none; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
.home-screen { user-select: none; }
body { background: #9cdef5; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #087a9d; outline-offset: 5px; }
.home-screen {
  position: relative;
  height: 100vh; height: 100dvh; overflow: hidden;
  padding: clamp(16px, 3.6vh, 36px) clamp(18px, 6.4vw, 110px) 0;
  background: url('marketing-assets/Home Page Background_2_Tall (2).png') center bottom -50px / cover no-repeat;
}
.topbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; width: 100%; min-height: 36px;
  max-width: 1400px; margin-inline: auto;
  padding: 2px 24px; border-radius: 100px;
  background: rgb(255 255 255 / 0.45);
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; height: 44px; width: auto; margin: 3px; }
.nav-panel { display: contents; }
.nav-toggle { display: none; }
.main-nav, .account-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
.main-nav { margin-left: auto; margin-right: auto; }
.main-nav a, .main-nav button { position: relative; border: 0; padding: 8px 0; background: transparent; color: #173f60; font-weight: 800; white-space: nowrap; font-size: 16px; }
.main-nav a:hover, .main-nav button:hover { color: #0786aa; }
.main-nav a.active { color: #0786aa; }
.main-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 100px; background: #0786aa; }
.account-nav { gap: 10px; }
.account-nav a, .hero-actions a { display: inline-flex; align-items: center; justify-content: center; border-radius: 100px; padding: 11px 30px; font-size: 15px; font-weight: 800; transition: transform 160ms ease, box-shadow 160ms ease; }
.account-nav a { padding: 5px 18px; }
.account-nav a { min-width: 96px; border: 1px solid #173f60; }
.login { background: transparent; color: #173f60; }
.signup { background: #123b5b; color: white; }
main { text-align: center; margin: clamp(20px, 4.2vh, 46px) auto 0; }
h1 { margin: 0; font-family: 'Baloo 2', cursive; font-size: clamp(32px, min(5.2vw, 7.2vh), 80px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; color: #002b43; text-wrap: balance; }
.intro { margin: clamp(10px, 1.8vh, 20px) 0 0; font-size: clamp(15px, 1.5vw, 23px); font-weight: 600; line-height: 1.45; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: clamp(16px, 2.4vh, 28px); }
.hero-actions a { border: 0; min-width: 184px; }
.meet { background: #34bdd0; color: white; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2); }
.play { background: #fffefd; color: #173f60; }
.hero-actions a:hover, .account-nav a:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgb(16 84 115 / 0.15); }
@media (max-width: 1050px) {
  .topbar { padding: 2px 16px; gap: 14px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin: 0; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: #173f60;
    flex: 0 0 auto; line-height: 0; overflow: visible;
  }
  .nav-toggle-bars {
    display: block; width: 18px; height: 14px; flex: 0 0 auto;
  }
  .nav-toggle-bars svg { display: block; width: 18px; height: 14px; fill: currentColor; overflow: visible; }
  .nav-toggle-bars rect {
    transform-box: fill-box; transform-origin: center;
    transition: transform 160ms ease, opacity 160ms ease;
  }
  .topbar.is-open .nav-toggle-bars rect:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .topbar.is-open .nav-toggle-bars rect:nth-child(2) { opacity: 0; }
  .topbar.is-open .nav-toggle-bars rect:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-panel {
    display: none; position: absolute; z-index: 4;
    top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 10px;
    padding: 12px; border-radius: 24px;
    background: rgb(255 255 255 / 0.98);
    box-shadow: 0 10px 28px rgb(16 84 115 / 0.16);
  }
  .topbar.is-open .nav-panel { display: flex; }
  .main-nav, .account-nav { display: flex; flex-direction: column; width: 100%; margin: 0; gap: 4px; }
  .main-nav a, .main-nav button {
    display: flex; justify-content: flex-start; align-items: center;
    min-height: 44px; padding: 10px 12px; font-size: 15px; border-radius: 12px;
  }
  .main-nav a.active { background: rgb(255 255 255 / 0.9); }
  .main-nav a.active::after { display: none; }
  .account-nav { flex-direction: row; gap: 8px; padding-top: 4px; }
  .account-nav a { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 700px) {
  .home-screen { padding: max(12px, env(safe-area-inset-top)) 16px 0; background-position: center bottom; }
  .topbar { padding: 2px 12px; background: rgb(255 255 255 / 0.72); }
  main { margin-top: clamp(18px, 4vh, 36px); }
  h1 { font-size: clamp(30px, 8vw, 52px); line-height: 1.06; }
  .intro { max-width: 430px; margin: 12px auto 0; font-size: 15px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 8px; margin-top: 18px; }
  .hero-actions a { min-width: 0; padding: 12px 18px; font-size: 13px; }
}
@media (max-height: 550px) and (min-width: 1051px) {
  .home-screen { padding-top: 10px; }
  .topbar { min-height: 34px; padding-top: 2px; padding-bottom: 2px; }
  .brand-logo { height: 28px; }
  main { margin-top: 14px; }
  h1 { font-size: 8vh; }
  .intro { font-size: 14px; margin-top: 8px; }
  .hero-actions { margin-top: 10px; }
  .hero-actions a { padding: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
