/*


 */

/* ============================================================
   DESIGN SYSTEM — HopDrop
   Reference: CRED.club + Linear.app
   ============================================================ */

:root {
  /* Backgrounds — CRED-style near-black base */
  --bg-base:    #000000;
  --bg-surface: #080810;
  --bg-raised:  #0f0f1a;
  --bg-overlay: #141420;
  --bg-hover:   #1a1a28;

  /* Borders — refined, not heavy */
  --border-subtle:   rgba(255,255,255,0.06);
  --border-default:  rgba(255,255,255,0.10);
  --border-emphasis: rgba(255,255,255,0.18);
  --border-strong:   rgba(255,255,255,0.30);

  /* Brand */
  --brand:      #7c6dfa;
  --brand-dim:  rgba(124,109,250,0.15);
  --brand-glow: rgba(124,109,250,0.08);

  /* Text — CRED-style pure white primary */
  --text-primary:   #ffffff;
  --text-secondary: #9898b4;
  --text-tertiary:  #4a486a;
  --text-disabled:  #2a2840;

  /* Semantic */
  --success:      #22c55e;
  --success-dim:  rgba(34,197,94,0.12);
  --warning:      #f59e0b;
  --warning-dim:  rgba(245,158,11,0.12);
  --danger:       #ef4444;
  --danger-dim:   rgba(239,68,68,0.12);

  /* Fonts — Inter (Linear's font) */
  --font-display: 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Radius — Linear-style: tighter, more precise */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --t-fast: 120ms cubic-bezier(0.4,0,0.2,1);
  --t-base: 200ms cubic-bezier(0.4,0,0.2,1);
  --t-slow: 350ms cubic-bezier(0.4,0,0.2,1);

  /* Legacy aliases — keep Tailwind hd-* working */
  --color-bg:              var(--bg-base);
  --color-surface:         var(--bg-surface);
  --color-surface-raised:  var(--bg-raised);
  --color-border:          rgba(255,255,255,0.10);
  --color-border-bright:   rgba(255,255,255,0.18);
  --color-primary:         var(--brand);
  --color-primary-glow:    var(--brand-dim);
  --color-accent:          #f97316;
  --color-success:         var(--success);
  --color-warning:         var(--warning);
  --color-text-primary:    var(--text-primary);
  --color-text-secondary:  var(--text-secondary);
  --color-text-tertiary:   var(--text-tertiary);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  font-family: var(--font-display);
}
html, body { overflow-x: hidden; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv02";
  letter-spacing: -0.011em;
}
input:focus, select:focus, textarea:focus, button:focus { outline: none; }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* ── Typography scale — Inter + Linear.app hierarchy ────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px,8vw,96px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--text-primary);
}
.t-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}
.t-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.t-h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.t-body-lg {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}
.t-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.t-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.t-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ── Cards ──────────────────────────────────────────────── */

/* Variant A: Data card — browse lists */
.card-data {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--t-fast),
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}
.card-data:hover {
  border-color: var(--border-emphasis);
  background: var(--bg-raised);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Variant B: Raised card — detail sections */
.card-raised {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* Variant C: Highlighted card — active/urgent */
.card-highlight {
  background: var(--bg-raised);
  border: 1px solid var(--border-emphasis);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-lg);
}

/* Legacy compat */
.hd-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.hd-card-hover:hover {
  border-color: var(--border-emphasis);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ── Buttons ────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: filter var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(124,109,250,0.5), 0 2px 8px rgba(124,109,250,0.25);
}
.btn-primary:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(124,109,250,0.6), 0 4px 16px rgba(124,109,250,0.35);
}
.btn-primary:active:not(:disabled) {
  transform: scale(0.97) translateY(0);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-emphasis);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.10);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.btn-secondary:active:not(:disabled) {
  transform: scale(0.97);
}
.btn-secondary:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-hover); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-dim);
  color: var(--danger);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239,68,68,0.2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
  text-decoration: none;
}
.btn-danger:hover { background: rgba(239,68,68,0.18); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-tertiary);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.btn-icon:hover { background: var(--bg-hover); color: var(--text-primary); }

/* Button spinner */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Forms ──────────────────────────────────────────────── */

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.hd-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  width: 100%;
  padding: 10px 13px;
  font-size: 15px;
  font-family: var(--font-display);
  line-height: 1.5;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.hd-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.hd-input::placeholder { color: var(--text-tertiary); }
