:root {
  --bg: #F4F7F8;
  --surface: #FFFFFF;
  --navy: #0B1F33;
  --navy-2: #12304A;
  --teal: #1C8C8C;
  --teal-2: #6FD0D0;
  --blue: #2F6FED;
  --gold: #C9861A;
  --border: #D5E1E9;
  --muted: #607280;
  --text: #263A4B;
  --shadow: 0 24px 72px -58px rgba(11, 31, 51, .55);
  --font: "Satoshi", "General Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(111, 208, 208, .20), transparent 70%),
    linear-gradient(180deg, #F8FBFC 0%, var(--bg) 56%, #EEF4F5 100%);
  color: var(--text);
  font-family: var(--font);
}

a { color: inherit; }

.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(213,225,233,.80);
  background: rgba(248,251,252,.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1;
  letter-spacing: .02em;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: #607280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* .public-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.public-nav a {
  color: #455866;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.public-nav a.active,
.public-nav a:hover {
  color: #126B6B;
} */

.header-actions,
.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: 900 14px/1 var(--font);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); } */

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #156D7A);
  box-shadow: 0 18px 38px -24px rgba(28,140,140,.7);
}

.btn-secondary {
  color: var(--navy);
  border-color: rgba(203,216,226,.95);
  background: #fff;
}

.btn-row {
  min-height: 36px;
  padding: 9px 13px;
  font-size: 12.5px;
}

main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.eyebrow {
  color: #126B6B;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jobs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-bottom: 24px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(203,216,226,.82);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(560px 320px at 100% 0%, rgba(111,208,208,.24), transparent 70%),
    linear-gradient(150deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.jobs-hero h1 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -.07em;
}

.jobs-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  font-weight: 650;
}

.hero-actions {
  margin-top: 28px;
}

.hero-panel {
  display: grid;
  align-content: center;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(111,208,208,.24);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
}

.hero-panel span,
.hero-panel small {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-panel strong {
  margin: 14px 0 12px;
  color: #fff;
  font-family: var(--mono);
  font-size: 64px;
  line-height: .9;
  letter-spacing: -.07em;
}

.jobs-section,
.empty-state {
  margin-bottom: 22px;
  padding: 28px;
  border: 1px solid rgba(203,216,226,.82);
  border-radius: 30px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(28,140,140,.055), transparent 70%),
    rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.section-heading h2,
.empty-state h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.section-heading p,
.empty-state p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.jobs-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #526474;
  font-size: 13px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #D9E4EC;
  border-radius: 14px;
  background: #F9FBFC;
  color: var(--navy);
  font: 650 15px/1.2 var(--font);
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(28,140,140,.54);
  box-shadow: 0 0 0 4px rgba(28,140,140,.10);
}

.jobs-table-card {
  overflow-x: auto;
  border: 1px solid #E2EAF1;
  border-radius: 24px;
  background: #fff;
}

.jobs-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.jobs-table th {
  padding: 16px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}

.jobs-table td {
  padding: 18px 16px;
  border-top: 1px solid #E7EEF3;
  color: #263A4B;
  font-size: 14.5px;
  font-weight: 750;
  vertical-align: middle;
}

.jobs-table td:first-child,
.jobs-table td:nth-child(3) {
  font-family: var(--mono);
}

.jobs-table td strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.mode-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.mode-pill.remote {
  color: #126B6B;
  background: rgba(28,140,140,.12);
}

.mode-pill.hybrid {
  color: #245BBF;
  background: rgba(47,111,237,.11);
}

.mode-pill.onsite {
  color: #6F4B18;
  background: rgba(201,134,26,.12);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.page-button {
  min-width: 40px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #D9E4EC;
  border-radius: 999px;
  color: #334A5E;
  background: #fff;
  font: 900 13px/1 var(--font);
  cursor: pointer;
}

.page-button.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.page-button.disabled {
  opacity: .46;
}

.empty-state {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-style: dashed;
  background:
    radial-gradient(360px 200px at 100% 0%, rgba(47,111,237,.055), transparent 70%),
    rgba(255,255,255,.78);
}

.empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #156D7A);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 900;
}

@media (max-width: 1060px) {
  .public-header,
  .public-nav,
  .header-actions {
    flex-wrap: wrap;
  }

  .jobs-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  main {
    width: min(100% - 28px, 1240px);
    padding-top: 22px;
  }

  .public-header {
    padding: 16px;
  }

  .public-nav {
    width: 100%;
    gap: 12px;
  }

  .header-actions,
  .header-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .section-heading,
  .jobs-toolbar,
  .empty-state {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jobs-hero,
  .jobs-section,
  .empty-state {
    border-radius: 24px;
    padding: 22px;
  }
}
