/* assets/css/style.css — NikahLink inner pages */

/* =====================================================
   Design tokens
   ===================================================== */
:root {
    --ink: #123f39;
    --ink-soft: #1b4d45;
    --ink-700: #0e3b32;
    --ink-500: #ffffff;
    --muted: #0e3b32;
    --line: #e6e4dc;
    --bg: #faf8f3;
    --bg-2: #f4f1ea;
    --paper: #ffffff;
    --gold: #c9a15a;
    --gold-soft: #e6d6ad;
    --rose: #b8766a;
    --warn: #b8442f;
    --green-100: #e3efe9;
    --green-500: #2f7a63;
    --green-700: #175245;
    --green-900: #0e3b32;
    --sand-50: #faf8f3;
    --sand-100: #f4f1ea;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(18, 63, 57, .05);
    --shadow: 0 8px 28px rgba(18, 63, 57, .08);
    --shadow-lg: 0 20px 50px rgba(18, 63, 57, .12);
    --font-body: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* =====================================================
   Layout
   ===================================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; width: 100%; }
.narrow    { max-width: 520px; }
.main      { flex: 1; padding: 32px 0; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.15rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--green-500), var(--green-900));
  display: inline-block;
  box-shadow: 0 4px 12px rgba(14,59,50,.2);
}

.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: .92rem;
  transition: color .15s ease;
}
.nav a.active { color: var(--green-700); font-weight: 600; }
.nav a:hover  { color: var(--green-700); text-decoration: none; }

.nav .badge {
  background: var(--warn);
  color: #fff;
  border-radius: 20px;
  font-size: .68rem;
  padding: 1px 7px;
  margin-inline-start: 4px;
  font-weight: 600;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--green-700); }

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .06s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14,59,50,.22);
}
.btn-primary:hover {
  background: var(--green-700);
  box-shadow: 0 10px 22px rgba(14,59,50,.28);
}

.btn-ghost {
  background: transparent;
  color: var(--green-900);
  border-color: var(--ink);
}
.btn-ghost:hover { background: rgba(18,63,57,.05); }

.btn-danger {
  background: transparent;
  color: var(--warn);
  border-color: #f0d3cd;
}
.btn-danger:hover { background: #fdf3f1; }

.btn-muted { background: var(--bg-2); color: var(--ink-500); border-color: var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* =====================================================
   Cards
   ===================================================== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.card + .card { margin-top: 16px; }
.card:hover { box-shadow: var(--shadow); }
.card-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
}

/* =====================================================
   Forms
   ===================================================== */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.field input[type=text],
.field input[type=email],
.field input[type=password],
.field input[type=tel],
.field input[type=date],
.field input[type=time],
.field input[type=number],
.field input[type=url],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
}
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; }
.check input { margin-top: 3px; }

/* =====================================================
   Hero (fallback if used)
   ===================================================== */
