:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-muted: #efe9dd;
  --text: #191919;
  --muted: #66615a;
  --line: #e4ded2;
  --accent: #f4b400;
  --accent-dark: #161616;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(25, 25, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 0.95em;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero,
.page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 20px 36px;
}

.hero-content {
  background: linear-gradient(135deg, #ffffff 0%, #fff3c7 100%);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(36px, 7vw, 82px);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #201800;
  font-weight: 800;
  font-size: 0.9rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.lead {
  max-width: 700px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--muted);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent-dark);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  border: 1px solid var(--line);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 46px 20px;
}

.section.muted {
  max-width: none;
  background: var(--surface-muted);
  margin: 36px 0;
}

.section.muted > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(25, 25, 25, 0.05);
}

.link-card {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
}

.card p,
.features p,
.faq-preview p,
.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.vacancy-grid {
  align-items: stretch;
}

.vacancy-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.brand-yandex {
  background: #e8cb68;
  color: #2b2209;
}

.brand-tbank {
  background: #dfc55b;
  color: #232323;
}

.brand-alfa {
  background: #c84a42;
  color: #ffffff;
}

.benefits {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.benefits li {
  margin-bottom: 6px;
}

.vacancy-card .button {
  margin-top: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.faq-preview,
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -0.02em;
}

details p {
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vacancy-page .vacancy-article {
  padding-top: 42px;
  padding-bottom: 56px;
}

.vacancy-short {
  max-width: 780px;
}

.meta-updated {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

.meta-updated time {
  font-weight: 700;
}

.vacancy-actions {
  margin-top: 28px;
}

.vacancy-section {
  margin-top: 42px;
}

.vacancy-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.facts-table th,
.facts-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts-table thead th {
  font-weight: 800;
  background: var(--surface-muted);
}

.facts-table tbody tr:last-child td {
  border-bottom: none;
}

.vacancy-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.vacancy-list li {
  margin-bottom: 10px;
}

.vacancy-section.vacancy-city {
  padding: 22px 22px;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--line);
}

.vacancy-section.vacancy-city p {
  margin: 0;
  color: var(--muted);
}

.internal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.internal-links a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .page-hero {
    padding-top: 24px;
  }

  .hero-content {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 14px;
  }
}
