:root {
  --bg: #edf4fb;
  --panel-border: #dbe7f3;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #1e3a8a;
  --blue-strong: #2563eb;
  --green: #16a34a;
  --green-strong: #22c55e;
  --blue-soft: #dbeafe;
}

html,
body,
#root {
  background:
    radial-gradient(circle at top left, rgba(191, 219, 254, 0.9), transparent 24%),
    radial-gradient(circle at top right, rgba(219, 234, 254, 0.72), transparent 22%),
    linear-gradient(180deg, #edf4fb 0%, #eef5fc 42%, #f3f8fd 100%);
  color: var(--text);
}

.container {
  width: min(1120px, calc(100% - 32px));
}

.topbar {
  background: rgba(237, 244, 251, 0.88);
  box-shadow: 0 1px 0 rgba(219, 231, 243, 0.95);
}

.topbar-inner {
  padding: 16px 0;
}

.brand-logo-wrap {
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(219, 231, 243, 0.95);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.brand-logo {
  width: 160px;
}

.brand-title {
  color: var(--blue);
  font-size: 1.05rem;
}

.brand-link {
  text-decoration: none;
}

.btn.primary,
.step-num {
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.btn.secondary {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.btn.ghost {
  background: rgba(246, 250, 255, 0.92);
  color: var(--blue);
  border: 1px solid rgba(219, 231, 243, 0.95);
}

.btn.ghost:hover {
  background: rgba(240, 247, 255, 0.98);
}

.hero-clean {
  align-items: center;
  gap: 22px;
  padding: 34px 0 16px;
}

.hero-copy h1 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-mini-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  max-width: 560px;
}

.mini-proof-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid rgba(219, 231, 243, 0.95);
}

.mini-proof-card strong {
  display: block;
  color: var(--blue);
  font-size: 1.15rem;
}

.mini-proof-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.pill {
  background: rgba(248, 251, 255, 0.95);
  color: var(--blue);
  border-color: rgba(219, 231, 243, 0.95);
}

.trust-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(232, 242, 253, 0.92), rgba(245, 249, 255, 0.96) 82%);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card h3 {
  margin: 0;
  color: var(--blue);
  line-height: 1.25;
}

.trust-logo {
  padding: 16px;
  border-radius: 22px;
  background: rgba(248, 251, 255, 0.95);
  border: 1px solid rgba(219, 231, 243, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(100%, 240px);
  display: block;
  margin: 0 auto;
}

.trust-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.trust-item {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(219, 231, 243, 0.94);
}

.trust-copy {
  display: grid;
  gap: 4px;
}

.trust-item strong {
  display: block;
  color: var(--blue);
  line-height: 1.2;
}

.trust-item span {
  display: block;
  color: var(--text);
  line-height: 1.45;
}

.full-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 10px 0 16px;
}

.compact-stat {
  padding: 18px 20px;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.04);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(239, 246, 253, 0.98));
}

.compact-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.compact-stat strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 1.8rem;
}

.signup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  margin-bottom: 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(22, 163, 74, 0.1));
}

.banner-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
}

.portal-sections {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-bottom: 22px;
}

.curated-sections {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.section-card {
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(30, 58, 138, 0.04);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(239, 246, 253, 0.98));
}

.section-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-card-head h2 {
  margin: 6px 0 0;
  color: var(--blue);
  line-height: 1.2;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.category-tile {
  text-align: left;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 22px;
  padding: 18px;
}

.category-tile strong {
  display: block;
  color: var(--blue);
  font-size: 1rem;
}

.category-tile span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.category-tile:hover {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, #ffffff, #eef6ff);
}

.flow-grid {
  display: grid;
  gap: 12px;
}

.flow-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.58), #ffffff);
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.employer-landing {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 28px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.9), rgba(255, 255, 255, 0.98) 54%, rgba(220, 252, 231, 0.55));
}

.employer-landing h2 {
  margin: 8px 0 10px;
  color: var(--blue);
  line-height: 1.18;
}

.employer-points {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.employer-point {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.employer-point strong {
  display: block;
  color: var(--blue);
}

.employer-point span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.employer-panel {
  display: flex;
  align-items: stretch;
}

.offer-card {
  width: 100%;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.96), rgba(37, 99, 235, 0.98));
  color: #ffffff;
  box-shadow: 0 22px 40px rgba(30, 58, 138, 0.24);
}

.offer-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 700;
}

.offer-card h3 {
  margin: 16px 0 10px;
  line-height: 1.18;
}

.offer-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.flow-card strong {
  display: block;
  color: var(--blue);
  line-height: 1.35;
}

.flow-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

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

.curated-card {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.98));
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.06);
}

.curated-card h3 {
  margin: 12px 0 8px;
  color: var(--blue);
  line-height: 1.28;
}

.curated-card .muted {
  display: block;
  min-height: 42px;
}

.curated-btn {
  margin-top: 14px;
}

