/* ==========================================================================
   HeyWork (heywork.co.ke) — Standalone Design System
   6 deliberate color roles:
     Canvas:  #FFFFFF
     Ink/CTA: #111111
     Violet:  #5A2CD6 -> #2B0F82 (with #8B64F0 glow + film grain — hero only)
     Signal:  #01E0DE (micro-accent) / #09757A on #E6F7F7 (readable trust pill)
     Bento:   #DDEEEF (Soft Mist) & #F3F2EE (Warm Oat)
     Muted:   #5E5D5A
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111111;
  --ink-soft: #2e2d2b;
  --muted: #5e5d5a;
  --line: #e7e5e0;
  --line-soft: #f0eee9;

  --violet: #5a2cd6;
  --violet-dark: #3e18a8;
  --violet-deep: #2b0f82;
  --violet-glow: #8b64f0;
  --violet-soft: #f2ecfd;

  --aqua: #01e0de;
  --teal: #09757a;
  --teal-soft: #e6f7f7;

  --mist: #ddeeef;
  --oat: #f3f2ee;

  --danger: #b42318;
  --danger-soft: #fef3f2;
  --danger-line: #fecdca;

  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 14px 36px rgba(17, 17, 17, 0.09);
  --shadow-modal: 0 24px 64px rgba(17, 17, 17, 0.22);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--violet-glow);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4 {
  margin-top: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
}

p {
  margin-top: 0;
}

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 76px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.modal-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
}

.brand span,
.modal-wordmark > span:first-child {
  color: var(--violet);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 12px;
}

.desktop-nav a,
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.nav-link:hover {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-link {
  border: 0;
  background: none;
  padding: 8px 0;
}

.mine-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-size: 11px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-signin,
.account-entry {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.header-signin:hover,
.account-entry:hover {
  color: var(--violet);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  list-style: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 230px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}

.mobile-menu nav a,
.mobile-menu nav .menu-post {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
}

.mobile-menu nav a:hover {
  background: var(--oat);
}

.mobile-menu nav .menu-post {
  margin-top: 6px;
  background: var(--ink);
  color: #fff;
  justify-content: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button svg {
  width: 15px;
  height: 15px;
}

.button-dark {
  background: var(--ink);
  color: #ffffff;
}

.button-dark:hover {
  background: var(--violet-dark);
}

.button-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: #d6d3cd;
}

.button-outline:hover {
  border-color: var(--ink);
  background: #faf9f7;
}

.button-light {
  background: #ffffff;
  color: var(--ink);
}

.button-light:hover {
  background: var(--oat);
}

.button-large {
  min-height: 48px;
  padding: 0 26px;
  font-size: 14.5px;
}

.header-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
}

/* ==========================================================================
   Signature Grainy Violet Hero Stage (Spent ONCE — bold, warm, focused)
   ========================================================================== */
.hero-wrap {
  padding-top: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 52px 32px 46px;
  text-align: center;
  background:
    radial-gradient(circle at 12% 90%, var(--violet-glow) 0%, transparent 48%),
    radial-gradient(circle at 90% 14%, var(--violet-deep) 0%, transparent 50%),
    linear-gradient(125deg, var(--violet) 0%, var(--violet-dark) 58%, var(--violet-deep) 100%);
  box-shadow: 0 18px 48px rgba(43, 15, 130, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.36;
}

.hero-compact {
  padding: 40px 32px 38px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 3px rgba(1, 224, 222, 0.22);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.7vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero h1 span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-description {
  max-width: 540px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hero-intent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 18px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.intent-option {
  min-height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.intent-option:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.1);
}

.intent-option.is-active {
  background: #ffffff;
  color: var(--violet-deep);
  box-shadow: 0 4px 14px rgba(17, 10, 48, 0.22);
}

.hero-compact .hero-description {
  margin-bottom: 0;
}

/* White Pill Search Bar inside Hero */
.hero .filters {
  display: flex;
  align-items: center;
  max-width: 660px;
  margin: 0 auto;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 10, 48, 0.26);
}

.search-field,
.location-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
}

.search-field {
  flex: 1.4;
  border-right: 1px solid var(--line);
}

.location-field {
  flex: 0.9;
}

.filters svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.filters input,
.filters select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.filters input::placeholder {
  color: #7c7a76;
}

