:root {
  --ink: #353638;
  --gray: #5f6770;
  --burgundy: #a1072b;
  --white: #fff;
  --line: #efefef;
  --pad: 80px;
  --section-y: 80px;
  --block-gap: 50px;
  --head-gap: 20px;
  --header-top: 40px;
  --nav: 20px;
  --nav-lh: 26px;
  --hero-h: 850px;
  --hero-gap: 120px;
  --hero-x: 227px;
  --hero-y: -58px;
  --hero-w: 1818px;
  --hero-ih: 908px;
  --h1: 54px;
  --h1-lh: 54px;
  --h1-ls: -1.5px;
  --hero-lead: 26px;
  --hero-lead-lh: 30px;
  --hero-lead-w: 600px;
  --lead: 34px;
  --lead-lh: 40px;
  --lead-w: 840px;
  --label: 20px;
  --label-lh: 20px;
  --quote-y: 210px;
  --finale-y: 160px;
  --caption: 22px;
  --caption-lh: 26px;
  --col-gap: 40px;
  --card-title: 26px;
  --card-title-lh: 28px;
  --offer-title: 22px;
  --offer-title-lh: 26px;
  --offer-body: 16px;
  --offer-body-lh: 20px;
  --offer-pad: 16px;
  --why-title: 22px;
  --why-title-lh: 26px;
  --why-body: 16px;
  --why-body-lh: 20px;
  --why-gap: 50px;
  --stat: 300px;
  --stat-label: 24px;
  --stat-label-lh: 27px;
  --legal-title: 34px;
  --legal-title-lh: 40px;
  --legal-section: 26px;
  --legal-section-lh: 30px;
  --legal-gap: 40px;
  --legal-top: 80px;
  --legal-body: 18px;
  --legal-body-lh: 24px;
  --legal-date: 16px;
  --legal-date-lh: 20px;
  --svc-gap: 20px;
  --svc-pad: 16px;
  --exp-gap: 40px;
  --a7-gap: 40px;
  --a7-title: 26px;
  --a7-title-lh: 30px;
  --a7-body: 18px;
  --a7-body-lh: 24px;
  --body: 18px;
  --body-lh: 24px;
  --hero-align: left;
  --block-align: left;
  --svc-burgundy: brightness(0) saturate(100%) invert(11%) sepia(78%) saturate(4286%) hue-rotate(334deg) brightness(78%) contrast(112%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Manrope, sans-serif;
}

img { max-width: none; display: block; }
button, a { font: inherit; }
a { color: inherit; }

.page { width: 100%; background: #fff; }

.wrap,
.hero-inner,
.section,
.quote,
.finale,
.legal {
  width: 100%;
  margin-inline: auto;
}

.site-header,
.section,
.quote,
.finale,
.legal,
.hero-copy {
  padding-inline: var(--pad);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-inline: auto;
  padding-top: var(--header-top);
}

.page > .site-header { padding-top: var(--pad); }
.page > .site-header .btn { display: none; }

.logo { width: 120px; height: 38px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: var(--nav);
  line-height: var(--nav-lh);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-toggle,
.nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100dvh;
  padding: 20px;
  overflow: auto;
  background: #353638;
  color: #fff;
}

.mobile-menu[hidden] { display: none; }

body.menu-open { overflow: hidden; }

.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 48px;
  height: 48px;
}

.mobile-menu .nav-close { display: flex; }

.mobile-menu-body {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.mobile-menu-main {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.mobile-menu-main a,
.mobile-menu-legal a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.mobile-menu-main a {
  height: 44px;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mobile-menu-legal {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.mobile-menu-legal a {
  height: 40px;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  opacity: 0.7;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 14px;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:has(.btn-face) { padding: 0; }

.btn-face {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background: var(--burgundy);
  color: #fff;
  transition: transform 300ms ease-in-out;
}

.btn-face-alt {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
}

.btn:hover .btn-face,
.btn:focus-visible .btn-face { transform: translateY(-100%); }

.btn:hover .btn-face-alt,
.btn:focus-visible .btn-face-alt { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-hero,
.btn-a7-mobile { display: none; }

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gray);
  font-weight: 600;
  font-size: var(--label);
  line-height: var(--label-lh);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--burgundy);
  flex: none;
}

.lead {
  margin: var(--head-gap) 0 0;
  max-width: var(--lead-w);
  font-weight: 400;
  font-size: var(--lead);
  line-height: var(--lead-lh);
}

.lead-a7,
.lead-build,
.lead-why { max-width: var(--lead-w); }

.accent { color: var(--burgundy); }

/* Hero */

.hero {
  position: relative;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
  background: #fff;
}

.hero-image {
  position: absolute;
  left: var(--hero-x);
  top: var(--hero-y);
  width: var(--hero-w);
  height: var(--hero-ih);
  object-fit: fill;
  filter: grayscale(1);
  pointer-events: none;
}

.hero .site-header,
.hero-copy { position: relative; z-index: 1; }

.hero-copy {
  width: 100%;
  margin: var(--hero-gap) auto 0;
  text-align: var(--hero-align);
}

.hero h1 {
  margin: 0;
  font-family: "Golos Text", sans-serif;
  font-weight: 600;
  font-size: var(--h1);
  line-height: var(--h1-lh);
  letter-spacing: var(--h1-ls);
}

.hero-copy p {
  margin: 50px 0 0;
  max-width: var(--hero-lead-w);
  font-weight: 400;
  font-size: var(--hero-lead);
  line-height: var(--hero-lead-lh);
}

.hero-copy .btn-hero { margin-top: 50px; }

/* Expertise */

.section { padding-block: var(--section-y); }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  margin-top: var(--block-gap);
}

.xcard {
  position: relative;
  height: 347px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.3s ease;
}

.xcard-bg {
  position: absolute;
  right: -8px;
  top: 40px;
  width: 588px;
  height: 392px;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.3s ease;
  pointer-events: none;
}

.xcard-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 550px;
}

.xcard h3 {
  margin: 0;
  font-weight: 600;
  font-size: var(--card-title);
  line-height: var(--card-title-lh);
  transition: color 0.3s ease;
}

.xcard p {
  margin: 0;
  max-width: 550px;
  font-size: var(--body);
  line-height: var(--body-lh);
  color: var(--gray);
}

.xcard:hover { border-color: var(--burgundy); }
.xcard:hover h3 { color: var(--burgundy); }
.xcard:hover .xcard-bg { filter: none; }

/* Experience */

.experience {
  width: 100%;
  padding: var(--section-y) var(--pad);
  background: var(--line);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(200px, auto));
  gap: var(--exp-gap);
  margin-top: var(--block-gap);
}

.exp-grid > :nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
.exp-grid > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.exp-grid > :nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.exp-grid > :nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
.exp-grid > :nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
.exp-grid > :nth-child(6) { grid-area: 3 / 1 / 4 / 2; }
.exp-grid > :nth-child(7) { grid-area: 3 / 2 / 4 / 3; }
.exp-grid > :nth-child(8) { grid-area: 3 / 3 / 5 / 4; }
.exp-grid > :nth-child(9) { grid-area: 4 / 1 / 5 / 2; }
.exp-grid > :nth-child(10) { grid-area: 4 / 2 / 5 / 3; }

.stat { align-self: start; min-width: 0; }
.stat img { width: 100%; height: auto; }
.stat-dev { align-self: end; }

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  height: auto;
  padding: var(--offer-pad);
  border-top: 2px solid var(--burgundy);
}

