:root {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #151c2f;
  background: #fdfcf8;
  --blue: #2648e8;
  --muted: #535d72;
  --line: #dce0ed;
  --canvas: #f2f4ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
main { min-height: calc(100vh - 150px); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #324fff; outline-offset: 4px; }
p { color: var(--muted); line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.site-header, footer { background: #fff; }
.site-header { border-block-end: 1px solid #e9e8e3; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand, .footer-brand { display: block; width: fit-content; }
.brand-emblem { display: block; position: relative; }
.brand img, .footer-brand img { display: block; height: auto; }
.brand img { width: 136px; }
.footer-brand img { width: 108px; }
.sword-shine {
  position: absolute;
  left: 44.2%;
  top: 13.3%;
  width: 36%;
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff9dd 0%, #ffdf8db8 5%, #ffc85642 15%, transparent 43%);
}
.sword-shine::before, .sword-shine::after { content: ''; position: absolute; inset: 0; }
.sword-shine::before {
  background: repeating-conic-gradient(from -2deg, transparent 0deg, #e3a635 2deg, transparent 4deg 45deg);
  mask-image: radial-gradient(circle, transparent 6%, #000 16%, #000b 30%, transparent 64%);
  animation: sword-rays 4.8s ease-in-out infinite;
}
.sword-shine::after {
  inset: 36%;
  background: radial-gradient(circle, #fff 0%, #fffae7 13%, #ffd77e9e 29%, transparent 67%);
  animation: sword-glint 4.8s ease-in-out infinite;
}
@keyframes sword-rays {
  0%, 100% { opacity: .55; transform: scale(.82); }
  46% { opacity: 1; transform: scale(1.12); }
}
@keyframes sword-glint {
  0%, 100% { opacity: .55; transform: scale(.8); }
  42% { opacity: 1; transform: scale(1.24); }
}
.nav { display: flex; align-items: center; gap: 33px; font-size: 15px; font-weight: 600; }
.nav a:hover, .job-card a:hover { color: var(--blue); }
.languages { justify-self: end; display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 100px; }
.languages a { font-size: 13px; font-weight: 750; padding: 7px 11px; border-radius: 100px; }
.languages [aria-current] { color: #fff; background: #18213b; }
.eligibility-notice { background: #eef1ff; border-block-end: 1px solid #dce3ff; }
.eligibility-notice p { color: #25345c; font-size: 14px; font-weight: 650; padding-block: 12px; }
.hero { display: grid; grid-template-columns: 1fr .94fr; gap: clamp(26px, 4vw, 63px); align-items: center; padding-block: 55px 56px; }
.hero-content { padding-block: 15px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 750; margin-block-end: 23px; }
.eyebrow span { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
h1 { font-weight: 760; font-size: clamp(38px, 4.35vw, 64px); line-height: 1.04; letter-spacing: -.055em; }
h1 em { font-style: normal; color: var(--blue); }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { letter-spacing: 0; }
[dir=rtl] .hero h1 { font-size: clamp(36px, 3.85vw, 56px); }
[dir=rtl] .arrow { display: inline-block; transform: scaleX(-1); }
.hero p, .intro { font-size: clamp(17px, 1.55vw, 21px); max-width: 47ch; margin-block: 23px 27px; }
.vacancy-description { white-space: pre-line; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 19px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 47px; padding: 11px 17px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; font-weight: 700; font-size: 14px; }
.primary { color: #fff; background: var(--blue); }
.primary:hover { background: #1937c5; }
.outline { color: var(--blue); background: #fff; border-color: #aebaf0; }
.outline:hover { border-color: var(--blue); }
.text-button { color: var(--blue); font-size: 14px; font-weight: 700; }
.text-button:hover { text-decoration: underline; }
.hero-visual { background: #e3e9ed; border-radius: 19px; overflow: hidden; aspect-ratio: 1.52; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.catalog { background: var(--canvas); border-block: 1px solid #e3e6fa; padding-block: 39px 48px; scroll-margin-top: 15px; }
.section-head, .job-top, .job-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
h2 { font-size: clamp(25px, 3.1vw, 41px); line-height: 1.12; letter-spacing: -.047em; }
.demo-label { font-size: 13px; color: #555f78; }
.filters, .form-grid { display: grid; gap: 13px; }
.filters { grid-template-columns: 1.35fr 1fr 1fr 1fr auto; align-items: end; margin-block: 23px 18px; }
label { display: grid; gap: 7px; color: #38415a; min-width: 0; font-size: 13px; font-weight: 650; }
input, select { background: #fff; color: #151c2f; min-width: 0; width: 100%; min-height: 47px; border: 1px solid #d7dcec; border-radius: 8px; padding: 8px 12px; font-size: 15px; }
input::placeholder { color: #667089; opacity: 1; }
input[dir=ltr] { text-align: left; }
input[type=file] { padding-block: 11px; overflow: hidden; }
.field-help { color: var(--muted); font-weight: 400; }
.filter-actions { display: flex; gap: 12px; align-items: center; }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.job-card, .form-card, .empty { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 21px; }
.job-card h3 { margin-block: 16px 5px; font-size: clamp(18px, 1.75vw, 24px); letter-spacing: -.035em; }
.chip { display: inline-block; color: #2947bd; background: #eef1ff; border-radius: 50px; font-size: 12px; font-weight: 750; padding: 5px 10px; }
.job-code, .job-location { color: #5c6780; font-size: 13px; }
.job-location span { margin-inline: 3px; }
.salary { color: var(--blue); font-size: 24px; font-weight: 800; margin-block: 14px; line-height: 1.25; }
.salary span { color: var(--muted); font-size: 12px; font-weight: 550; }
.job-bottom { border-block-start: 1px solid #ecedf4; padding-block-start: 13px; font-size: 13px; color: #4b5670; }
.job-bottom a { color: var(--blue); font-weight: 700; }
.empty .button { margin-block-start: 15px; }
.employer-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 21px; align-items: center; padding-block: 32px; }
.employer-strip h2 { font-size: 26px; margin-block-end: 5px; }
.strip-icon { background: #e9eeff; color: var(--blue); border-radius: 10px; padding: 10px 15px; font-weight: 750; font-size: 21px; }
footer { border-block-start: 1px solid #e9e8e3; }
.footer-inner { min-height: 74px; display: flex; justify-content: space-between; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.inner { padding-block: 47px 65px; }
.back { color: var(--blue); display: inline-flex; margin-block-end: 22px; font-size: 14px; font-weight: 750; }
.back:hover { text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: 1.2fr minmax(260px, .8fr); gap: clamp(24px, 7vw, 105px); align-items: start; }
.detail-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-block-end: 15px; }
.detail-layout article h2, .form-card h2 { font-size: 26px; margin-block: 24px 11px; }
.form-card h2 { margin-block-start: 0; }
.detail-salary { margin-block: 0 24px; font-size: 32px; }
.detail-salary span { font-size: 15px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 15px; background: var(--canvas); border-radius: 10px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { font-weight: 700; margin: 4px 0 0; }
.form-card { padding: clamp(19px, 3vw, 34px); }
.form-note { font-size: 13px; margin-block: 16px; }
.result { max-width: 730px; }
.result p { margin-block-start: 20px; }
.result .button { margin-block-start: 24px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .job-card { padding: 16px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .brand img { width: 112px; }
  .hero, .detail-layout { grid-template-columns: 1fr; }
  .hero { gap: 16px; padding-block: 24px 34px; }
  .hero-visual { max-height: 340px; }
  .nav { gap: 12px; font-size: 13px; }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
  .filter-actions button { flex: 1; }
  .catalog { padding-block: 28px; }
}
@media (max-width: 480px) {
  .header-inner { grid-template-columns: 1fr 1fr; row-gap: 3px; padding-block-end: 12px; }
  .nav { grid-row: 2; grid-column: 1 / -1; }
  .languages { grid-row: 1; grid-column: 2; }
  .languages a { padding-inline: 7px; }
  .section-head { flex-wrap: wrap; }
  .job-grid, .employer-strip { grid-template-columns: 1fr; }
  .strip-icon { display: none; }
  .employer-strip .button { justify-self: start; }
  .hero h1 { font-size: clamp(35px, 8.7vw, 43px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sword-shine::before, .sword-shine::after { animation: none; opacity: .75; }
}
