:root {
  --ink: #14151a;
  --muted: #5e6573;
  --line: #e6e8ef;
  --bg: #f4f5f8;
  --paper: #ffffff;
  --purple: #5b2eff;
  --purple-dark: #4316d4;
  --purple-soft: #f3efff;
  --green: #0f7a4a;
  --green-soft: #e7f6ee;
  --red: #b42318;
  --shadow: 0 12px 32px rgba(20, 21, 26, 0.06);
  --radius: 16px;
  --header: 86px;
  --font: "Manrope", "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }
html.is-employer #employer-landing { display: none !important; }
html.is-employer #panel-root[hidden] { display: block !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

button,
input,
select,
textarea { font-family: inherit; color: inherit; }

button { cursor: pointer; }

a { color: var(--purple-dark); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 { margin-bottom: 6px; font-size: 18px; }

p { line-height: 1.6; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 10px;
}

.skip:focus { left: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

main { min-height: calc(100vh - 340px); }

.page { padding: 28px 0 8px; }

.kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 58ch;
}

.muted { color: var(--muted); }

.site-header,
.site-footer,
main {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
}

.logo img { height: var(--logo-h, 68px); width: auto; max-width: min(460px, 52vw); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-gap { flex: 1; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a[aria-current="page"] {
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.user-chip {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
  padding-left: 6px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
  background: transparent;
}

.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #d5d8e2; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-danger { background: #fff; color: var(--red); border-color: #f3c7c3; }
.btn-sm { padding: 9px 12px; font-size: 13.5px; border-radius: 10px; }
.btn-block { width: 100%; }

button:disabled { opacity: 0.6; cursor: not-allowed; }

.hero { padding: 46px 0 18px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: center;
}

.hero-copy h1 { font-size: clamp(36px, 4vw, 48px); max-width: 20ch; }
.hero-copy .lead { margin: 8px 0 0; max-width: 42ch; }

.hero-stat {
  margin: 10px 0 0;
  font-size: 18px;
  color: var(--ink);
}

.hero-stat b { font-weight: 800; }

.hero-search {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 12px;
  margin-top: 22px;
  max-width: 760px;
}

.type-field { position: relative; }
.type-ghost {
  position: absolute;
  left: 14px;
  top: 0;
  height: 52px;
  display: flex;
  align-items: center;
  color: #8b91a1;
  font-weight: 600;
  pointer-events: none;
  max-width: calc(100% - 28px);
  overflow: hidden;
  white-space: nowrap;
}
.type-ghost::after {
  content: "";
  width: 1px;
  height: 1.05em;
  margin-left: 1px;
  background: #8b91a1;
  animation: type-caret 1s steps(1) infinite;
}
@keyframes type-caret { 50% { opacity: 0; } }
.hero-search input,
.hero-search select {
  height: 52px;
  border: 1px solid #e5e7ee;
  border-radius: 8px;
  background: #fff;
  padding: 0 14px;
  font-weight: 600;
  box-shadow: none;
}

.hero-search .btn {
  height: 52px;
  border-radius: 8px;
  padding: 0 20px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.popular-label {
  margin: 22px 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b91a1;
}

.hero .chips { margin-top: 0; max-width: 760px; }
.hero .chips a {
  background: #fff;
  color: #5a32e6;
  border-color: #e4e0f4;
  font-weight: 700;
}

.hero-mark {
  position: relative;
  height: 320px;
  display: grid;
  place-items: end center;
}

.mark-base {
  position: absolute;
  bottom: 28px;
  width: 230px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(#f7f8fb, #d9dde6);
  box-shadow: 0 16px 24px rgba(20, 21, 26, 0.08);
}

.mark-orb {
  position: relative;
  z-index: 1;
  width: 196px;
  height: 196px;
  margin-bottom: 48px;
  border-radius: 46% 54% 48% 52%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 32% 28%, #9a78ff, #5b2eff 46%, #3d12c9 78%);
  box-shadow: 18px 28px 40px rgba(91, 46, 255, 0.28);
}

.ad-slot {
  position: relative;
  margin: 10px auto 8px;
  padding-bottom: 8px;
}

.ad-viewport { min-height: 176px; }

.ad-slide {
  position: relative;
  display: none;
  min-height: 176px;
  align-items: center;
  gap: 16px;
  padding: 22px 54px 22px 22px;
  border-radius: 18px;
  overflow: hidden;
  color: #2a2148;
}

.ad-slide.is-on { display: flex; }
.ad-slide[data-theme="lilac"] { background: #cbb6ff; }
.ad-slide[data-theme="violet"] { background: #bda6ff; }
.ad-slide[data-theme="soft"] { background: #d4c4ff; }

.ad-doodle {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

.ad-doodle-tl { top: 8px; left: 120px; width: 84px; }
.ad-doodle-br { right: 18px; bottom: 8px; width: 110px; }

.ad-orbit {
  position: relative;
  width: 118px;
  height: 118px;
  flex: none;
  z-index: 1;
}

.ad-orbit svg { width: 118px; height: 118px; }
.ad-orbit text { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; fill: #2a2148; }

.ad-orbit-icon {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: #efe7ff;
  display: grid;
  place-items: center;
}

.ad-card {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 118px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ad-meta, .ad-line { margin: 0; color: #5c6370; font-size: 14px; }
.ad-line { margin-top: 2px; }
.ad-title { margin: 8px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.35; }
.ad-title mark { background: #e4ff63; color: inherit; padding: 0 3px; }

.ad-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: none;
  color: #667;
  font-weight: 700;
}

.ad-seal {
  position: absolute;
  top: 14px;
  right: 28px;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #16141c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ad-arrow {
  position: absolute;
  top: 78px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #2a2148;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(20, 21, 26, 0.12);
}

.ad-prev { left: -6px; }
.ad-next { right: -6px; }

.ad-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.ad-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #d5d8e2;
  padding: 0;
}
.ad-dots button.is-on { width: 22px; background: var(--purple); }

.search-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 4px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px;
  box-shadow: var(--shadow);
  margin-top: 22px;
}

.search-card label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

.search-card input,
.search-card select {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  width: 100%;
}

.search-card .btn { min-height: 52px; padding-inline: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.chips a,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.chips a:hover,
.chip:hover { border-color: #d9d0ff; background: var(--purple-soft); }

.stat-row,
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat,
.card,
.filters,
.company-card,
.cat,
.job,
.role-card,
.auth-card,
.note,
.empty,
.demo-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat { padding: 16px 18px; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.04em; line-height: 1.1; }
.stat span, .stats-note { color: var(--muted); font-size: 14px; }
.stats-note { display: block; margin-top: 8px; }

.section { margin-top: 34px; margin-bottom: 34px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head a { font-weight: 800; text-decoration: none; }

.home-center .section-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-center .cat {
  align-items: center;
  text-align: center;
}

.home-center .role-card { text-align: center; }
.home-center .role-card .lead { margin-inline: auto; }
.home-center .role-card .row { justify-content: center; }
.home-center .steps { max-width: 440px; margin-inline: auto; text-align: left; }

.home-center .company-card {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.home-center .company-card .avatar { grid-row: auto; }
.home-center .company-card span { grid-column: 1; }

.home-center .band {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.home-center .band .lead { margin-inline: auto; }
.home-center .band form { width: min(520px, 100%); }
.home-center .band .inline-form { justify-content: center; }

.featured-band { background: #f7f7f8; padding: 28px 0 22px; margin-top: 8px; }
.featured-head h2 { margin: 0 0 16px; font-size: 22px; }
.featured-slider { position: relative; }
.featured-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured-viewport::-webkit-scrollbar { display: none; }
.featured-row { display: flex; gap: 14px; }
.feat-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  padding: 22px 16px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(20, 21, 26, 0.04);
}
.feat-card b { display: block; min-height: 44px; font-size: 15px; line-height: 1.35; }
.feat-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3f4f6;
  font-size: 22px;
  font-weight: 800;
  overflow: hidden;
}
.feat-logo.has-logo {
  width: 148px;
  height: 84px;
  padding: 10px 12px;
  background: #f3f4f6;
  border: 0;
}
.feat-company { display: block; margin-top: 8px; color: var(--purple); font-size: 13px; font-weight: 800; }
.feat-city { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.feat-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid #e4e4ea;
  border-radius: 10px;
  background: #fff;
  color: #6d28d9;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.feat-prev { left: -8px; }
.feat-next { right: -8px; }

.cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
}

.cat:hover,
.job:hover,
.company-card:hover { border-color: #d9d0ff; box-shadow: var(--shadow); }

.cat b { font-size: 14px; line-height: 1.3; }
.cat span { color: var(--muted); font-size: 12px; font-weight: 700; }

.ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--purple-soft);
  color: var(--purple-dark);
}

.ico svg { width: 15px; height: 15px; }

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

.job {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  text-decoration: none;
}

.avatar-link { display: block; width: max-content; flex: none; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  flex: none;
  overflow: hidden;
}
.avatar.has-logo {
  width: 96px;
  height: 56px;
  padding: 6px 8px;
  background: #f3f4f6;
  border: 0;
  border-radius: 12px;
}
.avatar img, .feat-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.avatar-lg { width: 64px; height: 64px; font-size: 20px; }
.avatar-lg.has-logo { width: 140px; height: 80px; padding: 10px 12px; }
.company-line { display: flex; align-items: center; gap: 12px; margin: 8px 0 12px; }
.company-line .job-meta { margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.check input { width: auto; }

.job-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.job-body b { font-size: 16px; letter-spacing: -0.02em; }
.job-meta { color: var(--muted); font-size: 13.5px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  background: var(--bg);
  color: var(--muted);
}

.badge-purple { background: var(--purple-soft); color: var(--purple-dark); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: #fdecec; color: var(--red); }

.job-end { display: flex; align-items: center; gap: 10px; }
.job-salary { text-align: right; min-width: 150px; }
.job-salary b { display: block; font-size: 14px; }
.job-salary span { color: var(--muted); font-size: 12px; font-weight: 700; }
.job.compact .job-end { display: none; }

.save {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.save.is-on { background: var(--purple-soft); border-color: transparent; color: var(--purple); }
.save.is-on svg { fill: currentColor; }

.hero-side { padding: 16px; }
.hero-side h2 { font-size: 18px; margin-bottom: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-card { padding: 26px; }
.role-card.dark { background: var(--ink); color: #fff; border: 0; }
.role-card .lead { color: var(--muted); }
.role-card.dark .lead { color: #c8cad3; }

.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  color: var(--purple);
  padding-top: 2px;
}
.role-card.dark .steps li::before { color: #cbbdff; }
.steps span { display: block; color: var(--muted); font-size: 14px; font-weight: 500; }
.role-card.dark .steps span { color: #c6c8d0; }

.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.company-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 2px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.company-card .avatar { grid-row: span 2; }
.company-card b { font-size: 16px; }
.company-card span { color: var(--muted); font-size: 13px; grid-column: 2; }

.band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
}

.band .lead { color: #c8cad3; }
.band .lbl { color: #fff; text-align: left; }
.band .inline-form { display: flex; gap: 8px; }
.band input {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
  color: #14151a;
  background: #fff;
  caret-color: #14151a;
}
.band input::placeholder { color: #6d7380; opacity: 1; }

.list-layout,
.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-layout { grid-template-columns: minmax(0, 1fr) 320px; }

.filters,
.apply-card,
.card { padding: 16px; }

.filters { position: sticky; top: 90px; }
.filters-details summary { font-weight: 800; cursor: pointer; margin-bottom: 12px; }

.form-grid { display: grid; gap: 12px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }

.lbl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  caret-color: var(--ink);
  padding: 12px;
  font-size: 15px;
}
input::placeholder,
textarea::placeholder { color: #6d7380; opacity: 1; }

textarea { min-height: 120px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 46, 255, 0.15);
}

::placeholder { color: #98a0ad; }

.form-error { color: var(--red); font-size: 14px; font-weight: 800; margin: 0; }

.list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.pager a,
.pager span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 0 8px;
}

.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }

.prose h2 { font-size: 22px; margin: 22px 0 8px; }
.prose ul { margin: 0; padding-left: 18px; }
.prose li { margin: 6px 0; }

.facts { display: grid; gap: 0; margin: 8px 0 16px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 800; text-align: right; }
.price { font-size: 26px; letter-spacing: -0.04em; margin: 0 0 4px; }
.apply-card { position: sticky; top: 90px; }

.empty { padding: 28px 18px; text-align: center; border-style: dashed; }
.empty p { color: var(--muted); }

.auth-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: calc(100vh - 74px);
}

.auth-side {
  background: var(--ink);
  color: #fff;
  padding: 48px 40px;
}

.auth-side .lead { color: #c8cad3; }
.auth-logo { height: var(--logo-h, 72px); width: auto; max-width: 100%; background: #fff; border-radius: 14px; padding: 6px 8px; margin-bottom: 24px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 36px 16px; }
.auth-card { width: min(460px, 100%); padding: 22px; border: 0; background: transparent; }
.auth-card h1 { font-size: 36px; margin-bottom: 8px; }

.demo-box { padding: 12px; margin-top: 16px; background: var(--purple-soft); border-color: transparent; }
.demo-box p { margin: 0 0 8px; font-size: 14px; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg); padding: 4px; border-radius: 14px; }
.seg button { border: 0; background: transparent; border-radius: 10px; padding: 10px; font-weight: 800; }
.seg button.is-on { background: #fff; box-shadow: 0 1px 2px rgba(20, 21, 26, 0.08); }

.note { padding: 12px 14px; background: #fff7e8; border-color: #f0e0bc; color: #7a5b10; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 8px 0 16px; }
.tabs button, .tabs a { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; font-weight: 800; color: var(--muted); border-radius: 0; text-decoration: none; }
.tabs button.is-on, .tabs a.is-on { color: var(--ink); border-bottom-color: var(--purple); }

.admin-job,
.app-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-job:last-child,
.app-card:last-child { border-bottom: 0; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.app-card { display: grid; gap: 8px; }
.app-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.app-card select { width: auto; min-width: 150px; padding: 8px 10px; }

.dash-head h1 { font-size: 36px; }

.gate { padding: 28px; max-width: 640px; }
.gate h1 { font-size: 36px; margin-bottom: 8px; }

.site-footer { margin-top: 48px; background: #fff; border-top: 1px solid var(--line); padding: 32px 0 18px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; }
.site-footer a { display: block; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; margin: 6px 0; }
.site-footer h3 { font-size: 14px; }
.foot-logo { height: var(--logo-foot, 46px); width: auto; max-width: 280px; margin-bottom: 8px; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font-weight: 800; text-decoration: underline; font-size: 13px; }

#toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 12px; max-width: 340px; box-shadow: var(--shadow); }

.prose-page { max-width: 760px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 20px; align-items: start; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .site-header.is-open .nav { display: flex; }
  .nav-gap { display: none; }
  .nav .btn { width: 100%; }
  .user-chip { padding: 8px 10px 0; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .hero-grid,
  .hero-search,
  .ad-card,
  .split,
  .band,
  .list-layout,
  .detail-layout,
  .auth-layout,
  .foot-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .filters,
  .apply-card { position: static; }
  .auth-side { padding: 28px 20px; }
  .hero-mark { height: 180px; }
  .mark-orb { width: 120px; height: 120px; margin-bottom: 24px; }
  .mark-orb svg { width: 56px; height: 56px; }
  .mark-base { width: 150px; bottom: 8px; }
  .ad-slide { padding: 16px; }
  .ad-card { flex-direction: column; align-items: flex-start; }
  .ad-orbit { width: 84px; height: 84px; }
  .ad-orbit svg { width: 84px; height: 84px; }
  .ad-orbit-icon { inset: 18px; }
  .ad-seal, .ad-doodle { display: none; }
  .ad-side { align-items: flex-start; }
  .ad-arrow { top: 70px; }
}

@media (max-width: 720px) {
  .search-card,
  .form-grid.two,
  .stat-row,
  .stats,
  .company-grid,
  .cats { grid-template-columns: 1fr 1fr; }
  .search-card { grid-template-columns: 1fr; }
  .job { grid-template-columns: auto minmax(0, 1fr); }
  .job-end { grid-column: 1 / -1; justify-content: space-between; }
  .job-salary { text-align: left; min-width: 0; }
  .band .inline-form,
  .admin-job,
  .app-card header { display: grid; }
  .section-head,
  .list-head { align-items: start; flex-direction: column; }
  .cats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