.offer h3 {
  margin: 0;
  font-weight: 600;
  font-size: var(--offer-title);
  line-height: var(--offer-title-lh);
  transition: color 0.3s ease;
}

.offer p {
  margin: 6px 0 0;
  font-weight: 500;
  font-size: var(--offer-body);
  line-height: var(--offer-body-lh);
  color: var(--gray);
}

.offer img {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 24px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offer:hover h3 { color: var(--burgundy); }
.offer:hover img { opacity: 1; }

/* Quote */

.quote {
  padding-block: var(--quote-y);
  text-align: center;
}

.quote-kicker {
  margin: 0 auto;
  max-width: var(--lead-w);
  color: var(--gray);
  font-weight: 600;
  font-size: var(--label);
  line-height: var(--label-lh);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote p:not(.quote-kicker) {
  margin: var(--head-gap) auto 0;
  max-width: var(--lead-w);
  font-size: var(--lead);
  line-height: var(--lead-lh);
}

/* Product */

.tabs {
  display: flex;
  gap: 20px;
  margin-top: var(--block-gap);
  overflow-x: auto;
}

.tab {
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  flex: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.tab.is-active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.product-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--col-gap);
  margin-top: var(--a7-gap);
}

.browser {
  grid-column: span 2;
  align-self: start;
  display: grid;
  grid-template-rows: 30fr 500fr;
  width: 100%;
  height: auto;
  aspect-ratio: 840 / 530;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 10px 20px 30px rgba(39, 3, 11, 0.1);
  cursor: zoom-in;
}

.browser img,
.lightbox-frame img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.product-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  height: 100%;
}

