.page {
  width: 100%;
  max-width: 1200px;
  min-width: 300px;
  margin: 0 auto;
  overflow: hidden;
}

.privacy-policy__back {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  left: clamp(24px, 4vw, 48px);
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.privacy-policy__back:hover,
.privacy-policy__back:focus-visible {
  background: var(--color-gold);
  transform: translateX(-2px);
}

.privacy-policy__back:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 8vw, 150px) clamp(80px, 8vw, 100px);
  padding-bottom: clamp(120px, 15vw, 150px);
  margin: 30px 24px 0;
}

.folder {
  border-radius: 20px;
  box-shadow: 0 2px 10px rgb(29 31 42 / 6%);
}

.folder::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  left: clamp(20px, 4vw, 48px);
  width: clamp(112px, 20%, 170px);
  height: 25px;
  border-radius: 5px 5px 0 0;
  clip-path: polygon(0 100%,
      12% 100%,
      23% 0,
      77% 0,
      88% 100%,
      100% 100%);
  background: inherit;
  content: "";
}

.hero::before {
  display: none;
}

.folder-right-tab::before {
  right: clamp(20px, 4vw, 48px);
  left: auto;
}

.section+.section {
  z-index: 1;
  margin-top: -48px;
}

.header {
  width: 100%;
  max-width: 1200px;
  min-width: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  position: fixed;
  z-index: 10;
  top: 7px;
  right: 0;
  left: 0;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(28px, 5vw, 64px);
  padding-bottom: 0;
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgb(29 31 42 / 12%);

}

.navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 15px;
}

.navigation__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px 10px 14px;
  border-radius: 20px;
  background: var(--color-gray);
  color: var(--color-ink);
  font-family: var(--font-regular);
  font-size: var(--font-size-body);
  text-decoration: none;
  transition: background-color 160ms ease,
    color 160ms ease,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.navigation__link:hover,
.navigation__link:focus-visible {
  background: var(--color-gold);
}

.navigation__link:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 3px;
}

.navigation__link:active {
  background: var(--color-ink);
  color: var(--color-white);
}

.header__toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  min-height: 80vh;
  min-height: 80svh;
  align-items: center;
  align-items: end;
  gap: clamp(10px, 5vw, 30px);
  background: var(--color-ink);
  color: var(--color-white);
  margin-top: 120px;
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: auto;
  text-decoration: none;
}

.hero__logo {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: brightness(0) invert(1);
}

.section-heading-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  text-align: right;
}

.section-heading__eyebrow {
  margin: 0;
  color: var(--color-gold);
  font-size: var(--font-size-small);
  font-weight: 400;
  letter-spacing: var(--letter-spasing);
  text-transform: uppercase;
}

.heading__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end
}

.section-heading__title {
  margin-bottom: 30px;
  font-size: clamp(3rem, 5vw, 4rem);
  letter-spacing: var(--letter-spasing);
  line-height: 1;
  font-weight: 500;
}

.section-heading__motto {
  font-size: var(--font-size-small);
  letter-spacing: var(--letter-spasing);
  text-transform: uppercase;
  font-weight: 400;
}

.section-heading-hero {
  max-width: none;
  width: 100%;
  margin-bottom: 14px;
}

