:root {
  --brand-blue: #2638f2;
  --brand-blue-dark: #1d2ecf;
  --navy: #071936;
  --ink: #142033;
  --muted: #627086;
  --line: #dce4ee;
  --wash: #f4f7fb;
  --white: #ffffff;
  --teal: #2638f2;
  --green: #61a645;
  --gold: #d99b35;
  --danger: #a43d3d;
  --shadow: 0 18px 48px rgba(38, 56, 242, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  max-width: 920px;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.45rem);
  line-height: 1.08;
}

h3 {
  font-size: 1rem;
}

main {
  min-height: 70vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: block;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--navy);
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  min-height: 54px;
  font-weight: 800;
}

.topbar-main {
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  min-height: 116px;
}

.brand img {
  width: 270px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  flex-wrap: wrap;
  font-weight: 700;
  font-size: 1.08rem;
}

nav a {
  color: inherit;
  opacity: 0.88;
}

nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--brand-blue);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(21, 143, 143, 0.22);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
}

.header-cta {
  min-width: 170px;
  min-height: 58px;
  color: var(--brand-blue);
  background: var(--white);
  border-radius: 5px;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.button.ghost {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.danger {
  background: var(--danger);
  margin-top: 18px;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: clamp(92px, 12vw, 140px) clamp(18px, 5vw, 80px) clamp(44px, 7vw, 80px);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero figure {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 40, 75, 0.9), rgba(16, 40, 75, 0.58) 48%, rgba(16, 40, 75, 0.12));
}

.hero-copy {
  max-width: 760px;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.16rem;
}

.hero .button.ghost {
  background: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero .eyebrow,
.admin-topbar .eyebrow {
  color: #88d9ce;
}

.jobs-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0 28px;
}

.jobs-hero h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.jobs-hero h1 span {
  color: var(--brand-blue);
}

.jobs-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.page-hero,
.question-shell,
.article,
.admin-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) 0 32px;
}

.page-hero.compact {
  padding-bottom: 12px;
}

.page-hero p,
.article .lede {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.stats {
  width: min(1120px, calc(100% - 36px));
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats article {
  background: var(--white);
  padding: 24px;
}

.stats strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.band,
.section-head,
.card-grid,
.detail-grid,
.profile-grid,
.process,
.filters,
.jobs-layout {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
  padding-bottom: 72px;
}

.jobs-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.jobs-result-head a {
  color: var(--brand-blue);
}

.jobs-results {
  display: grid;
  gap: 18px;
}

.job-list-card {
  position: relative;
  min-height: 158px;
  padding: 28px 84px 28px 34px;
  border: 1px solid #edf1f8;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(7, 25, 54, 0.07);
}

.job-list-card h2 {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.job-list-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.job-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.job-list-meta span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 5px;
  padding: 4px 12px;
  background: #f2f4f9;
  color: #5f6878;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.job-list-arrow {
  position: absolute;
  right: 28px;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: var(--brand-blue);
  background: #f4f6ff;
  font-size: 1.5rem;
  font-weight: 900;
}

.jobs-sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 190px;
}

.jobs-search,
.jobs-categories {
  border-radius: 22px;
  padding: 28px;
}

.jobs-search h2,
.jobs-categories h2 {
  color: var(--navy);
  font-size: 1.35rem;
}

.jobs-search form {
  display: grid;
  gap: 12px;
}

.search-field {
  position: relative;
  display: block;
}

.search-field span {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--muted);
  transform: translateY(-50%);
  font-size: 1.6rem;
}

.search-field input {
  min-height: 58px;
  padding-left: 48px;
  border-color: #edf1f8;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(7, 25, 54, 0.06);
}

.jobs-categories {
  display: grid;
  gap: 7px;
}

.jobs-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--muted);
  font-weight: 800;
}

.jobs-categories a strong {
  color: var(--brand-blue);
  font-size: 1.3rem;
}

.jobs-categories a.active span,
.jobs-categories a:hover span {
  color: var(--navy);
}

.band {
  padding: clamp(42px, 7vw, 78px) 0;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.feature-img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.wide {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 48px 0 18px;
}

.section-head a {
  color: var(--teal);
  font-weight: 800;
}

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

.card,
.panel,
.empty {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(16, 40, 75, 0.06);
}

.card h2 {
  font-size: 1.3rem;
}

.job-card {
  min-height: 270px;
}

.quote-card blockquote {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.leader-card img,
.partner-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--soft);
}

.leader-card img {
  object-position: top center;
}

.partner-card img {
  object-fit: contain;
  padding: 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.tags span,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf4f1;
  color: #0f6f6f;
  font-size: 0.82rem;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 28px;
}

.filters a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
}

.filters a.active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 24px 0 70px;
}

.job-detail-grid {
  align-items: start;
  gap: 34px;
}

.job-description-panel {
  display: grid;
  gap: 18px;
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.job-detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #566176;
  background: #f2f4f9;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.rich-job-description {
  display: grid;
  gap: 12px;
}

