/* Shared landing/auth shell */
@keyframes speara-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes speara-auth-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.page-fade {
  animation: speara-fade-in 260ms ease-out;
}

.auth-main.page-fade {
  animation-name: speara-auth-fade-in;
}

.landing-page {
  min-height: 100vh;
  background: #050816;
  color: #f8fbff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Public legal-information pages */
.legal-page {
  overflow-y: auto;
}

.legal-main {
  width: min(calc(100% - 40px), 760px);
  margin: 0 auto;
  padding: 112px 0 72px;
}

.legal-main h1 {
  margin: 0 0 32px;
  color: #f8fbff;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
}

.legal-policy-text {
  color: rgba(226, 232, 240, 0.92);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.landing-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: rgba(6, 9, 28, 0.72);
  border-bottom: 1px solid rgba(177, 195, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar-container {
  width: min(100%, 1280px);
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.navbar-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.navbar-brand-text {
  font-size: 23px;
  font-weight: 700;
  color: #f8fbff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.navbar-link {
  border: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(235, 241, 255, 0.86);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.navbar-link:hover {
  color: #ffffff;
  background: rgba(148, 163, 184, 0.12);
}

.navbar-link-primary {
  color: #dce7ff;
  background: rgba(41, 73, 161, 0.35);
  border: 1px solid rgba(84, 128, 255, 0.16);
}

.contact-menu {
  position: relative;
  display: inline-flex;
}

.navbar-link-contact {
  color: rgba(226, 232, 240, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.24);
}

.navbar-link-contact:hover {
  border-color: rgba(148, 163, 184, 0.34);
}

.navbar-link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(390px, calc(100vw - 28px));
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(8, 13, 33, 0.96);
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.42);
  color: #e2e8f0;
}

.contact-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-left: 1px solid rgba(148, 163, 184, 0.28);
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(8, 13, 33, 0.96);
  transform: rotate(45deg);
}

.contact-popover[hidden] {
  display: none;
}

.contact-popover-title {
  margin: 0 0 8px;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.3;
}

.contact-popover-intro,
.contact-popover-response {
  margin: 0;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.55;
}

.contact-popover-reasons {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding-left: 22px;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.5;
}

.contact-popover-reasons li::marker {
  color: #60a5fa;
}

.contact-email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.contact-email-address {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fbff;
  font: inherit;
  font-size: 14px;
}

.contact-email-address:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.62);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.contact-copy-btn {
  min-width: 72px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(96, 165, 250, 0.36);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.24);
  color: #dbeafe;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 120ms ease, border-color 120ms ease, transform 80ms ease;
}

.contact-copy-btn:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.34);
}

.contact-copy-btn:active {
  border-color: rgba(147, 197, 253, 0.68);
  background: rgba(37, 99, 235, 0.48);
  transform: scale(0.96);
}

.contact-copy-btn:focus-visible {
  outline: none;
  border-color: rgba(147, 197, 253, 0.78);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}

.auth-page .navbar-link-primary {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(34, 211, 238, 0.22));
  border: 1px solid rgba(96, 165, 250, 0.42);
  color: #bfdbfe;
}

.navbar-link-primary:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background: rgba(55, 92, 196, 0.44);
}

.auth-page .navbar-link-primary:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.36), rgba(34, 211, 238, 0.32));
  border-color: rgba(147, 197, 253, 0.55);
  color: #ffffff;
}

.navbar-link-active {
  color: #93c5fd !important;
  background: rgba(37, 99, 235, 0.15) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

/* Landing page */
.landing-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #050816;
}

.landing-view {
  position: absolute;
  inset: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.landing-background,
.landing-overlay {
  position: absolute;
  inset: 0;
}

.landing-background {
  z-index: 1;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.landing-view-candidate .landing-background {
  background-image: var(--landing-candidate-hero);
  background-position: center 45%;
}

.landing-view-recruiter .landing-background {
  background-image: var(--landing-recruiter-hero);
  background-position: center center;
}

.landing-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 7, 24, 0.58) 0%, rgba(5, 9, 31, 0.44) 36%, rgba(4, 7, 25, 0.88) 100%),
    linear-gradient(90deg, rgba(4, 7, 24, 0.78) 0%, rgba(11, 20, 61, 0.48) 43%, rgba(8, 12, 38, 0.74) 100%);
}

.landing-view-candidate .landing-overlay,
.landing-view-recruiter .landing-overlay {
  background: linear-gradient(180deg, rgba(4, 7, 24, 0.58) 0%, rgba(5, 9, 31, 0.44) 36%, rgba(4, 7, 25, 0.88) 100%);
}

.landing-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 9, 31, 0.34) 0 33.33%, rgba(255, 255, 255, 0.03) 33.33% 66.66%, rgba(6, 9, 31, 0.26) 66.66% 100%),
    radial-gradient(circle at 50% 54%, rgba(61, 108, 255, 0.18), transparent 34%);
}

.landing-view-candidate::after,
.landing-view-recruiter::after {
  background: radial-gradient(circle at 50% 54%, rgba(61, 108, 255, 0.18), transparent 34%);
}

.audience-toggle-container {
  position: fixed;
  top: 90px;
  left: 50%;
  z-index: 20;
  transform: translateX(-50%);
}