.search-button {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.search-button:hover {
  background: var(--violet-dark);
}

.hero-popular {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-popular a {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 0.15s ease;
}

.hero-popular a:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   Live Listings Feed (Immediately Below Hero)
   ========================================================================== */
.browse-section {
  padding: 40px 0 56px;
  scroll-margin-top: 84px;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.feed-head-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
}

.result-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: var(--oat);
}

.switch-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.switch-option svg {
  width: 15px;
  height: 15px;
}

.switch-option.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.08);
}

.feed-all-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.14s ease;
}

.feed-all-link svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.feed-all-link:hover,
.feed-all-link:hover svg {
  color: var(--violet);
}

.feed-util-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-util-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.feed-util-tab svg {
  width: 15px;
  height: 15px;
}

.feed-util-tab:hover {
  background: var(--oat);
  color: var(--ink);
}

.feed-util-tab.is-active {
  background: var(--violet-soft);
  border-color: rgba(90, 44, 214, 0.24);
  color: var(--violet-dark);
}

.browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.category-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.cat-chip {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.cat-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.cat-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  font-weight: 600;
}

.cat-chip[aria-pressed="true"] .cat-count {
  opacity: 0.78;
}

.location-chips {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--oat);
  flex-shrink: 0;
}

.location-chips button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.location-chips button:hover {
  color: var(--ink);
}

.location-chips button.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(17, 17, 17, 0.08);
}

/* Clean, Scannable Listing Cards (Icon-led Facts & Labeled Actions) */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.listing-card:hover {
  border-color: #c8c4bc;
  box-shadow: var(--shadow-sm);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-employer-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex: 1;
}

.card-employer-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.card-employer {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-freshness {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}

.employer-mono,
.card-avatar-sm {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.card-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.card-type svg {
  width: 14px;
  height: 14px;
}

.card-type.talent {
  background: var(--violet-soft);
  color: var(--violet-dark);
}

.listing-badge {
  padding: 4px 9px;
  border-radius: 8px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-size: 11.5px;
  font-weight: 700;
}

.card-head-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.listing-title {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.listing-title a:hover {
  color: var(--violet);
}

.card-description {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-facts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.card-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--muted);
  min-width: 0;
  flex-wrap: wrap;
}

.card-fact svg {
  width: 16px;
  height: 16px;
  color: #7c7a76;
  flex-shrink: 0;
}

.card-fact.is-pay svg {
  color: var(--teal-deep);
}

.card-fact.is-pay strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.card-fact.is-pay-empty {
  color: #8a8884;
}

.card-fact.is-pay-empty svg {
  color: #9e9c98;
}

.card-fact-sep {
  opacity: 0.45;
}

.card-source-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-source-link:hover {
  color: var(--violet);
}

.card-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-perk {
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-size: 12px;
  font-weight: 600;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.card-save-btn svg {
  width: 15px;
  height: 15px;
}

.card-save-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.card-save-btn.is-saved {
  border-color: rgba(90, 44, 214, 0.35);
  background: var(--violet-soft);
  color: var(--violet-dark);
}

.card-save-btn.is-saved svg {
  fill: currentColor;
}

.card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.card-details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.14s ease, background-color 0.14s ease;
}

.card-details-btn:hover {
  border-color: var(--ink);
  background: #faf9f7;
}

.card-apply,
.card-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.14s ease;
}

.card-apply:hover,
.card-open:hover {
  background: var(--violet-dark);
}

.card-preview {
  display: none;
}

.listing-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Empty & Storage states */
.empty-state {
  margin-top: 12px;
  padding: 48px 24px;
  border-radius: var(--radius-md);
  border: 1px dashed #d4d1ca;
  background: #faf9f7;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.empty-state p {
  max-width: 380px;
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   Human Editorial Spotlight (Full-bleed Portrait + Floating White Card)
   ========================================================================== */
.editorial-section {
  padding-top: 8px;
  padding-bottom: 44px;
}

.editorial-title {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.editorial-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 460px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #231914;
}

.editorial-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 26% 16%;
}

.editorial-card {
  position: relative;
  z-index: 1;
  width: min(51%, 520px);
  padding: 32px 34px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.22);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.editorial-statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.15vw, 25px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.editorial-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.editorial-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editorial-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.editorial-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
}

.editorial-ico svg {
  width: 15px;
  height: 15px;
}

