/* Dream Education visual refresh — additive layer; preserves existing DOM and handlers. */
:root {
  color-scheme: dark;
  --de-ink: #f4f5ef;
  --de-muted: #b8c8c1;
  --de-green: #8ce0b4;
  --de-green-strong: #1e8b68;
  --de-cream: #f4f0e6;
  --de-line: rgba(190, 224, 207, .18);
  --de-glass: rgba(20, 37, 34, .78);
}
html { scroll-behavior: smooth; }
body {
  background: #0b1514;
  color: var(--de-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #f4bd67; outline-offset: 3px;
}
button:active { transform: translateY(1px) scale(.99); }
.app-shell { isolation: isolate; }
.navbar {
  background: rgba(9, 22, 20, .84);
  border-bottom: 1px solid var(--de-line);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.logo-word { letter-spacing: .075em; }
.logo-mark { filter: drop-shadow(0 5px 14px rgba(140,224,180,.18)); }
.nav-center button, .nav-login {
  border-radius: 999px;
  transition: color .18s ease, background .18s ease;
}
.nav-center button:hover, .nav-login:hover { background: rgba(140,224,180,.10); color: var(--de-green); }
.nav-join, .hero-primary, .dream-search-button {
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(30,139,104,.22);
}
.nav-join:hover, .hero-primary:hover, .dream-search-button:hover {
  box-shadow: 0 12px 30px rgba(30,139,104,.30);
  filter: brightness(1.06);
}
.hero { overflow: clip; }
.hero-content { position: relative; z-index: 1; }
.status-pill {
  border-color: rgba(140,224,180,.26);
  background: rgba(18,52,43,.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero h1 { letter-spacing: -.055em; text-wrap: balance; }
.hero h1 span {
  background: linear-gradient(100deg, #a8f0c7 0%, #f2d59a 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy { color: #c5d4ce; line-height: 1.75; max-width: 42rem; }
.hero-primary { background: linear-gradient(110deg, #218665, #155a49); }
.hero-secondary {
  border: 1px solid rgba(211,232,220,.2);
  background: rgba(255,255,255,.035);
  border-radius: 999px;
}
.hero-secondary:hover { background: rgba(140,224,180,.09); border-color: rgba(140,224,180,.48); }
.dream-search-section { padding-top: clamp(3.5rem, 8vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.dream-search-shell {
  border: 1px solid var(--de-line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(26,57,48,.72), rgba(14,26,24,.88));
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
}
.dream-search-title { letter-spacing: -.045em; text-wrap: balance; }
.dream-search-title em { color: var(--de-green); }
.dream-search-box {
  border: 1px solid rgba(190,224,207,.24);
  border-radius: 18px;
  background: rgba(4,14,12,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.dream-search-box input { min-width: 0; }
.dream-search-button { background: linear-gradient(110deg, #258b68, #17634f); }
.experience-panel {
  border-left: 1px solid var(--de-line);
  background: #101d1a;
  box-shadow: -28px 0 90px rgba(0,0,0,.34);
}
.panel-kicker { color: var(--de-green); letter-spacing: .14em; }
.panel-scroll { scrollbar-color: #376c58 transparent; }
.panel-close, .mobile-menu { border-radius: 50%; }
.panel-close:hover, .mobile-menu:hover { background: rgba(140,224,180,.10); }
.mobile-drawer {
  background: rgba(12,25,22,.98);
  border: 1px solid var(--de-line);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.mobile-drawer button { border-radius: 14px; }
.mobile-drawer button:hover { background: rgba(140,224,180,.10); color: var(--de-green); }
.noise { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 760px) {
  .navbar { padding-top: max(10px, env(safe-area-inset-top)); }
  .hero h1 { line-height: .99; }
  .hero-actions { gap: 12px; }
  .hero-actions button { min-height: 48px; }
  .dream-search-shell { border-radius: 22px; }
  .dream-search-box { gap: 8px; }
}