.product-copy > .btn { margin-top: auto; }

.btn-ink { background: var(--ink); }
.btn-ink .btn-face { background: var(--ink); }
.btn-ink .btn-face-alt { background: var(--burgundy); }

.product-copy h3 {
  margin: 0;
  font-weight: 400;
  font-size: var(--a7-title);
  line-height: var(--a7-title-lh);
}

.product-copy p {
  margin: 20px 0 0;
  font-size: var(--a7-body);
  line-height: var(--a7-body-lh);
  color: var(--gray);
}

.product-copy h3,
.product-copy p { transition: opacity 0.3s ease; }
.is-fading { opacity: 0; }

/* Build */

.build-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--col-gap);
}

.build-head .lead { flex: 1 1 auto; }

.build-note {
  width: min(400px, 32%);
  margin: 0;
  color: var(--burgundy);
  font-weight: 600;
  font-size: var(--caption);
  line-height: var(--caption-lh);
  text-align: right;
  flex: none;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: start;
  margin-top: var(--block-gap);
}

.svc-list {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: var(--svc-gap);
}

.svc {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: var(--svc-pad);
}

.svc-icon { width: 32px; height: 32px; transition: filter 0.3s ease; }

.svc h3 {
  margin: 0;
  font-weight: 600;
  font-size: var(--card-title);
  line-height: var(--card-title-lh);
  transition: color 0.3s ease;
}

.svc p {
  margin: 6px 0 0;
  font-size: var(--body);
  line-height: var(--body-lh);
  color: var(--gray);
  transition: color 0.3s ease;
}

.svc:hover h3 { color: var(--burgundy); }
.svc:hover p { color: var(--ink); }
.svc:hover .svc-icon { filter: var(--svc-burgundy); }

.build-visual {
  width: 100%;
  overflow: hidden;
  background: var(--line);
}

.build-visual img {
  width: 100%;
  height: auto;
}

/* Why */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  margin-top: var(--block-gap);
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: var(--why-gap);
  min-height: 216px;
  padding: 20px;
  border-left: 2px solid var(--burgundy);
}

.why-card img { width: 36px; height: 36px; }

.why-card h3 {
  margin: 0;
  font-weight: 600;
  font-size: var(--why-title);
  line-height: var(--why-title-lh);
  transition: color 0.3s ease;
}

.why-card p {
  margin: 5px 0 0;
  font-weight: 500;
  font-size: var(--why-body);
  line-height: var(--why-body-lh);
  color: var(--gray);
}

.why-card:hover h3 { color: var(--burgundy); }

/* Finale */

.finale {
  padding-block: var(--finale-y);
  text-align: center;
}

.finale .eyebrow {
  margin: 0;
  color: var(--gray);
  font-weight: 600;
  font-size: var(--label);
  line-height: var(--label-lh);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.finale h2 {
  margin: var(--head-gap) auto 40px;
  max-width: var(--lead-w);
  font-weight: 400;
  font-size: var(--lead);
  line-height: var(--lead-lh);
}

/* Footer */

.footer {
  width: 100%;
  background: var(--ink);
  color: #fff;
  padding: 60px var(--pad) 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--col-gap);
  align-items: stretch;
  min-height: 150px;
}

