:root {
  --fresh-bg: var(--hc-bg);
  --fresh-surface: var(--hc-surface-warm);
  --fresh-border: var(--hc-border-light);
  --fresh-ink: var(--hc-text);
  --fresh-muted: var(--hc-text-muted);
  --fresh-brand: var(--hc-primary);
  --fresh-brand-dark: var(--hc-primary-dark);
  --fresh-accent: var(--hc-accent-dark);
  --fresh-shadow: 0 20px 50px rgba(26, 39, 32, 0.08);
  --fresh-radius: 28px;
  --fresh-container: 1180px;
}

.marketing-home .btn-primary,
.marketing-jobs-page .btn-primary,
.marketing-auth-page .btn-primary,
.marketing-header .btn-primary {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: var(--hc-dark);
}

.marketing-home .btn-secondary,
.marketing-jobs-page .btn-secondary,
.marketing-auth-page .btn-secondary,
.marketing-header .btn-secondary {
  background: transparent;
  border-color: rgba(248, 244, 235, 0.24);
  color: var(--hc-text-on-dark);
}

.marketing-jobs-page .btn-secondary,
.marketing-auth-page .btn-secondary {
  border-color: var(--hc-border-light);
  color: var(--hc-text);
}

.marketing-home {
  min-height: 100vh;
}

.marketing-public-hero {
  display: grid;
  gap: 22px;
  padding: 36px;
  border: 1px solid var(--hc-border-light);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 48, 40, 0.06);
}