.editorial-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.editorial-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .editorial-stage {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    background: var(--oat);
    border: 1px solid var(--line);
  }

  .editorial-photo {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-position: 28% 22%;
  }

  .editorial-card {
    width: 100%;
    border-radius: 0;
    padding: 24px 20px;
    box-shadow: none;
  }

  .editorial-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .editorial-cta-box .button {
    width: 100%;
  }
}

/* ==========================================================================
   Asymmetric 2-Card Pastel Bento (Soft Mist #DDEEEF + Warm Oat #F3F2EE)
   ========================================================================== */
.bento-section {
  padding-top: 8px;
  padding-bottom: 44px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bento-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
}

.bento-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-mist {
  background: var(--mist);
}

.bento-oat {
  background: var(--oat);
}

.bento-tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.bento-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.18;
  font-weight: 700;
}

.bento-card p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 440px;
}

.bento-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.bento-points li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--aqua);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bento-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.bento-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bento-link:hover {
  color: var(--violet);
}

/* ==========================================================================
   Job Alerts Strip & Floating Alert Prompt
   ========================================================================== */
.alerts-section {
  padding-bottom: 52px;
}

.job-alert-banner {
  padding: 26px 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #faf9f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.jobs-page .job-alert-banner {
  margin-top: 32px;
}

.job-alert-copy {
  max-width: 460px;
}

.job-alert-copy h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.job-alert-copy p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.job-alert-controls {
  flex: 1;
  min-width: 260px;
  display: flex;
  justify-content: flex-end;
}

.job-alert-form {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-alert-row,
.alert-prompt-input-row {
  display: flex;
  gap: 8px;
}

.job-alert-row input,
.job-alert-prefs select,
.job-alert-prefs input,
.alert-prompt-input-row input {
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d6d3cd;
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
  min-width: 0;
}

.job-alert-row input,
.alert-prompt-input-row input {
  flex: 1;
}

.job-alert-prefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.job-alert-prefs select,
.job-alert-prefs input {
  width: 100%;
  height: 38px;
  font-size: 12.5px;
}

.job-alert-status {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

.job-alert-status.is-error {
  color: var(--danger);
}

.alert-prompt {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 160;
  width: min(380px, calc(100vw - 24px));
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-modal);
}

.alert-prompt-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.alert-prompt h3 {
  margin: 0 28px 8px 0;
  font-size: 17px;
}

.alert-prompt-text {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.alert-prompt-actions {
  display: flex;
  gap: 8px;
}

.alert-prompt-actions .button {
  flex: 1;
}

.alert-prompt-filter {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
}

/* ==========================================================================
   FAQ & Footer
   ========================================================================== */
.faq-section {
  padding-top: 44px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 56px;
}

.faq-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.faq-intro p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-intro a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 28px 18px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 14px;
  font-size: 20px;
  font-weight: 400;
  color: var(--violet);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 600px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 40px;
  background: #ffffff;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
}

.footer-brand {
  font-size: 23px;
}

.footer-main p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.footer-main nav a:hover {
  color: var(--violet);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   Dedicated /jobs/ Filter Form
   ========================================================================== */
.job-filter-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #faf9f7;
}

.job-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.job-filter-search {
  grid-column: span 2;
}

.job-filter select,
.job-filter input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d6d3cd;
  background: #ffffff;
  color: var(--ink);
  font-size: 13.5px;
}

.job-filter-input {
  position: relative;
  display: block;
}

.job-filter-input svg {
  position: absolute;
  left: 13px;
  top: 14px;
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.job-filter-input input {
  padding-left: 38px;
}

.job-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  grid-column: span 2;
}

.job-filter-actions .button {
  height: 44px;
}

/* ==========================================================================
   Modals & Posting Wizard
   ========================================================================== */
body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 20px;
  background: rgba(17, 17, 17, 0.52);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  overflow: auto;
}

.modal-panel {
  width: min(100%, 600px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: var(--shadow-modal);
}

.post-panel {
  min-height: 420px;
}

.detail-panel {
  max-width: 640px;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.modal-wordmark {
  font-size: 20px;
}

.modal-separator {
  color: #b5b2ab !important;
  font-size: 14px !important;
  margin: 0 6px;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
}

.icon-button:hover {
  background: var(--oat);
}

.progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.progress-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--oat);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--violet);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.progress > span {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.wizard-kicker,
.section-kicker,
.detail-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 8px;
}

.wizard-title {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.18;
}

