:root {
  --ink: #17130f;
  --muted: #6f665b;
  --paper: #f7f1e8;
  --panel: #fffaf2;
  --soft: #efe5d7;
  --line: rgba(23, 19, 15, .12);
  --gold: #b7893f;
  --green: #65776d;
  --black: #0f0d0a;
  --radius: 8px;
  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: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 232, .88);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(23, 19, 15, .72);
  font-size: 13px;
  font-weight: 850;
}

.nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.lang-button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 11px;
  background: transparent;
  color: rgba(23, 19, 15, .68);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.lang-button:last-child {
  border-right: 0;
}

.lang-button.active {
  background: var(--black);
  color: var(--panel);
}

.header-cta,
.button {
  border-radius: var(--radius);
  font-weight: 900;
}

.header-cta {
  border: 1px solid var(--ink);
  padding: 10px 15px;
  font-size: 13px;
}

.hero {
  width: min(1220px, calc(100% - 88px));
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  padding: 74px 0 62px;
}

.hero-copy-block {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: .95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.18;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 18px;
  color: rgba(23, 19, 15, .78);
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.25;
}

.hero-copy,
.section-head p,
.split p,
.form-focus p,
.apply-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
}

.actions,
.apply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  line-height: 1;
}

.button.primary {
  background: var(--ink);
  color: var(--panel);
}

.button.secondary {
  border: 1px solid rgba(23, 19, 15, .22);
  color: var(--ink);
  background: rgba(255, 250, 242, .54);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(23, 19, 15, .08);
}

.hero-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 55%;
}

.priority-list {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.priority-list span {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  color: rgba(23, 19, 15, .76);
  font-size: 13px;
  font-weight: 900;
}

.priority-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 90px 44px;
}

.confirmation,
.section-head,
.split,
.role-grid,
.form-grid,
.process,
.not-fit,
.apply-panel {
  width: min(1160px, 100%);
  margin: 0 auto;
}

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

.confirm-grid article,
.role-grid article,
.form-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.confirm-grid article {
  min-height: 240px;
  padding: 28px;
}

.confirm-grid span,
.role-grid article > span,
.form-grid span,
.steps span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.confirm-grid h2 {
  margin-bottom: 18px;
  font-size: 32px;
  line-height: 1.06;
}

.confirm-grid p,
.role-grid p,
.form-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
  align-items: start;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 250, 242, .92), rgba(239, 229, 215, .62));
}

.check-list,
.not-fit-grid,
.apply-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 19, 15, .82);
  font-size: 18px;
  line-height: 1.46;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .86fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 20px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.role-grid article {
  min-height: 270px;
  padding: 24px;
}

.role-grid article:nth-child(1),
.role-grid article:nth-child(2),
.role-grid article:nth-child(3) {
  grid-column: span 2;
}

.role-grid article:nth-child(4),
.role-grid article:nth-child(5) {
  grid-column: span 3;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tags small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--soft);
  color: rgba(23, 19, 15, .72);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.form-focus {
  background: #f0e6d8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.form-grid article {
  min-height: 210px;
  border: 0;
  border-radius: 0;
  padding: 24px;
}

.process {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 46px;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.steps article {
  min-height: 190px;
  padding: 24px;
  background: var(--panel);
}

.steps h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.not-fit {
  padding: 42px;
  border-radius: 18px;
  background: var(--black);
  color: var(--panel);
}

.not-fit .eyebrow {
  color: #d8b46b;
}

.not-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.not-fit-grid p {
  min-height: 142px;
  margin: 0;
  border: 1px solid rgba(255, 250, 242, .16);
  border-radius: var(--radius);
  padding: 18px;
  color: rgba(255, 250, 242, .82);
  font-size: 15px;
  line-height: 1.56;
}

.apply-panel {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 44px;
  align-items: center;
  margin-bottom: 88px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(23, 19, 15, .08);
}

.apply-panel h2 {
  margin-bottom: 14px;
}

.response-note {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(23, 19, 15, .78) !important;
  font-weight: 800;
}

.apply-actions {
  flex-direction: column;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 34px;
  padding: 42px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .03em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .brand {
    font-size: 30px;
  }

  .header-cta {
    display: none;
  }

  .lang-button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }

  .hero {
    width: calc(100% - 36px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 56px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: .98;
  }

  h2 {
    font-size: clamp(34px, 10vw, 50px);
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-card img {
    height: 210px;
  }

  .section {
    padding: 70px 18px;
  }

  .confirm-grid,
  .split,
  .section-head,
  .role-grid,
  .form-grid,
  .process,
  .steps,
  .not-fit-grid,
  .apply-panel {
    grid-template-columns: 1fr;
  }

  .split,
  .not-fit,
  .apply-panel {
    padding: 30px 24px;
  }

  .confirm-grid article,
  .role-grid article,
  .form-grid article,
  .steps article,
  .not-fit-grid p {
    min-height: 0;
  }

  .role-grid article:nth-child(1),
  .role-grid article:nth-child(2),
  .role-grid article:nth-child(3),
  .role-grid article:nth-child(4),
  .role-grid article:nth-child(5) {
    grid-column: auto;
  }

  .form-grid {
    gap: 12px;
    border: 0;
    background: transparent;
  }

  .form-grid article {
    border-radius: var(--radius);
  }

  .apply-panel {
    margin-bottom: 64px;
  }

  .apply-actions .button.primary {
    min-height: 52px;
  }

  .footer {
    padding: 36px 18px;
  }
}