.audience-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.audience-toggle-btn {
  min-width: 158px;
  min-height: 44px;
  border: 1px solid rgba(80, 125, 255, 0.44);
  border-radius: 999px;
  background: rgba(5, 12, 35, 0.28);
  color: rgba(232, 237, 255, 0.82);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.audience-toggle-btn:hover {
  color: #ffffff;
  border-color: rgba(123, 160, 255, 0.72);
}

.audience-toggle-btn.active {
  color: #ffffff;
  border-color: rgba(69, 124, 255, 0.82);
  background: linear-gradient(135deg, #3b82f6, #2457d6);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.42);
}

.landing-hero-copy {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 160px 32px 190px;
  text-align: center;
}

.landing-hero-copy h1,
.landing-hero-copy h2 {
  max-width: 920px;
  margin: 0;
  color: #f7f9ff;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

.landing-hero-copy h1 {
  font-size: clamp(40px, 4.4vw, 72px);
}

.landing-hero-copy h2 {
  margin-top: 26px;
  font-size: clamp(34px, 4vw, 64px);
}

.recruiter-copy {
  align-content: center;
}

.feature-strip {
  position: absolute;
  left: 50%;
  bottom: 46px;
  z-index: 12;
  width: min(100% - 96px, 1160px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
}

.feature-strip li {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: rgba(237, 242, 255, 0.86);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 151, 255, 0.42);
  border-radius: 14px;
  background: rgba(30, 55, 126, 0.42);
  box-shadow:
    0 18px 42px rgba(9, 18, 54, 0.34),
    inset 0 0 20px rgba(118, 157, 255, 0.12);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: rgba(191, 210, 255, 0.9);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feature-icon .signal-marker {
  fill: #77d6df;
  stroke: #77d6df;
}

/* Auth pages */
.auth-page {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: #020617;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.auth-page::before {
  z-index: -2;
  background-image: var(--landing-candidate-hero);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"]))::before {
  background-image: var(--landing-candidate-electric-background);
  background-position: center bottom;
}

.auth-page[data-account-type="recruiter"]::before {
  background-image: var(--landing-company-electric-background);
  background-position: center bottom;
}

.auth-page::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.54)),
    radial-gradient(circle at 50% 38%, rgba(30, 64, 175, 0.18), transparent 45%);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"]))::after {
  background: rgba(3, 10, 38, 0.42);
}

.auth-main {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 1.5rem 3rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  padding: 2rem 2.25rem;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.86),
    rgba(15, 23, 42, 0.78)
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.65);
}

@media (max-width: 700px) {
  .auth-page::before {
    background-image: var(--landing-candidate-hero-mobile);
  }

  .auth-page[data-account-type="recruiter"]::before {
    background-image: var(--landing-company-electric-background);
    background-position: 52% bottom;
  }
}

.auth-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-card-header h1 {
  font-size: 35px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 8px;
}

.auth-card-header p {
  font-size: 18px;
  line-height: 1.5;
  color: #cbd5e1;
}

.auth-logo {
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.auth-role-switcher {
  width: min(100%, 280px);
  min-height: 42px;
  margin: 8px auto 18px;
  padding: 1px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(174, 193, 255, 0.25);
  border-radius: 999px;
  background: rgba(4, 14, 54, 0.48);
}

.auth-role-option {
  min-width: 0;
  min-height: 36px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-role-option:hover {
  color: #ffffff;
  background: rgba(250, 250, 255, 0.08);
}

.auth-role-option.is-active,
.auth-role-option.is-active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #315fd8 0%, #326fe8 100%);
  box-shadow: 0 5px 16px rgba(25, 80, 220, 0.24);
}

.auth-role-option:focus-visible {
  outline: 2px solid #2de6ff;
  outline-offset: 3px;
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.25rem;
}

.auth-back-btn {
  margin-top: 0.25rem;
  display: inline-block;
  font-size: 0.9rem;
  opacity: 0.75;
  text-align: center;
  transition: opacity 0.2s ease;
  color: #cbd5e1;
  text-decoration: none;
}

.auth-back-btn:hover {
  opacity: 1;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.verification-confirm-form {
  display: flex;
  justify-content: center;
}

.verification-confirm-help {
  margin: 16px 0 0;
  color: #94a3b8;
  font-size: 14px;
  text-align: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
}

.form-group input {
  padding: 12px 16px;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.7)
  );
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 12px;
  color: #f9fafb;
  font-size: 17px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.2),
    rgba(15, 23, 42, 0.9)
  );
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
  font-size: 12px;
  color: #94a3b8;
}

.consent-group {
  gap: 6px;
}

.form-group .consent-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.form-group .consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #2563eb;
}

.form-group .consent-label a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
}

.form-group .consent-label a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

.forgot-password-link {
  font-size: 13px;
  color: #93c5fd;
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.forgot-password-link:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

/* Registration receipt shares the public auth card's fixed navy palette. */
.auth-page.registration-confirmed { background: #020617; }

.registration-confirmation {
  text-align: center;
  color: #cbd5e1;
}

.registration-confirmation-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 1px solid rgba(86, 207, 239, 0.3);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(49, 95, 216, 0.24), rgba(45, 230, 255, 0.08));
  color: #8ee8f4;
  box-shadow: 0 10px 32px rgba(6, 182, 212, 0.08);
}

.registration-confirmation-icon svg { width: 32px; height: 32px; }