.hd-input::-webkit-calendar-picker-indicator { filter: invert(0.4); cursor: pointer; }
.hd-input:disabled { opacity: 0.5; cursor: not-allowed; }
select.hd-input option { background: var(--bg-raised); color: var(--text-primary); }
.hd-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,0.08); }

.form-error {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--danger);
}

/* Input with icon */
.input-group {
  position: relative;
}
.input-group .input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.input-group .hd-input { padding-left: 34px; }

/* ── Badges & Chips ─────────────────────────────────────── */

/* Status badges — tight, uppercase, no pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-open      { background: #052814; color: #22c55e; border: 1px solid #14532d; }
.badge-matched   { background: #0d0a2e; color: #818cf8; border: 1px solid #3730a3; }
.badge-transit   { background: #1c0a00; color: #f97316; border: 1px solid #9a3412; }
.badge-done      { background: var(--bg-overlay); color: var(--text-tertiary); border: 1px solid var(--border-default); }
.badge-warning   { background: #1a1000; color: var(--warning); border: 1px solid rgba(245,158,11,0.3); }
.badge-cancelled { background: #1c0505; color: #f87171; border: 1px solid #7f1d1d; }

/* Data chips — pill shape, no color */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-default);
  background: transparent;
  white-space: nowrap;
}
.chip svg, .chip [data-lucide] { width: 12px; height: 12px; flex-shrink: 0; }

/* Urgency chips */
.chip-urgent  { color: var(--warning); border-color: rgba(245,158,11,0.3); }
.chip-soon    { color: var(--brand); border-color: var(--brand-dim); }
.chip-flex    { color: var(--text-secondary); border-color: var(--border-default); }

/* Verification */
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(34,197,94,0.08);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.2);
}
.badge-new-member {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--brand-dim);
  color: var(--brand);
  border: 1px solid rgba(124,109,250,0.2);
}

/* City route pill */
.route-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 4px 10px 4px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  white-space: nowrap;
}
.route-pill .arrow { color: var(--text-tertiary); font-weight: 400; }

/* ── Navigation ─────────────────────────────────────────── */

.hd-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 56px;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--t-base);
}
.hd-nav.scrolled { border-bottom-color: var(--border-default); }

.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
  position: relative;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

/* Avatar chip */
.avatar-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--t-fast);
}
.avatar-chip:hover { background: var(--bg-hover); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 220px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 4px 16px rgba(0,0,0,0.3);
  overflow: hidden;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-dropdown-item:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-dropdown-item.danger { color: #f87171; }
.nav-dropdown-item.danger:hover { background: rgba(239,68,68,0.08); }
.nav-dropdown-item svg, .nav-dropdown-item [data-lucide] { width: 15px; height: 15px; flex-shrink: 0; }

/* Mobile bottom sheet */
.mobile-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--bg-overlay);
  border-top: 1px solid var(--border-default);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 8px 0 env(safe-area-inset-bottom, 16px);
  transform: translateY(100%);
  transition: transform var(--t-base);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
}
.mobile-sheet.open { transform: translateY(0); }
.mobile-sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border-emphasis);
  border-radius: 2px;
  margin: 0 auto 12px;
}
.mobile-sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.mobile-sheet-item:hover, .mobile-sheet-item:active {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.mobile-sheet-item svg, .mobile-sheet-item [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base);
  backdrop-filter: blur(2px);
}
.mobile-sheet-overlay.open { opacity: 1; pointer-events: all; }

/* Wordmark (legacy) */
.nav-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.04em;
  text-decoration: none;
  line-height: 1;
}
.nav-wordmark .hop  { color: var(--text-primary); }
.nav-wordmark .drop { color: var(--brand); }