.search-clean,
.tabs-clean {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.search-clean {
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
}

.search-clean .search-input-wrap input {
  padding-left: 48px;
}

.search-clean .search-icon {
  left: 16px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
}

.search-clean input,
.search-clean select {
  min-height: 58px;
}

.tabs-clean {
  margin: 18px 0 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.tabs-clean .tab {
  min-height: 56px;
}

.tab.active {
  background: var(--blue-soft);
  color: var(--blue);
}

.simple-head h2,
.form-panel h2 {
  color: var(--blue);
}

.jobs-grid-clean {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card-clean {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(30, 58, 138, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.98));
}

.company-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.8), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-logo.fallback span {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.company-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.company-link:hover {
  text-decoration: underline;
}

.company-logo.card {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.company-logo.detail {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.job-card-clean .job-top {
  align-items: flex-start;
}

.job-card-clean .job-top > div:nth-child(2) {
  flex: 1;
}

.job-card-clean:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(30, 58, 138, 0.14);
  border-color: rgba(37, 99, 235, 0.2);
}

.job-accent {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.job-card-clean h3 {
  line-height: 1.25;
  color: var(--blue);
}

.job-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(224, 242, 254, 0.72);
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.mini-card strong {
  color: var(--blue);
}

.steps-box {
  border-radius: 24px;
}

.steps-box ol {
  color: var(--muted);
  line-height: 1.8;
}

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

.modal-clean {
  background: rgba(2, 6, 23, 0.62);
}

.business-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 28px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.82), rgba(255, 255, 255, 0.98) 52%, rgba(220, 252, 231, 0.52));
}

.business-hero h1 {
  margin: 8px 0 10px;
  color: var(--blue);
  line-height: 1.08;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.business-copy p {
  max-width: 680px;
  line-height: 1.75;
}

.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.business-side {
  display: flex;
  align-items: stretch;
}

.business-side-card {
  width: 100%;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.94);
  box-shadow: 0 16px 34px rgba(30, 58, 138, 0.08);
}

.business-side-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 1.15rem;
}

.business-side-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.business-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.business-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.98));
}

.company-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 28px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.84), rgba(255, 255, 255, 0.98) 58%, rgba(220, 252, 231, 0.36));
}

.company-hero-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.company-hero h1 {
  margin: 6px 0 8px;
  color: var(--blue);
  line-height: 1.1;
  font-size: clamp(2rem, 3.8vw, 3rem);
}

.company-hero-side {
  display: flex;
  align-items: stretch;
}

.job-modal {
  width: min(980px, 100%);
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 248, 255, 0.98));
}

.job-page-wrap {
  padding-bottom: 56px;
}

.job-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 18px;
}

.job-page {
  width: 100%;
}

.job-modal-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.job-page-company {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
}

.job-modal-head h3 {
  margin: 12px 0 8px;
  color: var(--blue);
  line-height: 1.15;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.modal-company {
  font-size: 1rem;
}

.job-modal-sidecard {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.8), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.side-label {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.job-modal-sidecard strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 1.35rem;
}

.job-modal-sidecard span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.job-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.modal-section,
.sidebar-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.96);
}

.modal-section h4,
.sidebar-card h4 {
  margin: 0 0 12px;
  color: var(--blue);
}

.modal-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.requirements-grid {
  display: grid;
  gap: 10px;
}

.requirement-card {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(224, 242, 254, 0.6);
  color: var(--blue);
  font-weight: 600;
}

.job-modal-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.sidebar-list {
  display: grid;
  gap: 12px;
}

.sidebar-list div {
  display: grid;
  gap: 4px;
}

.sidebar-list strong {
  color: var(--text);
  font-size: 0.92rem;
}

.sidebar-list span {
  color: var(--muted);
}

.contact-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(224, 242, 254, 0.56);
  color: var(--blue);
  word-break: break-word;
  font-weight: 700;
}

.job-not-found {
  margin-top: 20px;
}

.question-modal {
  width: min(760px, 100%);
  border-radius: 30px;
  padding: 28px;
}

.modal-copy {
  margin-bottom: 18px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.question-grid label {
  display: grid;
  gap: 8px;
}

.question-grid label span {
  font-weight: 700;
}

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

.question-grid input,
.question-grid select,
.question-grid textarea {
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 14px;
  background: #ffffff;
}

.question-grid input:focus,
.question-grid select:focus,
.question-grid textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.14);
  border-color: var(--blue-strong);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .hero-clean,
  .stats-strip,
  .portal-sections,
  .employer-landing,
  .business-hero,
  .business-grid,
  .company-hero,
  .jobs-grid-clean,
  .curated-grid,
  .simple-grid,
  .question-grid,
  .footer-clean,
  .job-modal-head,
  .job-modal-grid {
    grid-template-columns: 1fr;
  }

  .signup-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-grid,
  .hero-mini-proof {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-actions {
    display: none;
  }

  .hero-clean {
    padding-top: 24px;
  }

  .hero-actions,
  .business-actions,
  .company-hero-top,
  .job-page-nav,
  .modal-actions {
    flex-direction: column;
  }

  .section-card-head {
    flex-direction: column;
  }

  .btn.ghost,
  .full-btn,
  .hero-actions .btn,
  .business-actions .btn,
  .job-page-nav .btn,
  .signup-banner .btn,
  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
