:root {
  --ink: #101716;
  --muted: #58625e;
  --ground: #eef1ef;
  --surface: #ffffff;
  --surface-soft: #f6f7f5;
  --line: #d7ddda;
  --teal: #0d302e;
  --teal-bright: #1f6d63;
  --teal-soft: #dbe8e3;
  --gold: #c29b54;
  --gold-dark: #8c682c;
  --steel: #263941;
  --coral: #b85b4c;
  --shadow: 0 18px 50px rgba(16, 23, 22, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(194, 155, 84, 0.55);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid rgba(16, 23, 22, 0.12);
  background: rgba(250, 251, 249, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid var(--gold);
  background: var(--teal);
  color: var(--surface);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.header-actions,
.desktop-nav,
.language-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 24px;
}

.desktop-nav {
  gap: 30px;
  color: #303a36;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a,
.mobile-nav a {
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  border-color: var(--gold-dark);
}

.language-switch {
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.language-switch a {
  display: grid;
  width: 38px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.language-switch a.active {
  background: var(--teal);
  color: var(--surface);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 10px 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 14px 6px;
  color: var(--ink);
  font-weight: 750;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 92px));
  align-items: center;
  overflow: hidden;
  background: var(--teal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background: rgba(7, 19, 17, 0.62);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - 1480px) / 2));
  padding: 120px 0 58px;
  color: var(--surface);
}

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

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

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

h1 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: 84px;
  line-height: 0.98;
}

h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 52px;
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--surface);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.22;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.6;
}

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

.button,
.lead-form button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 850;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.lead-form button:hover {
  transform: translateY(-1px);
}

.button.primary,
.lead-form button {
  background: var(--gold);
  color: #18130a;
}

.button.primary:hover,
.lead-form button:hover {
  background: #d0aa61;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--surface);
}

.button.secondary:hover {
  border-color: var(--surface);
  background: rgba(255, 255, 255, 0.08);
}

.confidence-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1480px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.confidence-strip div {
  min-height: 112px;
  padding: 24px 28px;
  border-left: 1px solid var(--line);
}

.confidence-strip div:last-child {
  border-right: 1px solid var(--line);
}

.confidence-strip dt {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.confidence-strip dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 96px max(24px, calc((100vw - 1480px) / 2));
  background: var(--surface);
}

.intro,
.integrity,
.apply,
.workspace-layout,
.pricing-layout,
.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.intro > p,
.apply-copy > p,
.workspace-copy > p,
.heading-row > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.section-heading {
  max-width: 920px;
  margin-bottom: 40px;
}

.section-heading.heading-row {
  max-width: none;
}

.heading-row > p {
  max-width: 460px;
  margin-top: 24px;
}

.offers {
  background: var(--surface-soft);
}

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

.offer-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 48, 46, 0.35);
  box-shadow: var(--shadow);
}

.offer-card.featured {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--surface);
}