/* Navbar logo — icon + wordmark */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 120ms ease;
}
.navbar-logo:hover { opacity: 0.9; }
.navbar-logo svg { display: block; flex-shrink: 0; }
.navbar-logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.navbar-logo-hop  { color: #f0effe; }
.navbar-logo-drop { color: #9d91fc; }
.navbar-logo:hover .navbar-logo-hop { color: #ffffff; }
.navbar-logo:hover svg rect,
.navbar-logo:hover svg circle,
.navbar-logo:hover svg path { fill: #ffffff; }
.navbar-logo:hover svg circle:nth-child(5),
.navbar-logo:hover svg circle:nth-child(7) { fill: #0a0a0f; }

/* Avatar letter bubble */
.avatar-chip-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid rgba(124,109,250,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}

/* Badge sizes + neutral variant */
.badge-sm { font-size: 9px; padding: 2px 5px; }
.badge-neutral {
  background: var(--bg-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

/* Active state on nav-dropdown-item */
.nav-dropdown-item.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* ── Flash messages ─────────────────────────────────────── */
.flash-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(34,197,94,0.2);
  background: rgba(34,197,94,0.06);
  font-size: 13px;
  color: var(--success);
}
.flash-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(239,68,68,0.2);
  background: rgba(239,68,68,0.06);
  font-size: 13px;
  color: var(--danger);
}

/* ── Empty states ───────────────────────────────────────── */
.empty-state {
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: left;
}
.empty-state-icon { color: var(--text-tertiary); width: 20px; height: 20px; margin-bottom: 12px; }
.empty-state-title { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 4px; }
.empty-state-desc  { font-size: 13px; color: var(--text-tertiary); margin-bottom: 16px; }

/* ── Status timeline ────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 24px;
}
.timeline-step {
  position: relative;
  padding-bottom: 24px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 14px;
  bottom: -10px;
  width: 1px;
  background: var(--border-default);
}
.timeline-step:last-child::before { display: none; }
.timeline-step.done::before { background: rgba(34,197,94,0.4); }
.timeline-dot {
  position: absolute;
  left: -24px;
  top: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border-default);
  background: transparent;
  transition: all var(--t-fast);
}
.timeline-dot.done {
  background: var(--success);
  border-color: var(--success);
}
.timeline-dot.current {
  width: 10px;
  height: 10px;
  left: -25px;
  top: 2px;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(124,109,250,0.2);
  animation: pulse-ring 2s ease infinite;
}
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 4px rgba(124,109,250,0.2); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}
.timeline-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.timeline-label.done { color: var(--text-primary); }
.timeline-label.current { font-size: 14px; color: var(--brand); font-weight: 600; }
.timeline-meta { font-size: 11px; color: var(--text-tertiary); margin-top: 2px; }

/* ── Landing page ───────────────────────────────────────── */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-overlay);
  border: 1px solid var(--border-emphasis);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--success-dim);
  animation: live-pulse 2s ease infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 3px var(--success-dim); }
  50%      { box-shadow: 0 0 0 7px transparent; }
}

/* Route ticker */
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

/* Fade up */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.3s ease forwards; }

/* Grid pattern */
.grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.stat-block .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.stat-block .stat-lbl {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* How it works — alternating rows */
.hiw-step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-dim);
  -webkit-text-stroke: 1px rgba(124,109,250,0.2);
}

/* ── Tab bar ────────────────────────────────────────────── */
.tab-active   { border-color: var(--brand) !important; color: var(--brand) !important; }
.tab-inactive { border-color: transparent; color: var(--text-tertiary); }
.tab-inactive:hover { color: var(--text-secondary); }

/* ── Misc utilities ─────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin: 0;
}
.section-divider {
  height: 1px;
  background: var(--border-default);
}

/* Focus ring */
.focus-ring:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Tooltip */
[data-tooltip] { position: relative; }
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-overlay);
  color: var(--text-primary);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-default);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  animation: fadeUp 0.12s ease;
}

/* Sidebar nav */
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
  margin-right: 12px;
}
.sidebar-nav-item:hover { color: var(--text-primary); background: var(--bg-hover); }
.sidebar-nav-item.active {
  background: var(--brand-dim);
  color: var(--brand);
  border-left: 2px solid var(--brand);
  padding-left: 12px;
}
.sidebar-nav-item svg, .sidebar-nav-item [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; }

/* Copyable text */
.copyable {
  cursor: pointer;
  transition: color var(--t-fast);
}
.copyable:hover { color: var(--brand); }

/* Card reveal animation */
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-reveal { animation: cardReveal 300ms ease-out both; }

/* ============================================================
   LANDING PAGE — REDESIGNED SECTIONS
   ============================================================ */

