:root {
  color-scheme: dark;
  --bg: #070b12;
  --surface: rgba(12, 18, 29, 0.86);
  --surface-strong: #101725;
  --line: rgba(166, 179, 204, 0.18);
  --text: #f5f7fb;
  --muted: #a9b4c7;
  --brand: #69e7cf;
  --brand-strong: #36c8b0;
  --gold: #f0c66c;
  --danger: #ff7b7b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, rgba(105, 231, 207, 0.16), transparent 32%), var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand, nav { display: flex; align-items: center; gap: 16px; }
.brand { font-weight: 750; letter-spacing: 0; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(105, 231, 207, 0.5);
  border-radius: 8px;
  color: var(--brand);
  background: rgba(105, 231, 207, 0.1);
  font-size: 12px;
}
nav a { color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }
.session-pill {
  max-width: 190px;
  overflow: hidden;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--brand);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 9px;
  cursor: pointer;
}
.nav-button:hover { color: var(--text); border-color: rgba(105, 231, 207, 0.55); }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: 110px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.96) 0%, rgba(7, 11, 18, 0.74) 42%, rgba(7, 11, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.95) 0%, rgba(7, 11, 18, 0.18) 46%),
    url("./img/hero-skills.webp") center / cover;
  transform: scale(1.02);
}
.hero-content {
  position: relative;
  max-width: 850px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 760;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: 0;
}
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: 0; margin-bottom: 16px; }
h3 { font-size: 18px; margin-bottom: 0; }
.lead { max-width: 660px; color: #d6dde9; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.button.primary { background: var(--brand); border-color: var(--brand); color: #04100d; font-weight: 760; }
.button.secondary:hover, .filter:hover { border-color: rgba(105, 231, 207, 0.55); }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}
.hero-stats div {
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.52);
}
dt { font-size: 26px; font-weight: 800; color: var(--brand); }
dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}
.trust-band div {
  padding: 22px clamp(18px, 4vw, 40px);
  background: rgba(9, 14, 22, 0.95);
}
.trust-band strong { display: block; margin-bottom: 8px; }
.trust-band span { color: var(--muted); line-height: 1.5; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  padding: 78px clamp(18px, 5vw, 72px);
  align-items: start;
}
.section-grid.reverse { grid-template-columns: minmax(320px, 1.15fr) minmax(0, 0.85fr); }
.section-copy { max-width: 560px; }
.section-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.22);
}
.list-panel { min-height: 360px; overflow: hidden; }
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-head span, .form-note { color: var(--muted); font-size: 13px; }
.cards { display: grid; gap: 1px; background: var(--line); }
.card {
  padding: 18px 20px;
  background: var(--surface-strong);
}
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(105, 231, 207, 0.35);
  border-radius: 6px;
  color: var(--brand);
  font-size: 12px;
  white-space: nowrap;
}
.badge.unverified { border-color: rgba(240, 198, 108, 0.38); color: var(--gold); }
.card p { color: var(--muted); line-height: 1.55; margin-bottom: 0; }
.meta { margin-top: 12px; color: var(--muted); font-size: 13px; }
.reputation-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #dfe5ef;
  font-size: 13px;
}
.stars { color: var(--gold); letter-spacing: 0; }
.proof-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.compact .card { padding-block: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.filter.active { color: #04100d; background: var(--brand); border-color: var(--brand); }

.forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 72px clamp(18px, 5vw, 72px) 96px;
}
.form-card { padding: 24px; }
label { display: grid; gap: 8px; margin-top: 14px; color: #dfe5ef; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
input:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: not-allowed;
}
.form-card .button { width: 100%; margin-top: 18px; }
.error { color: var(--danger); }
.success { color: var(--brand); }
.empty { padding: 24px 20px; color: var(--muted); background: var(--surface-strong); }


.category-section { background: var(--surface-strong); }
.category-section + .category-section { border-top: 1px solid var(--line); }
.category-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.category-heading h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}
.category-heading span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.service-card { min-height: 118px; }
.service-card h3 { line-height: 1.3; }
.service-rank {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap;
}
.filter span { color: inherit; opacity: 0.72; }
@media (max-width: 700px) {
  .service-grid { grid-template-columns: 1fr; }
  .category-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (max-width: 1180px) {
  .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar { position: static; align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  .hero { min-height: 620px; padding-top: 70px; }
  .trust-band, .section-grid, .section-grid.reverse, .forms { grid-template-columns: 1fr; }
  .section-grid, .forms { padding-inline: 18px; }
}
