@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
  src: url(assets/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
  src: url(assets/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 850;
  font-display: swap;
  src: url(assets/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171813;
  --muted: #55574e;
  --rule: #d8d7cf;
  --blue: #2446ce;
  --deep-blue: #1935ab;
  --white: #fff;
  --font: Montserrat, sans-serif;
  --section-space: clamp(48px, 5vw, 72px);
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
/* Keep Safari's tap overlays, link callouts and text selection off these controls. */
.button, .menu-toggle {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
section[id] { scroll-margin-top: 24px; }
html:has(dialog[open]) { overflow: hidden; }
::selection { background: #dbe3ff; color: var(--ink); }

.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 2;
  inset: 10px auto auto 10px;
  padding: 12px 18px;
  background: var(--white);
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 650;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 780; }
.header nav { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 48px); color: var(--muted); }
.header nav a, .footer a { padding-block: 12px; }
.header nav a:hover, .footer a:hover { color: var(--blue); }
.menu-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 1px; background: currentColor; }
.header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  grid-template-areas: "photo text";
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  padding-block: var(--section-space);
}
.hero-copy { grid-area: text; min-width: 0; container-type: inline-size; }
h1 {
  font-size: clamp(34px, 3.75vw, 54px);
  line-height: 1.055;
  font-weight: 800;
  letter-spacing: -.042em;
  text-wrap: balance;
}
/* Fit the longer first line to the text column on both mobile and desktop. */
#hero-title { font-size: min(3.375rem, 8cqi); }
#hero-title span { display: block; white-space: nowrap; }
.hero-platforms { margin-top: 15px; color: var(--blue); font-size: clamp(19px, 2.5vw, 32px); font-weight: 750; letter-spacing: -.019em; }
.hero-lead {
  max-width: 505px;
  margin-top: 17px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 520;
  line-height: 1.62;
}
.hero-actions { margin-top: 24px; }
.button {
  display: inline-flex;
  height: 52px;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 730;
  line-height: 1.3;
}
.icon-defs { position: absolute; }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.12em; }
.icon-up { transform: rotate(-45deg); }
.button-primary { background: var(--blue); color: var(--white); }
.portrait { grid-area: photo; margin-top: 6px; }
.portrait img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: 50% 48%;
  background: #c2a479;
  border-radius: 16px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-block: 1px solid var(--rule);
}
.facts div { padding: 22px 22px 24px 0; }
.facts div + div { padding-left: clamp(17px, 3vw, 38px); border-left: 1px solid var(--rule); }
.facts dt { font-size: clamp(20px, 2.45vw, 35px); font-weight: 780; letter-spacing: -.029em; }
.facts dd { margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 520; line-height: 1.5; }

.about {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: 14px 32px;
  padding-top: var(--section-space);
  padding-bottom: calc(var(--section-space) / 2);
  border-bottom: 1px solid var(--rule);
}
.about-copy { max-width: 655px; color: var(--muted); font-size: 15px; font-weight: 520; line-height: 1.65; }
.about-copy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.about-copy p + p { margin-top: 12px; }
.about-group { margin-top: 24px; }