.marketing-public-hero h1 {
  margin: 0;
  color: var(--hc-text);
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.marketing-public-hero p {
  margin: 0;
  color: var(--hc-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.marketing-auth-page {
  padding: 36px 0 72px;
}

.marketing-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 26px;
}

.marketing-auth-visual {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(248, 244, 235, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(11, 48, 40, 0.86), rgba(13, 72, 53, 0.94)),
    radial-gradient(circle at 20% 24%, rgba(42, 139, 98, 0.34), transparent 24%),
    linear-gradient(120deg, var(--hc-primary) 0%, var(--hc-primary-dark) 45%, var(--hc-dark) 100%);
  color: var(--hc-text-on-dark);
  box-shadow: 0 18px 42px rgba(11, 48, 40, 0.18);
}

.marketing-auth-visual h1,
.marketing-auth-card h1,
.marketing-auth-aside h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.marketing-auth-visual h1 {
  color: var(--hc-text-on-dark);
}

.marketing-auth-visual > p {
  margin: 0;
  color: rgba(248, 244, 235, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

.marketing-auth-points {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.marketing-auth-points article {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 244, 235, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.marketing-auth-points strong {
  color: var(--hc-text-on-dark);
  font-size: 14px;
}

.marketing-auth-points span {
  color: rgba(248, 244, 235, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.marketing-auth-card,
.marketing-auth-aside {
  padding: 32px;
  border: 1px solid rgba(11, 48, 40, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 48, 40, 0.06);
}

.marketing-auth-card h1,
.marketing-auth-aside h2 {
  color: var(--hc-text);
}

.marketing-auth-card p,
.marketing-auth-aside p,
.marketing-auth-aside span {
  color: var(--hc-text-muted);
}

.marketing-auth-card .stitch-form {
  margin-top: 18px;
}

.marketing-auth-card .stitch-form label,
.marketing-auth-card .checkbox-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.marketing-auth-card .checkbox-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.marketing-auth-card .stitch-form input:not([type='checkbox']),
.marketing-auth-card .stitch-form select,
.marketing-auth-card .stitch-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--hc-border-light);
  border-radius: 16px;
  background: var(--hc-surface);
  color: var(--hc-text);
}

.marketing-auth-card .stitch-form textarea {
  min-height: 120px;
  padding-top: 16px;
}

.marketing-auth-card .checkbox-row input[type='checkbox'] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--hc-accent);
}

.marketing-auth-card .checkbox-row span {
  display: block;
  color: var(--hc-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.marketing-auth-card .route-option,
.marketing-auth-aside .route-option {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--hc-border-light);
  border-radius: 18px;
  background: var(--hc-surface);
}

.marketing-auth-aside .route-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.marketing-auth-aside .route-option.is-active {
  border-color: rgba(11, 48, 40, 0.16);
  background: var(--hc-primary-pale);
}

.marketing-footer {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: start;
}

.marketing-footer .footer-brand {
  color: var(--hc-text);
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.marketing-footer .footer-copy,
.marketing-footer .footer-links a {
  color: var(--hc-text-muted);
}

.marketing-footer .footer-links a:hover {
  color: var(--hc-text);
}

.marketing-mobile-bottom-nav--public {
  display: none;
}

.auth-inline-actions .table-link {
  border: 0;
  background: transparent;
  color: var(--hc-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.auth-inline-actions .table-link:hover {
  color: var(--hc-text);
  text-decoration: underline;
}

body {
  background:
    radial-gradient(circle at top left, rgba(232, 144, 10, 0.12), transparent 22%),
    radial-gradient(circle at top right, rgba(26, 107, 74, 0.08), transparent 18%),
    linear-gradient(180deg, var(--hc-bg) 0%, var(--fresh-bg) 100%);
  color: var(--fresh-ink);
}

#app {
  min-height: 100vh;
}

.fresh-home,
.fresh-public-page,
.workspace-main {
  width: min(calc(100% - 40px), var(--fresh-container));
  margin: 0 auto;
}

.fresh-header-shell {
  width: min(calc(100% - 40px), var(--fresh-container));
  margin: 0 auto;
  padding-top: 18px;
}

.fresh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(26, 39, 32, 0.05);
}

.fresh-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fresh-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--fresh-brand-dark);
  color: var(--hc-accent-pale);
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  line-height: 1;
}

.fresh-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fresh-brand-copy strong {
  color: var(--fresh-brand-dark);
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1;
}

.fresh-brand-copy small {
  color: var(--fresh-muted);
  font-size: 12px;
  font-weight: 600;
}

.fresh-nav,
.fresh-header-actions,
.fresh-hero-actions,
.fresh-hero-points,
.fresh-chip-row,
.fresh-form-actions,
.fresh-role-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fresh-nav {
  margin-left: auto;
}

.fresh-nav a,
.fresh-login-link {
  color: var(--fresh-muted);
  font-size: 14px;
  font-weight: 700;
}

.fresh-nav a.is-active,
.fresh-login-link:hover,
.fresh-nav a:hover {
  color: var(--fresh-brand-dark);
}

.fresh-signup-link {
  min-width: 170px;
}

.fresh-menu-toggle,
.fresh-mobile-menu {
  display: none;
}

.fresh-main,
.fresh-public-page {
  padding: 32px 0 72px;
}

.fresh-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(232, 144, 10, 0.12), transparent 28%),
    linear-gradient(180deg, var(--hc-surface-warm) 0%, var(--hc-bg) 100%);
  box-shadow: var(--fresh-shadow);
}

.fresh-pill,
.fresh-role-pill,
.fresh-chip,
.signal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--fresh-border);
  background: rgba(255, 255, 255, 0.78);
  color: var(--fresh-brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fresh-hero-copy h1,
.fresh-section-head h2,
.fresh-public-hero h1,
.fresh-auth-card h1,
.fresh-auth-aside h2 {
  margin: 0;
  color: var(--fresh-brand-dark);
  font-family: 'Playfair Display', serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.fresh-hero-copy h1 {
  font-size: clamp(48px, 7vw, 88px);
  max-width: 10ch;
}

.fresh-hero-copy p,
.fresh-hero-panel li,
.fresh-hero-panel span,
.fresh-public-hero p,
.fresh-auth-card p,
.fresh-auth-aside p,
.fresh-feature-card p,
.fresh-job-meta,
.fresh-job-facts,
.fresh-job-footer span {
  color: var(--fresh-muted);
}

.fresh-hero-copy > p {
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.65;
  margin: 18px 0 0;
}

.fresh-hero-actions {
  margin-top: 28px;
}

.fresh-hero-points {
  flex-wrap: wrap;
  margin-top: 22px;
}

.fresh-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.fresh-hero-panel ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.fresh-hero-trust {
  display: grid;
  gap: 12px;
}

.fresh-hero-trust article {
  padding-top: 12px;
  border-top: 1px solid rgba(71, 16, 23, 0.08);
}

.fresh-hero-trust strong,
.fresh-stat-card strong,
.fresh-job-status strong {
  display: block;
  color: var(--fresh-brand-dark);
}

.fresh-stats-grid,
.fresh-feature-grid,
.fresh-detail-grid {
  display: grid;
  gap: 18px;
}

.fresh-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.fresh-stat-card,
.fresh-feature-card,
.fresh-job-card,
.fresh-auth-card,
.fresh-auth-aside,
.fresh-empty-state,
.fresh-public-hero,
.fresh-detail-card {
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: var(--fresh-radius);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--fresh-shadow);
}

.fresh-stat-card {
  padding: 24px;
}

.fresh-stat-card strong {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
}

.fresh-stat-card span {
  color: var(--fresh-muted);
  font-size: 14px;
}

.fresh-search-section,
.fresh-jobs-section,
.fresh-brand-strip {
  margin-top: 56px;
}

.fresh-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.fresh-section-head h2,
.fresh-public-hero h1 {
  font-size: clamp(34px, 4vw, 58px);
}

.fresh-section-head p,
.fresh-public-hero p {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
}

.fresh-section-head.align-center {
  text-align: center;
  justify-items: center;
}

.fresh-section-head-split,
.fresh-public-hero,
.fresh-auth-shell,
.fresh-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.fresh-search-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.fresh-search-form input,
.fresh-auth-card input:not([type='checkbox']),
.fresh-auth-card select,
.fresh-auth-card textarea,
.fresh-public-page input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--fresh-border);
  border-radius: 18px;
  background: var(--hc-surface-warm);
  color: var(--fresh-ink);
}

