:root {
  --ink: #081411;
  --paper: #eff5e9;
  --muted: #8ea098;
  --line: rgba(205, 231, 215, .16);
  --acid: #c9ff50;
  --cyan: #74e7d0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--ink); }
body { margin: 0; color: var(--paper); background: radial-gradient(circle at 75% 15%, rgba(116,231,208,.12), transparent 32rem), #081411; }
button, input, a { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.grid-noise { position: fixed; inset: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.topbar, main, body > footer { position: relative; width: min(1420px, calc(100% - 48px)); margin: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 82px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; }
.brand b { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--acid); border-radius: 50%; color: var(--acid); font-family: Georgia, serif; }
.topbar nav { display: flex; gap: 20px; }
.topbar nav a, body > footer a { color: var(--acid); font-size: 11px; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.hero { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: clamp(50px, 9vw, 130px); min-height: 560px; padding: 90px 3vw 80px; }
.hero h1 { margin: 0; font: 500 clamp(56px, 7vw, 102px)/.96 Georgia, "Noto Serif SC", serif; letter-spacing: -.055em; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-copy p { margin: 0; font-size: 19px; line-height: 1.6; }
.hero-copy span { display: block; margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.toolbar { display: grid; grid-template-columns: minmax(260px, .45fr) 1fr; gap: 20px; margin-top: 54px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.02); }
.toolbar label span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; }
.toolbar input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0d1d18; color: var(--paper); }
.role-filters { display: flex; flex-wrap: wrap; align-content: end; gap: 7px; }
.role-filters button { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.role-filters button.is-active { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.results-head { display: flex; justify-content: space-between; gap: 20px; padding: 28px 4px 16px; color: var(--muted); font-size: 11px; }
.results-head p { margin: 0; color: var(--cyan); font-weight: 800; }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: 90px; }
.company-card { display: flex; flex-direction: column; min-height: 390px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); color: var(--paper); text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.company-card:hover { transform: translateY(-3px); border-color: var(--cyan); background: rgba(116,231,208,.05); }
.card-top { display: flex; justify-content: space-between; gap: 12px; color: var(--cyan); font: 700 9px/1 monospace; }
.card-top i { color: var(--muted); font-style: normal; }
.company-card h2 { margin: 42px 0 14px; font: 500 28px/1.15 Georgia, "Noto Serif SC", serif; }
.company-card > p { margin: 0; color: #a3b3ac; font-size: 12px; line-height: 1.7; }
.role-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.role-tags span { padding: 5px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; }
.company-card footer { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.company-card footer span { color: #74887e; font-size: 10px; line-height: 1.55; }
.company-card footer b { color: var(--acid); font-size: 10px; white-space: nowrap; }
.empty { grid-column: 1 / -1; min-height: 240px; padding: 80px 20px; color: var(--muted); text-align: center; }
body > footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
body > footer p { margin: 0; }
@media (max-width: 980px) {
  .hero, .toolbar { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar, main, body > footer { width: calc(100% - 28px); }
  .brand span { display: none; }
  .topbar nav { gap: 12px; }
  .hero { padding-inline: 4px; }
  .hero h1 { font-size: 54px; }
  .company-grid { grid-template-columns: 1fr; }
  .company-card { min-height: 340px; }
  body > footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