.rich-job-description h4 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.rich-job-description p,
.rich-job-description ul {
  margin: 0;
}

.rich-job-description li {
  margin-bottom: 8px;
}

.apply-side-card {
  position: sticky;
  top: 190px;
  display: grid;
  gap: 16px;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(7, 25, 54, 0.08);
}

.apply-side-card .button {
  width: 100%;
}

.apply-form-card {
  width: min(720px, 100%);
  margin: 42px auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(7, 25, 54, 0.08);
}

.apply-form-card h2 {
  color: var(--brand-blue);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.success-message {
  border: 1px solid rgba(97, 166, 69, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  color: #2f6e28;
  background: rgba(97, 166, 69, 0.1);
  font-weight: 800;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 70px;
}

.span-2 {
  grid-column: 1 / -1;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-row span {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 44px 0;
}

.process article {
  border-top: 4px solid var(--green);
  padding: 16px 0;
}

.process span,
.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.score {
  float: right;
  background: var(--green);
}

.form {
  display: grid;
  gap: 16px;
}

.form-panel {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto 70px;
}

.intake-start-panel {
  max-width: 760px;
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 700;
}

.check input {
  width: auto;
  margin-top: 4px;
}

.note,
small {
  color: var(--muted);
}

.question-shell {
  position: relative;
  max-width: 940px;
  display: grid;
  gap: 18px;
  padding-top: clamp(38px, 7vw, 72px);
}

.question-shell h1 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  max-width: 720px;
  letter-spacing: 0;
}

.question-copy {
  max-width: 760px;
}

.question-copy p:not(.eyebrow):not(.answer-ack) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1rem;
}

.question-card {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(38, 56, 242, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(38, 56, 242, 0.05), transparent 35%),
    var(--white);
  box-shadow: 0 24px 80px rgba(7, 25, 54, 0.1);
}

.question-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(var(--brand-blue), #68d1c2, var(--gold));
}

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

.progress-dots {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}

.question-step {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.progress-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dbe3f3;
  transition: width 220ms ease, background 220ms ease;
}

.progress-dots span.active {
  width: 26px;
  background: var(--brand-blue);
}

.answer-ack {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(38, 56, 242, 0.16);
  border-radius: 999px;
  color: #1c5c56;
  background: #eef8f5;
  font-size: 0.92rem;
  font-weight: 800;
}

.swipe-in {
  animation: questionSwipe 460ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.question-bot {
  width: 96px;
  min-width: 96px;
  height: 112px;
  display: grid;
  place-items: center;
  opacity: 0.94;
}

.mini-bot {
  position: relative;
  width: 82px;
  height: 104px;
  animation: botFloat 2.8s ease-in-out infinite;
}

.bot-antenna {
  position: absolute;
  left: 50%;
  top: 1px;
  width: 3px;
  height: 16px;
  transform: translateX(-50%);
  background: var(--brand-blue);
}

.bot-antenna::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 155, 53, 0.18);
}

.bot-head {
  position: absolute;
  left: 8px;
  top: 17px;
  width: 66px;
  height: 50px;
  border: 3px solid #163176;
  border-radius: 16px 16px 14px 14px;
  background: linear-gradient(145deg, #4f9de9, #236fd1);
  box-shadow: 0 14px 30px rgba(38, 56, 242, 0.2);
}

.bot-head::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 19px;
  width: 9px;
  height: 16px;
  border-radius: 8px 0 0 8px;
  background: #236fd1;
}

.bot-head::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 19px;
  width: 9px;
  height: 16px;
  border-radius: 0 8px 8px 0;
  background: #236fd1;
}

.bot-head span {
  position: absolute;
  top: 18px;
  width: 15px;
  height: 12px;
  border-radius: 0 0 18px 18px;
  border-bottom: 4px solid #dff4ff;
  animation: botBlink 3.7s ease-in-out infinite;
}

.bot-head span:first-child {
  left: 16px;
}

.bot-head span:last-child {
  right: 16px;
}

.bot-body {
  position: absolute;
  left: 24px;
  top: 68px;
  width: 34px;
  height: 34px;
  border: 3px solid #163176;
  border-radius: 9px;
  background: #2d7dd8;
}

.bot-body::before,
.bot-body::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 16px;
  height: 5px;
  border-radius: 5px;
  background: #163176;
}

.bot-body::before {
  left: -18px;
  transform: rotate(28deg);
}

.bot-body::after {
  right: -18px;
  transform: rotate(-28deg);
}

.bot-shadow {
  position: absolute;
  left: 18px;
  bottom: -7px;
  width: 48px;
  height: 10px;
  border-radius: 50%;
  background: rgba(7, 25, 54, 0.12);
  animation: botShadow 2.8s ease-in-out infinite;
}

.thinking-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(26px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.thinking-overlay h2 {
  max-width: 520px;
  margin-bottom: 10px;
  color: var(--navy);
}

.thinking-bot {
  transform: scale(1.2);
}

.thinking-dots {
  display: flex;
  gap: 8px;
  margin: 0;
}

.thinking-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  animation: dotPulse 1s ease-in-out infinite;
}