.fresh-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fresh-feature-card {
  padding: 26px;
}

.fresh-feature-card h3 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.1;
}

.fresh-job-list {
  display: grid;
  gap: 18px;
}

.fresh-job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.45fr);
  gap: 20px;
  padding: 24px;
}

.fresh-job-company {
  color: var(--fresh-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fresh-job-card h3 {
  margin: 8px 0 10px;
  color: var(--fresh-brand-dark);
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 0.95;
}

.fresh-job-meta,
.fresh-job-facts {
  margin: 0 0 10px;
  font-size: 16px;
}

.fresh-job-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.fresh-job-status {
  padding: 20px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 22px;
  background: var(--hc-bg-alt);
}

.fresh-job-status strong {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1;
}

.fresh-job-status span {
  color: var(--fresh-muted);
  font-size: 15px;
}

.fresh-job-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.fresh-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fresh-brand-strip {
  padding-top: 6px;
}

.fresh-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--fresh-muted);
  font-weight: 700;
}

.fresh-auth-shell {
  margin-top: 28px;
}

.fresh-auth-card,
.fresh-auth-aside {
  padding: 32px;
}

.fresh-auth-card h1,
.fresh-auth-aside h2 {
  font-size: clamp(40px, 5vw, 72px);
}

.fresh-role-switcher {
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.fresh-role-pill.is-active {
  background: var(--fresh-brand);
  border-color: var(--fresh-brand);
  color: #fff8f2;
}

.fresh-auth-card .stitch-form {
  margin-top: 10px;
}

.fresh-auth-card label,
.checkbox-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.checkbox-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.checkbox-row input[type='checkbox'] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
}

.checkbox-row span {
  display: block;
  line-height: 1.6;
}

.fresh-form-actions {
  justify-content: flex-end;
  margin-top: 8px;
}