.registration-confirmation h1 {
  margin: 0 0 14px;
  color: #f8fbff;
  font-size: clamp(27px, 5vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

.registration-confirmation p { margin: 0; line-height: 1.55; }
.registration-confirmation-copy { font-size: 16px; }

.registration-confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.registration-confirmation-actions p { font-size: 14px; color: #aebed8; }
.registration-confirmation-actions .primary-btn { text-decoration: none; padding: 12px 22px; }
.registration-confirmation-actions .forgot-password-link { margin: 0; font-size: 14px; padding: 6px; }

.registration-confirmation-resend {
  margin: 24px 0 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(174, 193, 255, 0.18);
}

.registration-confirmation-resend > p:first-child { margin-bottom: 14px; font-size: 14px; color: #aebed8; }
.registration-confirmation .registration-resend-status { margin-top: 14px; font-size: 14px; color: #b9e7f4; }
.registration-confirmation .registration-resend-status:empty { margin-top: 0; }
.registration-confirmation .registration-resend-status.is-error { color: #fca5a5; }
.registration-confirmation :is(a, button, h1):focus-visible { outline: 2px solid #2de6ff; outline-offset: 5px; }

.auth-secondary-btn {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-secondary-btn:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.75);
}

.auth-secondary-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.error-message {
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: #fca5a5;
  font-size: 14px;
}

.auth-session-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
  font-size: 14px;
  line-height: 1.45;
}

.success-message {
  padding: 12px 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  color: #86efac;
  font-size: 14px;
}

.error-message.hidden,
.success-message.hidden {
  display: none;
}

.auth-form .form-group .field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #fca5a5;
  line-height: 1.35;
}

.auth-form .form-group .field-error.hidden {
  display: none;
}

.auth-subtitle {
  max-width: 34rem;
  margin: 8px auto 16px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.45;
}

.auth-requirement {
  margin: 8px auto 16px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

/* Electric candidate landing */
.landing-page {
  --landing-navy: #07143f;
  --landing-cobalt: #173fa8;
  --landing-blue: #275dff;
  --landing-violet: #755bff;
  --landing-lavender: #b18cff;
  --landing-cyan: #2de6ff;
  --landing-white: #fafaff;
  --landing-electric-rim: rgba(78, 229, 255, 0.72);
  --landing-electric-top: #2d87ee;
  --landing-electric-mid: #1b60df;
  --landing-electric-bottom: #173dbd;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--landing-navy);
  color: var(--landing-white);
  font-family: var(--font-ui, "Afacad Flux", sans-serif);
  font-synthesis: none;
}

.landing-document {
  overflow-y: hidden !important;
  scrollbar-gutter: auto;
}

.landing-page .landing-navbar {
  position: absolute;
  height: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.landing-page .navbar-container {
  width: 100%;
  height: 96px;
  min-height: 96px;
  padding: 0 7.4vw 0 60px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(470px, 1fr);
  align-items: center;
  gap: 28px;
}

.landing-page .navbar-brand {
  width: 135px;
  height: 35px;
  gap: 12px;
}

.landing-page .navbar-logo {
  width: 35px;
  height: 31px;
}

.landing-page .navbar-brand-text {
  color: var(--landing-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.landing-page .audience-toggle-container {
  position: static;
  width: 327px;
  transform: none;
  z-index: auto;
}

.landing-page .audience-toggle {
  width: 327px;
  height: 50px;
  padding: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(74, 202, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(3, 18, 65, 0.78), rgba(2, 11, 44, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(185, 240, 255, 0.14),
    inset 0 -1px 0 rgba(31, 84, 190, 0.22),
    0 7px 20px rgba(2, 8, 36, 0.22);
}

.landing-page .audience-toggle-btn {
  min-width: 0;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: rgba(250, 250, 255, 0.72);
  font: 500 14px/20px var(--font-ui, "Afacad Flux", sans-serif);
}

.landing-page .audience-toggle-btn:hover {
  border-color: transparent;
  color: var(--landing-white);
}

.landing-page .audience-toggle-btn.active {
  border: 1px solid rgba(78, 229, 255, 0.64);
  background:
    linear-gradient(180deg, rgba(121, 211, 255, 0.2), transparent 34%),
    linear-gradient(160deg, var(--landing-electric-top) 0%, var(--landing-electric-mid) 48%, var(--landing-electric-bottom) 100%);
  box-shadow:
    inset 0 1px 0 rgba(224, 251, 255, 0.72),
    inset 0 -1px 0 rgba(50, 119, 239, 0.42),
    0 7px 19px rgba(13, 79, 224, 0.3),
    0 0 15px rgba(45, 230, 255, 0.1);
  color: var(--landing-white);
  font-weight: 600;
}

.landing-page .navbar-actions {
  grid-column: 3;
  width: 476px;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.navbar-secondary-actions {
  display: contents;
}

.landing-page .navbar-link {
  min-height: 50px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(250, 250, 255, 0.9);
  font: 500 14px/20px var(--font-ui, "Afacad Flux", sans-serif);
}

.landing-page .navbar-link:hover {
  background: rgba(250, 250, 255, 0.08);
  color: var(--landing-white);
}

.landing-page .navbar-link-contact {
  border: 0;
  background: transparent;
}

.landing-page .navbar-link-signin {
  width: 96px;
  color: var(--landing-white);
  font-size: 15px;
  font-weight: 600;
}

.landing-page .navbar-link-primary {
  width: 115px;
  padding: 0 24px;
  border: 1px solid var(--landing-electric-rim);
  background:
    linear-gradient(180deg, rgba(134, 219, 255, 0.24), transparent 34%),
    linear-gradient(160deg, var(--landing-electric-top) 0%, var(--landing-electric-mid) 48%, var(--landing-electric-bottom) 100%);
  box-shadow:
    inset 0 1px 0 rgba(232, 253, 255, 0.78),
    inset 0 -1px 0 rgba(14, 68, 222, 0.8),
    0 0 0 1px rgba(31, 120, 255, 0.28),
    0 8px 22px rgba(12, 65, 190, 0.34),
    0 0 17px rgba(45, 230, 255, 0.12);
  color: var(--landing-white);
  font-size: 15px;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.landing-page .navbar-link-primary:hover {
  transform: translateY(-1px);
  border-color: rgba(142, 244, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(243, 254, 255, 0.9),
    inset 0 -1px 0 rgba(14, 68, 222, 0.84),
    0 0 0 1px rgba(54, 145, 255, 0.34),
    0 10px 26px rgba(12, 65, 190, 0.4),
    0 0 21px rgba(45, 230, 255, 0.18);
  filter: brightness(1.06);
}

.landing-page .navbar-link-primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(215, 249, 255, 0.66),
    inset 0 2px 8px rgba(5, 27, 104, 0.28),
    0 4px 12px rgba(12, 65, 190, 0.28);
  filter: brightness(0.98);
}

.landing-language-menu {
  position: relative;
}

.landing-language-menu summary {
  width: 104px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(250, 250, 255, 0.9);
  cursor: pointer;
  font: 500 14px/20px var(--font-ui, "Afacad Flux", sans-serif);
  list-style: none;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.landing-page .landing-language-menu summary {
  border-radius: 999px;
}

.landing-language-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.landing-language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.landing-language-menu summary:hover {
  background: rgba(250, 250, 255, 0.08);
  color: var(--landing-white);
}

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

.landing-language-menu form {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  width: 132px;
  padding: 6px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(174, 193, 255, 0.28);
  border-radius: 10px;
  background: rgba(5, 15, 54, 0.96);
  box-shadow: 0 16px 42px rgba(2, 7, 28, 0.44);
}

.landing-language-menu button {
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(250, 250, 255, 0.82);
  cursor: pointer;
  font: 500 14px/20px var(--font-ui, "Afacad Flux", sans-serif);
  text-align: left;
}

.landing-language-menu button:hover,
.landing-language-menu button[aria-current="true"] {
  background: rgba(49, 103, 224, 0.42);
  color: var(--landing-white);
}

.landing-menu-toggle {
  display: none;
}

.landing-page .contact-popover {
  top: calc(100% + 8px);
  border-color: rgba(174, 193, 255, 0.28);
  background: rgba(5, 15, 54, 0.97);
}

.landing-page .contact-popover::before {
  background: rgba(5, 15, 54, 0.97);
}

.landing-page :is(a, button, summary):focus-visible {
  outline: 2px solid var(--landing-cyan);
  outline-offset: 3px;
}

.landing-page .landing-stage,
.landing-page .landing-view {
  min-height: 720px;
  height: 100vh;
  height: 100svh;
}

.landing-view-candidate,
.landing-view-recruiter {
  isolation: isolate;
  background: var(--landing-navy);
}

.landing-view-candidate .candidate-background,
.landing-view-recruiter .company-background,
.candidate-grade,
.candidate-glow,
.candidate-edge-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-view-candidate .candidate-background {
  z-index: 0;
  background-color: var(--landing-navy);
  background-image: var(--landing-candidate-electric-background);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  filter: none;
  opacity: 1;
  transform: none;
}

.landing-view-recruiter .company-background {
  z-index: 0;
  background-color: var(--landing-navy);
  background-image: var(--landing-company-electric-background);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: none;
  opacity: 1;
  transform: none;
}

.candidate-grade {
  z-index: 1;
  display: none;
}

.company-grade {
  display: block;
  background:
    linear-gradient(90deg, rgba(3, 10, 38, 0.38) 0%, rgba(3, 10, 38, 0.17) 37%, rgba(3, 10, 38, 0.08) 62%, rgba(3, 10, 38, 0.24) 100%),
    linear-gradient(180deg, rgba(3, 10, 38, 0.12), transparent 48%, rgba(3, 10, 38, 0.16));
}

.candidate-glow {
  z-index: 2;
  display: none;
}

.candidate-edge-shade {
  z-index: 3;
  display: none;
}

.landing-view-candidate::after,
.landing-view-recruiter::after {
  display: none;
}

.candidate-hero-copy,
.feature-carousel {
  position: absolute;
  z-index: 10;
}

.candidate-hero-copy {
  top: 29.48%;
  left: 7.35%;
  width: min(500px, 42vw);
}

.candidate-eyebrow,
.feature-eyebrow {
  margin: 0;
  color: var(--landing-cyan);
  font: 600 16px/20px var(--font-ui, "Afacad Flux", sans-serif);
  letter-spacing: 0.02em;
  text-transform: none;
}

.candidate-hero-copy h1 {
  max-width: 470px;
  margin: 73px 0 0;
  color: var(--landing-white);
  font: 600 72px/0.98 var(--font-ui, "Afacad Flux", sans-serif);
  letter-spacing: -0.015em;
  text-shadow: none;
}

.candidate-description {
  max-width: 500px;
  margin: 50px 0 0;
  color: rgba(250, 250, 255, 0.92);
  font: 400 22px/1.3 var(--font-ui, "Afacad Flux", sans-serif);
}

.candidate-cta {
  position: relative;
  width: 340px;
  min-height: 47px;
  margin-top: 66px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--landing-white);
  font: 600 18px/24px var(--font-ui, "Afacad Flux", sans-serif);
  text-decoration: none;
}

.candidate-cta-line {
  position: absolute;
  left: 0;
  right: 46px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--landing-cyan), rgba(45, 230, 255, 0.08));
}

.candidate-cta-mark {
  width: 36px;
  height: 32px;
  margin-top: -4px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  transition: transform 180ms ease;
}

.candidate-cta-mark img {
  width: 28px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(3, 10, 38, 0.95)) drop-shadow(0 0 5px rgba(34, 211, 238, 0.38));
  transform: rotate(90deg);
  transform-origin: 50% 50%;
}

.candidate-cta:hover .candidate-cta-mark {
  transform: translateX(4px);
}

.company-hero-copy .candidate-cta {
  width: min(430px, 100%);
}

.feature-carousel {
  top: 29.8%;
  left: 56.06%;
  width: min(620px, 37vw);
  min-height: 310px;
}

.feature-stage {
  position: relative;
  display: grid;
  min-height: 270px;
}

.feature-block {
  position: relative;
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.feature-block.is-current {
  opacity: 1;
  pointer-events: auto;
}

.feature-title {
  max-width: 620px;
  margin: 55px 0 0;
  color: var(--landing-white);
  font: 600 42px/46px var(--font-ui, "Afacad Flux", sans-serif);
  letter-spacing: -0.01em;
}

.feature-description {
  max-width: 620px;
  margin: 13px 0 0;
  color: rgba(250, 250, 255, 0.92);
  font: 400 22px/29px var(--font-ui, "Afacad Flux", sans-serif);
}

.feature-indicator {
  position: relative;
  width: max-content;
  max-width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 11px;
}

.feature-indicator-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(238, 243, 255, 0.88);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 120ms ease;
}

.feature-indicator-arrow svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-indicator-arrow:hover {
  color: #ffd66b;
  background: rgba(255, 198, 76, 0.1);
}

.feature-playback-play,
.feature-indicator-playback.is-paused .feature-playback-pause {
  display: none;
}

.feature-indicator-playback.is-paused .feature-playback-play {
  display: block;
}

.feature-indicator-playback.is-paused {
  color: #ffd66b;
}

.feature-indicator-arrow:active {
  transform: scale(0.92);
}

.feature-indicator-arrow:focus-visible,
.feature-indicator-segment:focus-visible {
  outline: 2px solid #ffd66b;
  outline-offset: 1px;
}

.feature-indicator-segments {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.feature-indicator-segment {
  position: relative;
  width: 36px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.feature-indicator-segment::before,
.feature-indicator-segment::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  height: 7px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.feature-indicator-segment::before {
  width: 30px;
  background: rgba(205, 215, 255, 0.56);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.feature-indicator-segment::after {
  width: 34px;
  background: linear-gradient(90deg, #ffe28a, #ffba4d);
  box-shadow: 0 0 13px rgba(255, 190, 68, 0.56);
  opacity: 0;
  transform: translateY(-50%) scaleX(var(--feature-progress-scale, 0.55));
  transform-origin: left center;
  transition: opacity 220ms ease;
  will-change: transform;
}

.feature-indicator-segment:hover::before {
  background: rgba(228, 235, 255, 0.76);
}

.feature-indicator-segment.is-current::before {
  background: rgba(255, 205, 96, 0.3);
  box-shadow: 0 0 8px rgba(255, 190, 68, 0.2);
}

.feature-indicator-segment.is-current::after {
  opacity: 1;
}

.feature-indicator-counter {
  flex-shrink: 0;
  min-width: 42px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-inline: 6px 3px;
  color: rgba(242, 246, 255, 0.82);
  font: 500 16px/1 var(--font-ui, "Afacad Flux", sans-serif);
  font-variant-numeric: tabular-nums;
}

.feature-indicator-current {
  color: #ffe2a0;
}

.feature-indicator-separator {
  color: rgba(232, 238, 255, 0.76);
}

.auth-form .form-group .field-error.access-code-guidance {
  padding: 10px 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
  line-height: 1.45;
}

.auth-form .form-group .field-error.access-code-guidance a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-form .form-group .field-error.access-code-guidance a:hover {
  color: #bfdbfe;
}

.auth-form .form-group .field-error.access-code-guidance a:focus-visible {
  border-radius: 3px;
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.auth-card-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
  color: #cbd5e1;
}

.auth-card-footer a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.auth-card-footer a:hover {
  color: #bfdbfe;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .audience-toggle-container {
    top: 82px;
    width: min(100% - 32px, 420px);
  }

  .audience-toggle {
    width: 100%;
    gap: 10px;
  }

  .audience-toggle-btn {
    min-width: 0;
    font-size: 15px;
    padding-inline: 14px;
  }

  .landing-hero-copy {
    padding: 150px 24px 230px;
  }

  .feature-strip {
    width: min(100% - 36px, 620px);
    bottom: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .feature-strip li {
    gap: 8px;
    font-size: 14px;
  }

  .feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
  }

  .feature-icon svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 768px) {
  .landing-navbar {
    padding: 0 18px;
  }

  .navbar-container {
    gap: 12px;
    min-height: 58px;
  }

  .navbar-brand {
    gap: 8px;
  }

  .navbar-logo {
    width: 26px;
    height: 26px;
  }

  .navbar-brand-text {
    font-size: 19px;
  }

  .navbar-actions {
    gap: 6px;
  }

  .navbar-link {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 14px;
  }

  .navbar-link-contact {
    width: 34px;
    padding-inline: 0;
  }

  .contact-popover {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    width: auto;
  }

  .contact-popover::before {
    left: 166px;
    right: auto;
  }

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

  .landing-view-candidate .landing-background {
    background-image: var(--landing-candidate-electric-background);
  }

  .landing-view-recruiter .landing-background {
    background-image: var(--landing-company-electric-background);
    background-position: center center;
  }

  .landing-view::after {
    background:
      linear-gradient(90deg, rgba(6, 9, 31, 0.38), rgba(255, 255, 255, 0.02), rgba(6, 9, 31, 0.32)),
      radial-gradient(circle at 50% 54%, rgba(61, 108, 255, 0.16), transparent 38%);
  }

  .landing-view-candidate::after,
  .landing-view-recruiter::after {
    background: radial-gradient(circle at 50% 54%, rgba(61, 108, 255, 0.16), transparent 38%);
  }

  .landing-hero-copy h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .landing-hero-copy h2 {
    margin-top: 18px;
    font-size: clamp(30px, 10vw, 50px);
  }

  .auth-card {
    padding: 32px 24px;
  }

  .auth-card-header h1 {
    font-size: 29px;
  }
}

@media (max-width: 480px) {
  .landing-navbar {
    padding-inline: 14px;
  }

  .landing-page .navbar-container {
    gap: 8px;
  }

  .landing-page .navbar-brand-text {
    display: none;
  }

  .landing-page .navbar-actions {
    min-width: 0;
    gap: 4px;
  }

  .landing-page .language-switcher {
    padding: 2px;
  }

  .landing-page .language-switcher-option {
    width: 32px;
    min-height: 32px;
    padding: 0;
    gap: 0;
  }

  .landing-page .language-switcher-option span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .landing-page .language-switcher-flag {
    width: 18px;
    height: 12px;
  }

  .legal-main {
    width: min(calc(100% - 32px), 760px);
    padding: 92px 0 48px;
  }

  .legal-main h1 {
    margin-bottom: 24px;
  }

  .navbar-link {
    padding-inline: 9px;
  }

  .audience-toggle-container {
    top: 78px;
  }

  .audience-toggle-btn {
    min-height: 40px;
    font-size: 14px;
  }

  .landing-hero-copy {
    padding: 142px 18px 228px;
  }

  .feature-strip {
    width: calc(100% - 24px);
    gap: 14px 8px;
  }

  .feature-strip li {
    font-size: 13px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 1439px) {
  .landing-page .navbar-container {
    padding-right: 4vw;
    padding-left: 36px;
    grid-template-columns: minmax(160px, 1fr) auto minmax(410px, 1fr);
    gap: 20px;
  }

  .landing-page .navbar-actions {
    width: auto;
    justify-content: flex-start;
    gap: 20px;
  }

  .candidate-hero-copy {
    left: 6%;
    width: 43vw;
  }

  .candidate-hero-copy h1 {
    font-size: clamp(56px, 5vw, 72px);
  }

  .feature-carousel {
    left: 54.5%;
    width: 41.5vw;
  }

  .feature-title {
    font-size: clamp(36px, 3vw, 42px);
    line-height: 1.08;
  }
}

@media (max-width: 1120px) {
  .landing-page .navbar-container {
    padding-inline: 24px;
    grid-template-columns: 150px auto minmax(350px, 1fr);
    gap: 14px;
  }

  .landing-page .audience-toggle-container,
  .landing-page .audience-toggle {
    width: 280px;
  }

  .landing-page .navbar-actions {
    gap: 14px;
  }

  .landing-language-menu summary {
    width: 90px;
  }

  .landing-page .navbar-link-primary {
    width: 98px;
    padding-inline: 18px;
  }

  .candidate-description,
  .feature-description {
    font-size: 20px;
    line-height: 1.3;
  }
}

@media (min-width: 768px) {
  .landing-page .landing-language-menu summary,
  .landing-page .navbar-link-contact,
  .landing-page .navbar-link-signin {
    box-sizing: border-box;
    width: max-content;
    min-width: 108px;
    white-space: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .landing-page .landing-navbar {
    height: 136px;
  }

  .landing-page .navbar-container {
    height: 76px;
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .landing-page .audience-toggle-container {
    position: absolute;
    top: 77px;
    left: 50%;
    transform: translateX(-50%);
  }

  .landing-page .navbar-actions {
    grid-column: 2;
    gap: 16px;
  }

  .candidate-hero-copy,
  .feature-carousel {
    top: 27%;
  }

  .candidate-hero-copy {
    left: 5%;
    width: 43%;
  }

  .candidate-eyebrow,
  .feature-eyebrow {
    font-size: 14px;
  }

  .candidate-hero-copy h1 {
    margin-top: 48px;
    font-size: clamp(50px, 6.4vw, 62px);
  }

  .candidate-description {
    margin-top: 22px;
    font-size: 18px;
  }

  .candidate-cta {
    width: min(315px, 100%);
    margin-top: 42px;
    font-size: 17px;
  }

  .feature-carousel {
    left: 52%;
    width: 43%;
  }

  .feature-title {
    margin-top: 46px;
    font-size: clamp(32px, 4vw, 39px);
  }

  .feature-description {
    font-size: 18px;
  }

}

@media (max-width: 767px) {
  .landing-document {
    overflow-y: auto !important;
  }

  .landing-page {
    overflow-y: auto;
  }

  .landing-page .landing-navbar {
    height: 136px;
  }

  .landing-page .navbar-container {
    height: 68px;
    min-height: 68px;
    padding-inline: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .landing-page .navbar-brand {
    width: 30px;
  }

  .landing-page .navbar-logo {
    width: 30px;
    height: 28px;
  }

  .landing-page .navbar-brand-text {
    display: none;
  }

  .landing-menu-toggle {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 44px;
    height: 42px;
    padding: 10px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(174, 193, 255, 0.32);
    border-radius: 10px;
    background: rgba(4, 14, 54, 0.54);
    cursor: pointer;
  }

  .landing-menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--landing-white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .landing-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .landing-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .landing-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .landing-page .audience-toggle-container {
    position: absolute;
    top: 78px;
    left: 50%;
    width: min(420px, calc(100vw - 32px));
    transform: translateX(-50%);
  }

  .landing-page .audience-toggle {
    width: 100%;
    height: 48px;
    box-shadow:
      inset 0 1px 0 rgba(185, 240, 255, 0.12),
      inset 0 -1px 0 rgba(31, 84, 190, 0.18),
      0 5px 14px rgba(2, 8, 36, 0.18);
  }

  .landing-page .audience-toggle-btn {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .landing-page .audience-toggle-btn.active {
    box-shadow:
      inset 0 1px 0 rgba(224, 251, 255, 0.68),
      inset 0 -1px 0 rgba(50, 119, 239, 0.38),
      0 5px 14px rgba(13, 79, 224, 0.24),
      0 0 11px rgba(45, 230, 255, 0.07);
  }

  .landing-page .navbar-actions {
    grid-column: 2;
    grid-row: 1;
    position: static;
    width: auto;
    min-width: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-self: end;
    flex-direction: row;
    gap: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .landing-page .navbar-actions.is-open {
    display: flex;
  }

  .landing-page .navbar-link-signin,
  .landing-page .navbar-link-primary {
    width: 86px;
    min-height: 44px;
    padding-inline: 8px;
    justify-content: center;
    font-size: 14px;
  }

  .landing-page .navbar-link-primary {
    box-shadow:
      inset 0 1px 0 rgba(232, 253, 255, 0.72),
      inset 0 -1px 0 rgba(14, 68, 222, 0.74),
      0 0 0 1px rgba(31, 120, 255, 0.22),
      0 6px 16px rgba(12, 65, 190, 0.28),
      0 0 12px rgba(45, 230, 255, 0.08);
  }

  .landing-page .navbar-secondary-actions {
    position: absolute;
    top: 64px;
    right: 18px;
    width: min(290px, calc(100vw - 36px));
    padding: 12px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(174, 193, 255, 0.28);
    border-radius: 12px;
    background: rgba(5, 15, 54, 0.97);
    box-shadow: 0 22px 55px rgba(2, 7, 28, 0.5);
  }

  .landing-page .navbar-actions.is-open .navbar-secondary-actions {
    display: flex;
  }

  .landing-page .navbar-secondary-actions .navbar-link,
  .landing-page .navbar-secondary-actions .landing-language-menu summary {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding-inline: 12px;
    text-align: left;
  }

  .landing-language-menu form {
    position: static;
    width: 100%;
    margin-top: 4px;
    border-radius: 8px;
    box-shadow: none;
  }

  .landing-page .contact-menu,
  .landing-page .navbar-link-contact {
    width: 100%;
  }

  .landing-page .contact-popover {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    width: auto;
    padding: 20px;
  }

  .landing-page .contact-popover-title {
    font-size: 18px;
  }

  .landing-page .contact-popover-intro,
  .landing-page .contact-popover-response,
  .landing-page .contact-popover-reasons {
    font-size: 14px;
  }

  .landing-page .contact-email-address {
    font-size: 16px;
  }

  .landing-page .navbar-link-contact,
  .landing-page .contact-copy-btn {
    touch-action: manipulation;
  }

  .landing-page[data-audience="candidate"] .landing-stage,
  .landing-page[data-audience="candidate"] .landing-view-candidate,
  .landing-page[data-audience="recruiter"] .landing-stage,
  .landing-page[data-audience="recruiter"] .landing-view-recruiter {
    height: auto;
    min-height: max(100svh, 1050px);
    overflow: hidden;
  }

  .landing-page[data-audience="candidate"] .landing-view-candidate,
  .landing-page[data-audience="recruiter"] .landing-view-recruiter {
    position: relative;
    inset: auto;
  }

  .landing-view-candidate .candidate-background {
    background-image: var(--landing-candidate-electric-background);
    background-position: center bottom;
    filter: none;
  }

  .landing-view-recruiter .company-background {
    background-image: var(--landing-company-electric-background);
    background-position: center center;
    filter: none;
  }

  .candidate-grade {
    display: block;
    background: rgba(3, 10, 38, 0.12);
  }

  .company-grade {
    background:
      linear-gradient(90deg, rgba(3, 10, 38, 0.45), rgba(3, 10, 38, 0.2)),
      rgba(3, 10, 38, 0.12);
  }

  .candidate-hero-copy,
  .feature-carousel {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .candidate-hero-copy {
    padding: 192px 24px 0;
  }

  .candidate-eyebrow,
  .feature-eyebrow {
    font-size: 14px;
    line-height: 20px;
  }

  .candidate-hero-copy h1 {
    margin-top: 34px;
    font-size: clamp(40px, 10.5vw, 46px);
    line-height: 1.02;
  }

  .candidate-description {
    margin-top: 24px;
    font-size: 19px;
    line-height: 1.34;
  }

  .candidate-cta {
    width: min(340px, 100%);
    margin-top: 36px;
  }

  .feature-carousel {
    min-height: 340px;
    margin: 72px 24px 0;
    padding-bottom: 56px;
  }

  .feature-stage {
    min-height: 282px;
  }

  .feature-title {
    margin-top: 34px;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.08;
  }

  .feature-description {
    margin-top: 13px;
    font-size: 19px;
    line-height: 1.34;
  }

}

@media (max-width: 420px) {
  .candidate-hero-copy {
    padding-inline: 18px;
  }

  .candidate-eyebrow {
    max-width: 300px;
  }

  .candidate-hero-copy h1 {
    font-size: clamp(38px, 10.2vw, 42px);
  }

  .candidate-description {
    font-size: 18px;
  }

  .feature-carousel {
    margin-inline: 18px;
  }

  .feature-title {
    font-size: 34px;
  }

  .feature-description {
    font-size: 18px;
  }

  .feature-indicator {
    gap: 0;
  }

  .feature-indicator-arrow {
    width: 36px;
  }

  .feature-indicator-arrow svg {
    width: 24px;
    height: 24px;
  }

  .feature-indicator-segments {
    gap: 3px;
  }

  .feature-indicator-segment {
    width: 32px;
  }

  .feature-indicator-segment::before {
    width: calc(100% - 4px);
    left: 2px;
  }

  .feature-indicator-segment::after {
    width: calc(100% - 1px);
    left: 2px;
  }

  .feature-indicator-counter {
    min-width: 38px;
    margin-inline: 3px 1px;
  }
}

@media (min-width: 1024px) and (max-height: 820px) {
  .candidate-hero-copy,
  .feature-carousel {
    top: 25%;
  }

  .candidate-hero-copy h1 {
    margin-top: 44px;
    font-size: clamp(56px, 4.3vw, 66px);
  }

  .candidate-description {
    margin-top: 20px;
    font-size: 20px;
  }

  .candidate-cta {
    margin-top: 34px;
  }

  .feature-title {
    margin-top: 38px;
    font-size: clamp(36px, 2.6vw, 40px);
  }

  .feature-description {
    font-size: 20px;
  }

}

@media (max-width: 768px) {
  .landing-page .navbar-link-contact .navbar-link-label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-copy-btn:active,
  .landing-page .navbar-link-primary:active {
    transform: none;
  }

  .feature-block,
  .feature-indicator-active,
  .candidate-cta-mark,
  .landing-menu-toggle span {
    transition-duration: 0.01ms !important;
  }
}

/* Shared candidate/company authentication: restrained electric treatment */
.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .landing-navbar {
  height: 96px;
  background: linear-gradient(180deg, rgba(3, 10, 38, 0.34), transparent);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .navbar-container {
  height: 96px;
  min-height: 96px;
  padding: 0 7.4vw 0 60px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .candidate-auth-actions {
  grid-column: 2;
  width: auto;
  justify-self: end;
  justify-content: flex-end;
  gap: 12px;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link {
  width: 112px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: rgba(250, 250, 255, 0.9);
  font-weight: 600;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link:hover {
  background: rgba(250, 250, 255, 0.08);
  transform: none;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link[aria-current="page"]:not(.navbar-link-primary) {
  position: relative;
  color: var(--landing-white);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link[aria-current="page"]:not(.navbar-link-primary)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--landing-cyan);
  transform: translateX(-50%);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link.navbar-link-primary,
.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link.navbar-link-primary:hover {
  border: 0;
  background: rgba(34, 72, 190, 0.82);
  box-shadow: 0 7px 22px rgba(25, 80, 220, 0.24);
  color: var(--landing-white);
  transform: none;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link.navbar-link-primary:hover {
  background: rgba(44, 88, 224, 0.92);
  transform: translateY(-1px);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-main {
  min-height: 100vh;
  min-height: 100svh;
  padding: 112px 24px 40px;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-card {
  border-color: rgba(86, 207, 239, 0.24);
  background: rgba(5, 15, 54, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 28px 80px rgba(2, 7, 28, 0.64),
    inset 0 0 0 1px rgba(128, 172, 255, 0.08);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:not([type="checkbox"]) {
  border-color: rgba(174, 193, 255, 0.3);
  background: rgba(6, 18, 62, 0.88);
  color: #f8fbff;
  caret-color: #2de6ff;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:not([type="checkbox"]):focus {
  border-color: rgba(45, 230, 255, 0.68);
  background: rgba(8, 24, 78, 0.96);
  box-shadow: 0 0 0 3px rgba(45, 230, 255, 0.12);
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:-webkit-autofill,
.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:-webkit-autofill:hover,
.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:-webkit-autofill:focus,
.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:-webkit-autofill:active {
  border-color: rgba(45, 230, 255, 0.42);
  -webkit-text-fill-color: #f8fbff;
  caret-color: #2de6ff;
  -webkit-box-shadow: 0 0 0 1000px #08184e inset;
  box-shadow: 0 0 0 1000px #08184e inset;
  transition: background-color 9999s ease-out 0s;
}

.auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .form-group input:autofill {
  border-color: rgba(45, 230, 255, 0.42);
  background: #08184e;
  color: #f8fbff;
}

@media (max-width: 767px) {
  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .landing-navbar {
    height: 76px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .navbar-container {
    height: 76px;
    min-height: 76px;
    padding: 0 16px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .candidate-auth-actions {
    position: static;
    width: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 8px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .landing-language-menu summary,
  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link {
    height: 44px;
    min-height: 44px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .landing-language-menu summary {
    width: 88px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link {
    width: 94px;
    padding-inline: 10px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-main {
    padding: 92px 16px 32px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"]))::before {
    background-position: 56% bottom;
  }
}

@media (max-width: 540px) {
  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .navbar-brand-text {
    display: none;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .navbar-brand {
    width: 35px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .navbar-container {
    padding-inline: 12px;
    gap: 8px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .candidate-auth-actions {
    gap: 5px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .landing-language-menu summary {
    width: 76px;
    font-size: 13px;
  }

  .auth-page.candidate-auth-shell:where(:not([data-candidate-design="true"][data-account-type="candidate"])) .auth-nav-link {
    width: 80px;
    padding-inline: 6px;
    font-size: 13px;
  }
}

/* Keep onboarding utilities together, independent of the marketing navigation. */
.onboarding-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  min-height: 80px;
  padding: 16px clamp(16px, 4vw, 60px);
  box-sizing: border-box;
}

.onboarding-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.onboarding-signout-wrapper {
  border-left: 1px solid var(--glass-border, rgba(148, 163, 184, 0.35));
  padding-left: 16px;
}

.onboarding-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  font: 600 14px/20px var(--font-ui, "Afacad Flux", sans-serif);
  white-space: nowrap;
  cursor: pointer;
}

.onboarding-shell .onboarding-page {
  padding-top: 24px;
}

@media (max-width: 480px) {
  .onboarding-header-actions {
    gap: 8px;
  }

  .onboarding-signout-wrapper {
    padding-left: 8px;
  }

  .onboarding-signout {
    padding-inline: 8px;
  }
}
#landing-signout {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}