.hero {
  background: linear-gradient(160deg, var(--green-100), #fff 60%);
  padding: 60px 0 40px;
  text-align: center;
}
.hero h1 { color: var(--green-900); margin: 0 0 12px; }
.hero p  { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   Auth pages
   ===================================================== */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-wrap .card { width: 100%; }

/* =====================================================
   Stats
   ===================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .grid-3 { grid-template-columns: 1fr; } }

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.stat:hover { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.stat .n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.stat .l { color: var(--muted); font-size: .86rem; margin-top: 4px; }

/* =====================================================
   Profile cards (search / dashboard)
   ===================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.pcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.pcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.pcard .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--green-100), #dfeee7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  border: 1px solid var(--line);
}
.pcard .avatar.locked {
  color: var(--ink-500);
  background: var(--bg-2);
}
.pcard h3 { margin: 4px 0 0; font-size: 1.05rem; }
.pcard .meta { color: var(--muted); font-size: .86rem; }
.pcard .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag {
  background: var(--green-100);
  color: var(--green-900);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: .74rem;
  font-weight: 500;
}
.pcard .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }

/* =====================================================
   Tabs
   ===================================================== */
.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.tab {
  padding: 12px 16px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease;
}
.tab:hover { color: var(--green-700); text-decoration: none; }
.tab.active { color: var(--green-700); border-color: var(--green-700); }

/* =====================================================
   List items
   ===================================================== */
.item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.item:hover { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.item .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(140deg, var(--green-100), #dfeee7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.item .body { flex: 1; }
.item .body h4 { margin: 0 0 4px; font-size: 1rem; }
.item .body p  { margin: 0 0 10px; color: var(--muted); font-size: .88rem; }
.item .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* =====================================================
   Chat
   ===================================================== */
.chat {
  display: flex;
  flex-direction: column;
  height: 70vh;
  min-height: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.chat-head .who {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-900);
  font-size: 1.05rem;
}
.chat-head .wali { font-size: .8rem; color: var(--muted); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 70%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: .95rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.msg.them {
  background: #fff;
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
}
.msg.me {
  background: var(--green-700);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 12px rgba(23,82,69,.18);
}
.msg .time {
  display: block;
  font-size: .7rem;
  opacity: .7;
  margin-top: 5px;
}

.chat-foot {
  padding: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
}
.chat-foot textarea {
  flex: 1;
  resize: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  min-height: 46px;
  max-height: 120px;
  transition: border-color .15s, box-shadow .15s;
}
.chat-foot textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px var(--green-100);
}

/* Starter prompts */
.starter-panel {
  background: linear-gradient(180deg, var(--green-100), #f4faf6);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
.starter-head {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 10px;
  letter-spacing: .02em;
}
.starter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
}
.starter-chip {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-700);
  padding: 7px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
  transition: all .15s ease;
}
.starter-chip:hover {
  border-color: var(--green-500);
  color: var(--green-700);
  background: #fff;
}
.starter-toggle {
  padding: 8px 16px 0;
  text-align: right;
}
.starter-toggle button {
  background: none;
  border: none;
  color: var(--green-700);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.starter-toggle button:hover { text-decoration: underline; }

.quick-answer {
  display: block;
  width: 100%;
  text-align: left;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--green-500);
  background: #fff;
  color: var(--green-700);
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
  transition: background .15s ease;
}
.quick-answer:hover { background: var(--green-100); }

/* Threaded Q&A */
.thread {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--gold-soft);
  margin: 8px 0;
}
.thread .msg.answer {
  margin-left: 24px;
  opacity: .96;
  font-size: .92rem;
}
.thread .msg.answer.me { background: #0f5c44; }
.thread-tag {
  display: block;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .75;
  margin-bottom: 3px;
  font-weight: 600;
}

/* =====================================================
   Alerts
   ===================================================== */
.alert {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: .9rem;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 14px;
}
.alert.info {
  background: var(--green-100);
  border-color: #cfe9dc;
  color: var(--green-900);
}
.alert.warn {
  background: #fdf3f1;
  border-color: #f0d3cd;
  color: var(--warn);
}

/* =====================================================
   Toasts
   ===================================================== */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn .2s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Meeting room
   ===================================================== */
.meeting-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0 32px;
}
.meeting-header {
  background: linear-gradient(135deg, var(--green-100) 0%, #fff 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 20px;
}
.meeting-header h1 { margin: 0 0 6px; font-size: 1.5rem; }
.meeting-header .muted { margin: 0; font-size: .92rem; }
.meeting-header strong { color: var(--green-700); }

.meeting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 760px) { .meeting-grid { grid-template-columns: 1fr; } }

.video-tile {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #1a2a25 0%, #0b1310 80%);
  border: 1px solid #1e2a25;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(13,59,46,.12);
  transition: box-shadow .2s ease;
}
.video-tile:hover { box-shadow: 0 12px 32px rgba(13,59,46,.18); }
.video-tile-wide { grid-column: 1 / -1; aspect-ratio: 21 / 7; }
@media (max-width: 760px) { .video-tile-wide { aspect-ratio: 4 / 3; } }

.video-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.video-label::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #31d67c;
  box-shadow: 0 0 8px #31d67c;
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}

.meeting-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#timer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 10px 20px;
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  min-width: 90px;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s;
}
#timer.tag-warn   { background: #fdf1dd; color: #9c6a12; border-color: #eedcae; }
#timer.tag-danger {
  background: #fbe2dd; color: var(--warn); border-color: #f3c8c0;
  animation: timerPulse 1.2s ease-in-out infinite;
}
@keyframes timerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,68,47,.2); }
  50%      { box-shadow: 0 0 0 8px rgba(184,68,47,0); }
}

.meeting-controls .btn-danger {
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(184,68,47,.15);
}
.meeting-controls .btn-danger:hover { box-shadow: 0 4px 14px rgba(184,68,47,.25); }

/* =====================================================
   Pricing / plans (used by billing page)
   ===================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 860px) { .plans-grid { grid-template-columns: 1fr; } }

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}
.plan-featured {
  border-color: var(--green-500);
  box-shadow: 0 8px 28px rgba(19,107,78,.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-700);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 4px 14px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan-name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
}
.plan-price {
  margin: 12px 0 22px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.plan-price .period { color: var(--muted); font-size: .9rem; }

.plan-features { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan-features li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: .92rem;
  color: var(--ink-700);
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-500);
  font-weight: 700;
}
.plan-features .muted-item { color: var(--muted); }
.plan-features .muted-item::before { content: '–'; color: var(--muted); }

.plan-action { margin-top: auto; }
.plan-summary {
  background: var(--green-100);
  border: 1px solid #cfe9dc;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 16px 0;
}

.success-tick {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 62px;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(19,107,78,.28);
}

/* =====================================================
   Button color overrides (must beat .nav a, body.landing a, etc.)
   Placed last for specificity.
   ===================================================== */
a.btn.btn-primary,
a.btn.btn-primary:visited,
a.btn.btn-primary:hover,
.btn.btn-primary {
  color: #fff !important;
}

a.btn.btn-ghost,
a.btn.btn-ghost:visited,
a.btn.btn-ghost:hover,
.btn.btn-ghost {
  color: var(--green-900) !important;
}

a.btn.btn-danger,
a.btn.btn-danger:visited,
a.btn.btn-danger:hover,
.btn.btn-danger {
  color: var(--warn) !important;
}

a.btn.btn-muted,
.btn.btn-muted {
  color: var(--ink-500) !important;
}
/* =====================================================
   Utilities
   ===================================================== */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-900);
}
body.landing .hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(18,63,57,.2);
}
body.landing .hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}