:root {
  --ink: #0E1726; --ink2: #3A4659; --soft: #6B7689; --line: #E3E7EF; --bg: #F6F7FB; --card: #fff;
  --violet: #6C4CF5; --violet2: #8B7BFF; --teal: #12B89A; --amber: #B7791F;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--violet); }
button, input, select { font: inherit; color: inherit; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.4px; }
.logo img { width: 34px; height: 34px; }
.about-link { color: #C9D1E0; text-decoration: none; font-weight: 600; font-size: 15px; }
.about-link:hover { color: #fff; }

.hero { background: radial-gradient(1200px 400px at 70% -10%, #2B2470 0%, var(--ink) 60%); color: #fff; padding: 42px 28px 54px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.1; margin: 0 auto 14px; letter-spacing: -1.2px; max-width: 860px; }
.hero h1 span { background: linear-gradient(90deg, var(--violet2), #2EE6C5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: #B8C2D6; max-width: 640px; margin: 0 auto 26px; font-size: 17px; }
.search { display: flex; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 6px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.search input { flex: 1; border: 0; padding: 12px 14px; font-size: 17px; outline: none; background: transparent; min-width: 0; }
.search button { border: 0; background: var(--violet); color: #fff; font-weight: 700; padding: 0 24px; border-radius: 12px; cursor: pointer; }
.search button:hover { background: #5A3BE6; }
.stats { color: #9AA6BD; margin: 16px 0 0; font-size: 14px; }
.stats b { color: #fff; }

main { max-width: 1060px; margin: -26px auto 0; padding: 0 20px 40px; position: relative; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 8px 28px rgba(14, 23, 38, .06); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.chip:hover { border-color: var(--violet2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip small { color: var(--soft); font-weight: 500; margin-left: 4px; }
.chip.on small { color: #B8C2D6; }
.row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.row label { font-size: 14px; font-weight: 600; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.row select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; font-weight: 500; max-width: 210px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--violet); }
.link { border: 0; background: none; color: var(--violet); font-weight: 600; cursor: pointer; font-size: 14px; margin-left: auto; }
.count { color: var(--soft); font-size: 14px; margin: 18px 4px 10px; }

.list { display: grid; gap: 12px; }
.job { display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: #C9C0FF; box-shadow: 0 8px 24px rgba(108, 76, 245, .08); }
.job-main { flex: 1; min-width: 0; }
.title { margin: 0 0 3px; font-size: 18px; line-height: 1.3; letter-spacing: -.2px; }
.meta { margin: 0 0 8px; color: var(--ink2); font-size: 15px; }
.meta .where { color: var(--soft); }
.meta .where::before { content: "·"; margin: 0 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.tag { font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: #EEF0F6; color: var(--ink2); }
.tag.ai { background: #EEEAFF; color: #4B32C9; }
.tag.remote { background: #DDF7F1; color: #0B7A65; }
.tag.pay { background: #FFF3DC; color: #8A5A10; }
.snip { margin: 0; color: var(--soft); font-size: 14.5px; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; flex: none; }
.when { color: var(--soft); font-size: 13px; white-space: nowrap; }
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.apply { background: var(--violet); color: #fff; }
.apply:hover { background: #5A3BE6; }
.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.more { text-align: center; margin-top: 18px; }
.empty { text-align: center; color: var(--soft); background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 40px 20px; }
mark { background: #FFF1A8; color: inherit; border-radius: 3px; }

.about { max-width: 1060px; margin: 0 auto; padding: 10px 20px 30px; }
.about h2 { font-size: 26px; letter-spacing: -.5px; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cols > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px 8px; }
.cols h3 { font-size: 16px; }
.cols p { color: var(--ink2); font-size: 15px; }
.foot { border-top: 1px solid var(--line); color: var(--soft); font-size: 13px; padding: 20px 28px 30px; max-width: 1060px; margin: 0 auto; }

@media (max-width: 720px) {
  .top { padding: 14px 16px; }
  .hero { padding: 30px 16px 46px; }
  .search button { padding: 0 16px; }
  .job { flex-direction: column; gap: 10px; padding: 16px; }
  .job-side { flex-direction: row-reverse; align-items: center; }
  .cols { grid-template-columns: 1fr; }
  .link { margin-left: 0; }
  .row label { flex-wrap: wrap; }
}