.section-heading__title:not(h1) {
  margin-bottom: 0;
  font-size: var(--font-size-heading);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero__description {
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
  font-size: var(--font-size-body);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: var(--line-height-normal);
}

.hero__cta {
  display: inline-flex;
  margin-top: 100px;
  padding: 12px 22px;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: var(--color-gold);
  color: var(--color-ink);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.about {
  display: block;
  min-height: 80vh;
  min-height: 80svh;
  background: var(--color-gray);
}

.about>.section-heading {
  margin-bottom: clamp(28px, 5vw, 56px);
  text-align: left;
}

.about__intro-title {
  margin: 0 0 24px;
  color: var(--color-gold);
  font-size: var(--font-size-small);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about__copy {
  max-width: none;
  column-count: 3;
  column-fill: balance;
  column-gap: clamp(28px, 5vw, 72px);
  color: rgb(29 31 42 / 78%);
  font-size: var(--font-size-body);
  line-height: 1.7;
}

.about__copy p {
  break-inside: auto;
}

.about__copy p:last-child {
  margin-bottom: 0;
}

.about__founder-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  margin-top: clamp(56px, 8vw, 100px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid rgb(29 31 42 / 16%);
}

.about__founder-eyebrow {
  margin-bottom: 8px;
  color: var(--color-gold);
  font-size: var(--font-size-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about__founder-name {
  margin-bottom: 14px;
  font-size: var(--font-size-body);
  line-height: 1.3;
}

.about__founder-bio {
  margin-bottom: 0;
  color: rgb(29 31 42 / 78%);
  font-size: var(--font-size-body);
  line-height: var(--line-height-normal);
}

.about__founder-image {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgb(29 31 42 / 12%);
}

.about__founder-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.services {
  background: var(--color-white);
}

.section-heading-spaced {
  margin-bottom: 30px;
}

.services__description {
  max-width: 720px;
  margin: 8px 0 0;
  font-weight: 300;
  line-height: var(--line-height-normal);
}

.work {
  background: var(--color-gray);
  color: var(--color-ink);
}

.work .section-heading__eyebrow {
  color: var(--color-gold);
}

.work__intro {
  margin-bottom: 24px;
  font-size: var(--font-size-body);
}

.work__steps {
  display: grid;
  gap: 18px;
  max-width: none;
  margin: 0;
  padding-left: 28px;
}

.work__step {
  padding-left: 8px;
  line-height: var(--line-height-normal);
}

.work__step-title {
  display: block;
  margin: 0 0 2px;
  font-size: var(--font-size-body);
  font-weight: 700;
}

.work__step-text {
  display: block;
  margin: 0;
  font-weight: 400;
}

.faq {
  background: var(--color-gold);
  color: var(--color-ink);
}

.faq .section-heading__eyebrow {
  color: var(--color-white);
}

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

.faq__item {
  margin: 0;
}

.faq__item h3 {
  margin-bottom: 8px;
  font-size: var(--font-size-body);
  font-weight: 700;
}

.faq__item p {
  margin-bottom: 0;
  font-weight: 400;
  line-height: var(--line-height-normal);
}

.services__groups {
  display: grid;
  gap: 70px;
}

.services__group-title {
  margin: 0 0 20px 15px;
  font-size: var(--font-size-heading);
  font-weight: 400;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  align-items: start;
  gap: 26px 16px;
}

.service-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 360px;
  box-sizing: border-box;
  padding: 32px 22px 46px;
  border-radius: 14px;
  color: var(--card-color);
  background: var(--card-background);
}

.service-card.is-expanded {
  height: auto;
  min-height: 360px;
}

.service-card::before {
  display: none;
  position: absolute;
  z-index: -1;
  top: -15px;
  left: 14px;
  width: 88px;
  height: 16px;
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0 100%,
      12% 100%,
      23% 0,
      77% 0,
      88% 100%,
      100% 100%);
  background: inherit;
  content: "";
}

.service-card:nth-child(even)::before {
  right: 14px;
  left: auto;
}

.service-card__preview-item--truncated {
  display: block;
  min-width: 0;
}

.service-card__preview-text {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card.is-expanded .service-card__preview-text {
  display: block;
  overflow: visible;
  white-space: normal;
}

.service-card__detail.is-hidden {
  display: none;
}

.service-card.is-expanded .service-card__detail.is-hidden {
  display: list-item;
}

.service-card__more {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: Georgia, serif;
  font-size: var(--font-size-small);
  font-style: italic;
  font-weight: 400;
  line-height: inherit;
  white-space: nowrap;
  cursor: pointer;
}

.service-card__more::before {
  content: "\2026 ";
}

.service-card.is-expanded .service-card__more::before {
  content: none;
}

.service-card__more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.service-card__title {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-regular);
  font-size: var(--font-size-heading);
  font-weight: 400;
  line-height: 1.2;
}

.service-card__subtitle {
  display: block;
  margin: -7px 0 14px;
  font-family: var(--font-regular);
  font-size: var(--font-size-small);
  font-style: italic;
  font-weight: 400;
  line-height: var(--line-height-normal);
}

.service-card__preview {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: var(--font-size-small);
  line-height: var(--line-height-normal);
}

.service-card__preview>li {
  position: relative;
  padding-left: 16px;
  list-style: none;
}

.service-card__preview>li::before {
  position: absolute;
  left: 0;
  content: "•";
}

.service-card__description {
  display: block;
  margin: -4px 0 14px;
  font-size: var(--font-size-small);
  line-height: var(--line-height-normal);
}

.service-card__preview>li.service-card__toggle {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding-left: 0 !important;
  text-align: right;
}

.service-card__toggle::before {
  display: none;
}

.service-card__note {
  margin: 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--card-note-border);
  font-size: var(--font-size-small);
  font-style: italic;
  line-height: var(--line-height-normal);
}

.partners {
  background: var(--color-gray);
}

.partners__description {
  max-width: 720px;
  margin: 8px 0 0;
  font-weight: 300;
  line-height: var(--line-height-normal);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: center;
  justify-items: center;
  gap: 16px;
}

.partner-card {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 120px;
  place-items: center;
  padding: 20px;
  text-align: center;
}

.partner-card__logo {
  display: block;
  width: min(100%, 260px);
  max-height: 100px;
  object-fit: contain;
}

.contacts {
  display: flex;
  flex-direction: column;
  background: var(--color-ink);
  color: var(--color-white);
  gap: 50px;
  margin-bottom: 10px;
  padding-bottom: 20px;
}


.contacts__identity {
  font-size: var(--font-size-body);
  text-align: right;
}

.contacts__name {
  font-size: var(--font-size-heading);
  font-weight: 700;
}

.contacts__company {
  color: var(--color-gold);
}

.contacts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-direction: column;
  align-items: flex-end;
}

.contacts__plain-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contacts__link-group {
  display: flex;
  gap: 8px;
}

.contacts__actions {
  font-size: var(--font-size-small);
  color: var(--color-gray);
  opacity: 0.5;
  font-weight: 300;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding-top: 50px;
}

.contacts__privacy {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts__privacy:hover,
.contacts__privacy:focus-visible {
  color: var(--color-gold);
}

.link-linkedin,
.link-instagram {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-regular);
  font-size: var(--font-size-small);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.link-linkedin:hover,
.link-instagram:hover {
  background: var(--color-gold);
  color: var(--color-ink);
}

.plain-email,
.plain-phone {
  color: inherit;
  font-weight: 300;
  text-decoration: none;
  transition: color 160ms ease;
}

.plain-email:hover,
.plain-phone:hover {
  color: var(--color-gold);
}

.hero__cta-footer {
  margin: 0;
  padding: 8px 22px;
}

@media (max-width: 1000px) {
  .partners__grid {
    row-gap: 48px;
  }

  .about__copy {
    column-count: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 95svh;
  }

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

  .service-card,
  .service-card.is-expanded {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 850px) {
  .page {
    position: relative;
  }

  body {
    padding: 0;
  }

  .header {
    position: fixed;
    z-index: 3;
    top: 15px;
    right: 15px;
    left: auto;
    width: 70px;
    min-width: 0;
    min-height: 44px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .header__toggle {
    display: inline-flex;
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    margin-top: 10px;
    margin-right: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-ink);
    cursor: pointer;
    box-shadow: 0 3px 12px rgb(0 0 0 / 12%);
  }

  .header__toggle:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 3px;
  }

  .header__toggle-line {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .header__toggle[aria-expanded="true"] .header__toggle-line:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .header__toggle[aria-expanded="true"] .header__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .header__toggle[aria-expanded="true"] .header__toggle-line:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    padding: 52px 130px 16px;
    border-radius: 15px;
    background: var(--color-white);
  }

  .navigation.navigation-open {
    display: flex;
  }

  .navigation__link {
    justify-content: flex-start;
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
  }

  .navigation__link:hover,
  .navigation__link:focus-visible,
  .navigation__link:active {
    background: transparent;
    color: var(--color-ink);
  }

  .section {
    margin: 5px 8px;
  }

  .partners__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .faq__list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.is-expanded {
    min-height: 0;
    height: auto;
    padding: 26px 20px 46px;
  }

  .service-card__note {
    margin: 0 20px 20px;
  }

  .about {
    text-align: center;
  }

  .about>.section-heading {
    text-align: center;
  }

  .about__copy {
    margin-right: auto;
    margin-left: auto;
    column-count: 1;
    text-align: center;
  }

  .about__founder-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__founder-image {
    width: min(100%, 520px);
    justify-self: center;
  }

  .about__founder-copy {
    text-align: center;
  }

  .contacts {
    align-items: center;
    justify-content: space-between;
    min-height: 80svh;
  }

  .contacts>.section-heading {
    text-align: center;
  }

  .contacts__identity {
    text-align: center;
  }

  .contacts__links {
    align-items: center;
  }

  .contacts__plain-group {
    align-items: center;
  }
}

@media (max-width: 650px) {
  .section {
    margin: 5px 8px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-heading__title {
    letter-spacing: normal;
  }

}

@media (max-width: 450px) {
  body {
    padding: 0;
  }

  .hero {
    gap: 50px;
  }

  .hero__brand {
    width: min(100%, 150px);
  }

  .section-heading-hero {
    gap: 10px;
  }

  .section {
    margin-right: 8px;
    margin-left: 8px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero__description {
    font-size: var(--font-size-body);
  }

  .service-card {
    min-height: 130px;
    padding-bottom: 46px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .service-card__note {
    margin-right: 16px;
    margin-left: 16px;
  }

  .section-heading__title {
    margin-bottom: 10px;
    font-size: 2.1rem;
    letter-spacing: 0.08em;
  }

  .section-heading__motto {
    width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .hero__description {
    margin-top: 30px;
  }

  .hero__cta {
    margin-top: 80px;
  }
}