@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222, 47%, 11%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(214, 32%, 91%);
  --secondary-foreground: hsl(222, 47%, 11%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(210, 40%, 94%);
  --accent-foreground: hsl(222, 47%, 11%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --ring: hsl(217, 91%, 60%);
  --radius: 0.75rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ——— Layout ——— */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.main-grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.container-wide {
  width: 100%;
  max-width: 80rem; /* 7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container-narrow {
  width: 100%;
  max-width: 56rem; /* 4xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-narrow {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-narrow {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container-search {
  width: 100%;
  max-width: 64rem; /* 5xl */
  margin-left: auto;
  margin-right: auto;
}

/* ——— Navbar ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsla(214, 32%, 91%, 0.5);
}

.site-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand.brand--logo {
  gap: 0;
  text-decoration: none;
}

/* Dark backing so white logo text reads on the light glass nav */
.site-nav .brand.brand--logo {
  padding: 0.2rem 0.55rem;
  background: linear-gradient(135deg, hsl(222 47% 14%) 0%, hsl(217 33% 20%) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.brand__logo-img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: min(100%, 220px);
  object-fit: contain;
  object-position: left center;
}

.site-footer .brand__logo-img {
  height: 3rem;
  max-width: 260px;
}

.auth-panel__content .brand__logo-img {
  height: 3.25rem;
  max-width: 280px;
}

.auth-mobile-brand .brand__logo-img {
  height: 2rem;
  max-width: 180px;
}

.auth-mobile-brand .brand.brand--logo {
  padding: 0.15rem 0.45rem;
  background: linear-gradient(135deg, hsl(222 47% 14%) 0%, hsl(217 33% 20%) 100%);
  border-radius: var(--radius-lg);
}

.brand__icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

.brand__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.brand__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--foreground);
  background: var(--muted);
}

.nav-links a.is-active {
  background: hsla(217, 91%, 60%, 0.1);
  color: var(--primary);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

.nav-menu-btn {
  display: flex;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  background: none;
  border: none;
  color: var(--foreground);
}

.nav-menu-btn:hover {
  background: var(--muted);
}

@media (min-width: 768px) {
  .nav-menu-btn {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 0.5rem 1rem 1rem;
}

.nav-mobile.is-open {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

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

.nav-mobile a.is-active {
  background: hsla(217, 91%, 60%, 0.1);
  color: var(--primary);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  border: none;
  text-decoration: none;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  pointer-events: none;
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.btn--default {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 2.25rem;
  padding: 0.5rem 1rem;
}

.btn--default:hover {
  background: hsla(217, 91%, 60%, 0.9);
}

.btn--sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  border-radius: calc(var(--radius) - 2px);
}

.btn--lg {
  height: 2.5rem;
  padding: 0 2rem;
  border-radius: calc(var(--radius) - 2px);
}

.btn--lg.rounded-xl {
  border-radius: var(--radius-xl);
}

.btn--ghost {
  background: transparent;
  color: var(--foreground);
  height: 2rem;
  padding: 0 0.75rem;
}

.btn--ghost:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--input);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--foreground);
  height: 2rem;
  padding: 0 0.75rem;
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn--outline.rounded-xl {
  border-radius: var(--radius-xl);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn--secondary:hover {
  background: hsla(214, 32%, 91%, 0.8);
}

.btn--block {
  width: 100%;
}

.btn--rounded-xl {
  border-radius: var(--radius-xl);
}

.btn--cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.btn--cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--foreground);
  color: rgba(255, 255, 255, 0.7);
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer p {
  font-size: 0.875rem;
  line-height: 1.625;
}

.site-footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer__links a,
.site-footer__links span {
  font-size: 0.875rem;
  display: block;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 37, 84, 0.8),
    rgba(30, 58, 138, 0.7),
    rgba(23, 37, 84, 0.8)
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 8rem;
}

@media (min-width: 640px) {
  .hero__content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.hero__inner {
  max-width: 48rem;
  width: 100%;
  text-align: center;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero__pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #34d399;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__title-accent {
  color: #93c5fd;
}

.hero__subtitle {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.625;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__search-wrap {
  position: relative;
  z-index: 20;
  margin-bottom: -2rem;
  padding: 0 1rem 0;
}

@media (min-width: 640px) {
  .hero__search-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.search-card {
  background: #fff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.3);
  border: 1px solid hsla(214, 32%, 91%, 0.4);
  padding: 1.25rem;
}

@media (min-width: 1024px) {
  .search-card {
    padding: 1.5rem;
  }
}

.search-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .search-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-card__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.search-card__grid .field-keywords {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .search-card__grid .field-keywords {
    grid-column: span 2;
  }
}

.field {
  position: relative;
}

.field__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  pointer-events: none;
}

.field input,
.field select {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-left: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 0.875rem;
  color: var(--foreground);
  height: 46px;
}

.field input::placeholder {
  color: var(--muted-foreground);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.2);
}

.field--select select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.search-card__submit {
  margin-top: 0.75rem;
}

.search-card__submit .btn {
  width: 100%;
  border-radius: var(--radius-xl);
  height: 2.75rem;
}

/* ——— Stats ——— */
.section-stats {
  background: hsla(210, 40%, 96%, 0.4);
  padding: 5rem 0 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.stat-card__icon--blue {
  background: #eff6ff;
  color: #2563eb;
}

.stat-card__icon--indigo {
  background: #eef2ff;
  color: #4f46e5;
}

.stat-card__icon--sky {
  background: #f0f9ff;
  color: #0284c7;
}

.stat-card__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.875rem;
  line-height: 1.2;
}

.stat-card__label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* ——— Section headings ——— */
.section {
  padding: 5rem 0;
}

.section--muted {
  background: hsla(210, 40%, 96%, 0.3);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section__head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  color: var(--foreground);
  margin: 0;
}

.section__head p {
  margin: 0.5rem 0 0;
  color: var(--muted-foreground);
}

.section__center {
  text-align: center;
  margin-bottom: 3rem;
}

.section__center h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  margin: 0 0 0.5rem;
}

.section__center p {
  color: var(--muted-foreground);
  margin: 0 auto;
  max-width: 36rem;
}

.hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .hide-sm {
    display: inline-flex;
  }
}