/* ── Shared eyebrow + sub ─────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 12px auto 0;
}

.peace-header .section-sub {
  margin-left: 0;
}

/* ── How It Works ─────────────────────────────────────────── */
.hiw-section {
  padding: 96px 0;
  max-width: 1080px;
  margin: 0 auto;
}

.hiw-header {
  text-align: center;
  margin-bottom: 72px;
}

.hiw-columns {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 64px;
  align-items: start;
}

.hiw-divider {
  background: var(--border-subtle);
  height: 100%;
  min-height: 320px;
}

.hiw-col-header {
  margin-bottom: 40px;
}

.hiw-col-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.hiw-col-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

.hiw-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hiw-step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 16px;
  padding-top: 3px;
}

.hiw-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
  border: 1px solid var(--border-emphasis);
  flex-shrink: 0;
}

.hiw-step-dot--brand {
  background: var(--brand);
  border-color: var(--brand);
}

.hiw-step-connector {
  width: 1px;
  height: 52px;
  background: var(--border-subtle);
  margin-top: 6px;
}

.hiw-step.last .hiw-step-connector {
  display: none;
}

.hiw-step-content {
  padding-bottom: 32px;
}

.hiw-step.last .hiw-step-content {
  padding-bottom: 0;
}

.hiw-step-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.hiw-step-content p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.hiw-cta {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-default);
  transition: color var(--t-fast), border-color var(--t-fast);
  letter-spacing: 0.01em;
}

.hiw-cta:hover {
  color: var(--text-primary);
  border-color: var(--border-emphasis);
}

.hiw-cta--brand {
  color: var(--brand);
  border-color: rgba(124,109,250,0.3);
}

.hiw-cta--brand:hover {
  color: #9d91fc;
  border-color: var(--brand);
}

@media (max-width: 768px) {
  .hiw-columns {
    grid-template-columns: 1fr;
  }
  .hiw-divider {
    width: 100%;
    height: 1px;
    min-height: unset;
    margin: 48px 0;
  }
}

/* ── Peace of Mind ────────────────────────────────────────── */
.peace-section {
  padding: 96px 0;
  max-width: 760px;
  margin: 0 auto;
}

.peace-header {
  margin-bottom: 64px;
}

.peace-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.peace-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  align-items: start;
  transition: background var(--t-fast);
}

.peace-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.peace-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  padding-top: 3px;
}

.peace-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.peace-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}

/* ─── Accordion ──────────────────────────────────────────────────────────── */

.accordion {
  border-top: 1px solid var(--border-subtle);
}

.accordion__item {
  border-bottom: 1px solid var(--border-subtle);
}

.accordion__trigger {
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast);
}

.accordion__trigger[aria-expanded="true"] {
  padding-bottom: 12px;
}

.accordion__trigger:hover .accordion__heading {
  color: var(--text-primary);
}

.accordion__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  user-select: none;
}

.accordion__heading {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color var(--t-fast);
}

.accordion__item--open .accordion__heading {
  color: var(--text-primary);
}

.accordion__icon {
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: transform var(--t-fast), color var(--t-fast);
}

.accordion__item--open .accordion__icon {
  transform: rotate(180deg);
  color: var(--brand);
}

.accordion__body {
  padding: 0 0 20px 48px;
}

.accordion__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.peace-contact {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.peace-contact-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.peace-contact-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.peace-contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
  flex-shrink: 0;
}

.peace-contact-link:hover {
  color: #9d91fc;
}

@media (max-width: 640px) {
  .peace-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ── Built for Trust ──────────────────────────────────────── */
.trust-section {
  padding: 96px 0;
  max-width: 1080px;
  margin: 0 auto;
}

.trust-header {
  text-align: center;
  margin-bottom: 64px;
}

.trust-bar {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
}

.trust-sep {
  width: 1px;
  background: var(--border-subtle);
  align-self: stretch;
  flex-shrink: 0;
}

.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  transition: background var(--t-fast);
}

.trust-item:hover {
  background: var(--bg-raised);
}

.trust-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-dim);
  border: 1px solid rgba(124,109,250,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.trust-item-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.trust-item-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .trust-bar {
    flex-direction: column;
  }
  .trust-sep {
    width: 100%;
    height: 1px;
  }
}

/* ── How It Works — Card layout ──────────────────────────── */
.hiw-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .hiw-cards { grid-template-columns: 1fr; }
}

.hiw-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-top: 2px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

