@font-face {
  font-family: "Montserrat Redesign";
  src: url("../../assets/fonts/landing/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Redesign";
  src: url("../../assets/fonts/landing/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Redesign";
  src: url("../../assets/fonts/landing/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Redesign";
  src: url("../../assets/fonts/landing/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

.rd {
  --rd-white: #fff;
  --rd-paper: #faf9ff;
  --rd-ink: #1f1932;
  --rd-body: #433a55;
  --rd-muted: #61566f;
  --rd-primary: #5436c5;
  --rd-lavender: #f0eaff;
  --rd-rule: #e4dcf1;
  --rd-gutter: clamp(1rem, 5vw, 3rem);
  font: 400 1rem/1.6 "Montserrat Redesign", sans-serif;
  color: var(--rd-ink);
  background: var(--rd-paper);
}

.rd :where(main, main *, header, header *, footer, footer *) { box-sizing: border-box; }
.rd :where(p, h1, h2, h3, dl, dd, figure) { margin: 0; }
.rd :where(main, header, footer) a { color: inherit; }
.rd :where(main, header, footer) a:focus-visible,
.rd .rd-skip:focus-visible {
  outline: 2px solid var(--rd-primary);
  outline-offset: 4px;
  border-radius: 3px;
}
.rd .rd-skip {
  position: fixed;
  z-index: 120;
  top: .75rem;
  left: 1rem;
  padding: .65rem 1rem;
  transform: translateY(-180%);
  background: var(--rd-white);
}
.rd .rd-skip:focus { transform: none; }
.rd .rd-wrap { width: min(100% - var(--rd-gutter) * 2, 73.75rem); margin-inline: auto; }
.rd .rd-header { border-bottom: 1px solid var(--rd-rule); }
.rd .rd-header-inner {
  min-height: 4.35rem;
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4rem);
}
.rd .rd-logo { width: 97px; flex: 0 0 97px; }
.rd .rd-logo img { display: block; width: 97px; height: auto; }
.rd .rd-site-nav { display: flex; gap: clamp(.75rem, 3vw, 2rem); }
.rd :is(.rd-site-nav a, .rd-header-contact, .rd-footer a) { font-size: .875rem; font-weight: 600; }
.rd .rd-header-contact { margin-inline-start: auto; color: var(--rd-primary); }
.rd :is(.rd-site-nav a, .rd-header-contact, .rd-footer a, .rd-crumb a):hover { text-decoration: underline; }
.rd .rd-crumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .15rem .6rem;
  padding-block: 1.2rem;
  font-size: .875rem;
  color: var(--rd-muted);
}
.rd .rd-crumb [aria-current] { color: var(--rd-ink); }

.rd .rd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4.3vw, 5rem);
  padding-block: clamp(1.5rem, 4.3vw, 4.25rem) 0;
}
.rd .rd-kicker {
  color: var(--rd-primary);
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 700;
}
.rd .rd-hero h1 {
  margin-block: .8rem 1.35rem;
  color: var(--rd-ink);
  font-size: clamp(2.15rem, 5.5vw, 5.1rem);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.074em;
}
.rd .rd-line { display: block; }
/* Montserrat starts Р, м and п to the right of the visible edge of the kicker's Д. */
.rd .rd-h1-r { margin-inline-start: calc(.09375rem - .098em); }
.rd :is(.rd-h1-m, .rd-h1-p) { margin-inline-start: calc(.09375rem - .083em); }
.rd .rd-h1-p { color: var(--rd-primary); }
.rd .rd-hero-lead {
  margin-block-end: 1.65rem;
  font-size: clamp(1rem, 1.44vw, 1.28rem);
  line-height: 1.43;
  color: var(--rd-body);
  font-weight: 500;
  letter-spacing: -.022em;
}
.rd .rd-note { margin-top: .7rem; color: var(--rd-muted); font-size: .875rem; line-height: 1.45; }
.rd .rd-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.35rem;
  max-width: 100%;
  padding: .7rem 1.45rem;
  border-radius: .65rem;
  background: var(--rd-primary);
  color: var(--rd-white);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.rd .rd-button:hover { background: #4228a5; }

.rd .rd-hero-art {
  grid-area: 1 / 2;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  gap: clamp(1.4rem, 2.7vw, 2.65rem);
  margin: 0;
  padding: clamp(1rem, 3.2vw, 2.7rem);
  min-height: 30.5rem;
  border: 1px solid #4d3d76;
  border-radius: 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 80% 83%, #493080 0, transparent 62%),
    linear-gradient(#ffffff10 1px, transparent 1px),
    linear-gradient(90deg, #ffffff10 1px, transparent 1px),
    #241b40;
  background-size: auto, 25px 25px, 25px 25px, auto;
  box-shadow: 0 1.15rem 2.6rem #34216527;
}
.rd .rd-art-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .2rem .75rem;
  font-size: .875rem;
  font-weight: 700;
}
.rd .rd-art-caption span + span { color: #e0d1ff; font-weight: 500; }
.rd .rd-route { display: grid; justify-items: center; gap: 1.5rem; }
.rd .rd-route-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  width: min(100%, 14rem);
  min-height: 3.8rem;
  padding: .63rem .9rem;
  border: 1px solid #efeaff;
  border-radius: .65rem;
  background: #fbf8ff;
  color: #291d46;
  font-weight: 700;
  font-size: .9375rem;
}
.rd .rd-route-node::after {
  content: "";
  position: absolute;
  inset: 100% auto auto calc(50% - .5px);
  width: 1px;
  height: calc(1.5rem + 2px);
  background: #b39adf;
}
.rd .rd-route-icon {
  display: grid;
  position: relative;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: .45rem;
  background: #ede3ff;
  color: #5436c5;
}
.rd .rd-route-icon::before,
.rd .rd-route-icon::after { content: ""; position: absolute; }
.rd .rd-icon-calendar::before { width: 13px; height: 12px; border: 1.5px solid; border-radius: 2px; }
.rd .rd-icon-calendar::after { width: 12px; top: 13px; border-top: 1.5px solid; }
.rd .rd-icon-lock::before { width: 11px; height: 8px; bottom: 9px; border: 1.5px solid; border-radius: 2px; }
.rd .rd-icon-lock::after { width: 7px; height: 6px; top: 8px; border: 1.5px solid; border-bottom: 0; border-radius: 5px 5px 0 0; }
.rd .rd-branch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.45rem, 2vw, 1.15rem);
  width: 100%;
  padding-top: .9rem;
}
.rd .rd-branch::before {
  content: "";
  position: absolute;
  inset: 0 25% 0 25%;
  height: 1.3rem;
  border: 1px solid #b39adf;
  border-bottom: 0;
  border-radius: .45rem .45rem 0 0;
}
.rd .rd-branch-item {
  position: relative;
  display: grid;
  align-content: center;
  gap: .2rem;
  min-height: 6.4rem;
  padding: .7rem clamp(.62rem, 1.4vw, 1.2rem);
  border: 1px solid #8b78b3;
  border-radius: .65rem;
  line-height: 1.26;
  background: #382951;
  color: #fff;
}
.rd .rd-branch-item span { color: #e4d7ff; font-size: .875rem; font-weight: 500; }
.rd .rd-branch-item strong { font-size: clamp(.83rem, 1.17vw, 1.06rem); }
.rd .rd-branch-new { border-color: #d7c6ff; background: #e3d4ff; color: #281b4b; }
.rd .rd-branch-new span { color: #58339d; }
.rd .rd-art-insight {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  max-width: 28rem;
  color: #f0e8ff;
  font-size: .875rem;
  line-height: 1.52;
}
.rd .rd-art-insight span { flex: 0 0 .36rem; height: .36rem; border-radius: 50%; background: #d8b1ff; }

.rd .rd-local-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem clamp(1rem, 4vw, 2.9rem);
  padding-block: 1.05rem;
  border-block: 1px solid var(--rd-rule);
  color: var(--rd-primary);
}
.rd .rd-local-nav a,
.rd .rd-case-copy a,
.rd .rd-text-link,
.rd .rd-answers a {
  color: var(--rd-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #9987cd;
  text-underline-offset: .23em;
}
.rd .rd-local-nav a { font-size: .875rem; }
.rd .rd-section { padding-block: clamp(3rem, 7.5vw, 6.6rem); }
.rd .rd-section-heading { max-width: 50rem; }
.rd :is(.rd-section-heading, .rd-final) h2 {
  margin-block: .6rem .9rem;
  font-size: clamp(1.8rem, 3.8vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.07;
}
.rd .rd-section-heading p:not(.rd-kicker) { max-width: 43rem; color: var(--rd-body); }
.rd .rd-section-heading p + p { margin-top: .65rem; }
.rd .rd-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 2.8vw, 2.1rem);
  margin-top: 2rem;
}
.rd .rd-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rd-rule);
  border-radius: 1.25rem;
  background: var(--rd-white);
}
.rd .rd-case-image { position: relative; display: block; aspect-ratio: 1.55; background: #eee5fb; }
.rd .rd-case:nth-child(2) .rd-case-image { background: #e5efff; }
.rd .rd-case-image:focus-visible { outline-offset: -5px; }
.rd .rd-case-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: .35rem; object-fit: contain; }
.rd .rd-case-copy { display: grid; flex: 1; align-content: start; gap: .45rem; padding: clamp(1rem, 2.8vw, 2rem); }
.rd .rd-case-copy p { color: var(--rd-body); }
.rd :is(.rd-case-copy, .rd-work-list, .rd-estimate-detail) h3 {
  font-size: clamp(1.125rem, 1.85vw, 1.44rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.rd .rd-work-band { background: #eee9fa; }
.rd :is(.rd-work-grid, .rd-example, .rd-estimate, .rd-faq) {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  gap: clamp(1.7rem, 6vw, 5.5rem);
}
.rd .rd-work-list { margin: 0; padding: 0; counter-reset: work; list-style: none; }
.rd .rd-work-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1.05rem;
  border-top: 1px solid #cfc2e7;
  padding-block: 1.2rem;
  counter-increment: work;
}
.rd .rd-work-list li:last-child { border-bottom: 1px solid #cfc2e7; }
.rd .rd-work-list li::before {
  content: counter(work, decimal-leading-zero);
  color: var(--rd-primary);
  font-size: 1rem;
  font-weight: 700;
}
.rd .rd-work-list p { margin-top: .35rem; color: var(--rd-body); }
.rd .rd-text-link { display: inline-block; margin-top: .9rem; }

.rd .rd-analysis {
  padding: clamp(1rem, 3.2vw, 2.35rem);
  border: 1px solid var(--rd-rule);
  border-radius: 1rem;
  background: var(--rd-white);
  box-shadow: 0 .9rem 2rem #3421650d;
}
.rd .rd-analysis h3 {
  margin-block: .55rem 1.1rem;
  font-size: clamp(1.35rem, 2.45vw, 2.05rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.052em;
}
.rd .rd-analysis dl > div {
  display: grid;
  grid-template-columns: minmax(0, 8.6rem) minmax(0, 1fr);
  gap: .5rem 1rem;
  padding-block: .7rem;
  border-top: 1px solid var(--rd-rule);
  font-size: .9375rem;
}
.rd .rd-analysis dt { font-weight: 700; }
.rd .rd-analysis dd { color: var(--rd-body); }
.rd .rd-visit-value { margin-top: .35rem; padding-top: .8rem; border-top: 1px solid var(--rd-rule); font-size: .9375rem; }
.rd .rd-analysis-note { margin-top: .65rem; color: var(--rd-muted); font-size: .875rem; }

.rd .rd-estimate-band { border-block: 1px solid var(--rd-rule); background: #f3edff; }
.rd .rd-estimate-detail { border-left: 2px solid #cab8fa; padding-inline-start: clamp(1rem, 3vw, 2.6rem); }
.rd .rd-estimate-detail ul { margin: .7rem 0 .9rem; padding-left: 1.25rem; list-style: disc; }
.rd .rd-estimate-detail li { margin-bottom: .25rem; }
.rd .rd-estimate-detail li::marker { color: var(--rd-primary); }
.rd .rd-estimate-detail p { color: var(--rd-body); }

.rd .rd-answers { border-top: 1px solid var(--rd-rule); }
.rd .rd-answers details { border-bottom: 1px solid var(--rd-rule); }
.rd .rd-answers summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding-block: .95rem;
  min-height: 3rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  line-height: 1.35;
}
.rd .rd-answers summary::-webkit-details-marker { display: none; }
.rd .rd-answers summary::after {
  content: "";
  width: .52rem;
  height: .52rem;
  flex: 0 0 .52rem;
  margin-inline-end: .35rem;
  border-right: 2px solid var(--rd-primary);
  border-bottom: 2px solid var(--rd-primary);
  transform: rotate(45deg) translateY(-25%);
}
.rd .rd-answers details[open] summary::after { transform: rotate(225deg); }
.rd .rd-answers summary:focus-visible { outline: 2px solid var(--rd-primary); outline-offset: -2px; }
.rd .rd-answers p { padding: 0 .5rem 1rem 0; color: var(--rd-body); }

.rd .rd-final-wrap { padding-bottom: 3rem; }
.rd .rd-final {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.75rem);
  padding: clamp(1.25rem, 5vw, 3.9rem);
  border-radius: 1.45rem;
  background: #261c42;
  color: var(--rd-white);
}
.rd .rd-final h2 { margin-top: 0; max-width: 38rem; }
.rd .rd-final p { color: #e3d9f3; }
.rd .rd-final .rd-button { background: #e1d2ff; color: #301e65; }
.rd .rd-final .rd-button:hover { background: #f1e9ff; }
.rd .rd-final a:focus-visible { outline-color: #f4ddff; }
.rd .rd-final ul { margin: .85rem 0 0; padding: 0; list-style: none; }
.rd .rd-final li + li { margin-top: .22rem; }
.rd .rd-final li a { color: #ece2ff; text-decoration: underline; text-underline-offset: .25em; }
.rd .rd-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rd-rule);
  padding-block: 1.3rem 2rem;
  color: var(--rd-muted);
}
.rd .rd-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.rd .rd-footer .cookie-settings-button { position: static; min-height: 2.75rem; box-shadow: none; font-size: .875rem; }
.rd .rd-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.rd .rd-form-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.rd .rd-preview:not([hidden]) { margin-bottom: .5rem; font-size: .875rem; color: var(--rd-muted); }

@media (max-width: 850px) {
  .rd .rd-hero h1 { font-size: clamp(2.23rem, 8.2vw, 4.25rem); }
  .rd .rd-hero { grid-template-columns: 1fr; }
  .rd .rd-hero-art { grid-area: auto; min-height: 0; gap: 1.45rem; max-width: 41rem; }
  .rd .rd-route { width: min(100%, 28rem); margin-inline: auto; }
  .rd :is(.rd-work-grid, .rd-example, .rd-estimate, .rd-faq) { grid-template-columns: 1fr; }
}
@media (max-width: 570px) {
  .rd .rd-header-inner { min-height: 3.55rem; gap: clamp(.45rem, 2.5vw, 1rem); }
  .rd .rd-header .rd-logo { width: clamp(5.25rem, 25vw, 6.0625rem); flex-basis: auto; }
  .rd .rd-header .rd-logo img { width: 100%; }
  .rd .rd-crumb { padding-block: .85rem .35rem; }
  .rd .rd-hero { gap: 1.55rem; }
  .rd .rd-hero-lead { margin-bottom: 1.1rem; }
  .rd .rd-cases,
  .rd .rd-final { grid-template-columns: 1fr; }
  .rd .rd-analysis dl > div { grid-template-columns: 1fr; gap: .1rem; }
  .rd .rd-site-nav { gap: .65rem; }
  .rd .rd-local-nav { gap: .35rem .95rem; padding-block: .6rem; }
  .rd .rd-route { gap: .95rem; }
  .rd .rd-route-node { min-height: 3.1rem; }
  .rd .rd-route-node::after { height: calc(.95rem + 2px); }
  .rd .rd-branch-item { min-height: 5rem; }
  .rd .rd-hero-art { gap: 1rem; }

}
