* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #2563eb;
  --brand-soft: #dbeafe;
  --brand-deep: #1d4ed8;
  --green: #16a34a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .18), transparent 34rem),
    linear-gradient(180deg, #eef4ff 0%, var(--bg) 28rem);
  line-height: 1.65;
}

.hero {
  padding: 58px 20px 34px;
}

.hero__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.subtitle {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__meta span,
.notice,
.stat-card,
.toolbar,
.job-card {
  border: 1px solid rgba(226, 232, 240, .85);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.stat-card__label {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(160px, .7fr) minmax(160px, .7fr) auto;
  gap: 12px;
  align-items: end;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 12px;
  z-index: 5;
}

label span {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
button {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

button {
  cursor: pointer;
  border-color: transparent;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

button:hover,
.open-link:hover {
  transform: translateY(-1px);
}

.notice {
  margin: 18px 0;
  border-radius: 18px;
  padding: 12px 16px;
  color: #475569;
  font-size: 14px;
}

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

.job-card {
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.job-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.company {
  margin: 0 0 4px;
  color: var(--brand);
  font-weight: 800;
}

.title {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.25;
}

.status-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-height: 34px;
  padding: 4px 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-weight: 800;
  white-space: nowrap;
}

.job-card__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.base {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
}

.base::before {
  content: "📍";
  margin-right: 6px;
}

.job-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 16px;
  margin-top: 18px;
}

.job-card__grid section {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 16px;
}

.job-card__grid .wide {
  grid-column: 1 / -1;
}

h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #334155;
}

p {
  margin: 0;
}

.requirements,
.salary,
.info {
  white-space: pre-wrap;
  color: #334155;
  font-size: 15px;
}

.job-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.open-link,
.copy-btn {
  width: auto;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 800;
  transition: .18s ease;
}

.open-link {
  color: #fff;
  background: var(--brand);
}

.copy-btn {
  background: #eef2ff;
  color: var(--brand-deep);
}

.empty {
  text-align: center;
  margin: 36px 0;
  color: var(--muted);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid rgba(226, 232, 240, .85);
}

@media (max-width: 860px) {
  .stats,
  .toolbar,
  .job-card__grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    position: static;
  }

  .job-card__head {
    flex-direction: column;
  }
}
