:root {
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #5f6b7a;
  --line: #e5e9f0;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --purple: #6257f5;
  --purple-deep: #4338ca;
  --navy: #0f1727;
  --green: #039855;
  --amber: #b45309;
  --blue: #175cd3;
  --coral: #c4320a;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
.skip {
  position: absolute; left: -999px;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 80; }

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

.site-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--purple); color: #fff; display: grid; place-items: center;
  font-weight: 800;
}
.brand strong { display: block; font-size: 15px; }
.brand small { display: block; color: var(--muted); font-size: 12px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .drop > summary {
  text-decoration: none; color: var(--ink-soft); font-size: 14px; font-weight: 600;
  padding: 8px 10px; border-radius: 999px; list-style: none; cursor: pointer;
}
.nav-links > a:hover, .drop[open] > summary, .nav-links > a:focus-visible { background: #fff; color: var(--ink); }
.drop { position: relative; }
.drop summary::-webkit-details-marker { display: none; }
.mega {
  position: absolute; top: calc(100% + 8px); left: 0; width: 420px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 10px; display: grid; gap: 4px;
}
.mega a {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center;
  padding: 10px; border-radius: 12px; text-decoration: none;
}
.mega a:hover { background: var(--soft); }
.mega i {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; font-style: normal; font-weight: 800; font-size: 12px;
}
.mega b { display: block; font-size: 14px; }
.mega span { color: var(--muted); font-size: 12px; }

.nav-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 14px; border: 0; cursor: pointer;
}
.btn-primary, .nav-cta { background: var(--purple); color: #fff; }
.btn-primary:hover, .nav-cta:hover { background: var(--purple-deep); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn-navy { background: var(--navy); color: #fff; }
.menu-btn { display: none; }

.hero {
  padding: 48px 0 28px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--purple-deep); font-size: 13px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 12px 0 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.03em;
}
.lede { margin: 16px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 640px; }
.search-box {
  margin-top: 24px; display: flex; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; padding: 8px;
  box-shadow: var(--shadow);
}
.search-box input {
  flex: 1; border: 0; outline: none; font: inherit; padding: 10px 12px; min-width: 0;
}
.stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.stats b { color: var(--ink); }
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px;
  box-shadow: var(--shadow);
}
.hero-panel h2 { margin: 0 0 12px; font-size: 16px; }
.quick a {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px;
}
.quick a:last-child { border-bottom: 0; }
.quick span { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 28px; }
.chips a {
  text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700;
}
.chips a:hover { border-color: var(--purple); color: var(--purple-deep); }

.section { padding: 28px 0 12px; }
.section h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.section .intro { color: var(--ink-soft); max-width: 680px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 22px 22px 20px; display: flex; flex-direction: column; min-height: 100%;
  text-decoration: none; box-shadow: 0 1px 0 rgba(16,24,40,0.03);
}
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.glyph {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 12px; margin-bottom: 14px;
}
.badge {
  display: inline-flex; align-items: center; width: fit-content;
  border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 800;
  background: var(--soft); color: var(--muted); margin-bottom: 8px;
}
.card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.card p { margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; }
.card .meta { margin-top: 14px; color: var(--muted); font-size: 12px; }
.card .go { margin-top: auto; padding-top: 16px; color: var(--purple-deep); font-weight: 800; font-size: 14px; }

.im { background: #6257f5; } .sc { background: #175cd3; } .oc { background: #b45309; }
.du { background: #039855; } .ca { background: #c4320a; } .ds { background: #0f1727; }
.pw { background: #1d6b47; }
.br { background: #344054; }

.jobs { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.job {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px; border-top: 1px solid var(--line); text-decoration: none;
}
.jobs .job:first-child { border-top: 0; }
.job:hover { background: var(--soft); }
.job b { font-size: 14px; }
.job span { color: var(--ink-soft); font-size: 14px; }
.job em { font-style: normal; color: var(--purple-deep); font-weight: 800; font-size: 13px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.trust article { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.trust h3 { margin: 0 0 8px; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-top: 10px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

.site-foot {
  margin-top: 48px; background: var(--navy); color: #d0d5dd; padding: 48px 0 28px;
}
.site-foot a { color: #f8fafc; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h4 { margin: 0 0 12px; color: #fff; }
.site-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.filters button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-weight: 700; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.hidden { display: none !important; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); border-top: 0; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 960px) {
  .hero-grid, .grid-3, .trust, .foot-grid, .job { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 72px; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 16px 16px;
  }
  .mega { position: static; width: auto; box-shadow: none; }
  .menu-btn { display: inline-flex; }
}