.wizard-subtitle {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 148px;
  padding: 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.choice-card:hover,
.choice-card[aria-pressed="true"] {
  border-color: var(--violet);
  background: var(--violet-soft);
}

.choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--oat);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.choice-card[aria-pressed="true"] .choice-icon {
  background: #ffffff;
  color: var(--violet);
}

.choice-card strong {
  font-size: 15px;
}

.choice-card small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.choice-check {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--violet);
  opacity: 0;
}

.choice-card[aria-pressed="true"] .choice-check {
  opacity: 1;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-field label .optional {
  font-weight: 400;
  color: var(--muted);
  margin-left: 4px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #d6d3cd;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-field [aria-invalid="true"] {
  border-color: var(--danger);
}

.form-helper {
  font-size: 12px;
  color: var(--muted);
}

.review-box {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #faf9f7;
  margin: 8px 0 16px;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.review-edit {
  border: 0;
  background: transparent;
  color: var(--violet);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
}

.review-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0;
  font-size: 12.5px;
  color: var(--muted);
}

.consent-row input {
  accent-color: var(--violet);
  margin-top: 3px;
}

.wizard-error {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--danger-soft);
  border: 1px solid var(--danger-line);
  color: var(--danger);
  font-size: 13px;
  margin: 12px 0;
}

.wizard-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wizard-footer .button:last-child {
  margin-left: auto;
}

/* Candidate Avatars & Photo Upload */
.talent-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--violet-soft);
  color: var(--violet-dark);
  border-radius: 12px;
}

.talent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-avatar {
  width: 56px;
  height: 56px;
}

.upload-avatar {
  width: 72px;
  height: 72px;
}

.review-avatar {
  width: 52px;
  height: 52px;
}

.detail-avatar {
  width: 96px;
  height: 96px;
}

.photo-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #faf9f7;
}

.photo-upload-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
}

.photo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.photo-upload-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #d6d3cd;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.photo-remove,
.danger-link {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
}

.danger-link:hover,
.photo-remove:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Listing Detail Page & Quick Preview
   ========================================================================== */
.listing-page-shell {
  padding-top: 28px;
  padding-bottom: 64px;
}

.listing-breadcrumb {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

.listing-breadcrumb a,
.preview-full-link,
.text-link,
.info-back {
  color: var(--violet);
  font-weight: 600;
}

.preview-full-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.listing-page {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
}

.listing-source {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.listing-page h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.detail-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.detail-person-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 6px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-facts dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.detail-facts dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.detail-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  white-space: pre-wrap;
}

.detail-next {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #faf9f7;
}

.listing-page .detail-next {
  position: sticky;
  top: 96px;
}

.detail-next h3,
.detail-about h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.detail-contact-state,
.detail-storage-note,
.contact-guidance {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.detail-storage-note {
  padding: 12px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
}

/* ==========================================================================
   Secondary Pages: Auth, Account, Dashboard, Pricing, Info, Moderation
   ========================================================================== */
.info-page {
  max-width: 780px;
  padding-top: 52px;
  padding-bottom: 84px;
}

.info-page h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 28px;
  font-size: 13.5px;
  color: var(--muted);
}

.legal-summary {
  padding: 22px 24px;
  margin: 0 0 36px;
  border-radius: var(--radius-md);
  background: var(--oat);
  border: 1px solid var(--line);
}

.legal-summary strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.legal-summary ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.info-page section {
  padding-top: 26px;
  margin-bottom: 26px;
  border-top: 1px solid var(--line-soft);
}

.info-page h2 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}

.info-page h3 {
  font-size: 16px;
  line-height: 1.35;
  margin: 18px 0 8px;
  color: var(--ink);
}

.info-page p {
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.info-page p:last-child {
  margin-bottom: 0;
}

.info-page ul,
.info-page ol {
  margin: 10px 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.info-page li strong {
  color: var(--ink);
}

.info-page a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-intro,
.pricing-page {
  padding-top: 48px;
  padding-bottom: 56px;
}

.account-intro h1,
.pricing-intro h1,
.auth-form-section h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.account-heading p,
.account-lead,
.pricing-intro > p:last-child {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 520px;
}

.account-tabs,
.auth-modes {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 28px 0 24px;
}

.account-tabs a,
.auth-modes a {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.account-tabs a[aria-current],
.auth-modes a[aria-current] {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--violet);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  padding: 20px 0;
}

.dashboard-summary > div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-summary > div:last-child {
  border-right: 0;
}

.dashboard-summary span {
  font-size: 12.5px;
  color: var(--muted);
}

.dashboard-summary strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
}

.account-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: var(--mist);
}