.show-sm-only {
  display: block;
}

@media (min-width: 640px) {
  .show-sm-only {
    display: none;
  }
}

.text-center-sm {
  text-align: center;
  margin-top: 2rem;
}

/* ——— Job cards ——— */
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.job-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.job-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px hsla(217, 91%, 60%, 0.05);
  border-color: hsla(217, 91%, 60%, 0.2);
}

.job-card:hover .job-card__title {
  color: var(--primary);
}

.job-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.job-card__logo {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, hsla(217, 91%, 60%, 0.1), hsla(217, 91%, 60%, 0.05));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.job-card__logo svg {
  width: 1.5rem;
  height: 1.5rem;
}

.badge-type {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid;
}

.badge-type--full {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.badge-type--remote {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.badge-type--contract {
  background: #fffbeb;
  color: #b45309;
  border-color: #fde68a;
}

.job-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
  margin: 0 0 0.25rem;
  transition: color 0.2s;
}

.job-card__company {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.job-card__meta svg {
  width: 0.875rem;
  height: 0.875rem;
}

.badge-dept {
  display: inline-flex;
  align-items: center;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.625rem;
  margin-top: 1rem;
}

/* ——— Candidate cards ——— */
.candidates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .candidates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .candidates-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.candidate-card {
  display: block;
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.candidate-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: hsla(217, 91%, 60%, 0.2);
}

.candidate-card:hover .candidate-card__name {
  color: var(--primary);
}

.candidate-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  background: hsla(217, 91%, 60%, 0.1);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px hsla(217, 91%, 60%, 0.05);
  object-fit: cover;
}

.candidate-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  transition: color 0.2s;
}

.candidate-card__title {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0.125rem 0 0;
}

.candidate-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.candidate-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.candidate-card__meta svg {
  width: 0.75rem;
  height: 0.75rem;
}

.candidate-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1rem;
}

.skill-badge {
  border-radius: calc(var(--radius) - 2px);
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.125rem 0.5rem;
}

