.employer-page {
  --talent-ink: #142333;
  --talent-muted: #455970;
  --talent-line: #dce4ee;
  --talent-indigo: #303fc7;
  --talent-dark: #111b33;
  color: var(--talent-ink);
  background: #f8f9fd;
}
.employer-page :is(h1,h2,h3,p) { margin: 0; }
.employer-page [hidden] { display: none !important; }
.employer-page :focus-visible,
.employer-survey-link :focus-visible { outline: 3px solid #7180f5; outline-offset: 4px; }
.employer-page .container { width: min(100% - 2.5rem, 1110px); padding-inline: 0; }
.employer-hero { padding: clamp(2.5rem,7vw,5.75rem) 0; background: var(--talent-dark); color: #fff; }
.employer-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  align-items: center;
  gap: clamp(2rem,5vw,4.75rem);
}
.employer-hero h1 {
  color: #fff;
  font-size: clamp(2.05rem,4.8vw,4rem);
  letter-spacing: -.046em;
  line-height: 1.07;
  text-wrap: balance;
}
.employer-hero p { margin-top: 1.2rem; color: #e2e8fa; font-size: 1.12rem; line-height: 1.6; max-width: 55ch; }
.employer-hero img { display: block; width: 100%; height: auto; max-height: 360px; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.employer-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.35rem; }
.employer-page .employer-action, .employer-survey-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #303fc7;
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: .94rem;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.employer-page .employer-action:hover, .employer-survey-link a:hover { background: #25349e; color: #fff; }
.employer-page .employer-action--secondary { background: #fff; color: #26358d; border-color: #b9c7e6; }
.employer-page .employer-action--secondary:hover { background: #e8edff; color: #1d2c78; }
.employer-page .employer-action--light { background: #dce4ff; color: #192962; }
.employer-page .employer-action--light:hover { background: #fff; color: #192962; }
.employer-page .employer-action--ghost { background: transparent; border-color: #7887b2; color: #fff; }
.employer-page .employer-action--ghost:hover { background: #253253; }
.employer-section { padding-block: clamp(2.25rem,6vw,4.75rem); scroll-margin-top: 5.5rem; }
.employer-section + .employer-section { border-top: 1px solid var(--talent-line); }
.employer-section h2 { font-size: clamp(1.65rem,3vw,2.45rem); letter-spacing: -.032em; line-height: 1.15; color: var(--talent-ink); }
.employer-section h3 { font-size: 1.15rem; line-height: 1.3; color: var(--talent-ink); }
.employer-section p { margin-top: .65rem; line-height: 1.6; color: var(--talent-muted); }
.employer-profile {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(1.25rem,5vw,4rem);
  align-items: start;
}
.employer-profile-card, .employer-sample, .employer-form {
  background: #fff;
  border: 1px solid var(--talent-line);
  border-radius: 15px;
  padding: clamp(1.1rem,3vw,1.85rem);
}
.employer-profile-card .employer-identity { margin: 0 0 .95rem; display: flex; gap: .85rem; align-items: center; }
.employer-profile-card strong { display: block; color: var(--talent-ink); font-size: 1.08rem; line-height: 1.25; }
.employer-areas { margin: .9rem 0 0; padding-left: 1.15rem; color: var(--talent-muted); }
.employer-areas li + li { margin-top: .35rem; }
.employer-samples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 1.35rem; }
.employer-sample { display: flex; flex-direction: column; }
.employer-sample p { margin-bottom: .75rem; }
.employer-sample a { margin-top: auto; padding-block: .6rem; font-weight: 700; color: #273799; text-underline-offset: 3px; }
.employer-contact { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(1.25rem,5vw,3.5rem); }
.employer-contact a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.employer-form label { display: block; font-weight: 650; color: var(--talent-ink); }
.employer-form fieldset { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
.employer-form fieldset + fieldset { border-top: 1px solid var(--talent-line); margin-top: 1.35rem; }
.employer-form legend { padding: 0 .45rem 0 0; font-size: 1.075rem; font-weight: 750; line-height: 1.4; }
.employer-form fieldset small { display: block; margin-top: .2rem; color: var(--talent-muted); }
.employer-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-top: .65rem; }
.employer-field-wide { grid-column: 1 / -1; }
.employer-form :is(input, select, textarea) {
  background: #fff;
  color: var(--talent-ink);
  border: 1px solid #aab9d0;
  border-radius: 8px;
  display: block;
  font: inherit;
  line-height: 1.4;
  margin-top: .3rem;
  min-height: 44px;
  padding: .55rem .65rem;
  width: 100%;
}
.employer-form textarea { resize: vertical; min-height: 5.5rem; }
.employer-optional { margin: 1.35rem 0; padding: .55rem .8rem; border: 1px solid var(--talent-line); border-radius: 10px; }
.employer-optional summary { display: list-item; min-height: 44px; padding-block: .6rem; color: #273799; font-weight: 650; cursor: pointer; }
.employer-optional[open] .employer-form-grid { padding-bottom: .6rem; }
.employer-form label.employer-consent { display: flex; gap: .65rem; align-items: start; margin-top: .95rem; font-size: .9rem; font-weight: 450; }
.employer-form .employer-consent input { width: 1.15rem; min-height: 1.15rem; flex-shrink: 0; margin-top: .2rem; accent-color: var(--talent-indigo); }
.employer-form button:disabled { opacity: .65; cursor: wait; }
.employer-form [role="status"]:empty { display: none; }
.employer-form [role="status"][data-state="error"], .employer-form [role="status"][data-state="success"] { padding: .7rem .9rem; border-radius: 10px; }
.employer-form [role="status"][data-state="error"] { background: #fef1ed; color: #7d2c1d; }
.employer-form [role="status"][data-state="success"] { background: #e8f6ee; color: #17533a; }
.employer-form [data-copy-fallback] { margin-top: .8rem; }
.employer-note { font-size: .925rem; }
.employer-survey-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .85rem;
  margin: .15rem auto 2rem;
  max-width: 760px;
  padding: 1rem 1.2rem;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  background: #eff2ff;
  color: #142333;
}
.employer-survey-link p { margin: 0; }
.employer-survey-link strong { display: block; font-size: 1rem; }
.employer-survey-link span { display: block; color: #455970; font-size: .92rem; }
@media (max-width: 800px) {
  .employer-hero-inner, .employer-profile, .employer-contact { grid-template-columns: minmax(0,1fr); }
  .employer-hero img { aspect-ratio: 2/1; max-height: 300px; }
  .employer-samples { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 510px) {
  .employer-page .container { width: calc(100% - 2rem); }
  .employer-form-grid { grid-template-columns: minmax(0,1fr); }
  .employer-actions > * { flex: 1 1 100%; }
}