.dashboard-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.dashboard-filters label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.dashboard-filters input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d6d3cd;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.settings-card {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

.auth-layout {
  display: flex;
  justify-content: center;
  padding-top: 52px;
  padding-bottom: 72px;
}

.auth-form-section {
  width: 100%;
  max-width: 460px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.auth-form-section h1 {
  font-size: clamp(30px, 4vw, 38px);
  margin: 0 0 8px;
}

.auth-form-section > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.google-signin {
  width: 100%;
  min-height: 46px;
  margin: 22px 0 0;
  gap: 10px;
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12.5px;
  color: var(--muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-availability {
  margin: 18px 0 12px;
  font-size: 13px;
  color: var(--muted);
}

.auth-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--muted);
}

.auth-footer a:hover {
  color: var(--ink);
}

#auth-form > .button {
  width: 100%;
  min-height: 46px;
}

#auth-status {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: var(--mist);
  color: #163a3e;
  font-size: 13.5px;
}

.pricing-intro {
  text-align: center;
  margin-bottom: 36px;
}

.pricing-intro > p:last-child {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

.plan-featured {
  border: 2px solid var(--violet);
  background: var(--violet-soft);
}

.plan-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 12px 0 20px;
}

.plan-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.plan-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0 48px;
}

.pricing-questions {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-questions details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.pricing-questions summary {
  cursor: pointer;
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 32px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .bento-grid,
  .faq-section,
  .listing-page,
  .auth-layout,
  .pricing-grid,
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .listing-page .detail-next {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    padding: 0 16px;
  }

  .site-header {
    height: 66px;
  }

  .brand {
    font-size: 24px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-wrap {
    padding-top: 12px;
  }

  .hero {
    padding: 32px 18px 28px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-description {
    font-size: 14.5px;
    margin-bottom: 22px;
  }

  .hero .filters {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
    padding: 8px;
    gap: 4px;
  }

  .search-field {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-button {
    width: 100%;
    border-radius: 12px;
    margin-top: 4px;
  }

  .browse-section {
    padding: 28px 0 40px;
  }

  .feed-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .browse-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .location-chips {
    align-self: flex-start;
  }

  .view-switch {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .switch-option {
    flex: 0 0 auto;
    justify-content: center;
    padding: 0 11px;
    font-size: 12px;
  }

  .card-footer {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .bento-card {
    min-width: 0;
  }

  .bento-mini-card {
    min-width: 0;
    padding: 11px 12px;
  }

  .location-chips,
  .category-rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .location-chips button,
  .cat-chip {
    flex-shrink: 0;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .job-alert-banner {
    padding: 22px 18px;
  }

  .job-alert-controls,
  .job-alert-choice,
  .job-alert-choice .button {
    width: 100%;
    min-width: 0;
  }

  .job-alert-row,
  .alert-prompt-input-row {
    flex-direction: column;
  }

  .job-alert-prefs {
    grid-template-columns: 1fr;
  }

  .job-filter-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .job-filter-search,
  .job-filter-actions {
    grid-column: 1;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .dashboard-summary > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
  }

  .dashboard-summary > div:last-child {
    border-bottom: 0;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-backdrop {
    padding: 0;
    place-items: end center;
  }

  .modal-panel {
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 94dvh;
    padding: 22px 18px;
  }

  .choice-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font-size: 11px;
  font-weight: 700;
}

.cat-count {
  margin-left: 5px;
  font-size: 11px;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.employer-mono.t0 { background: var(--teal-soft); color: var(--teal); }
.employer-mono.t1 { background: var(--violet-soft); color: var(--violet-dark); }
.employer-mono.t2 { background: var(--oat); color: #2e2d2b; }
.employer-mono.t3 { background: #f7eae3; color: #9a3412; }
.employer-mono.t4 { background: #e8f0fe; color: #1d4ed8; }

.bento-steps {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.bento-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.bento-steps li:last-child {
  padding-bottom: 0;
}

.bento-step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--teal-deep);
  padding-top: 2px;
}

.bento-oat .bento-step-num {
  color: var(--muted);
}

.bento-steps li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bento-steps li strong {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
}

.bento-steps li span {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