/* ——— Key points ——— */
.points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .points-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.point-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.point-card:hover {
  box-shadow: 0 10px 15px -3px hsla(217, 91%, 60%, 0.05);
}

.point-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.point-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

.point-card__icon--a {
  background: linear-gradient(to bottom right, #3b82f6, #4f46e5);
}

.point-card__icon--b {
  background: linear-gradient(to bottom right, #0ea5e9, #2563eb);
}

.point-card__icon--c {
  background: linear-gradient(to bottom right, #6366f1, #7c3aed);
}

.point-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.point-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin: 0;
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 10px 15px -3px hsla(217, 91%, 60%, 0.05);
}

.service-card--blue:hover {
  border-color: #bfdbfe;
}

.service-card--indigo:hover {
  border-color: #c7d2fe;
}

.service-card--sky:hover {
  border-color: #bae6fd;
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card__icon--blue {
  background: rgba(239, 246, 255, 0.6);
  color: #2563eb;
}

.service-card__icon--indigo {
  background: rgba(238, 242, 255, 0.6);
  color: #4f46e5;
}

.service-card__icon--sky {
  background: rgba(240, 249, 255, 0.6);
  color: #0284c7;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  flex: 1;
  margin: 0;
}

.service-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* ——— CTA ——— */
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: linear-gradient(to bottom right, var(--primary), #1d4ed8);
  padding: 3rem;
}

@media (min-width: 1024px) {
  .cta-box {
    padding: 4rem;
  }
}

.cta-box__blob-a {
  position: absolute;
  top: 0;
  right: 0;
  width: 20rem;
  height: 20rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  filter: blur(48px);
  transform: translate(50%, -50%);
}

.cta-box__blob-b {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  filter: blur(48px);
  transform: translate(-50%, 50%);
}

.cta-box__inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  color: #fff;
  margin: 0;
}

@media (min-width: 1024px) {
  .cta-box h2 {
    font-size: 2.25rem;
  }
}

.cta-box p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-box__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-box__actions {
    flex-direction: row;
  }
}

/* ——— Empty state ——— */
.empty-panel {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
}

.empty-panel p {
  color: var(--muted-foreground);
  margin: 0;
}

/* ——— Jobs / Candidates page ——— */
.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  margin: 0 0 0.25rem;
}

.page-header p {
  color: var(--muted-foreground);
  margin: 0;
}

.filter-panel {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 1rem;
  margin-bottom: 2rem;
}

.filter-panel__row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .filter-panel__row {
    flex-direction: row;
    align-items: center;
  }
}

.filter-panel__search {
  position: relative;
  flex: 1;
}

.filter-panel__search svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
}

.filter-panel__search input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 0.875rem;
}

.filter-panel__search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.2);
}

.filter-panel__filters {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsla(214, 32%, 91%, 0.6);
}

.filter-panel__filters.is-open {
  display: grid;
}

@media (min-width: 640px) {
  .filter-panel__filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

.filter-panel__filters--single {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .filter-panel__filters--single .field-select {
    max-width: 16rem;
  }
}

.field-select select {
  width: 100%;
  height: 42px;
  padding: 0 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.field-select select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ——— Job detail ——— */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--foreground);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
}