.footer-brand {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-meta p {
  margin: 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}

.footer-version { opacity: 0.1; }
.footer-copy { opacity: 0.7; }

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a.is-muted { opacity: 0.7; }

.footer-links a:hover { text-decoration: underline; }

.footer-logo { display: block; line-height: 0; }

/* Legal */

.page:has(.policy) > .site-header,
.page:has(.company) > .site-header { padding-top: var(--legal-top); }

.legal { padding-top: var(--legal-gap); padding-bottom: var(--legal-top); }
.policy,
.company { padding-top: var(--legal-top); }
.company h2 { color: var(--burgundy); }

.doc {
  display: flex;
  flex-direction: column;
  gap: var(--legal-gap);
}

.company .doc {
  width: min(700px, 100%);
  margin-inline: auto;
}

.doc-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company .doc-block { gap: 10px; }
.company dl { display: contents; }

.legal h1 { margin: 0; font-weight: 400; font-size: var(--legal-title); line-height: var(--legal-title-lh); }
.legal .date { margin: 0; color: var(--gray); font-weight: 500; font-size: var(--legal-date); line-height: var(--legal-date-lh); }
.legal h2 { margin: 0; font-weight: 400; font-size: var(--legal-section); line-height: var(--legal-section-lh); }
.legal p, .legal li { font-size: var(--legal-body); line-height: var(--legal-body-lh); }
.legal p { margin: 0; }
.legal ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal li { position: relative; padding-left: 1.15em; }
.legal li::before { content: "—"; position: absolute; left: 0; }
.legal a { color: var(--burgundy); }

.fact { display: flex; flex-direction: column; margin: 0; }
.fact dt { margin: 0; color: var(--gray); font-weight: 500; font-size: var(--legal-date); line-height: var(--legal-date-lh); }
.fact dd { margin: 0; font-size: var(--legal-body); line-height: var(--legal-body-lh); }
.company .fact a { color: var(--ink); }

.to-top {
  position: fixed;
  z-index: 25;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transition: background 300ms ease-in-out;
}

.to-top:hover { background: var(--burgundy); }
.to-top[hidden] { display: none; }

/* Cookie */

.cookie {
  position: fixed;
  z-index: 30;
  left: 24px;
  bottom: 24px;
  width: min(480px, calc(100vw - 48px));
  padding: 24px;
  border-radius: 2px;
  background: var(--line);
  box-shadow: 0 12px 40px rgba(53, 54, 56, 0.12);
}

.cookie[hidden] { display: none; }

.cookie h2 {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}

.cookie p {
  margin: 16px 0 0;
  font-size: var(--body);
  line-height: var(--body-lh);
}

.cookie a { color: var(--burgundy); }

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}

/* Lightbox */

body.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(53, 54, 56, 0.72);
}

.lightbox[hidden] { display: none; }

