@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700;9..144,800;9..144,900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ────────────────────────────────────────────────── */
:root {
  --river-dark:   #0d1e32;
  --river-deep:   #1a3a5c;
  --river-mid:    #1e5278;
  --river-flow:   #2176ae;
  --reed-dark:    #1a4f35;
  --reed:         #1e7b4e;
  --reed-light:   #27ae6e;
  --shore:        #f7f4ef;
  --shore-warm:   #ede9e0;
  --parchment:    #faf8f4;
  --highlight-bg: #5b8db8;
  --white:        #ffffff;
  --text-dark:    #0d1e32;
  --text-mid:     #3a5068;
  --text-muted:   #7a95a8;
  --text-on-dark: rgba(255,255,255,0.92);
  --text-on-dark-muted: rgba(255,255,255,0.55);
  --border:       #d4dde6;
  --border-light: #e8eef4;
  --done-bg:      #e6f4ed;
  --done-color:   #1a4f35;
  --done-border:  #27ae6e;
  --pending-border: #b8cede;
  --expired-bg:   #fbeaea;
  --expired-color: #7b1f2e;
  --expired-border: #e05c6e;
  --font-display: 'Fraunces', Georgia, serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --radius: 8px;
  --max-w: 960px;
}

/* ─── Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--shore);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ─── Tricolor bar ─────────────────────────────────────────────────── */
.tricolor-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  height: 4px;
}
.tc-red   { flex: 1; background: #CE2939; }
.tc-white { flex: 1; background: #ffffff; }
.tc-green { flex: 1; background: #436F4D; }

/* ─── Navbar ───────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 4px;
  z-index: 200;
  background: rgba(13, 30, 50, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-flag {
  width: 26px;
  height: 17px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
  opacity: 0.92;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subscribe-form {
  display: flex;
  height: 34px;
}
.subscribe-form input {
  padding: 0 0.85rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-right: none;
  background: rgba(255,255,255,0.07);
  color: var(--text-on-dark);
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  outline: none;
  width: 185px;
  transition: border-color 0.2s, background 0.2s;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.32); }
.subscribe-form input:focus {
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.1);
}
.subscribe-form button {
  padding: 0 0.9rem;
  background: var(--reed);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.subscribe-form button:hover { background: var(--reed-dark); }

.btn-donate {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 1rem;
  background: transparent;
  color: var(--reed-light);
  border: 1px solid rgba(39,174,110,0.5);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.btn-donate:hover { background: var(--reed); color: #fff; border-color: var(--reed); }

/* ─── Auth ─────────────────────────────────────────────────────────── */
.auth-wrap { display: flex; align-items: center; }

.btn-google-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 34px;
  padding: 0 1rem;
  background: #fff;
  color: #3c4043;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.btn-google-login:hover { background: #f8f8f8; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }

.user-info {
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.user-info.visible { display: flex; }

.user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--reed);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-email-display {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-logout {
  height: 28px;
  padding: 0 0.7rem;
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-logout:hover { color: var(--text-on-dark); border-color: rgba(255,255,255,0.35); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--river-dark) 0%, var(--river-deep) 55%, var(--river-mid) 100%);
  padding: 5rem 1.5rem 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(33,118,174,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(30,114,78,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 4rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Stats */
.stats-bar {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  backdrop-filter: blur(8px);
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 1.4rem; }
.stat-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.14); }
.stat-num { font-size: 1.5rem; font-weight: 600; color: var(--text-on-dark); line-height: 1; }
.stat-num.stat-done { color: var(--reed-light); }
.stat-num.stat-expired { color: #e05c6e; }
.stat-num.stat-pending { color: rgba(255,255,255,0.8); }
.stat-label { font-size: 0.68rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 2px; }

/* Wave */
.hero-wave { position: relative; height: 72px; margin-top: -1px; }
.hero-wave svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* ─── Highlights ───────────────────────────────────────────────────── */
.highlights {
  background: var(--highlight-bg);
  padding: 2rem 1.5rem 2.5rem;
}
.highlights-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.highlight-card {
  position: relative;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.highlight-card-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  pointer-events: none;
}
.highlight-card-wave svg { width: 100%; height: 100%; }

.highlight-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.highlight-icon {
  font-size: 0.85rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--done-border);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-icon.new {
  background: var(--river-deep);
  font-size: 0.6rem;
}
.highlight-list { list-style: none; position: relative; z-index: 1; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0.3rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.4;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.highlight-item:hover { background: rgba(0,0,0,0.04); color: var(--text-dark); }
.highlight-item:last-child { border-bottom: none; }

/* Flash animation when scrolled-to */
@keyframes promise-flash {
  0%   { background: rgba(91,141,184,0.18); }
  100% { background: transparent; }
}
.promise-item.flashing { animation: promise-flash 1.6s ease-out; }
.hi-dot {
  font-size: 0.45rem;
  color: var(--river-deep);
  margin-top: 4px;
  flex-shrink: 0;
}
.hi-check {
  font-size: 0.7rem;
  color: var(--done-color);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.highlight-empty {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-style: italic;
}

/* ─── Filter bar ───────────────────────────────────────────────────── */
.filter-bar {
  position: sticky;
  top: 59px;
  z-index: 100;
  background: var(--shore);
  border-bottom: 1px solid var(--border);
}
.filter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
}
.filter-btn {
  padding: 0.85rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  margin-bottom: -1px;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--text-dark); }
.filter-btn.active { color: var(--river-deep); border-bottom-color: var(--river-deep); }

/* ─── Main content ─────────────────────────────────────────────────── */
.main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ─── Loading ──────────────────────────────────────────────────────── */
.loading-state { text-align: center; padding: 5rem 0; color: var(--text-muted); }
.loading-wave { display: flex; justify-content: center; gap: 5px; margin-bottom: 1rem; }
.loading-wave span {
  display: block; width: 5px; height: 24px;
  background: var(--river-deep); border-radius: 3px;
  opacity: 0.3; animation: wave-load 1.2s ease-in-out infinite;
}
.loading-wave span:nth-child(2) { animation-delay: 0.1s; }
.loading-wave span:nth-child(3) { animation-delay: 0.2s; }
.loading-wave span:nth-child(4) { animation-delay: 0.3s; }
.loading-wave span:nth-child(5) { animation-delay: 0.4s; }
@keyframes wave-load {
  0%, 100% { transform: scaleY(0.5); opacity: 0.25; }
  50%       { transform: scaleY(1.3); opacity: 0.8; }
}

/* ─── Category sections ────────────────────────────────────────────── */
.category-section { margin-bottom: 3rem; }
.category-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.category-icon { font-size: 1.05rem; flex-shrink: 0; }
.category-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
}
.category-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── Promise items ────────────────────────────────────────────────── */
.promise-list { list-style: none; }
.promise-item {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
}
.promise-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 55%;
  border-radius: 2px;
  background: var(--pending-border);
  transition: background 0.2s;
}
.promise-item.is-done::before   { background: var(--done-border); }
.promise-item.is-expired::before { background: var(--expired-border); }
.promise-item:last-child { border-bottom: none; }

.promise-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.status-badge {
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.status-badge.pending { border: 1.5px solid var(--pending-border); background: var(--white); }
.status-badge.done { background: var(--done-border); color: #fff; }
.status-badge.expired { background: var(--expired-bg); border: 1.5px solid var(--expired-border); color: var(--expired-color); font-size: 12px; }

.promise-body { flex: 1; min-width: 0; }
.promise-text {
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
}
.promise-item.is-done .promise-text    { color: var(--text-mid); }
.promise-item.is-expired .promise-text { color: var(--expired-color); }

.promise-donedate {
  font-size: 0.72rem;
  color: var(--done-color);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Comment toggle */
.comment-toggle {
  background: none; border: none;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 500;
  color: var(--text-muted);
  cursor: pointer; padding: 0;
  margin-left: auto; flex-shrink: 0;
  transition: color 0.15s;
  white-space: nowrap;
  align-self: center;
}
.comment-toggle:hover { color: var(--river-deep); }

/* ─── Comment form ─────────────────────────────────────────────────── */
.comment-form-wrap {
  margin-top: 0.65rem;
  padding: 1rem 1.1rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: none;
}
.comment-form-wrap.open { display: block; }

/* Login prompt inside comment area */
.login-prompt {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.login-prompt p {
  font-size: 0.84rem;
  color: var(--text-muted);
}
.btn-google-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}
.btn-google-inline:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.15); }

.comment-form { display: flex; flex-direction: column; gap: 0.55rem; }
.comment-form textarea {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  min-height: 68px;
  transition: border-color 0.2s;
}
.comment-form textarea:focus { border-color: var(--river-mid); }
.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.comment-form-note { font-size: 0.7rem; color: var(--text-muted); }
.comment-submit {
  padding: 0.4rem 1rem;
  background: var(--river-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.comment-submit:hover { background: var(--river-dark); }
.comment-submit:disabled { opacity: 0.5; cursor: default; }

/* ─── Toast ────────────────────────────────────────────────────────── */
.comment-toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--text-dark);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.875rem; font-weight: 500;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 999; white-space: nowrap;
}
.comment-toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Empty state */
.empty-state {
  text-align: center; padding: 4rem 0;
  color: var(--text-muted); font-size: 0.95rem;
  display: none;
}
.empty-state.visible { display: block; }

/* ─── Floating action button ───────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.3rem 0 1rem;
  height: 48px;
  background: var(--reed-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(26,79,53,0.45);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  white-space: nowrap;
}
.fab:hover {
  background: var(--reed);
  box-shadow: 0 6px 24px rgba(26,79,53,0.55);
  transform: translateY(-2px);
}
.fab-icon {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  margin-top: -1px;
}
.fab-label { letter-spacing: -0.01em; }

/* ─── Modal overlay ────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(13,30,50,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }

/* ─── Suggest modal ────────────────────────────────────────────────── */
.suggest-modal {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  padding: 2.25rem 2rem 2rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  animation: modal-in 0.22s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.1rem;
  background: none; border: none;
  font-size: 1.6rem; font-weight: 300;
  color: var(--text-muted);
  cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--text-dark); }

.suggest-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.suggest-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

/* Auth wall */
#suggest-auth-wall { display: none; }
#suggest-auth-wall.show { display: block; }
.suggest-auth-msg {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.suggest-google-btn { margin: 0; }

/* Form hidden when not logged in */
#suggest-form { display: none; }
#suggest-form.show { display: block; }

/* ─── Form fields ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.req { color: var(--expired-border); margin-left: 1px; }
.form-optional { font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }
.form-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.25rem; display: block; }

.form-group textarea,
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--parchment);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.form-group textarea:focus,
.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus {
  border-color: var(--river-mid);
  background: var(--white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a95a8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

/* Status toggle */
.status-toggle {
  display: flex;
  gap: 0.6rem;
}
.status-option { cursor: pointer; }
.status-option input { display: none; }
.status-chip {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all 0.15s;
  cursor: pointer;
}
.status-option input:checked + .pending-chip {
  border-color: var(--river-deep);
  color: var(--river-deep);
  background: rgba(30,82,120,0.07);
}
.status-option input:checked + .done-chip {
  border-color: var(--done-border);
  color: var(--done-color);
  background: var(--done-bg);
}

/* Submit button */
.suggest-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8rem;
  background: var(--river-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}
.suggest-submit:hover { background: var(--river-dark); }
.suggest-submit:disabled { opacity: 0.5; cursor: default; }

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer { background: var(--river-dark); color: var(--text-on-dark-muted); padding: 3.5rem 1.5rem 0; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand .logo { display: block; margin-bottom: 0.6rem; font-size: 1.1rem; color: var(--text-on-dark); }
.footer-brand p { font-size: 0.84rem; max-width: 320px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; }
.footer-links a { font-size: 0.84rem; color: var(--text-on-dark-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text-on-dark); }
.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 1.25rem 0; font-size: 0.75rem; text-align: center; opacity: 0.4; }

/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-inner { gap: 0.5rem; }
  .subscribe-form input { width: 110px; }
  .highlights-inner { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; border-radius: var(--radius); padding: 0.8rem 1rem; gap: 0.5rem; }
  .stat-divider { display: none; }
  .stat { flex-direction: row; gap: 0.4rem; align-items: baseline; padding: 0; }
  .stat-num { font-size: 1.2rem; }
  .hero h1 { font-size: 2.5rem; }
  .filter-inner { overflow-x: auto; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}
