@font-face {
  font-family: Manrope;
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161714;
  --ink-soft: #3a3934;
  --paper: #e7e4dc;
  --paper-2: #f4f1ea;
  --cut: #e63612;
  --line: rgba(22, 23, 20, 0.16);
  --header: 92px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper-2);
}

:focus-visible {
  outline: 2px solid var(--cut);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--paper-2);
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1480px, calc(100% - clamp(32px, 6vw, 112px)));
  margin-inline: auto;
}

.kicker,
.index,
.num,
.strip-en,
.nav a,
.footer-en {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
}

.brand-line {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
}

.nav a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 68%;
  height: 2px;
  background: var(--cut);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 64px);
}

.hero-logo {
  width: min(640px, 100%);
  height: auto;
}

.kicker {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1 {
  display: grid;
  grid-template-columns: max-content;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  font-size: clamp(44px, 6.5vw, 92px);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1;
}

.hero-line {
  display: block;
  grid-column: 1;
}

.rupture {
  position: relative;
  display: block;
  grid-column: 1;
  width: 100%;
  height: 20px;
  margin: 22px 0 16px;
}

.rupture span {
  position: absolute;
  height: 4px;
  background: var(--cut);
}

.rupture span:first-child {
  left: 0;
  right: 22%;
  top: 0;
}

.rupture span:last-child {
  left: 14%;
  right: 0;
  top: 12px;
}

.lead {
  max-width: 38em;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  background-color: var(--ink);
  background-image: linear-gradient(var(--cut), var(--cut));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  color: var(--paper-2);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-size 0.22s ease;
}

.button:hover,
.button:focus-visible {
  background-size: 8px 100%;
}

.link-mail {
  font-weight: 700;
  letter-spacing: -0.03em;
  text-underline-offset: 5px;
}

.strip {
  border-block: 1px solid var(--line);
}

.strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
  font-size: 15px;
}

.strip-en {
  letter-spacing: -0.03em;
}

.strip-ru {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section {
  padding-block: clamp(72px, 9vw, 112px);
}

.index {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h2 {
  max-width: 14em;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-lead {
  max-width: 40em;
  margin-top: 22px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.cycles {
  margin-top: 48px;
}

.cycles li {
  display: grid;
  grid-template-columns: 72px minmax(160px, 220px) minmax(0, 1fr);
  gap: 20px 28px;
  align-items: baseline;
  padding: 26px 0 28px;
  border-top: 1px solid var(--line);
}

.cycles li:last-child {
  border-bottom: 1px solid var(--line);
}

.num {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.cycles h3,
.steps h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.cycles p,
.steps p {
  color: var(--ink-soft);
  text-wrap: pretty;
}

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

.steps li {
  padding: 28px 28px 32px 0;
}

.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.steps .num {
  display: block;
  margin-bottom: 28px;
}

.steps h3 {
  margin-bottom: 12px;
}

.contact {
  background: var(--ink);
  color: var(--paper-2);
}

.contact .index,
.contact .section-lead {
  color: rgba(244, 241, 234, 0.72);
}

.mail {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1;
  text-decoration: none;
  box-shadow: inset 0 -4px 0 var(--cut);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  align-items: center;
  min-height: 72px;
  padding-block: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

.missing {
  padding-bottom: clamp(72px, 12vw, 140px);
}

.missing h1 {
  max-width: none;
}

@media (max-width: 900px) {
  :root {
    --header: auto;
  }

  .site-header .wrap {
    min-height: 76px;
    padding-block: 12px;
    flex-wrap: wrap;
  }

  .brand img {
    height: 42px;
  }

  .brand-line {
    font-size: 12px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .cycles li,
  .steps {
    grid-template-columns: 1fr;
  }

  .cycles li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .cycles p {
    grid-column: 2;
  }

  .steps li,
  .steps li + li {
    padding: 24px 0;
    border-left: 0;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }

  .steps .num {
    margin-bottom: 12px;
  }

  .strip .wrap,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .rupture {
    height: 14px;
  }

  .rupture span {
    height: 3px;
  }

  .rupture span:last-child {
    top: 8px;
  }

  .nav a {
    letter-spacing: 0.04em;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .nav a::after {
    transition: none;
  }
}

@media print {
  .site-header,
  .actions,
  .site-footer {
    position: static;
  }

  .contact {
    background: white;
    color: black;
  }

  .contact .index,
  .contact .section-lead {
    color: #333;
  }

  .button {
    display: none;
  }

  body {
    background: white;
  }
}
