:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --ink: #16202a;
  --muted: #5f6b78;
  --line: #dfe7ee;
  --brand: #df3f6d;
  --brand-dark: #b82f55;
  --teal: #107f78;
  --amber: #b7791f;
  --shadow: 0 18px 45px rgba(22, 32, 42, 0.09);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 238, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: var(--radius);
  color: #273545;
  font-weight: 650;
  padding: 9px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #f0f3f7;
  color: var(--brand-dark);
  outline: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  gap: 8px;
  padding: 9px 12px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.menu-toggle b {
  font-size: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(223, 63, 109, 0.1), rgba(16, 127, 120, 0.1) 42%, rgba(183, 121, 31, 0.09)),
    linear-gradient(#fff, #f7f9fb);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(22, 32, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 42, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.8fr);
  gap: 54px;
  min-height: 620px;
  padding: 84px 0 92px;
}

.hero-copy {
  min-width: 0;
}

.hero h1,
.section-head h2,
.notice-grid h2,
.about-grid h2,
.category-card h3,
.job-card h3,
.contact-panel h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  padding: 11px 18px;
}

.button.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 32px rgba(223, 63, 109, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
  outline: none;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(16, 127, 120, 0.45);
  color: var(--teal);
  outline: none;
}

.hero-board {
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 18px;
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 14px;
}

.board-top strong {
  border-radius: 999px;
  background: #ecf7f5;
  color: var(--teal);
  font-size: 12px;
  padding: 4px 10px;
}

.board-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.board-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.board-row > span {
  align-self: start;
  justify-self: start;
  border-radius: 999px;
  background: #fff5e9;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 10px;
}

.board-row.featured {
  grid-template-columns: 22px minmax(0, 1fr);
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(223, 63, 109, 0.15);
}

.board-row strong,
.board-row p {
  display: block;
  margin: 0;
}

.board-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.stats {
  background: var(--ink);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 26px 24px;
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.section-head p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
}

.inline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 28px;
}

.search-box {
  min-width: 280px;
}

.search-box label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-box input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 9px 12px;
}

.search-box input:focus {
  border-color: var(--brand);
  outline: 3px solid rgba(223, 63, 109, 0.16);
}

.category-grid,
.job-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-card,
.job-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(22, 32, 42, 0.04);
}

.category-card {
  padding: 24px;
}

.category-card span {
  color: var(--teal);
  font-weight: 900;
}

.category-card h3,
.job-card h3,
.contact-panel h3 {
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.28;
}

.category-card p,
.job-card p,
.contact-panel p {
  color: var(--muted);
}

.jobs-section {
  background: #fff;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-weight: 800;
  padding: 8px 14px;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.active {
  border-color: var(--brand);
  background: #fff2f6;
  color: var(--brand-dark);
  outline: none;
}

.jobs-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.job-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 22px;
}

.job-card[hidden] {
  display: none;
}

.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-tag {
  border-radius: 999px;
  background: #ecf7f5;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}

.job-card time {
  color: var(--muted);
  font-size: 13px;
}

.job-card h3 {
  margin-top: 18px;
}

.job-meta {
  margin: 8px 0 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.job-card p:not(.job-meta) {
  margin: 14px 0 20px;
}

.job-card a {
  margin-top: auto;
  color: var(--brand-dark);
  font-weight: 900;
}

.job-card a:hover,
.job-card a:focus-visible {
  color: var(--teal);
  outline: none;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  margin-top: 18px;
  padding: 28px;
  text-align: center;
}

.notice-section {
  background: linear-gradient(180deg, #f7f9fb, #eef7f5);
}

.notice-grid,
.about-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 48px;
}

.notice-grid h2,
.about-grid h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
}

.notice-grid > div > p:not(.eyebrow),
.about-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  margin: 18px 0 0;
}

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

.notice-list div {
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 32, 42, 0.04);
  padding: 18px 20px;
}

.notice-list strong {
  display: block;
  font-size: 17px;
}

.notice-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.about-section {
  background: #fff;
}

.contact-panel {
  padding: 26px;
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-panel .button {
  margin-top: 8px;
}

.site-footer {
  background: #111820;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 108px;
  padding: 22px 0;
}

.footer-main {
  display: grid;
  gap: 8px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact span {
  white-space: nowrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

.beian-link {
  flex: 0 0 auto;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #ffd3df;
  outline: none;
}

@media (max-width: 920px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .menu-toggle {
    display: inline-grid;
    grid-template-columns: 16px auto;
  }

  .menu-toggle span {
    grid-column: 1;
  }

  .menu-toggle b {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero-grid,
  .notice-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    min-height: auto;
    padding: 56px 0 62px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 1.12;
    word-break: break-all;
  }

  .hero-text {
    font-size: 17px;
  }

  .stats-grid,
  .category-grid,
  .job-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .inline-head {
    display: block;
  }

  .search-box {
    min-width: 0;
    margin-top: 22px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), 362px);
  }

  .header-inner {
    justify-content: flex-start;
    min-height: 66px;
    gap: 10px;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-nav {
    top: 76px;
  }

  .hero-actions,
  .jobs-toolbar,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .section-head h2,
  .notice-grid h2,
  .about-grid h2 {
    font-size: 32px;
    word-break: break-all;
  }

  .button {
    width: 100%;
  }

  .hero h1 {
    max-width: 340px;
  }

  .hero-text {
    max-width: 340px;
  }

  .hero-board {
    padding: 14px;
  }

  .board-row,
  .board-row.featured {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .status-dot {
    margin: 0;
  }

  .stats-grid,
  .category-grid,
  .job-list {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 22px 18px;
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 58px 0;
  }

  .category-card,
  .job-card,
  .contact-panel {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .container {
    margin-left: 14px;
    margin-right: 14px;
  }
}