.hiw-card--brand {
  border-color: rgba(124,109,250,0.2);
  border-top-color: rgba(124,109,250,0.5);
  background: linear-gradient(160deg, rgba(124,109,250,0.07) 0%, var(--bg-raised) 60%);
  box-shadow: 0 1px 0 rgba(124,109,250,0.08) inset, 0 0 40px rgba(124,109,250,0.04);
}

.hiw-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-default);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.hiw-card--brand .hiw-card-icon {
  background: rgba(124,109,250,0.1);
  border-color: rgba(124,109,250,0.2);
}

.hiw-card-header {
  margin-bottom: 28px;
}

.hiw-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.hiw-card-label--brand {
  color: var(--brand);
}

.hiw-card-meta {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.hiw-card-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.hiw-card-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hiw-step-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--text-tertiary);
}

.hiw-card--brand .hiw-step-icon {
  color: rgba(124,109,250,0.6);
}

.hiw-card-step:first-child {
  padding-top: 0;
}

.hiw-card-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hiw-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  padding-top: 2px;
  flex-shrink: 0;
  width: 20px;
}

.hiw-card-num--brand {
  color: rgba(124,109,250,0.6);
}

.hiw-card-step-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.hiw-card-step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

.hiw-card-footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* ── How It Works — CTA with sub-label ───────────────────── */
.hiw-cta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-default);
  text-decoration: none;
  transition: border-color var(--t-fast);
}
.hiw-cta:hover {
  border-color: var(--border-emphasis);
}
.hiw-cta-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.hiw-cta-sub {
  font-size: 12px;
  color: var(--text-tertiary);
}
.hiw-cta--brand .hiw-cta-main { color: var(--brand); }
.hiw-cta--brand .hiw-cta-sub  { color: rgba(124,109,250,0.5); }

/* ── How It Works — Social proof row ─────────────────────── */
.hiw-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.hiw-avatars {
  display: flex;
}
.hiw-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-overlay);
  border: 2px solid var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
  margin-left: -6px;
}
.hiw-avatar:first-child { margin-left: 0; }

/* ── Built for Trust — stakes pill ───────────────────────── */
.trust-stake {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  background: var(--success-dim);
  border-radius: 20px;
  border: 1px solid rgba(34,197,94,0.15);
}

/* ── Built for Trust — guarantee line ────────────────────── */
.trust-guarantee {
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════
   PHASE 2 — Trust Psychology UI
   ═══════════════════════════════════════════════════════════ */

/* ── Category selector grid ──────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  text-align: center;
}
.category-card:hover {
  border-color: var(--border-emphasis);
  background: var(--bg-overlay);
}
.category-card.selected {
  border-color: var(--brand);
  background: var(--brand-glow);
}
.category-card__icon {
  color: var(--text-tertiary);
  transition: color var(--t-fast);
}
.category-card.selected .category-card__icon { color: var(--brand); }
.category-card__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  line-height: 1.3;
}
.category-card.selected .category-card__label { color: var(--brand); }
.phase-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-top: 8px;
}
.phase-note svg { color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* ── Bio field helpers ────────────────────────────────────── */
.form-label-optional {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 6px;
  text-transform: lowercase;
  letter-spacing: 0;
}
.char-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 6px;
}
.char-counter-hint {
  font-size: 12px;
  color: var(--text-tertiary);
  font-style: italic;
  line-height: 1.4;
}
.char-counter-count {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}
.char-counter-count.warning { color: var(--danger); }

/* ── Bio quote display ────────────────────────────────────── */
.bio-quote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--border-default);
}

