* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: #2b2337;
  background:
    radial-gradient(circle at top left, #fff7c8 0, transparent 30%),
    radial-gradient(circle at top right, #d7f7ff 0, transparent 25%),
    linear-gradient(180deg, #fffdf7 0%, #f8fbff 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
textarea, input {
  width: 100%;
  border: 2px solid #d9d2ea;
  border-radius: 18px;
  background: #fff;
  padding: 0.9rem 1rem;
  margin-top: 0.4rem;
  resize: vertical;
}
textarea:focus, input:focus { outline: 3px solid #f7c948; border-color: #f7c948; }
.container { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 5rem 0; }
.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(255,255,255,0.72); border-bottom: 1px solid rgba(67, 54, 93, 0.08); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: "Fredoka", sans-serif; font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #7cdbff; color: #1f355e; }
.top-links { display: flex; flex-wrap: wrap; gap: 1rem; color: #66557c; font-weight: 700; }
.hero-grid, .split-grid { display: grid; gap: 1.5rem; }
.hero-grid { grid-template-columns: 1.4fr 1fr; align-items: center; }
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-copy h1, .section-head h2, .hero-card h2 { font-family: "Fredoka", sans-serif; line-height: 1.05; margin: 0; }
.hero-copy h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 12ch; }
.hero-text { font-size: 1.15rem; max-width: 34ch; color: #5d5470; }
.pill, .day-chip, .section-tag { display: inline-flex; padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 800; background: #ffe37a; color: #5a3a00; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.25rem; }
.btn { border: 0; border-radius: 999px; padding: 0.9rem 1.2rem; font-weight: 800; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, #ff7a59, #ffb347); color: #fff; box-shadow: 0 10px 24px rgba(255, 127, 80, 0.25); }
.btn-soft { background: #ffffff; color: #5a4b72; border: 2px solid #ddd3ef; }
.card, .hero-card { background: rgba(255,255,255,0.9); border: 2px solid rgba(130, 112, 171, 0.12); border-radius: 28px; box-shadow: 0 24px 60px rgba(68, 48, 90, 0.08); }
.hero-card { padding: 1.5rem; background: linear-gradient(180deg, #ffffff, #f8fdff); }
.hero-card h2 { font-size: 2rem; margin-top: 0.8rem; }
.mini-list { padding-left: 1.2rem; color: #5f5472; }
.section-head { margin-bottom: 1.2rem; }
.section-head.compact { margin-bottom: 0.8rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.card { padding: 1.4rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 0.9rem; border-bottom: 1px solid #ece5f5; vertical-align: top; }
th { color: #6a5b82; font-size: 0.95rem; }
.form-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.small-help, .tiny-note { color: #6f6480; }
.footer { padding: 2rem 0 3rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.bg-shape { position: fixed; inset: auto; z-index: -1; border-radius: 50%; filter: blur(6px); opacity: 0.75; pointer-events: none; }
.topbar, .hero, .section, .footer, .auth-shell, .auth-card, .card, .hero-card, .userbar, .hero-actions, .footer-inner { position: relative; z-index: 1; }
.btn, .tab, input, textarea, label { position: relative; z-index: 2; }
.bg-shape-1 { width: 16rem; height: 16rem; top: 6rem; right: -4rem; background: #c8f4ff; }
.bg-shape-2 { width: 18rem; height: 18rem; bottom: 2rem; left: -5rem; background: #ffe7b5; }
@media (max-width: 820px) {
  .hero-grid, .split-grid, .form-grid.two { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .top-links { gap: 0.7rem; }
}


.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.auth-card { width: min(520px, 100%); background: rgba(255,255,255,0.92); border: 2px solid rgba(130,112,171,0.12); border-radius: 28px; box-shadow: 0 24px 60px rgba(68,48,90,0.08); padding: 1.5rem; }
.auth-tabs { display: flex; gap: 0.5rem; margin: 1rem 0; }
.tab { border: 2px solid #ddd3ef; background: #fff; border-radius: 999px; padding: 0.7rem 1rem; font-weight: 800; cursor: pointer; }
.tab.active { background: #ffe37a; border-color: #ffe37a; }
.auth-form { display: grid; gap: 1rem; }
.userbar { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.user-chip { font-weight: 800; color: #5a4b72; }

.auth-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.auth-actions .btn { flex: 1 1 12rem; text-align: center; }
#clear-form { margin: 0; }
