@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

  :root {
    /* base palette derived from logo */
    --navy-950: #050b1f;
    --navy-900: #0a1430;
    --navy-800: #111d44;
    --navy-700: #1b2a6b;
    --navy-600: #2540a0;
    --navy-500: #3556d6;
    --navy-400: #5d7df0;
    --navy-300: #94aaf7;
    --navy-200: #c7d2fb;
    --navy-100: #e6ecfe;
    --navy-50:  #f3f6ff;

    --cyan-500: #00bfff;
    --cyan-400: #38d2ff;
    --cyan-300: #7ee0ff;
    --cyan-200: #b7eeff;
    --cyan-100: #e0f7ff;

    --ink: #0a1430;
    --ink-soft: #2a3656;
    --muted: #5d6987;
    --line: #dde3f3;
    --line-strong: #c2cce6;
    --bg: #fafbff;
    --surface: #ffffff;

    --accent: var(--cyan-500);
    --accent-ink: #003f5c;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --pad: 16px;
    --row: 14px;
    --grid-gap: 20px;

    --shadow-xs: 0 1px 0 rgba(10,20,48,.04), 0 1px 2px rgba(10,20,48,.04);
    --shadow-sm: 0 2px 6px rgba(10,20,48,.06), 0 1px 1px rgba(10,20,48,.03);
    --shadow-md: 0 12px 30px -12px rgba(10,20,48,.18), 0 2px 6px rgba(10,20,48,.06);
    --shadow-lg: 0 30px 60px -20px rgba(10,20,48,.25);
  }

  /* dark mode token overrides */
  html[data-theme="dark"] {
    --ink: #eaf0ff;
    --ink-soft: #c2cce6;
    --muted: #8895b5;
    --line: #1c2849;
    --line-strong: #2a3865;
    --bg: #060c1e;
    --surface: #0c1430;
    --navy-50: #0e1838;
    --navy-100: #15224a;
    --navy-200: #1f2f63;
    --navy-700: #c7d2fb;
    --navy-800: #e6ecfe;
    --shadow-xs: 0 1px 0 rgba(0,0,0,.3);
    --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
    --shadow-md: 0 14px 32px -12px rgba(0,0,0,.55);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  }

  /* density */
  html[data-density="compact"]  { --pad: 12px; --row: 10px; --grid-gap: 14px; }
  html[data-density="cozy"]     { --pad: 16px; --row: 14px; --grid-gap: 20px; }
  html[data-density="spacious"] { --pad: 22px; --row: 20px; --grid-gap: 28px; }

  * { box-sizing: border-box; }
  html, body { margin: 0; background: var(--bg); color: var(--ink); }
  body {
    font-family: "Geist", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; cursor: pointer; }
  input, select, textarea { font: inherit; color: inherit; }
  img { display: block; max-width: 100%; }
  ::selection { background: var(--cyan-200); color: var(--navy-900); }

  /* utility primitives ------------------------------------------------ */
  .container { width: min(1280px, 100% - 40px); margin-inline: auto; }
  .container-wide { width: min(1440px, 100% - 32px); margin-inline: auto; }

  .mono { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
  .serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }

  .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 500; letter-spacing: .01em;
    background: var(--navy-50); color: var(--navy-700);
    border: 1px solid var(--line);
  }
  .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; border-radius: var(--radius-sm);
    border: 1px solid transparent; font-weight: 500; font-size: 14px;
    transition: transform .08s ease, background .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--navy-800); color: #fff; }
  .btn-primary:hover { background: var(--navy-700); }
  .btn-cyan { background: var(--cyan-500); color: var(--navy-900); }
  .btn-cyan:hover { background: var(--cyan-400); }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .btn-ghost:hover { background: var(--navy-50); }
  .btn-link { background: transparent; padding: 8px 4px; color: var(--navy-700); }
  .btn-link:hover { color: var(--navy-900); }

  .icon-btn {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--surface);
  }
  .icon-btn:hover { background: var(--navy-50); }

  /* shell views: only one is visible */
  .view { display: none; }
  .view.is-active { display: block; }

  /* keyboard focus */
  :focus-visible {
    outline: 2px solid var(--cyan-500);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* nav ---------------------------------------------------- */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: saturate(160%) blur(14px);
    background: color-mix(in oklab, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav-row {
    display: flex; align-items: center; gap: 28px;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand-mark { height: 28px; width: auto; }
  .brand-text {
    font-weight: 700; font-size: 18px; letter-spacing: -.02em;
    color: var(--navy-800);
  }
  .brand-text .net { color: var(--cyan-500); }
  .nav-links { display: flex; gap: 4px; align-items: center; }
  .nav-links button {
    background: none; border: none; padding: 8px 12px;
    color: var(--ink-soft); font-weight: 500; font-size: 14px;
    border-radius: 8px;
  }
  .nav-links button:hover { background: var(--navy-50); color: var(--ink); }
  .nav-links button.is-active { color: var(--navy-800); background: var(--navy-50); }
  .nav-spacer { flex: 1; }
  .nav-actions { display: flex; gap: 8px; align-items: center; }
  @media (max-width: 820px) {
    .nav-links { display: none; }
    .nav-row { gap: 12px; }
  }

  /* mobile nav drawer */
  .nav-mobile-toggle { display: none; }
  @media (max-width: 820px) {
    .nav-mobile-toggle { display: inline-flex; }
  }

  /* sections marquee tape */
  .tape {
    background: var(--navy-900); color: var(--navy-200);
    border-block: 1px solid var(--navy-800);
    overflow: hidden;
    font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .12em;
    text-transform: uppercase;
  }
  .tape-track {
    display: flex; gap: 48px; padding: 10px 0;
    animation: tape 38s linear infinite;
    width: max-content;
  }
  .tape-track span { display: inline-flex; align-items: center; gap: 12px; }
  .tape-track .s { color: var(--cyan-400); }
  @keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* footer */
  .footer {
    margin-top: 80px; padding: 60px 0 40px;
    background: var(--navy-950); color: var(--navy-200);
  }
  .footer-grid {
    display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px;
  }
  .footer h4 {
    font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
    color: var(--navy-400); margin: 0 0 14px;
  }
  .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
  .footer a:hover { color: #fff; }
  .footer-bottom {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-800);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--navy-300); font-family: "Geist Mono", monospace;
  }
  @media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  /* hero --------------------------------------------------- */
  .hero {
    position: relative; padding: 80px 0 60px; overflow: hidden;
  }
  .hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      linear-gradient(var(--line) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
    opacity: .6;
  }
  .hero-inner { position: relative; }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-xs); font-size: 12px; color: var(--ink-soft);
    font-family: "Geist Mono", monospace; letter-spacing: .04em;
  }
  .hero-eyebrow b { color: var(--navy-800); font-weight: 600; }
  .hero-eyebrow .live {
    width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.18);
    animation: live 1.6s ease-in-out infinite;
  }
  @keyframes live { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } }

  .hero h1 {
    font-size: clamp(40px, 6.4vw, 88px);
    line-height: .98; letter-spacing: -0.04em; font-weight: 700;
    margin: 22px 0 18px; max-width: 14ch;
    color: var(--navy-900);
  }
  html[data-theme="dark"] .hero h1 { color: var(--navy-800); }
  .hero h1 em {
    font-style: normal; color: var(--cyan-500);
    background: linear-gradient(180deg, var(--cyan-500) 0%, var(--navy-600) 110%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero h1 .serif { font-family: "Instrument Serif", serif; font-weight: 400; font-style: italic; letter-spacing: -.02em; }

  .hero-sub {
    font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft);
    max-width: 56ch; margin: 0 0 28px;
  }

  /* hero search ------------------------------------------- */
  .search-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 8px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 4px;
    max-width: 980px;
  }
  .search-field {
    display: grid; gap: 2px; padding: 10px 14px;
    border-radius: var(--radius-md);
  }
  .search-field:hover { background: var(--navy-50); }
  .search-field label {
    font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); font-weight: 600;
  }
  .search-field input, .search-field select {
    border: 0; background: transparent; padding: 0; outline: none;
    font-size: 15px; font-weight: 500;
    width: 100%;
  }
  .search-card .btn-cyan { padding: 0 22px; height: auto; border-radius: var(--radius-md); }
  @media (max-width: 820px) {
    .search-card { grid-template-columns: 1fr 1fr; }
    .search-card .btn-cyan { grid-column: span 2; padding: 14px; }
  }

  /* hero ticks */
  .hero-ticks {
    margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap;
    color: var(--ink-soft); font-size: 13px;
  }
  .hero-ticks span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-ticks svg { color: var(--cyan-500); }

  /* hero side stack */
  .hero-layout {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end;
  }
  @media (max-width: 1000px) { .hero-layout { grid-template-columns: 1fr; } }

  .hero-side {
    display: grid; gap: 14px;
  }
  .hero-stat-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-md); padding: 18px 20px;
    display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
    box-shadow: var(--shadow-xs);
  }
  .hero-stat-card .label { font-size: 12px; color: var(--muted); font-family: "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
  .hero-stat-card .value { font-size: 28px; font-weight: 700; color: var(--navy-900); letter-spacing: -.02em; }
  html[data-theme="dark"] .hero-stat-card .value { color: var(--navy-700); }
  .hero-stat-card .spark { width: 80px; height: 32px; }

  /* category cloud (home) */
  .cat-strip { padding: 36px 0 12px; }
  .cat-strip h3 {
    font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
    color: var(--muted); font-weight: 600; margin: 0 0 16px;
  }
  .cat-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  }
  @media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 600px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
  .cat-chip {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 16px; border: 1px solid var(--line);
    border-radius: var(--radius-md); background: var(--surface);
    font-size: 14px; font-weight: 500; color: var(--ink);
    transition: border-color .15s ease, background .15s ease, transform .12s ease;
  }
  .cat-chip:hover { border-color: var(--navy-400); background: var(--navy-50); transform: translateY(-1px); }
  .cat-chip .count { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }

  /* "since 1997" feature row */
  .since-row {
    margin-top: 80px; padding: 56px 0;
    background: var(--navy-900); color: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden; position: relative;
  }
  .since-row .container { position: relative; z-index: 2; }
  .since-row .glow {
    position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1;
    background: radial-gradient(circle, var(--cyan-500), transparent 60%);
    opacity: .25; filter: blur(40px);
  }
  .since-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  }
  @media (max-width: 900px) { .since-grid { grid-template-columns: 1fr; } }
  .since-row h2 {
    font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.03em;
    margin: 14px 0 18px; font-weight: 700;
  }
  .since-row h2 .serif { font-family: "Instrument Serif", serif; font-style: italic; color: var(--cyan-300); }
  .since-row p { color: var(--navy-200); max-width: 50ch; font-size: 16px; }
  .since-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--navy-800); border-radius: var(--radius-md); overflow: hidden;
  }
  .since-stat { padding: 22px; background: var(--navy-900); }
  .since-stat .v { font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
  .since-stat .v sup { font-size: 16px; color: var(--cyan-400); margin-left: 4px; }
  .since-stat .l { font-size: 12px; color: var(--navy-300); text-transform: uppercase; letter-spacing: .12em; font-family: "Geist Mono", monospace; }

  /* timeline strip */
  .timeline {
    margin-top: 28px; padding-top: 22px;
    border-top: 1px solid var(--navy-800);
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
    font-family: "Geist Mono", monospace; font-size: 11px;
  }
  .timeline-step { padding: 14px 8px; position: relative; color: var(--navy-300); }
  .timeline-step::before {
    content:""; position: absolute; top: -27px; left: 0;
    width: 8px; height: 8px; border-radius: 50%; background: var(--navy-700);
  }
  .timeline-step.is-on::before { background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(56,210,255,.18); }
  .timeline-step b { color: #fff; display: block; font-size: 14px; font-family: "Geist", sans-serif; font-weight: 600; margin-bottom: 2px; letter-spacing: -.01em; }
  @media (max-width: 720px) { .timeline { grid-template-columns: repeat(2, 1fr); } }

  /* job listing page ---------------------------------------- */
  .listing-head {
    padding: 28px 0 8px;
    border-bottom: 1px solid var(--line);
  }
  .listing-head h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 6px; }
  .listing-head .meta { color: var(--muted); font-size: 14px; }

  .listing-layout {
    display: grid; grid-template-columns: 280px 1fr;
    gap: 32px; padding: 28px 0;
  }
  @media (max-width: 1000px) { .listing-layout { grid-template-columns: 1fr; } }

  .filters {
    position: sticky; top: 80px; align-self: start;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 4px;
  }
  .filter-block { padding: 16px 16px 18px; border-bottom: 1px solid var(--line); }
  .filter-block:last-child { border-bottom: 0; }
  .filter-block h4 {
    margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; align-items: center;
  }
  .filter-block h4 .clr { font-size: 11px; color: var(--navy-600); cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 500; }

  .check { display: flex; gap: 10px; padding: 6px 0; align-items: center; cursor: pointer; user-select: none; }
  .check input { appearance: none; width: 16px; height: 16px; border: 1.5px solid var(--line-strong); border-radius: 4px; display: grid; place-items: center; flex: none; }
  .check input:checked { background: var(--navy-700); border-color: var(--navy-700); }
  .check input:checked::after { content: ""; width: 8px; height: 8px; background: white; clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 20%, 86% 6%, 38% 70%); }
  .check span { font-size: 14px; flex: 1; color: var(--ink); }
  .check .count { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--muted); }

  .salary-range { padding-top: 4px; }
  .range-track {
    height: 4px; background: var(--line); border-radius: 999px; position: relative; margin: 18px 0 8px;
  }
  .range-track .bar { position: absolute; height: 100%; background: var(--navy-600); border-radius: 999px; }
  .range-track .knob {
    position: absolute; top: 50%; transform: translate(-50%,-50%);
    width: 16px; height: 16px; border-radius: 50%; background: white; border: 2px solid var(--navy-600); box-shadow: var(--shadow-sm);
  }
  .range-vals { display: flex; justify-content: space-between; font-family: "Geist Mono", monospace; font-size: 12px; color: var(--ink-soft); }

  .results-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin-bottom: 14px;
  }
  .results-toolbar .count { font-size: 14px; color: var(--ink-soft); }
  .results-toolbar .count b { color: var(--ink); }
  .results-toolbar .right { display: flex; gap: 8px; align-items: center; }
  .seg {
    display: inline-flex; padding: 3px; background: var(--navy-50); border-radius: 8px; gap: 2px;
  }
  .seg button {
    background: transparent; border: 0; padding: 6px 10px; border-radius: 6px;
    font-size: 13px; color: var(--ink-soft);
  }
  .seg button.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-xs); }

  /* job card */
  .jobs { display: grid; gap: var(--row); }
  .job-card {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: start;
    padding: var(--pad) calc(var(--pad) + 4px);
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
    cursor: pointer; position: relative;
  }
  .job-card:hover { border-color: var(--navy-400); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
  .job-card.is-saved { border-color: var(--cyan-400); }

  .company-mark {
    width: 56px; height: 56px; border-radius: 12px;
    display: grid; place-items: center;
    color: white; font-weight: 700; font-size: 20px; letter-spacing: -.02em;
    flex: none;
  }
  .job-card .top {
    display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    flex-wrap: wrap;
  }
  .job-card h3 {
    margin: 0 0 4px; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
    line-height: 1.3;
  }
  .job-card .company {
    font-size: 14px; color: var(--ink-soft);
  }
  .job-card .company b { color: var(--ink); font-weight: 500; }
  .job-card .tags {
    display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap;
  }
  .job-card .tag {
    padding: 4px 9px; border-radius: 6px; font-size: 12px;
    background: var(--navy-50); color: var(--navy-700); font-weight: 500;
  }
  .job-card .tag.cyan { background: var(--cyan-100); color: var(--accent-ink); }
  .job-card .tag.green { background: #dcfce7; color: #14532d; }
  html[data-theme="dark"] .job-card .tag.green { background: #053b1c; color: #86efac; }
  html[data-theme="dark"] .job-card .tag.cyan { background: #07395a; color: var(--cyan-300); }
  .job-card .salary {
    font-family: "Geist Mono", monospace; font-size: 13px; font-weight: 500;
    color: var(--navy-800); white-space: nowrap;
  }
  html[data-theme="dark"] .job-card .salary { color: var(--navy-700); }
  .job-card .right {
    display: flex; flex-direction: column; align-items: end; gap: 8px; text-align: right;
  }
  .job-card .when { font-size: 12px; color: var(--muted); font-family: "Geist Mono", monospace; }
  .job-card .save {
    border: 1px solid var(--line); background: var(--surface);
    width: 32px; height: 32px; border-radius: 8px;
    display: grid; place-items: center;
  }
  .job-card .save.is-on { background: var(--cyan-100); color: var(--accent-ink); border-color: var(--cyan-300); }
  html[data-theme="dark"] .job-card .save.is-on { background: #07395a; color: var(--cyan-300); }

  .job-card.layout-compact { padding: 10px 14px; grid-template-columns: 36px 1fr auto; gap: 12px; }
  .job-card.layout-compact .company-mark { width: 36px; height: 36px; font-size: 14px; border-radius: 8px; }
  .job-card.layout-compact h3 { font-size: 15px; }
  .job-card.layout-compact .tags { margin-top: 6px; }

  .job-card.layout-rich {
    grid-template-columns: 1fr; gap: 12px; padding: 18px 22px;
  }
  .job-card.layout-rich .head { display: flex; align-items: center; gap: 14px; }
  .job-card.layout-rich .desc {
    color: var(--ink-soft); font-size: 14px; line-height: 1.6;
    border-top: 1px solid var(--line); padding-top: 12px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* job detail panel */
  .detail-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(720px, 100%); background: var(--surface); border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg); z-index: 70;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    overflow: auto;
  }
  .detail-panel.is-open { transform: translateX(0); }
  .detail-overlay {
    position: fixed; inset: 0; background: rgba(10,20,48,.4);
    backdrop-filter: blur(2px);
    z-index: 60; opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .detail-overlay.is-open { opacity: 1; pointer-events: auto; }
  .detail-head {
    padding: 22px 28px; border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start;
    position: sticky; top: 0; background: var(--surface); z-index: 5;
  }
  .detail-head h2 { font-size: 22px; margin: 0 0 4px; letter-spacing: -.02em; }
  .detail-head .company-line { color: var(--ink-soft); font-size: 14px; }
  .detail-actions { display: flex; gap: 6px; }
  .detail-body { padding: 22px 28px 80px; }
  .detail-meta-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 28px;
  }
  .meta-cell { display: grid; gap: 2px; padding: 12px 14px; background: var(--navy-50); border-radius: 10px; border: 1px solid var(--line); }
  .meta-cell .l { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-family: "Geist Mono", monospace; }
  .meta-cell .v { font-size: 14px; font-weight: 500; color: var(--ink); }
  .detail-body h3 {
    margin: 28px 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600;
  }
  .detail-body p, .detail-body ul { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
  .detail-body ul { padding-left: 18px; }
  .detail-body li { margin-bottom: 4px; }
  .apply-bar {
    position: sticky; bottom: 0; background: color-mix(in oklab, var(--surface) 92%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    padding: 14px 28px;
    display: flex; gap: 10px; align-items: center; justify-content: space-between;
  }
  .apply-bar .price { font-family: "Geist Mono", monospace; font-size: 15px; color: var(--navy-800); font-weight: 600; }
  html[data-theme="dark"] .apply-bar .price { color: var(--navy-700); }

  /* pagination */
  .pager { display: flex; gap: 4px; justify-content: center; margin: 28px 0 0; }
  .pager button {
    min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: 13px; font-weight: 500; color: var(--ink-soft);
  }
  .pager button.is-active { background: var(--navy-800); color: white; border-color: var(--navy-800); }

  /* candidates view ---------------------------------------- */
  .cand-head {
    background: var(--navy-900); color: #fff; padding: 38px 0 36px;
    border-bottom: 1px solid var(--navy-800); position: relative; overflow: hidden;
  }
  .cand-head::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 90% 30%, var(--cyan-500), transparent 50%);
    opacity: .25;
  }
  .cand-head .container { position: relative; }
  .cand-head .pill { background: rgba(255,255,255,.08); color: var(--cyan-300); border-color: rgba(255,255,255,.1); }
  .cand-head h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 8px; letter-spacing: -.02em; }
  .cand-head p { color: var(--navy-300); margin: 0; font-size: 15px; max-width: 56ch; }
  .cand-search {
    margin-top: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 6px;
    display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 4px;
  }
  .cand-search .field {
    padding: 10px 14px; display: grid; gap: 2px;
    border-radius: 8px;
  }
  .cand-search .field:hover { background: rgba(255,255,255,.04); }
  .cand-search .field label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-300); }
  .cand-search input { background: transparent; border: 0; outline: none; color: white; font-size: 15px; font-weight: 500; padding: 0; }
  .cand-search input::placeholder { color: var(--navy-300); }
  @media (max-width: 820px) {
    .cand-search { grid-template-columns: 1fr 1fr; }
    .cand-search .btn-cyan { grid-column: span 2; padding: 14px; }
  }

  .cand-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 28px 0;
  }
  @media (max-width: 1000px) { .cand-layout { grid-template-columns: 1fr; } }

  .cand-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
  }
  .cand-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-md); padding: 18px;
    display: grid; gap: 12px;
    transition: transform .12s, box-shadow .15s, border-color .15s;
  }
  .cand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--navy-400); }
  .cand-top { display: flex; gap: 14px; align-items: center; }
  .avatar {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; color: white; font-weight: 600;
    flex: none;
  }
  .cand-top h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
  .cand-top .role { font-size: 13px; color: var(--ink-soft); }
  .cand-meta {
    display: flex; gap: 10px; font-family: "Geist Mono", monospace; font-size: 11px;
    color: var(--muted); flex-wrap: wrap; text-transform: uppercase; letter-spacing: .08em;
  }
  .cand-skills { display: flex; gap: 4px; flex-wrap: wrap; }
  .cand-skills .sk {
    padding: 3px 8px; border-radius: 6px; font-size: 11px;
    background: var(--navy-50); color: var(--navy-700); font-weight: 500;
  }
  .cand-bot {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px;
  }
  .match {
    display: flex; align-items: center; gap: 8px;
  }
  .match-ring {
    width: 36px; height: 36px;
  }
  .match .v { font-weight: 600; font-size: 13px; color: var(--navy-800); }
  html[data-theme="dark"] .match .v { color: var(--navy-700); }
  .match .l { font-size: 11px; color: var(--muted); }

  /* apply modal ------------------------------------------- */
  .modal-wrap {
    position: fixed; inset: 0; z-index: 80;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(10,20,48,.5);
    backdrop-filter: blur(4px);
  }
  .modal-wrap.is-open { display: flex; }
  .modal {
    background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line);
    width: min(560px, 100%); max-height: 90vh; overflow: auto;
    box-shadow: var(--shadow-lg);
    animation: modal-in .25s ease;
  }
  @keyframes modal-in { from { transform: translateY(20px); opacity: 0; } }
  .modal-head { padding: 22px 26px; border-bottom: 1px solid var(--line); }
  .modal-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
  .modal-head p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; }
  .modal-body { padding: 22px 26px; display: grid; gap: 14px; }
  .field-group { display: grid; gap: 6px; }
  .field-group label { font-size: 12px; font-weight: 500; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
  .field-group input, .field-group textarea {
    padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px;
    background: var(--bg); transition: border-color .15s;
  }
  .field-group input:focus, .field-group textarea:focus {
    outline: none; border-color: var(--navy-600); background: var(--surface);
  }
  .dropzone {
    border: 1.5px dashed var(--line-strong); border-radius: 12px;
    padding: 22px; text-align: center;
    background: var(--navy-50);
    transition: border-color .2s, background .2s;
    cursor: pointer;
  }
  .dropzone.drag { border-color: var(--cyan-500); background: var(--cyan-100); }
  .dropzone.has-file { border-style: solid; border-color: var(--navy-400); }
  .dropzone .ic { font-size: 24px; }
  .dropzone .t { font-weight: 600; margin: 6px 0 4px; }
  .dropzone .h { font-size: 13px; color: var(--ink-soft); }
  .modal-foot { padding: 16px 26px 22px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); }

  /* toast */
  .toast {
    position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 20px);
    padding: 12px 20px; background: var(--navy-900); color: #fff;
    border-radius: 999px; box-shadow: var(--shadow-lg);
    font-size: 14px; opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
    z-index: 90;
    display: flex; align-items: center; gap: 8px;
  }
  .toast.is-show { opacity: 1; transform: translate(-50%, 0); }

  /* spark icons */
  .ic { width: 18px; height: 18px; flex: none; }

  /* hero search recent */
  .hero-recent {
    margin-top: 10px; font-size: 12px; color: var(--muted);
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  }
  .hero-recent button {
    background: transparent; border: 1px dashed var(--line-strong);
    padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--ink-soft);
  }
  .hero-recent button:hover { border-color: var(--navy-500); color: var(--navy-700); }

  /* employer cta band */
  .hire-band {
    margin-top: 56px; padding: 36px 32px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
    overflow: hidden; position: relative;
  }
  .hire-band::before {
    content: ""; position: absolute; right: -120px; top: -60px; width: 360px; height: 360px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .hire-band::after {
    content: ""; position: absolute; right: -60px; top: -10px; width: 240px; height: 240px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .hire-band h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; max-width: 24ch; }
  .hire-band p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 50ch; }
  @media (max-width: 700px) { .hire-band { grid-template-columns: 1fr; } }

  /* mobile drawer for filters */
  .mobile-filter-btn { display: none; }
  @media (max-width: 1000px) {
    .mobile-filter-btn { display: inline-flex; }
    .filters {
      position: fixed; inset: 0;
      transform: translateY(100%); transition: transform .3s ease;
      border-radius: 0; padding: 16px;
      overflow: auto;
      z-index: 90;
    }
    .filters.is-open { transform: translateY(0); }
  }

  /* tweaks integration: hide panel chrome bits */
  /* dashboard responsive */
  @media (max-width: 980px) {
    .dash-grid { grid-template-columns: 1fr !important; }
    .dash-sidebar { display: none !important; }
    .kpi-row { grid-template-columns: repeat(2, 1fr) !important; }
    .dash-cols { grid-template-columns: 1fr !important; }
  }
  @media (max-width: 600px) {
    .kpi-row { grid-template-columns: 1fr !important; }
  }