.thinking-dots span:nth-child(2) {
  animation-delay: 140ms;
}

.thinking-dots span:nth-child(3) {
  animation-delay: 280ms;
}

.show-thinking .thinking-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.js-thinking-form.is-submitting {
  opacity: 0.35;
}

button:disabled {
  cursor: wait;
  opacity: 0.78;
}

@keyframes questionSwipe {
  from {
    opacity: 0;
    transform: translateX(26px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes botFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes botShadow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.12;
  }

  50% {
    transform: scale(0.84);
    opacity: 0.08;
  }
}

@keyframes botBlink {
  0%,
  86%,
  100% {
    transform: scaleY(1);
  }

  90% {
    transform: scaleY(0.18);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.choice-group {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
}

.choice-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(38, 56, 242, 0.14);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(244, 247, 251, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.choice-group label:hover {
  border-color: rgba(38, 56, 242, 0.38);
  box-shadow: 0 10px 24px rgba(38, 56, 242, 0.08);
  transform: translateY(-1px);
}

.choice-group input {
  width: auto;
}

.question-card textarea,
.question-card input[type="text"],
.question-card input[type="range"] {
  border-radius: 16px;
  border-color: rgba(38, 56, 242, 0.18);
  background: rgba(244, 247, 251, 0.78);
}

.question-card textarea {
  min-height: 150px;
  padding: 16px;
}

.question-card .button {
  width: fit-content;
  min-width: 160px;
  border-radius: 14px;
}

.article {
  max-width: 860px;
}

.article h1 {
  color: var(--navy);
}

.article p {
  font-size: 1.08rem;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
  padding: 42px clamp(18px, 5vw, 80px);
  color: var(--white);
  background: var(--navy);
}

.footer img {
  width: 230px;
}

.footer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.admin-shell {
  background: var(--wash);
}

.admin-shell .button {
  color: var(--white);
}

.admin-shell .button.ghost {
  color: var(--navy);
}

.admin-shell .panel {
  border-radius: 10px;
}

.admin-page {
  padding-top: clamp(36px, 6vw, 70px);
}

.admin-page h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.02;
  max-width: 780px;
}

.admin-page h2 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.admin-section-head {
  align-items: end;
  margin-bottom: 18px;
}

.admin-action-button {
  min-width: 118px;
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
}

.admin-action-button span {
  color: var(--white);
  line-height: 1;
}

.admin-login {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login .panel {
  width: min(460px, 100%);
}

.admin-login h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.04;
  max-width: 100%;
}

.admin-login img {
  width: 220px;
  margin-bottom: 22px;
}

.upload-box {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 2px dashed rgba(38, 56, 242, 0.28);
  border-radius: 14px;
  background: rgba(244, 247, 251, 0.78);
}

.upload-box span {
  color: var(--navy);
  font-weight: 900;
}

.upload-box input {
  margin-top: 8px;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.data-table a {
  color: var(--teal);
  font-weight: 800;
}

.turn {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 46px;
}

.error {
  color: var(--danger);
  font-weight: 800;
}

code {
  color: var(--navy);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
}

@media (max-width: 920px) {
  .admin-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    position: static;
  }

  .topbar-contact {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 0 0;
    font-size: 0.9rem;
  }

  .topbar-main {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 18px 0 24px;
  }

  .brand img {
    width: 235px;
  }

  .header-cta {
    justify-self: start;
  }

  .hero {
    min-height: 82vh;
  }

  .stats,
  .card-grid,
  .detail-grid,
  .profile-grid,
  .process,
  .two-col,
  .footer,
  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .jobs-sidebar {
    position: static;
  }

  .job-list-card {
    padding-right: 34px;
  }

  .job-list-arrow {
    position: static;
    margin-top: 18px;
    transform: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-grid {
    padding-bottom: 40px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero {
    min-height: 78vh;
    padding-top: 70px;
  }

  .hero::after {
    background: rgba(16, 40, 75, 0.78);
  }

  .form-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .topbar-contact {
    gap: 10px 18px;
  }

  .topbar-main nav {
    gap: 14px 18px;
    font-size: 0.98rem;
  }

  .header-cta {
    width: 100%;
  }

  .jobs-hero {
    padding-top: 44px;
  }

  .job-list-card,
  .jobs-search,
  .jobs-categories {
    border-radius: 14px;
  }

  .card,
  .panel,
  .empty {
    padding: 18px;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .question-shell {
    padding-top: 38px;
  }

  .question-bot {
    position: relative;
    top: auto;
    right: auto;
    width: 88px;
    height: 108px;
    order: -1;
    place-self: end;
    margin-bottom: -18px;
  }

  .thinking-overlay {
    grid-template-columns: 1fr;
    align-content: center;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-in,
  .mini-bot,
  .bot-head span,
  .bot-shadow,
  .thinking-dots span {
    animation: none;
  }

  .thinking-overlay {
    transition: none;
  }
}