.offer-tag {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.offer-card p,
.menu-grid p,
.timeline p,
.integrity-list p,
.footer p {
  color: var(--muted);
  line-height: 1.58;
}

.offer-card.featured p,
.offer-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.offer-card.featured .offer-tag,
.offer-card.featured .text-link {
  color: #e5bd72;
}

ul {
  margin: 24px 0 0;
  padding-left: 18px;
}

li {
  margin-bottom: 10px;
  line-height: 1.45;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--teal-bright);
  font-weight: 850;
  line-height: 1.6;
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link span {
  transition: transform 160ms ease;
}

.service-menu {
  background: var(--steel);
  color: var(--surface);
}

.service-menu h2 {
  color: var(--surface);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

.menu-grid div {
  min-height: 230px;
  padding: 28px;
  background: var(--steel);
}

.menu-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.menu-grid p {
  color: rgba(255, 255, 255, 0.67);
}

.workspace-section {
  background: var(--teal-soft);
}

.workspace-layout {
  grid-template-columns: minmax(280px, 0.7fr) minmax(560px, 1.3fr);
  align-items: center;
}

.workspace-copy .text-link {
  margin-top: 14px;
}

.workspace-preview {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: #122320;
  color: var(--surface);
  box-shadow: 0 28px 70px rgba(13, 48, 46, 0.2);
}

.workspace-toolbar {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workspace-toolbar > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(184, 91, 76, 0.16);
}

.status-label {
  color: #a7d6ca;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.milestone-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.milestone-rail div {
  position: relative;
  min-height: 110px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.milestone-rail span,
.milestone-rail strong,
.milestone-rail small {
  display: block;
}

.milestone-rail span {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.38);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.milestone-rail strong {
  margin-bottom: 7px;
  font-size: 14px;
}

.milestone-rail small {
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

.milestone-rail .complete span,
.milestone-rail .active span {
  color: #d9b66f;
}

.milestone-rail .active::after {
  position: absolute;
  right: 18px;
  bottom: -27px;
  left: 18px;
  height: 3px;
  background: var(--coral);
  content: "";
}

.evidence-ledger {
  display: grid;
  gap: 0;
  padding: 10px 22px 22px;
}

.evidence-ledger div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-ledger span,
.evidence-ledger small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.evidence-ledger small {
  text-align: right;
}

.evidence-ledger strong {
  font-size: 14px;
}

.evidence {
  background: var(--surface);
}

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

.evidence-grid div {
  min-height: 205px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.evidence-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.process {
  background: var(--surface-soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.timeline li {
  min-height: 260px;
  margin: 0;
  padding: 28px;
  background: var(--surface);
}

.timeline > li > span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.pricing {
  background: var(--steel);
  color: var(--surface);
}

.pricing-layout {
  align-items: start;
}

.pricing-layout h2 {
  color: var(--surface);
}

.pricing-facts {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing-facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.pricing-facts dt {
  color: var(--gold);
  font-weight: 850;
}

.pricing-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.integrity {
  background: var(--teal);
  color: var(--surface);
}

.integrity h2 {
  color: var(--surface);
}

.integrity-list {
  display: grid;
  gap: 10px;
}

.integrity-list p {
  margin: 0;
  padding: 17px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.8);
}

.apply {
  background: var(--ground);
}

.apply-copy {
  position: sticky;
  top: 112px;
}

.intake-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: var(--surface);
  color: var(--muted);
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: #2f3935;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd3cf;
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px 14px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9faaa5;
}

.checkbox-label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-weight: 600;
  line-height: 1.45;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal-bright);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-note.success {
  padding: 12px 14px;
  border-left: 3px solid var(--teal-bright);
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px max(24px, calc((100vw - 1480px) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer p {
  margin: 0;
}

.footer-brand {
  color: var(--ink) !important;
  font-weight: 850;
}

.policy-links {
  display: flex;
  max-width: 760px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.policy-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-header {
  position: sticky;
}

.policy-main {
  max-width: 980px;
  min-height: calc(100svh - 220px);
  margin: 0 auto;
  padding: 76px 30px 110px;
}

.policy-main h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 66px;
}

.policy-main h2 {
  margin-top: 52px;
  font-size: 34px;
}

.policy-main p,
.policy-main li {
  color: #3d4843;
  font-size: 17px;
  line-height: 1.72;
}

.policy-status {
  padding: 17px 19px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
}

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

  .offer-card {
    min-height: 420px;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-copy {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .intro,
  .integrity,
  .apply,
  .pricing-layout,
  .heading-row {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .heading-row > p {
    margin-top: 0;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apply-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    min-height: 66px;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch {
    height: 32px;
  }

  .language-switch a {
    width: 33px;
    height: 30px;
  }

  .menu-button {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .hero {
    min-height: min(650px, calc(100svh - 82px));
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: rgba(7, 19, 17, 0.69);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    padding: 94px 0 34px;
  }

  h1 {
    font-size: 49px;
    line-height: 0.98;
  }

  h2 {
    font-size: 38px;
    line-height: 1.06;
  }

  .hero-lede {
    font-size: 22px;
    line-height: 1.24;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .confidence-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .confidence-strip div,
  .confidence-strip div:last-child {
    min-height: 100px;
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .confidence-strip dt {
    font-size: 27px;
  }

  .section {
    padding: 72px 18px;
  }

  .intro > p,
  .apply-copy > p,
  .workspace-copy > p,
  .heading-row > p {
    font-size: 17px;
  }

  .offer-grid,
  .menu-grid,
  .evidence-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 0;
    padding: 24px;
  }

  .menu-grid div,
  .timeline li,
  .evidence-grid div {
    min-height: 0;
  }

  .menu-grid span,
  .timeline > li > span {
    margin-bottom: 22px;
  }

  .workspace-preview {
    min-height: 0;
  }

  .workspace-toolbar {
    align-items: flex-start;
  }

  .status-label {
    max-width: 100px;
    text-align: right;
  }

  .milestone-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
  }

  .milestone-rail .active::after {
    display: none;
  }

  .evidence-ledger div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .evidence-ledger small {
    text-align: left;
  }

  .pricing-facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px 18px;
  }

  .footer {
    flex-direction: column;
    padding: 30px 18px;
  }

  .policy-links {
    justify-content: flex-start;
  }

  .policy-main {
    padding: 60px 18px 88px;
  }

  .policy-main h1 {
    font-size: 46px;
  }

  html[lang="ru"] .policy-main h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .policy-main h2 {
    margin-top: 42px;
    font-size: 30px;
  }
}

@media (max-height: 720px) and (min-width: 641px) {
  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding-top: 104px;
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