.lightbox-frame {
  display: grid;
  grid-template-rows: 30fr 500fr;
  width: min(1400px, calc(100% - 48px), calc((100vh - 80px) * 840 / 530));
  aspect-ratio: 840 / 530;
  max-height: calc(100vh - 80px);
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.lightbox-frame img {
  cursor: pointer;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav { top: 50%; margin-top: -20px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-close:hover,
.lightbox-nav:hover { color: var(--burgundy); }

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
}

@media (max-width: 1439px) {
  :root {
    --pad: 50px;
    --section-y: 50px;
    --block-gap: 40px;
    --hero-h: 800px;
    --hero-y: -28px;
    --hero-w: 1658px;
    --hero-ih: 828px;
    --h1: 54px;
    --h1-lh: 54px;
    --h1-ls: -2px;
    --hero-lead: 24px;
    --hero-lead-lh: 28px;
    --offer-title: 20px;
    --offer-title-lh: 24px;
    --why-title: 20px;
    --why-title-lh: 24px;
    --hero-lead-w: 550px;
    --lead: 32px;
    --lead-lh: 38px;
    --lead-w: 777px;
    --quote-y: 200px;
    --finale-y: 140px;
    --caption: 20px;
    --caption-lh: 24px;
    --col-gap: 30px;
    --legal-title: 32px;
    --legal-title-lh: 38px;
    --legal-section: 24px;
    --legal-section-lh: 28px;
    --legal-top: 50px;
    --legal-gap: 30px;
    --nav: 20px;
    --nav-lh: 24px;
    --exp-gap: 30px;
    --a7-gap: 30px;
    --a7-title: 24px;
    --a7-title-lh: 28px;
    --stat: 240px;
    --stat-label: 20px;
    --stat-label-lh: 24px;
  }
}

@media (max-width: 1279px) {
  :root {
    --pad: 40px;
    --hero-h: 750px;
    --hero-y: 50px;
    --hero-w: 1402px;
    --hero-ih: 700px;
    --h1: 54px;
    --h1-lh: 54px;
    --hero-lead: 22px;
    --hero-lead-lh: 26px;
    --hero-lead-w: 500px;
    --lead: 30px;
    --lead-lh: 36px;
    --lead-w: 623px;
    --quote-y: 180px;
    --finale-y: 100px;
    --caption: 18px;
    --caption-lh: 22px;
    --nav: 18px;
    --nav-lh: 22px;
    --col-gap: 20px;
    --offer-title: 18px;
    --offer-title-lh: 22px;
    --why-title: 18px;
    --why-title-lh: 22px;
    --legal-title: 30px;
    --legal-title-lh: 36px;
    --legal-section: 22px;
    --legal-section-lh: 26px;
    --legal-gap: 20px;
    --exp-gap: 20px;
    --a7-title: 22px;
    --a7-title-lh: 26px;
    --svc-gap: 10px;
    --stat: 180px;
    --stat-label: 18px;
    --stat-label-lh: 22px;
  }
}

@media (max-width: 1023px) {
  :root {
    --pad: 30px;
    --hero-h: 600px;
    --hero-y: 28px;
    --hero-w: 1146px;
    --hero-ih: 572px;
    --h1: 48px;
    --h1-lh: 42px;
    --hero-lead: 20px;
    --hero-lead-lh: 22px;
    --offer-title: 16px;
    --offer-title-lh: 18px;
    --why-title: 16px;
    --why-title-lh: 18px;
    --hero-lead-w: 450px;
    --lead: 26px;
    --lead-lh: 32px;
    --lead-w: 620px;
    --label: 18px;
    --label-lh: 18px;
    --quote-y: 160px;
    --finale-y: 80px;
    --caption: 16px;
    --caption-lh: 18px;
    --nav: 16px;
    --nav-lh: 18px;
    --col-gap: 15px;
    --legal-title: 26px;
    --legal-title-lh: 32px;
    --legal-section: 20px;
    --legal-section-lh: 22px;
    --legal-body: 18px;
    --legal-body-lh: 22px;
    --legal-gap: 15px;
    --legal-date: 16px;
    --legal-date-lh: 15px;
    --exp-gap: 15px;
    --a7-title: 20px;
    --a7-title-lh: 22px;
    --a7-body: 18px;
    --a7-body-lh: 22px;
    --body: 18px;
    --body-lh: 22px;
    --offer-body: 16px;
    --offer-body-lh: 15px;
    --why-body: 16px;
    --why-body-lh: 15px;
    --stat: 120px;
    --stat-label: 14px;
    --stat-label-lh: 16px;
  }
}

@media (max-width: 767px) {
  :root {
    --pad: 15px;
    --section-y: 50px;
    --block-gap: 30px;
    --head-gap: 10px;
    --hero-h: 800px;
    --hero-x: -244px;
    --hero-y: 156px;
    --hero-w: 1319px;
    --hero-ih: 659px;
    --h1: 32px;
    --h1-lh: 30px;
    --h1-ls: -1.1px;
    --hero-lead: 20px;
    --hero-lead-lh: 26px;
    --hero-lead-w: 100%;
    --lead: 24px;
    --lead-lh: 26px;
    --lead-w: none;
    --label: 18px;
    --label-lh: 18px;
    --quote-y: 120px;
    --finale-y: 50px;
    --caption: 14px;
    --caption-lh: 16px;
    --col-gap: 12px;
    --card-title: 22px;
    --card-title-lh: 24px;
    --offer-title: 14px;
    --offer-title-lh: 16px;
    --offer-pad: 16px 4px;
    --why-title: 14px;
    --why-title-lh: 16px;
    --header-top: 20px;
    --offer-body: 16px;
    --offer-body-lh: 16px;
    --why-body: 16px;
    --why-body-lh: 16px;
    --legal-body: 18px;
    --legal-body-lh: 22px;
    --legal-date: 16px;
    --legal-date-lh: 16px;
    --a7-body: 18px;
    --a7-body-lh: 22px;
    --body-lh: 22px;
    --why-gap: 30px;
    --stat: 64px;
    --stat-label: 11px;
    --stat-label-lh: 13px;
    --legal-title: 24px;
    --legal-title-lh: 26px;
    --legal-section: 20px;
    --legal-section-lh: 26px;
    --legal-gap: 10px;
    --svc-gap: 10px;
    --svc-pad: 8px;
    --exp-gap: 10px;
    --a7-gap: 20px;
    --a7-title: 20px;
    --a7-title-lh: 26px;
    --hero-align: center;
  }

  .site-header { justify-content: space-between; }
  .site-header .btn,
  .site-nav { display: none; }
  .nav-toggle,
  .nav-close { display: flex; }

  .footer { padding: 20px var(--pad); }

  .btn-hero,
  .btn-a7-mobile { display: inline-flex; }

  .btn:not(.btn-ghost),
  .btn-face { width: 100%; }

  .cookie-actions { flex-direction: column; }
  .cookie .btn,
  .cookie .btn-ghost { width: 100%; }

  .expertise-grid,
  .why-grid { grid-template-columns: 1fr; }

  .exp-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .exp-grid > :nth-child(1) { grid-area: 1 / 1; }
  .exp-grid > :nth-child(2) { grid-area: 1 / 2; }
  .exp-grid > :nth-child(3) { grid-area: 2 / 1; }
  .exp-grid > :nth-child(4) { grid-area: 2 / 2; }
  .exp-grid > :nth-child(5) { grid-area: 3 / 1; }
  .exp-grid > :nth-child(6) { grid-area: 3 / 2; }
  .exp-grid > :nth-child(7) { grid-area: 4 / 1; }
  .exp-grid > :nth-child(8) { grid-area: 5 / 2; }
  .exp-grid > :nth-child(9) { grid-area: 4 / 2; }
  .exp-grid > :nth-child(10) { grid-area: 5 / 1; }

  .offer { min-height: 210px; }

  .quote,
  .finale { text-align: left; }

  .quote-kicker,
  .quote p:not(.quote-kicker),
  .finale h2 {
    margin-left: 0;
    margin-right: 0;
  }

  .product-stage { grid-template-columns: 1fr; gap: 20px; }
  .browser { grid-column: auto; pointer-events: none; cursor: default; }
  .product-copy { height: auto; }
  .product-copy > div { display: flex; flex-direction: column; gap: 10px; }
  .product-copy p { margin-top: 0; }
  .product-copy .btn { display: none; }
  .company h1 { color: var(--burgundy); }
  .btn-a7-mobile { margin-top: 30px; }

  .build-head {
    flex-direction: column;
    align-items: stretch;
    gap: var(--head-gap);
  }

  .build-note {
    width: 100%;
    text-align: left;
  }

  .build-grid { grid-template-columns: 1fr; }
  .svc-list { grid-column: auto; }
  .build-visual { display: none; }

  .why-card { min-height: 159px; }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    min-height: 0;
  }

  .footer-brand { display: contents; }
  .footer-logo { order: 1; }
  .footer-links {
    order: 2;
    min-height: 0;
    justify-content: flex-start;
    gap: 8px;
  }
  .footer-links a:nth-child(5) { margin-top: 24px; }
  .footer-meta { order: 3; }
  .footer-copy { order: 1; }
  .footer-version { order: 2; }

  .why-card:hover h3 { color: inherit; }
  .xcard:hover { border-color: var(--line); }
  .xcard:hover h3 { color: inherit; }
  .xcard:hover .xcard-bg { filter: grayscale(1); }
  .offer:hover h3 { color: inherit; }
  .offer:hover img { opacity: 0; }
  .svc:hover h3 { color: inherit; }
  .svc:hover p { color: var(--gray); }
  .svc-icon,
  .svc:hover .svc-icon { filter: var(--svc-burgundy); }
  .btn:hover .btn-face,
  .btn:focus-visible .btn-face { transform: none; }
  .btn:hover .btn-face-alt,
  .btn:focus-visible .btn-face-alt { transform: translateY(100%); }
  .footer-links a:hover { text-decoration: none; }
  .to-top { right: 15px; bottom: 15px; }
  .to-top:hover { background: var(--ink); }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .product-copy .btn-face { padding: 16px 15px; }
}

@media (min-width: 1440px) {
  .section,
  .experience,
  .quote,
  .finale,
  .legal {
    padding-inline: max(80px, calc((100% - 1280px) / 2));
  }

  .hero-copy {
    width: 1280px;
    max-width: calc(100% - 160px);
    margin-inline: auto;
    padding-inline: 0;
  }
}

@media (min-width: 1920px) {
  :root {
    --hero-x: 488px;
    --hero-y: -298px;
    --hero-w: 2298px;
    --hero-ih: 1148px;
  }
}