body.home-prototype main{padding:0}body.home-prototype main>.container{width:100%;max-width:none;margin:0;padding:0}
.featured-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}.section-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:600;margin:0 0 8px}.featured-head h2{font-size:28px;letter-spacing:-.02em;margin:0}.mini-chart{font-family:"Geist Mono";font-size:28px;color:var(--cyan-500);letter-spacing:-8px}.mini-chart.navy{color:var(--navy-600)}.mini-chart.green{color:#22c55e}.hire-terminal{background:var(--navy-50);border:1px solid var(--line);border-radius:14px;padding:18px 22px;min-width:240px;font-family:"Geist Mono";font-size:13px;color:var(--ink-soft)}.hire-terminal .cmd{color:var(--navy-700);font-weight:600;margin-bottom:8px}.hire-terminal .ok{color:var(--cyan-500)}.job-card{display:grid;grid-template-columns:52px 1fr auto;gap:16px;align-items:start;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:20px;box-shadow:var(--shadow-xs)}.company-mark{width:48px;height:48px;border-radius:12px;background:var(--navy-100);display:grid;place-items:center;font-weight:800;color:var(--navy-700)}.job-main h3{margin:0 0 4px;font-size:18px}.job-main p{margin:0;color:var(--muted);font-size:14px}.job-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.job-tags span{font-size:12px;padding:5px 8px;border-radius:999px;background:var(--navy-50);color:var(--ink-soft)}.job-side{text-align:right;display:flex;flex-direction:column;gap:10px}.job-side a{color:var(--navy-600);font-weight:600}@media(max-width:780px){.job-card{grid-template-columns:44px 1fr}.job-side{grid-column:2;text-align:left;align-items:flex-start}.hero-layout{grid-template-columns:1fr}.hero-side{margin-top:20px}.search-card{grid-template-columns:1fr}.cat-grid{grid-template-columns:repeat(2,1fr)}}

/* ajustes finais da home, 25/07/2026 */
.home-prototype main > .container { width: 100%; margin: 0; }
.home-prototype .nav-row { gap: 18px; }
.home-prototype .brand { margin-right: auto; }
.home-prototype .brand-mark { height: 48px !important; max-width: 168px; object-fit: contain; }
.home-prototype .nav-links { margin-left: auto; gap: 2px; }
.home-prototype .nav-links a {
  padding: 8px 10px; color: var(--ink-soft); font-size: 14px; font-weight: 500;
  border-radius: 8px; white-space: nowrap;
}
.home-prototype .nav-links a:hover, .home-prototype .nav-links a.is-active { background: var(--navy-50); color: var(--navy-900); }
.home-prototype .nav-spacer { display: none; }
.home-prototype .nav-actions { margin-left: 8px; }

.home-prototype .hero { padding-top: 46px; }
.home-prototype .hero-layout { grid-template-columns: minmax(0, 1.65fr) minmax(260px, .62fr); gap: 34px; align-items: start; }
.home-prototype .hero h1 { margin-top: 0; font-size: clamp(52px, 6.1vw, 84px); }
.home-prototype .hero-sub { max-width: 780px; }
.home-prototype .hero-side { max-width: 320px; width: 100%; justify-self: end; align-self: start; padding-top: 4px; gap: 10px; }
.home-prototype .hero-stat-card { padding: 14px 16px; min-height: 86px; }
.home-prototype .hero-stat-card .value { font-size: 25px; }
.home-prototype .search-card { width: 100%; grid-template-columns: minmax(210px,1.5fr) minmax(180px,1fr) minmax(150px,.8fr) auto; }

.home-prototype .since-grid { grid-template-columns: 1.3fr .9fr; text-align: center; }
.home-prototype .since-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
.home-prototype .since-row p { margin-inline: auto; }
.home-prototype .since-founded {
  margin-top: 22px; padding-top: 18px; width: 100%; border-top: 1px solid var(--navy-800);
  color: var(--cyan-300); font-family: "Geist Mono", monospace; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; text-align: center;
}
.home-prototype .since-stats { max-width: 470px; width: 100%; justify-self: center; }
.home-prototype .since-stat { text-align: center; }
.home-prototype .timeline { display: none !important; }

.candidate-band {
  margin-top: 24px; padding: 42px 46px; border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 320px 1fr; align-items: center; gap: 54px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff;
  position: relative;
}
.candidate-band::after { content:""; position:absolute; right:-110px; bottom:-150px; width:380px; height:380px; border:1px solid rgba(126,224,255,.22); border-radius:50%; }
.candidate-content { position: relative; z-index: 2; }
.candidate-content .pill { background: rgba(255,255,255,.08); color: var(--cyan-200); border-color: rgba(255,255,255,.16); }
.candidate-content h2 { margin: 12px 0 10px; font-size: clamp(30px,4vw,48px); line-height: 1.05; letter-spacing: -.03em; max-width: 20ch; }
.candidate-content p { color: var(--navy-200); max-width: 66ch; margin: 0; }
.candidate-benefits { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:20px; color: var(--navy-100); font-size:13px; }
.candidate-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
.candidate-band .btn-ghost { color:#fff; border-color:rgba(255,255,255,.3); }
.candidate-band .btn-ghost:hover { background:rgba(255,255,255,.08); }
.candidate-visual { display:grid; place-items:center; position:relative; z-index:2; }
.candidate-orbit { width:240px; height:240px; border:1px solid rgba(126,224,255,.35); border-radius:50%; display:grid; place-items:center; position:relative; }
.candidate-orbit::before { content:""; position:absolute; inset:28px; border:1px dashed rgba(126,224,255,.32); border-radius:50%; }
.candidate-orbit span { position:absolute; width:13px; height:13px; border-radius:50%; background:var(--cyan-400); box-shadow:0 0 20px rgba(56,210,255,.75); }
.candidate-orbit span:nth-child(1){ top:15px; left:72px; }.candidate-orbit span:nth-child(2){ right:5px; top:112px; }.candidate-orbit span:nth-child(3){ bottom:18px; left:48px; }
.candidate-avatar { width:112px; height:112px; border-radius:30px; background:linear-gradient(135deg,var(--cyan-400),var(--navy-500)); display:grid; place-items:center; color:#fff; font-size:38px; font-weight:800; box-shadow:0 18px 40px rgba(0,0,0,.28); }

@media (max-width: 1050px) {
  .home-prototype .hero-layout { grid-template-columns: 1fr; }
  .home-prototype .hero-side { max-width: none; grid-template-columns: repeat(3,1fr); justify-self: stretch; }
  .candidate-band { grid-template-columns: 240px 1fr; gap: 30px; }
}
@media (max-width: 820px) {
  .home-prototype .brand-mark { height: 40px !important; }
  .home-prototype .hero-side { grid-template-columns: 1fr; }
  .candidate-band { grid-template-columns: 1fr; padding: 34px 26px; }
  .candidate-visual { display:none; }
  .home-prototype .since-grid { grid-template-columns: 1fr; }
}


/* busca principal em largura útil total */
.home-prototype .hero-search-wide{width:100%;margin-top:26px}
.home-prototype .hero-search-wide form{width:100%}
.home-prototype .hero-search-wide .search-card{width:100%;max-width:none;grid-template-columns:minmax(260px,1.8fr) minmax(220px,1.25fr) minmax(180px,.9fr) auto}
.home-prototype .hero-copy{min-width:0}
@media(max-width:900px){
  .home-prototype .hero-search-wide .search-card{grid-template-columns:1fr 1fr}
  .home-prototype .hero-search-wide .search-card .btn-cyan{grid-column:1/-1;min-height:52px}
}
@media(max-width:600px){
  .home-prototype .hero{padding-top:30px}
  .home-prototype .hero h1{font-size:clamp(42px,13vw,62px)}
  .home-prototype .hero-search-wide .search-card{grid-template-columns:1fr}
  .home-prototype .hero-search-wide .search-card .btn-cyan{grid-column:auto}
  .home-prototype .hero-ticks{display:grid;gap:8px}
}

/* Ajuste institucional: bloco histórico alinhado à esquerda */
.home-prototype .since-grid { text-align: left; }
.home-prototype .since-grid > div:first-child { align-items: flex-start; }
.home-prototype .since-row p { margin-inline: 0; }
.home-prototype .since-founded { text-align: left; }