/* ── Photo upload card ────────────────────────────────────── */
.photo-upload-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.photo-upload-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.photo-upload-card__header svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.photo-upload-card__header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}
.photo-upload-card__header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.photo-tips {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.photo-tips li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.photo-tips li svg { color: var(--success); }
.photo-upload-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-preview-img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
.photo-preview-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--success);
  font-weight: 500;
}
.photo-privacy-note {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════
   PHASE 3 — Match Notification Card + Timeline + Decline
   ═══════════════════════════════════════════════════════════ */

/* ── Trust Card ──────────────────────────────────────────── */
.trust-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-emphasis);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 32px;
}
.trust-card__heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.trust-card__profile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--bg-overlay);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  margin-bottom: 16px;
}
.trust-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand-dim);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.trust-card__avatar span { font-size: 28px; font-weight: 700; color: var(--brand); }
.trust-card__info { display: flex; flex-direction: column; gap: 6px; }
.trust-card__name { font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.02em; }
.trust-card__employer {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-tertiary);
}
.trust-card__trip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.trust-card__trip svg, .trust-card__trip i { color: var(--brand); }
.trust-card__bio {
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-left: 2px solid var(--brand-dim);
  margin-bottom: 20px;
  line-height: 1.6;
}
.trust-card__protections { margin-bottom: 20px; }
.trust-card__protections-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.trust-card__protections-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trust-card__protections-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}
.trust-card__protections-list li i { color: var(--success); flex-shrink: 0; }
.trust-card__actions { display: flex; gap: 10px; margin-bottom: 12px; }
.trust-card__accept { flex: 1; }
.trust-card__decline { text-align: center; }
.trust-card__decline a { font-size: 12px; color: var(--text-tertiary); text-decoration: none; }
.trust-card__decline a:hover { color: var(--text-secondary); }

/* ── Status Timeline ─────────────────────────────────────── */
.timeline { margin-bottom: 32px; }
.timeline__heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.timeline__row {
  display: flex;
  gap: 12px;
  min-height: 40px;
}
.timeline__row--current {
  background: var(--brand-dim);
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 10px;
  margin-left: -12px;
}
.timeline__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
}
.timeline__dot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline__row--done .timeline__dot i { color: var(--success); }
.timeline__row--future .timeline__dot i { color: var(--text-tertiary); }
.timeline__dot-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-dim);
  animation: tl-pulse 2s ease infinite;
}
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--brand-dim); }
  50%       { box-shadow: 0 0 0 8px transparent; }
}
.timeline__connector {
  width: 1px;
  flex: 1;
  min-height: 24px;
  background: var(--border-subtle);
  margin: 4px 0;
}
.timeline__connector--done { background: rgba(34,197,94,0.3); }
.timeline__content { padding-bottom: 20px; flex: 1; }
.timeline__row:last-child .timeline__content { padding-bottom: 0; }
.timeline__event-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.timeline__label { font-size: 13px; font-weight: 500; color: var(--text-primary); line-height: 1.4; }
.timeline__row--future .timeline__label { color: var(--text-tertiary); font-weight: 400; }
.timeline__row--current .timeline__label { color: var(--brand); font-weight: 600; }
.timeline__time { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); white-space: nowrap; }
.timeline__sub { font-size: 12px; color: var(--text-secondary); margin-top: 3px; line-height: 1.5; }

/* ── Decline Modal ───────────────────────────────────────── */
.decline-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.decline-modal {
  background: var(--bg-raised);
  border: 1px solid var(--border-emphasis);
  border-radius: var(--radius-xl);
  padding: 28px;
  max-width: 400px;
  width: 100%;
}
.decline-modal h3 { font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 0 0 10px; }
.decline-modal p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 20px; }
.decline-modal__actions { display: flex; flex-direction: column; gap: 8px; }
.btn-text {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-tertiary);
  cursor: pointer;
  text-align: center;
  padding: 6px;
}

/* ─── Celebration Page ───────────────────────────────────────────── */
.celebration-page {
  max-width: 480px;
  margin: 64px auto;
  padding: 0 20px;
  text-align: center;
}

.celebration-page__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-dim);
  border: 1px solid rgba(34,197,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--success);
}

.celebration-page__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin: 0 0 8px;
}

.celebration-page__sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 40px;
}

.celebration-page__earnings {
  font-size: 56px;
  font-weight: 800;
  color: var(--success);
  letter-spacing: -0.04em;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}

.celebration-page__earnings span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
  margin-top: 4px;
}

.celebration-page__divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 24px 0;
}

