/* Shared recruitment layout for the two AI engineering roles. */
.recruit .job-list-unified {
  max-width: 100%;
  margin-top: 3rem;
  scroll-margin-top: 7rem;
}

.recruit .slogan {
  min-width: 0;
}

.recruit .slogan h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.6;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}

.recruit .job-list-unified > .text {
  margin-top: 0;
  color: var(--nc-muted, #536877);
  font-size: 1rem;
  line-height: 1.9;
}

.product-role {
  --role-color: #075f97;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d2e3ee;
  border-radius: 1.75rem;
  background: linear-gradient(130deg, #fff 30%, #f0f8ff);
  box-shadow: 0 16px 44px #0c395b0b;
}

.product-role.sre-role {
  --role-color: #08756c;
  border-color: #cee5df;
  background: linear-gradient(130deg, #fff 30%, #effaf6);
}

.product-role-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.product-role-copy,
.role-domains {
  min-width: 0;
}

.role-label {
  margin: 0 0 1rem;
  color: var(--role-color, #075f97);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.product-role h4 {
  margin: 0 0 1.25rem;
  color: var(--nc-ink, #102f4d);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.role-summary,
.role-experience {
  color: #435e71;
  font-size: 1rem;
  line-height: 1.9;
}

.role-experience {
  margin-bottom: 1.5rem;
}

.role-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: .9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .75rem;
  background: var(--role-color, #075f97);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  transition: background .2s;
}

.role-button:hover {
  background: #073f60;
  color: #fff;
}

.sre-role .role-button:hover {
  background: #07574f;
}

.role-button:focus-visible {
  color: #fff;
  outline: 3px solid #648de0;
  outline-offset: 4px;
}

.role-back { display: inline-block; margin: 1rem 1.25rem; color: #075f97; font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; }

.role-domains-heading {
  margin: 0 0 1rem;
  color: #435e71;
  font-size: .875rem;
  font-weight: 700;
}

.role-domain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem;
}

.role-domain {
  min-width: 0;
  padding: 1.25rem 1rem;
  border: 1px solid #dbe7ed;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 20%, #edf5ff);
}

.role-domain-mobile { background: linear-gradient(145deg, #fff 20%, #f4f0ff); }
.role-domain-cloud { background: linear-gradient(145deg, #fff 20%, #eaf8f4); }
.role-domain-ai { background: linear-gradient(145deg, #fff 20%, #fff4ec); }
.role-domain > i { color: var(--role-color); font-size: 1.5rem; }
.role-domain h5 { margin: .75rem 0 .5rem; color: #153d5a; font-size: 1rem; font-weight: 800; }
.role-domain p { margin: 0; color: #4b6578; font-size: .875rem; line-height: 1.8; }
.role-domains-note { margin: 1rem 0 0; color: #526e80; font-size: .875rem; line-height: 1.8; }

.role-conditions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid #d9e7ee;
  background: #edf5fb;
}

.sre-role .role-conditions { background: #eaf6f2; border-top-color: #d5e7df; }
.role-pay { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .75rem; color: #29465d; }
.role-pay > span { font-size: .875rem; font-weight: 700; }
.role-pay > strong { color: var(--role-color); font-size: 2.2rem; line-height: 1.3; font-weight: 800; letter-spacing: -.03em; }
.role-pay > strong > span { margin-left: .2rem; font-size: 1rem; letter-spacing: 0; }
.role-pay > small { flex-basis: 100%; margin-top: .4rem; font-size: .875rem; line-height: 1.8; }
.role-benefits { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.role-benefits li { color: #405e72; font-size: .875rem; line-height: 1.8; }

.product-job-intro {
  --role-color: #075f97;
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  border: 1px solid #d2e3ee;
  border-radius: 1.75rem;
  background: linear-gradient(125deg, #fff 25%, #edf6ff);
}

.sre-job .product-job-intro {
  --role-color: #08756c;
  background: linear-gradient(125deg, #fff 25%, #ecf8f3);
  border-color: #cee5df;
}

.product-job-intro h3 { max-width: 48rem; font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.65; }
.product-job-intro > p:not(.role-label) { max-width: 57rem; margin: 1rem 0; color: #435e71; font-size: 1rem; line-height: 1.9; }
.job-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem 0; margin: 1.5rem 0; border-top: 1px solid #d2e3ee; border-bottom: 1px solid #d2e3ee; }
.job-overview > div { display: grid; gap: .4rem; min-width: 0; }
.job-overview span { color: #526e80; font-size: .875rem; }
.job-overview strong { color: #153d5a; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.6; }
.job-overview small { color: #526e80; font-size: .875rem; line-height: 1.8; }
.product-workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.product-workflow > div { min-width: 0; padding: 1.5rem; border: 1px solid #d6e3ed; border-radius: 1rem; background: linear-gradient(145deg, #fff, #f1f7ff); }
.sre-job .product-workflow > div { background: linear-gradient(145deg, #fff, #eff9f5); }
.product-workflow h4 { color: #153d5a; font-size: 1.125rem; font-weight: 800; }
.product-workflow p { color: #435e71; margin-bottom: 0; font-size: 1rem; line-height: 1.8; }
.recruit.product-job .job-post { width: 100%; min-height: 0; border-collapse: separate; border-spacing: 0; margin-bottom: 1.5rem; overflow: hidden; border: 1px solid #d2e3ee; border-radius: 1rem; background: #fff; box-shadow: 0 12px 36px #0c395b08; }
.recruit.product-job .job-post th, .recruit.product-job .job-post td { padding: 1.25rem; border: 0; border-bottom: 1px solid #e0e9ef; vertical-align: top; font-size: 1rem; line-height: 1.8; }
.recruit.product-job .job-post th { width: 18%; color: #164769; background: #f2f7fb; }
.recruit.product-job .job-post tr:last-child > * { border-bottom: 0; }
.recruit.product-job .job-post ul { padding-left: 0; margin: 0; }
.recruit.product-job .job-post li + li { margin-top: .5rem; }
.recruit #job-entry { scroll-margin-top: 7rem; }
.recruit .entry-form select { width: 100%; min-width: 0; padding: .8rem; border: 1px solid #b6c8d8; border-radius: .5rem; color: #153d5a; background-color: #fff; font: inherit; font-size: 1rem; }
.recruit .entry-form select:focus-visible { outline: 3px solid #648de0; outline-offset: 2px; }

@media (max-width: 991px) {
  .product-role-main { grid-template-columns: 1fr; }
  .role-title-break { display: none; }
  .role-conditions { align-items: flex-start; flex-direction: column; }
  .product-workflow { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .product-role { border-radius: 1.25rem; }
  .product-role-main { padding: 1.5rem 1.125rem; }
  .product-role h4 { font-size: 1.5rem; }
  .role-domain-grid { gap: .625rem; }
  .role-domain { padding: 1rem .75rem; }
  .role-domain h5 { line-height: 1.6; }
  .role-conditions { padding: 1.25rem 1.125rem; }
  .role-button { width: 100%; padding-inline: .875rem; }
  .product-job-intro { padding: 1.5rem 1.125rem; border-radius: 1.25rem; }
  .job-overview { grid-template-columns: 1fr; }
  .recruit.product-job .job-post tr { display: block; }
  .recruit.product-job .job-post th, .recruit.product-job .job-post td { display: block; width: 100%; min-width: 0; padding: 1rem; overflow-wrap: anywhere; }
  .recruit.product-job .job-post th { border-bottom: 0; }
  .recruit.product-job .job-post tr:last-child th { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .role-button { transition: none; }
}