.fresh-auth-aside .route-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.fresh-auth-aside .route-option {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(71, 16, 23, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.fresh-auth-aside .route-option.is-active {
  border-color: rgba(26, 107, 74, 0.24);
  background: var(--hc-accent-pale);
}

.fresh-public-hero {
  padding: 30px;
}

.fresh-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fresh-detail-card,
.fresh-detail-description {
  padding: 24px;
}

.fresh-job-detail-hero {
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(11, 48, 40, 0.88), rgba(13, 72, 53, 0.94)),
    radial-gradient(circle at 18% 20%, rgba(42, 139, 98, 0.18), transparent 26%),
    linear-gradient(120deg, var(--hc-primary) 0%, var(--hc-primary-dark) 45%, var(--hc-dark) 100%) !important;
  border: 1px solid rgba(248, 244, 235, 0.08) !important;
  box-shadow: 0 18px 40px rgba(11, 48, 40, 0.14) !important;
}

.fresh-job-detail-hero .btn-secondary {
  border-color: rgba(248, 244, 235, 0.2) !important;
  color: var(--hc-text-on-dark) !important;
  background: transparent !important;
}

.fresh-job-detail-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--hc-text-on-dark) !important;
  color: #ffffff !important;
}

.fresh-empty-state {
  padding: 36px;
  text-align: center;
}

.fresh-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: start;
  padding: 32px 0 48px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 48, 40, 0.58);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1201;
  width: min(100%, 760px);
  max-height: min(92vh, 920px);
  overflow: auto;
  border-radius: 28px;
  background: var(--hc-surface-warm);
  box-shadow: 0 24px 70px rgba(11, 48, 40, 0.28);
}

:root {
  --maroon: var(--hc-primary);
  --maroon-dark: var(--hc-primary-dark);
  --gold: var(--hc-accent);
  --background: var(--hc-bg);
  --surface: #ffffff;
  --surface-soft: var(--hc-surface-warm);
  --border: var(--hc-border-light);
  --text: var(--hc-text);
  --muted: var(--hc-text-muted);
  --shadow: 0 16px 34px rgba(11, 48, 40, 0.08);
}

.marketing-private-header {
  position: relative;
  z-index: 4;
}

.marketing-private-bar {
  border-radius: 24px;
}

.marketing-private-actions {
  margin-left: auto;
  gap: 12px;
}