.detail-header {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.detail-header__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .detail-header__row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.detail-header__brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.detail-header__logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(to bottom right, hsla(217, 91%, 60%, 0.1), hsla(217, 91%, 60%, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.detail-header__logo svg {
  width: 1.75rem;
  height: 1.75rem;
}

.detail-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

@media (min-width: 1024px) {
  .detail-header h1 {
    font-size: 1.875rem;
  }
}

.detail-header .company {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0.125rem 0 0;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-lg);
  border: none;
}

.badge-info svg {
  width: 0.875rem;
  height: 0.875rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.content-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 2rem;
}

.content-card h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.content-card .prose {
  color: var(--muted-foreground);
  line-height: 1.625;
  white-space: pre-line;
  margin: 0;
}

.sidebar-card {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.sidebar-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

.sidebar-card > p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.sidebar-list {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(214, 32%, 91%, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-list div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.sidebar-list svg.check {
  width: 1rem;
  height: 1rem;
  color: #22c55e;
  flex-shrink: 0;
}

/* ——— Dialog ——— */
.dialog-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dialog-backdrop.is-open {
  display: flex;
}

.dialog {
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.dialog h2 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
}

.dialog .subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1rem;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-stack label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.form-stack input,
.form-stack textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 0.875rem;
}

.form-stack input:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(217, 91%, 60%, 0.2);
}

.form-stack textarea {
  resize: none;
  min-height: 6rem;
}

/* ——— Candidate profile ——— */
.profile-hero {
  background: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid hsla(214, 32%, 91%, 0.6);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.profile-hero__banner {
  height: 8rem;
  background: linear-gradient(to right, hsla(217, 91%, 60%, 0.2), hsla(217, 91%, 60%, 0.1), hsla(96, 79%, 57%, 0.1));
}

.profile-hero__body {
  padding: 0 2rem 2rem;
  margin-top: -3rem;
}

.profile-hero__row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .profile-hero__row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.profile-avatar-lg {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  border: 4px solid var(--card);
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

.profile-hero .title {
  color: var(--primary);
  font-weight: 500;
  margin: 0;
}

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-badge-lg {
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.detail-row svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.detail-row a {
  color: var(--primary);
}

.detail-row a:hover {
  text-decoration: underline;
}

/* ——— Auth pages ——— */
.auth-page {
  flex: 1;
  display: flex;
  min-height: 32rem;
}

.auth-panel {
  display: none;
  width: 50%;
  position: relative;
}

@media (min-width: 1024px) {
  .auth-panel {
    display: block;
  }
}

.auth-panel img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.auth-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(30, 58, 138, 0.8), rgba(29, 78, 216, 0.6));
}

.auth-panel__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3rem;
  color: #fff;
}

.auth-panel__content .brand__icon {
  background: rgba(255, 255, 255, 0.2);
}

.auth-panel__content .brand__text {
  color: #fff;
}

.auth-panel__content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 1rem 0;
}

.auth-panel__content > .brand {
  margin-bottom: 2rem;
}

.auth-panel__content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.625;
  margin: 0;
}

.auth-benefits {
  margin-top: 2.5rem;
}

.auth-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  list-style: none;
}

.auth-benefits .check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--background);
}

.auth-form-inner {
  width: 100%;
  max-width: 28rem;
}

.auth-mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .auth-mobile-brand {
    display: none;
  }
}

.auth-form-inner > h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.875rem;
  margin: 0 0 0.25rem;
}

.auth-form-inner > .lead {
  color: var(--muted-foreground);
  margin: 0 0 2rem;
}

.account-toggle {
  display: flex;
  background: var(--muted);
  border-radius: var(--radius-xl);
  padding: 0.25rem;
  margin-bottom: 1.25rem;
}

.account-toggle button {
  flex: 1;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  transition: all 0.15s;
}

.account-toggle button.is-active {
  background: #fff;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 2.75rem;
}

.password-toggle {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted-foreground);
  padding: 0.25rem;
}

.password-toggle:hover {
  color: var(--foreground);
}

.auth-success {
  text-align: center;
  padding: 2.5rem 0;
}

.auth-success .icon-circle {
  width: 4rem;
  height: 4rem;
  background: #dcfce7;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.875rem;
}

.legal-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.legal-note .link {
  color: var(--primary);
}

.auth-footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ——— 404 ——— */
.notfound-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #f8fafc;
  min-height: 0;
}

.notfound-inner {
  max-width: 28rem;
  width: 100%;
  text-align: center;
}

.notfound-inner h1 {
  font-size: 4.5rem;
  font-weight: 300;
  color: #cbd5e1;
  margin: 0;
  line-height: 1;
}

.notfound-inner .rule {
  width: 4rem;
  height: 2px;
  background: #e2e8f0;
  margin: 0.5rem auto 1.5rem;
}

.notfound-inner h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1e293b;
  margin: 0 0 0.75rem;
}

.notfound-inner p {
  color: #475569;
  line-height: 1.625;
  margin: 0 0 1.5rem;
}

.notfound-inner .path {
  font-weight: 500;
  color: #334155;
}

.notfound-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.notfound-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.notfound-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #64748b;
}

/* ——— Utils ——— */
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.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;
}