.celebration-page__share-prompt {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.celebration-page__share-btn {
  width: 100%;
  justify-content: center;
}

/* ─── Rating Section ─────────────────────────────────────────────── */
.rating-section {
  margin-bottom: 32px;
}

.rating-section__prompt {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.star-rating {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.star-rating__star {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-tertiary);
  transition: color var(--t-fast), transform var(--t-fast);
}

.star-rating__star:hover,
.star-rating__star.active {
  color: #f59e0b;
  transform: scale(1.1);
}

.star-rating__star:hover i,
.star-rating__star.active i {
  fill: #f59e0b;
}

.star-rating__star i {
  fill: none;
  stroke: currentColor;
}

.star-rating__star svg,
.star-rating__star i { display: block; }

.rating-note-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

/* ─── Total Earnings Bar ─────────────────────────────────────────── */
.total-earnings-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 32px;
}

.total-earnings-bar__label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.total-earnings-bar__amount {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

/* ─── Payment Notes ──────────────────────────────────────────────── */
.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--success);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.payment-note i {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 1px;
}

.payment-note--traveler {
  border-left-color: var(--brand);
}

.payment-note--traveler i {
  color: var(--brand);
}

/* ─── Contact Card — Three-State Phone Reveal ───────────────────────────── */

.contact-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-tertiary);
}
.contact-locked svg,
.contact-locked i { color: var(--text-tertiary); }

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
}

.contact-card--masked {
  background: var(--bg-surface);
}

.contact-card--revealed {
  background: rgba(37,211,102,0.05);
  border-color: rgba(37,211,102,0.2);
}

.contact-card__call {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.contact-card__call-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-overlay, rgba(0,0,0,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.contact-card__call-icon--active {
  background: rgba(37,211,102,0.1);
  color: #25D366;
}

.contact-card__call-label {
  font-size: 11px;
  color: var(--text-tertiary);
  display: block;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-card__call-number {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  display: block;
}
.contact-card__call-number:hover { color: #25D366; }

.contact-card__call-number.masked {
  letter-spacing: 0.2em;
  color: var(--text-tertiary);
}

.contact-card__whatsapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 72px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-overlay, rgba(0,0,0,0.05));
  border: 1px solid var(--border-default);
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.contact-card__whatsapp--active {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: #25D366;
}
.contact-card__whatsapp--active:hover {
  background: rgba(37,211,102,0.18);
  border-color: rgba(37,211,102,0.4);
}

.contact-card__whatsapp--locked {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-reveal-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 8px;
  justify-content: center;
}
.contact-reveal-note i { color: var(--brand); flex-shrink: 0; }

/* ─── WhatsApp Message Preview ──────────────────────────────────────────── */

.wa-message-preview {
  margin-top: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.wa-message-preview__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  font-size: 12px;
  color: var(--text-tertiary);
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast);
}
.wa-message-preview__toggle:hover {
  background: var(--bg-surface);
  color: var(--text-secondary);
}
.wa-message-preview__toggle i { color: #25D366; }

.wa-message-preview__content {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.wa-message-preview__text {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0 0 8px;
}

.wa-message-preview__hint {
  font-size: 11px;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ─── Form Label Hierarchy (Phase 4 layout) ─────────────────────────────── */
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 6px;
}

.form-helper {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 5px;
  line-height: 1.5;
}

/* ─── Step Divider ───────────────────────────────────────────────────────── */
.form-step-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0 28px;
}

.form-step-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.form-step-divider__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.form-step-divider__label i,
.form-step-divider__label svg {
  color: var(--brand);
}

/* ─── Photo Upload Card (new structure) ──────────────────────────────────── */
.photo-upload-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-upload-card__why {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
}

.photo-upload-card__why-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}

.photo-upload-card__why-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.photo-upload-card__why-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--success-dim);
  border: 1px solid rgba(34,197,94,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  flex-shrink: 0;
}

.photo-upload-card__sep {
  height: 1px;
  background: var(--border-subtle);
}

.photo-upload-card__how {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.photo-tips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.photo-tips li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.photo-tips li i,
.photo-tips li svg {
  color: var(--success);
  flex-shrink: 0;
}

.photo-upload-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.photo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 8px 16px;
  white-space: nowrap;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
}

.photo-btn--primary {
  background: var(--brand);
  color: #fff;
  border: none;
}
.photo-btn--primary:hover {
  opacity: 0.9;
}

.photo-btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}
.photo-btn--secondary:hover {
  background: var(--bg-surface);
}

.photo-tips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.photo-tip-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--success-dim, #d1fae5);
  color: var(--success, #059669);
  font-weight: 500;
}

.photo-privacy-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-tertiary);
  margin: 0;
}

.photo-privacy-note i,
.photo-privacy-note svg {
  flex-shrink: 0;
}