.section { margin-top: var(--section-space); }
.about + .section { margin-top: calc(var(--section-space) / 2); }
.section-heading {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  gap: clamp(24px, 5vw, 76px);
  margin-bottom: 24px;
}
h2 { font-size: clamp(36px, 4.7vw, 64px); line-height: 1.075; font-weight: 790; letter-spacing: -.046em; }
.section-heading > p, .contact > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.62;
}
.section-heading > p { padding-bottom: 2px; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.project { display: flex; flex-direction: column; min-width: 0; }
.project-image { position: relative; overflow: hidden; border-radius: 4px; background: #e8e6de; }
.project-image img { width: 100%; }
.image-action {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  border: 1px solid #deddd5;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  transition: background-color .18s ease, color .18s ease;
}
.project-image:hover .image-action, .project-image:focus-visible .image-action {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}
.project-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 17px 0 19px; border-bottom: 1px solid var(--rule); }
.project-heading { width: 100%; }
.project-heading h3 { font-size: clamp(20px, 2.1vw, 28px); font-weight: 780; letter-spacing: -.029em; }
.project-body p { max-width: 510px; margin-block: 7px 12px; color: var(--muted); font-size: 14px; font-weight: 520; line-height: 1.6; }
.project-links a:hover { text-decoration: underline; }
.project-links { display: flex; flex-wrap: wrap; gap: 3px 19px; margin-top: auto; }
.project-links a { padding-block: 6px; color: var(--blue); font-size: 12px; font-weight: 700; }
.project-status { padding-block: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }

.process .section-heading { display: block; }
.steps { padding: 0; margin: 0; list-style: none; border-bottom: 1px solid var(--rule); }
.steps li {
  display: grid;
  grid-template-columns: minmax(44px, .18fr) 1.1fr 1.8fr;
  align-items: baseline;
  gap: 18px;
  padding-block: 23px;
  border-top: 1px solid var(--rule);
}
.steps li > span { color: var(--blue); font: 600 12px/1.5 var(--font); }
.steps h3, .price h3 { font-size: clamp(18px, 2.1vw, 26px); font-weight: 750; letter-spacing: -.019em; }
.steps p { color: var(--muted); font-size: 14px; font-weight: 520; line-height: 1.65; }

.reviews .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.reviews-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.reviews-controls[hidden] { display: none; }
.review-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); color: var(--blue); cursor: pointer; font: inherit; font-size: 18px; }
.review-arrow:hover:not(:disabled) { background: var(--blue); border-color: var(--blue); color: var(--white); }
.review-arrow:disabled { opacity: .35; cursor: default; }
.review-prev .icon { transform: rotate(180deg); }
.review-position { min-width: 76px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.reviews-track { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.review-card { flex: 0 0 calc((100% - 20px) / 2); min-width: 0; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; scroll-snap-align: start; background: var(--white); }
.review-author { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.review-avatar { display: block; flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: #f1f3f9; }
.review-author-copy { min-width: 0; }
.review-author h3 { font-size: 16px; font-weight: 750; line-height: 1.35; letter-spacing: .005em; }
.review-name { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.review-role { margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 520; line-height: 1.45; }
.review-text { color: var(--muted); font-size: 15px; font-weight: 520; line-height: 1.65; }

.price-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(27px, 5.6vw, 78px);
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
}
.price h2 { font-size: clamp(56px, 8vw, 106px); white-space: nowrap; line-height: 1; }
.price h2 span { font-size: .33em; letter-spacing: -.019em; }
.price-copy p { max-width: 420px; margin-block: 9px 21px; color: #f0f2ff; font-size: 14px; font-weight: 520; line-height: 1.65; }
.button-light { background: var(--white); color: var(--blue); }
.price a:focus-visible { outline-color: var(--white); }

.contact { padding-bottom: var(--section-space); }
.contact > p { margin-top: 14px; max-width: 550px; }
.contact-actions { display: flex; flex-wrap: wrap; width: max-content; max-width: 100%; gap: 14px 16px; margin-top: 22px; }
.contact-actions .button { flex: 0 0 auto; width: 180px; max-width: 100%; justify-content: center; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 12px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.preview {
  width: min(calc(100% - 36px), 1110px);
  max-height: calc(100dvh - 36px);
  padding: 12px;
  border: 0;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
}
.preview::backdrop { background: rgb(13 16 30 / .82); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 9px 4px; }
.preview h2 { font-size: 20px; letter-spacing: -.024em; }
.preview button { min-width: 40px; min-height: 40px; border: 1px solid var(--rule); border-radius: 3px; background: var(--white); color: var(--ink); cursor: pointer; font-family: inherit; font-size: 26px; }
.preview img { width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 64px); }
  .header nav { gap: 16px; font-size: 12px; }
  .hero { grid-template-columns: 1fr 1.36fr; }
  .portrait img { aspect-ratio: .9; }
}

@media (max-width: 800px) {
  .header { flex-wrap: wrap; gap: 0 10px; padding-block: 12px; }
  /* Keep the top row at 76px minus vertical padding and its bottom border. */
  .header.has-menu-toggle .brand { min-height: 51px; }
  .header nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    flex: 0 0 100%;
    justify-content: space-between;
    gap: 0 10px;
    font-size: 12px;
  }
  .header.has-menu-toggle .menu-toggle:not([hidden]) { display: flex; }
  .header.has-menu-toggle nav { display: none; }
  .header.has-menu-toggle.is-menu-open nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 12px;
  }
  .header.has-menu-toggle.is-menu-open nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding-block: 10px;
    font-size: 14px;
    line-height: 1.5;
  }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 40px); }
  .hero, .about, .section-heading, .price-inner { grid-template-columns: 1fr; }
  .hero { grid-template-areas: "photo" "text"; gap: 32px; }
  h1 { font-size: clamp(33px, 7.6vw, 55px); text-wrap: initial; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .portrait { margin-top: 0; }
  .portrait img { aspect-ratio: 1.21; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { padding: 15px 12px 16px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:last-child { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .facts dd { font-size: 12px; }
  .section-heading { gap: 10px; }
  .project-grid { gap: 24px 14px; }
  .steps li { grid-template-columns: 23px 1fr; gap: 6px 12px; padding-block: 17px; }
  .steps p { grid-column: 2; }
  .price-inner { gap: 20px; }
  .reviews .section-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .review-card { flex-basis: 100%; padding: 22px; }
}

@media (max-width: 525px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-body { padding-top: 12px; }
}

@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 13px; }
  .button { gap: 10px; padding-inline: 11px; }
  .price h2 { font-size: 51px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
