:root {
  --page-tint: #f7f9fc;
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.055);
}

body {
  background: #fff;
  color: #172033;
}

.shell {
  width: min(100% - 2rem, 1200px);
}

.site-header {
  border-bottom-color: #e7ebf1;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.035);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 4.5rem;
}

.nav-link {
  border-radius: 999px;
}

.nav-link.active,
.nav-link:hover,
.nav-signin:hover {
  color: #0a50a5;
  background: #edf4fc;
}

.mobile-toggle {
  border-color: #dce3ec;
  background: #fff;
}

.mobile-drawer {
  border-top-color: #e7ebf1;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5.25rem) 0;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: var(--ink-foreground);
  background-color: var(--ink);
  background-image:
    radial-gradient(70% 80% at 10% 0%, rgba(10, 80, 165, 0.32), transparent 65%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.page-hero-title {
  max-width: 20ch;
  color: var(--ink-foreground);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.page-hero-desc {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: clamp(0.98rem, 1.7vw, 1.1rem);
  line-height: 1.7;
}

.eyebrow {
  color: #0a50a5;
  letter-spacing: 0.13em;
}

body .page-hero .eyebrow {
  color: #bfdbfe;
}

.section-y {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-title {
  color: #172033;
  letter-spacing: -0.04em;
}

.section-desc {
  color: #647184;
  line-height: 1.7;
}

.bg-surface {
  background: #f7f9fc;
}

.card-quiet,
.category-card,
.partner-card,
.info-card,
.contact-info-card,
.contact-form-card {
  border-color: #e4e9f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035);
}

.card-quiet:hover,
.category-card:hover,
.partner-card:hover,
.contact-info-card:hover {
  border-color: #c9d8e9;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.075);
  transform: translateY(-2px);
}

.contact-form-card {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.form-card,
.auth-card,
.auth-page-card {
  border-color: #e4e9f0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.055);
}

.form-input,
.form-select,
.form-textarea {
  border-color: #dce3ec;
  border-radius: 9px;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #3974ac;
  box-shadow: 0 0 0 3px rgba(10, 80, 165, 0.12);
}

.site-footer {
  background: #101d31;
  border-top-color: #25334a;
}

.footer-grid {
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-title {
  color: #f1f5fb;
}

.footer-link,
.footer-address,
.footer-intro {
  color: #c4cfdd;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  border-top-color: rgba(226, 232, 240, 0.14);
}

.btn {
  border-radius: 8px;
}

.btn-hero,
.btn-primary {
  box-shadow: 0 4px 10px rgba(10, 80, 165, 0.14);
}

.btn-hero:hover,
.btn-primary:hover {
  box-shadow: 0 7px 16px rgba(10, 80, 165, 0.2);
}

.career-roles {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin: 2rem auto 0;
}

.career-role-card {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.career-role-card:hover {
  border-color: #c9d8e9;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.075);
  transform: translateY(-2px);
}

.career-role-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.career-role-heading-main {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.career-role-badge {
  width: fit-content;
  padding: 0.25rem 0.65rem;
  border: 1px solid #dce9f7;
  border-radius: 999px;
  color: #28618f;
  background: #f1f7fd;
  font-size: 0.75rem;
  font-weight: 700;
}

.career-role-title {
  color: #172033;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.career-role-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #5f6e81;
  font-size: 0.875rem;
}

.career-role-location svg {
  flex: 0 0 auto;
  color: #3974ac;
}

.career-role-type {
  padding: 0.2rem 0.55rem;
  border: 1px solid #e4e9f0;
  border-radius: 999px;
  color: #516174;
  background: #f7f9fc;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.career-role-description {
  color: #5e6b7d;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.career-role-requirements {
  padding: 0.9rem 1rem;
  border: 1px solid #edf0f4;
  border-radius: 10px;
  background: #f8fafc;
}

.career-role-requirements strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #36465c;
  font-size: 0.8125rem;
}

.career-requirement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.career-requirement-list li {
  padding: 0.3rem 0.55rem;
  border: 1px solid #e5eaf0;
  border-radius: 7px;
  color: #526173;
  background: #fff;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.career-role-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.9rem;
  border-top: 1px solid #edf0f4;
}

.career-role-actions .btn {
  min-width: 10rem;
}

.career-empty-state {
  padding: 1.5rem;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  color: #647184;
  background: #fff;
  text-align: center;
}

.process-detail-timeline {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.process-detail-step {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
  padding: 0 0 2.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.process-detail-step:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.process-detail-step:not(:last-child)::after {
  position: absolute;
  top: 3.25rem;
  bottom: 0.35rem;
  left: 1.45rem;
  width: 1px;
  background: #dfe6ee;
  content: '';
}

.process-detail-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #28618f;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-detail-content {
  padding-top: 0.25rem;
}

.process-detail-content h2 {
  margin: 0 0 0.45rem;
  color: #172033;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.process-detail-content p {
  color: #647184;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.process-intro-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  margin-top: 1.4rem;
  padding: 0.55rem 1rem;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  color: #243248;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.process-intro-action:hover {
  border-color: #b6cce3;
  color: #0a50a5;
  background: #f8fbff;
}

/* Align shared public-page grids without forcing cards to a fixed height. */
.categories-grid,
.partners-grid,
.process-grid,
.info-cards-grid,
.cards-grid-3,
.about-service-grid {
  align-items: stretch;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.categories-grid > *,
.partners-grid > *,
.process-grid > *,
.info-cards-grid > *,
.cards-grid-3 > *,
.about-service-grid > * {
  min-width: 0;
}

.category-card,
.partner-card,
.process-step,
.info-card,
.card-quiet,
.contact-info-card,
.contact-form-card {
  border-color: #e1e7ef;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.045);
}

.category-card,
.partner-card,
.card-quiet,
.contact-info-card {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.category-card:hover,
.partner-card:hover,
.card-quiet:hover,
.contact-info-card:hover {
  border-color: #c4d5e8;
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.075);
  transform: translateY(-1px);
}

.section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.5rem, 1200px);
  }

  .header-inner {
    min-height: 4rem;
  }

  .brand-logo-img {
    height: 40px;
  }

  .page-hero {
    padding: 2.6rem 0 2.8rem;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  #process-steps-list {
    gap: 0.75rem;
  }

  #process-steps-list > .process-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
    padding: 0 0 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #process-steps-list > .process-step:not(:last-child)::after {
    position: absolute;
    top: 2rem;
    bottom: -0.75rem;
    left: 1rem;
    width: 1px;
    background: #dfe6ee;
    content: "";
  }

  #process-steps-list .process-step-badge {
    z-index: 1;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    font-size: 0.75rem;
  }

  #process-steps-list .process-step-title {
    grid-column: 2;
    margin: 0.1rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  #process-steps-list .process-step-text {
    grid-column: 2;
    margin-top: 0.15rem;
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .career-role-heading {
    flex-direction: column;
  }

  .career-role-actions {
    justify-content: stretch;
  }

  .career-role-actions .btn {
    width: 100%;
  }

  .process-detail-step {
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.9rem;
    padding-bottom: 1.8rem;
  }

  .process-detail-number {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9px;
  }

  .process-detail-step:not(:last-child)::after {
    top: 2.85rem;
    left: 1.25rem;
  }

  .process-detail-content h2 {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .career-role-card,
  .process-intro-action {
    transition: none;
  }
}