.marketing-private-actions .workspace-user {
  color: rgba(248, 244, 235, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketing-private-actions .btn-secondary {
  border-color: rgba(248, 244, 235, 0.2);
  color: var(--hc-text-on-dark);
}

.marketing-private-actions .btn-primary {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: var(--hc-dark);
}

.marketing-workspace-tabs {
  display: flex;
  gap: 28px;
  padding: 14px 12px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.marketing-workspace-tabs::-webkit-scrollbar {
  display: none;
}

.marketing-workspace-tab {
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--hc-text-muted);
  font-size: 16px;
  font-weight: 700;
}

.marketing-workspace-tab.is-active {
  border-bottom-color: var(--hc-accent);
  color: var(--hc-text);
}

.workspace-main.marketing-private-page {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.marketing-private-page .dashboard-lead,
.marketing-private-page .reliability-card,
.marketing-private-page .briefing-card-dark,
.marketing-private-page .job-detail-hero {
  background:
    linear-gradient(180deg, rgba(11, 48, 40, 0.88), rgba(13, 72, 53, 0.94)),
    radial-gradient(circle at 18% 20%, rgba(42, 139, 98, 0.18), transparent 26%),
    linear-gradient(120deg, var(--hc-primary) 0%, var(--hc-primary-dark) 45%, var(--hc-dark) 100%);
  border-color: rgba(248, 244, 235, 0.08);
  box-shadow: 0 18px 40px rgba(11, 48, 40, 0.14);
}

.marketing-private-page .dashboard-lead-copy h1,
.marketing-private-page .reliability-card strong,
.marketing-private-page .briefing-card-dark h2,
.marketing-private-page .job-detail-hero-copy h1 {
  color: var(--hc-text-on-dark);
}

.marketing-private-page .dashboard-lead-copy p,
.marketing-private-page .dashboard-lead .section-kicker,
.marketing-private-page .dashboard-lead-stats span,
.marketing-private-page .reliability-card p,
.marketing-private-page .briefing-card-dark p,
.marketing-private-page .job-detail-hero-copy > p,
.marketing-private-page .job-detail-hero .section-kicker {
  color: rgba(248, 244, 235, 0.74);
}

.marketing-private-page .dashboard-lead-stats article {
  border-color: rgba(248, 244, 235, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.marketing-private-page .dashboard-lead-stats strong {
  color: var(--hc-text-on-dark);
}

.marketing-private-page .briefing-card,
.marketing-private-page .metric-card,
.marketing-private-page .list-panel,
.marketing-private-page .auth-card,
.marketing-private-page .soft-panel,
.marketing-private-page .history-card,
.marketing-private-page .custodian-card,
.marketing-private-page .interview-card,
.marketing-private-page .admin-panel,
.marketing-private-page .candidate-result-card,
.marketing-private-page .pcol,
.marketing-private-page .job-preview-shell,
.marketing-private-page .scorecard-shell {
  border: 1px solid var(--hc-border-light);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(11, 48, 40, 0.06);
}

.marketing-private-page .scorecard-shell {
  border-radius: 30px;
}

.marketing-private-page .briefing-card,
.marketing-private-page .metric-card,
.marketing-private-page .list-panel,
.marketing-private-page .auth-card,
.marketing-private-page .soft-panel,
.marketing-private-page .history-card,
.marketing-private-page .custodian-card,
.marketing-private-page .interview-card,
.marketing-private-page .admin-panel {
  border-radius: 24px;
}

.marketing-private-page .briefing-card h2,
.marketing-private-page .metric-card strong,
.marketing-private-page .list-panel h2,
.marketing-private-page .auth-card h1,
.marketing-private-page .history-card h2,
.marketing-private-page .custodian-card h2,
.marketing-private-page .interview-card h3,
.marketing-private-page .admin-panel h1,
.marketing-private-page .candidate-result-identity strong,
.marketing-private-page .job-preview-shell h3 {
  color: var(--hc-text);
}

.marketing-private-page .briefing-card p,
.marketing-private-page .metric-card p,
.marketing-private-page .metric-card span,
.marketing-private-page .soft-panel,
.marketing-private-page .history-card p,
.marketing-private-page .custodian-card p,
.marketing-private-page .interview-card p,
.marketing-private-page .admin-row span,
.marketing-private-page .candidate-result-identity span,
.marketing-private-page .candidate-result-meta span,
.marketing-private-page .candidate-result-meta,
.marketing-private-page .job-preview-shell p,
.marketing-private-page .verification-row span,
.marketing-private-page .helper-copy,
.marketing-private-page .section-kicker {
  color: var(--hc-text-muted);
}

.marketing-private-page .stitch-form input,
.marketing-private-page .stitch-form select,
.marketing-private-page .stitch-form textarea,
.marketing-private-page .filter-group input,
.marketing-private-page .filter-group select,
.marketing-private-page .admin-filter-form input,
.marketing-private-page .admin-filter-form select {
  border: 1px solid var(--hc-border-light);
  background: var(--hc-surface);
  color: var(--hc-text);
  border-radius: 4px;
}

.marketing-private-page .stitch-form input:focus,
.marketing-private-page .stitch-form select:focus,
.marketing-private-page .stitch-form textarea:focus,
.marketing-private-page .filter-group input:focus,
.marketing-private-page .filter-group select:focus,
.marketing-private-page .admin-filter-form input:focus,
.marketing-private-page .admin-filter-form select:focus {
  border-color: rgba(26, 107, 74, 0.38);
  box-shadow: 0 0 0 4px rgba(26, 107, 74, 0.08);
  outline: none;
}

.marketing-private-page .signal-chip,
.marketing-private-page .pcol-ct,
.marketing-private-page .pitem,
.marketing-private-page .route-option,
.marketing-private-page .verification-row,
.marketing-private-page .trust-signal-card {
  border-color: var(--hc-border-light);
  background: var(--hc-surface-warm);
  color: var(--hc-text-secondary);
}

.marketing-private-page .table-link,
.marketing-private-page .text-link {
  color: var(--hc-primary);
}

.marketing-private-page .btn-primary,
.marketing-private-page .workspace-bottom-tab.is-active,
.marketing-mobile-bottom-nav--public a.is-active,
.marketing-mobile-bottom-nav--workspace .workspace-bottom-tab.is-active {
  background: var(--hc-accent);
  border-color: var(--hc-accent);
  color: var(--hc-dark);
}

.marketing-private-page .btn-secondary {
  border-color: var(--hc-border-light);
  color: var(--hc-text);
}

.marketing-private-page .btn-secondary:hover,
.marketing-private-page .btn-primary:hover {
  transform: translateY(-1px);
}

.marketing-private-page .workspace-brief-grid,
.marketing-private-page .metrics-view,
.marketing-private-page .candidate-profile-grid {
  gap: 20px;
}

.marketing-mobile-bottom-nav--workspace {
  display: none;
}

.marketing-mobile-bottom-nav--workspace .workspace-bottom-tab {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 48px;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: var(--hc-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.marketing-mobile-bottom-nav__icon {
  font-size: 14px;
  line-height: 1;
}

.marketing-mobile-bottom-nav__label {
  font-size: 10px;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .marketing-auth-shell {
    grid-template-columns: 1fr;
  }

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

  .fresh-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--fresh-border);
    border-radius: 14px;
    background: var(--hc-surface-warm);
  }

  .fresh-menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--fresh-brand-dark);
  }

  .fresh-mobile-menu.is-open {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(71, 16, 23, 0.08);
    border-radius: 20px;
    background: rgba(255, 253, 249, 0.94);
  }

  .fresh-hero,
  .fresh-section-head-split,
  .fresh-public-hero,
  .fresh-auth-shell,
  .fresh-detail-columns,
  .fresh-job-card {
    grid-template-columns: 1fr;
  }

  .fresh-feature-grid,
  .fresh-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fresh-search-form {
    grid-template-columns: 1fr;
  }

  .fresh-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .marketing-public-hero,
  .marketing-auth-card,
  .marketing-auth-aside,
  .marketing-auth-visual {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .marketing-auth-page {
    padding-top: 24px;
  }

  .marketing-auth-visual h1,
  .marketing-auth-card h1,
  .marketing-auth-aside h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .marketing-footer {
    width: min(calc(100% - 24px), 1180px);
    grid-template-columns: 1fr;
  }

  .marketing-private-actions {
    gap: 10px;
  }

  .marketing-private-actions .workspace-user {
    display: none;
  }

  .marketing-private-actions .btn {
    min-height: 40px;
    padding-inline: 14px;
  }

  .fresh-home,
  .fresh-public-page,
  .workspace-main,
  .fresh-header-shell {
    width: min(calc(100% - 24px), var(--fresh-container));
  }

  .fresh-header,
  .fresh-hero,
  .fresh-public-hero,
  .fresh-job-card,
  .fresh-auth-card,
  .fresh-auth-aside {
    padding: 20px;
    border-radius: 22px;
  }

  .fresh-brand-copy strong {
    font-size: 22px;
  }

  .fresh-hero-copy h1,
  .fresh-section-head h2,
  .fresh-public-hero h1,
  .fresh-auth-card h1,
  .fresh-auth-aside h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .fresh-feature-grid,
  .fresh-stats-grid,
  .fresh-detail-grid {
    grid-template-columns: 1fr;
  }

  .fresh-job-actions,
  .fresh-form-actions,
  .fresh-hero-actions,
  .fresh-role-switcher {
    flex-direction: column;
    align-items: stretch;
  }

  .fresh-job-actions .btn,
  .fresh-form-actions .btn,
  .fresh-hero-actions .btn,
  .fresh-role-switcher .fresh-role-pill {
    width: 100%;
  }

  .workspace-main.marketing-private-page {
    width: min(calc(100% - 24px), 1180px);
    padding-bottom: 104px;
  }

  .marketing-workspace-tabs {
    display: none;
  }

  .marketing-mobile-bottom-nav--workspace {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 44;
    display: grid;
    grid-template-columns: repeat(var(--mobile-nav-count, 5), minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--hc-border-light);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(11, 48, 40, 0.16);
    backdrop-filter: blur(14px);
  }

  .marketing-mobile-bottom-nav--public {
    bottom: 12px;
    position: fixed;
    right: 12px;
    left: 12px;
    z-index: 44;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--hc-border-light);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(11, 48, 40, 0.16);
    backdrop-filter: blur(14px);
  }

  .marketing-mobile-bottom-nav--public a {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: 14px;
    color: var(--hc-text-muted);
    font-size: 11px;
    font-weight: 800;
  }

  .marketing-mobile-bottom-nav--public a.is-active {
    background: var(--hc-accent);
    color: var(--hc-dark);
  }
}

/* ==========================================================================
   PREMIUM INTERACTIONS & AESTHETICS (CTO WORKSPACE REDESIGN)
   ========================================================================== */

/* Elevate buttons with smooth, luxury bezier transitions */
.btn {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* Standardize modern roundness */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 107, 74, 0.16);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(26, 107, 74, 0.1);
}

.btn-primary:hover {
  background: var(--fresh-brand-dark, var(--hc-primary-dark));
  border-color: var(--fresh-brand-dark, var(--hc-primary-dark));
}

.btn-secondary {
  border-color: var(--hc-text);
  color: var(--hc-text);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(26, 39, 32, 0.06);
  border-color: var(--fresh-brand, var(--hc-primary));
  color: var(--fresh-brand, var(--hc-primary));
}

/* Specific overrides to prevent faint/white secondary buttons on light cards */
.marketing-opportunities .btn-secondary,
.marketing-job-card .btn-secondary,
.fresh-job-card .btn-secondary,
.job-card .btn-secondary,
.job-card-actions .btn-secondary,
.marketing-job-actions .btn-secondary {
  border-color: var(--hc-text) !important;
  color: var(--hc-text) !important;
  background: transparent !important;
}

.marketing-opportunities .btn-secondary:hover,
.marketing-job-card .btn-secondary:hover,
.fresh-job-card .btn-secondary:hover,
.job-card .btn-secondary:hover,
.job-card-actions .btn-secondary:hover,
.marketing-job-actions .btn-secondary:hover {
  background: rgba(26, 39, 32, 0.08) !important;
  border-color: var(--fresh-brand, var(--hc-primary)) !important;
  color: var(--fresh-brand, var(--hc-primary)) !important;
}

/* Elegant card lift transformations */
.job-card,
.fresh-job-card,
.candidate-card,
.marketing-job-card,
.briefing-card,
.trust-signal-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover,
.fresh-job-card:hover,
.candidate-card:hover,
.marketing-job-card:hover,
.briefing-card:hover,
.trust-signal-card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 24px 48px rgba(26, 39, 32, 0.08);
  border-color: var(--fresh-brand, var(--hc-primary));
}

/* Premium input focus ring effect */
.fresh-search-form input:focus,
.fresh-search-form select:focus,
.fresh-auth-card input:focus,
.fresh-auth-card select:focus,
.fresh-auth-card textarea:focus,
.fresh-public-page input:focus,
.stitch-form input:focus,
.stitch-form select:focus,
.stitch-form textarea:focus {
  outline: none;
  border-color: var(--fresh-brand, var(--hc-primary));
  box-shadow: 0 0 0 4px rgba(26, 107, 74, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
