/* =========================
   Root variables & reset
   ========================= */
:root {
  --brand: #004953;
  --cream: #FFFDD0;
  --text: #0f172a;
  --text-on-brand: #ffffff;
  --surface: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,.06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--cream);
}


/* =========================
   Header & Navigation
   ========================= */
.site-header {
  background: var(--cream);
  border-bottom: 2px solid rgba(0,0,0,.06);
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  margin-right: 14px;
}

nav a:hover {
  text-decoration: underline;
}


/* =========================
   Layout & Cards
   ========================= */
.hero {
  max-width: 1000px;
  margin: 16px auto;
  padding: 10px 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}


/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  background: var(--brand);
  color: var(--text-on-brand);
  border: none;
  border-radius: var(--radius);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.85rem;
  line-height: 1.2;
}

.signup-actions {
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
}

.signup-actions .btn {
  width: auto;
}


/* =========================
   Form controls
   ========================= */
textarea,
input:not([type="checkbox"]),
select {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.95rem;
}


/* =========================
   Partner selection
   ========================= */
.partner-select {
  width: 100%;
  margin-top: 4px;
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.partner-chip {
  background: var(--brand);
  color: var(--cream);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}


/* =========================
   $20 Game Toggle Slider
   ========================= */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

/* Hidden checkbox — MUST stay zero-size */
.switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  box-shadow: none;
}

/* Slider track */
.slider {
  position: absolute;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.2s;
  border-radius: 28px;
}

/* Slider knob */
.slider:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

/* Checked state */
.switch input:checked + .slider {
  background-color: var(--brand);
}

.switch input:checked + .slider:before {
  transform: translateX(24px);
}


/* =========================
   Footer
   ========================= */
.site-footer {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  color: #555;
}