@font-face {
  font-family: 'IBM Plex Mono';
  src: url('./assets/fonts/ibm-plex-mono-bold-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  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;
}

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

@font-face {
  font-family: 'Manrope';
  src: url('./assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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;
}

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

@font-face {
  font-family: 'Roboto Slab';
  src: url('./assets/fonts/roboto-slab-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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: dark;
  --canvas: #0c0a18;
  --surface: #1b162b;
  --text: #f4eef9;
  --muted: #baaec7;
  --violet: #b94bff;
  --lilac: #ddb9ef;
  --yellow: #ffe14a;
  --ink: #22192d;
  --line: #44384f;
  --gutter: 40px;
  --grid-gap: 32px;
  --section-space: clamp(72px, 8.34vw, 120px);
  font-family: 'Manrope', sans-serif;
  font-synthesis: none;
  background: var(--canvas);
  color: var(--text);
}

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

html {
  scroll-padding-top: 32px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(46px, 4.45vw, 64px);
  line-height: 1.12;
}

h2 {
  font-size: clamp(32px, 3.06vw, 44px);
  line-height: 1.2;
}

h3 {
  font-size: 25px;
  line-height: 1.35;
}

p {
  max-width: 68ch;
}

a {
  color: inherit;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

button,
input,
textarea {
  font: inherit;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--lilac);
  color: var(--canvas);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 6px;
}

.container {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 16px auto auto 16px;
  padding: 12px 20px;
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 48px;
}

.span-6 {
  grid-column: span 6;
  min-width: 0;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.site-header {
  padding-block: 24px;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 31px;
  margin-right: 11px;
}

.brand-bar {
  position: absolute;
  left: 0;
  top: 7px;
  width: 40px;
  height: 8px;
  background: var(--violet);
}

.brand-bar + .brand-bar {
  top: 21px;
  width: 30px;
  background: var(--yellow);
}

.brand-favri {
  color: var(--lilac);
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.brand-cloud {
  margin-left: 8px;
  color: var(--yellow);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  line-height: 1.5;
}

.site-nav a {
  padding-block: 12px;
  color: var(--muted);
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #f4d343;
}

.header-cta {
  min-height: 48px;
  padding: 12px 24px;
  flex-shrink: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--lilac);
  font-size: 16px;
  font-weight: 600;
}

.section {
  padding-block: var(--section-space);
  scroll-margin-top: 24px;
}

.section + .section > .container {
  position: relative;
}

.section + .section > .container::before {
  content: '';
  position: absolute;
  top: calc(var(--section-space) * -1);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.hero {
  padding-top: 68px;
  padding-bottom: 104px;
}

.hero > .grid {
  align-items: center;
}

.hero h1 {
  max-width: none;
}

.lead {
  max-width: 40ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 40px;
}

.hero-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.delivery-flow {
  padding: 32px;
  border-radius: 12px;
  background: var(--surface);
}

.delivery-flow figcaption {
  max-width: 32ch;
  color: var(--lilac);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}

.flow-stages {
  display: grid;
  gap: 30px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.flow-stages > li {
  position: relative;
  min-width: 0;
}

.flow-stages > li + li::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 30px;
  background: var(--lilac);
}

.flow-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--canvas);
  color: var(--text);
  font-weight: 600;
  text-align: center;
}

.flow-cdn .flow-node {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--canvas);
}

.flow-label {
  display: block;
  font-weight: 600;
}

.flow-detail {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.flow-cdn .flow-detail {
  color: var(--canvas);
}

.figure-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section-intro {
  max-width: 65ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

.workload-list,
.process-list {
  margin-top: 48px;
}

.workload {
  padding-top: 24px;
  border-top: 2px solid var(--lilac);
}

.workload p,
.process-list p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading h2 {
  max-width: 18ch;
}

.section-heading > p {
  max-width: 40ch;
  margin-top: 24px;
  color: var(--muted);
}

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

.requirements dt {
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.requirements dd {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.mechanism-copy > p {
  color: var(--muted);
}

.mechanism-copy > p + p {
  margin-top: 28px;
  color: var(--text);
}

.process-list {
  padding: 0;
  list-style: none;
}

.step-number {
  display: block;
  margin-bottom: 24px;
  color: var(--lilac);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 40px 24px 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 22px;
  color: var(--lilac);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details > p {
  padding: 0 32px 24px 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.contact-panel form {
  margin-top: 0;
}

.contact-panel fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.field + .field {
  margin-top: 24px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  opacity: 1;
  color: var(--muted);
}

.field input:disabled,
.field textarea:disabled {
  opacity: 1;
  border-color: var(--line);
  -webkit-text-fill-color: var(--muted);
  cursor: not-allowed;
}

.field-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-panel .button {
  width: 100%;
  margin-top: 28px;
}

.button:disabled,
.button:disabled:hover {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  opacity: 1;
  cursor: not-allowed;
}

.site-footer {
  padding-bottom: 48px;
}

.footer-inner {
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.footer-inner > p {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner > .text-link {
  font-size: 14px;
}

@media (min-width: 1200px) {
  :root {
    --gutter: 80px;
  }
}

@media (max-width: 1099px) {
  .site-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .delivery-flow {
    padding: 24px;
  }

  .flow-detail {
    font-size: 13px;
  }
}

@media (max-width: 899px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .span-6 {
    grid-column: auto;
  }

  .three-column {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(42px, 6.25vw, 56px);
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px 24px;
  }

  .delivery-flow {
    padding: 32px;
  }

  .workload {
    padding-top: 20px;
  }

  .workload p,
  .process-list p {
    max-width: 56ch;
    margin-top: 12px;
  }

  .section-heading h2 {
    max-width: 22ch;
  }

  .process-list > li {
    position: relative;
    padding-left: 56px;
  }

  .step-number {
    position: absolute;
    left: 0;
    top: 7px;
    margin: 0;
  }

  .footer-inner > p {
    margin-left: 0;
  }
}

@media (max-width: 599px) {
  :root {
    --gutter: 24px;
    --section-space: 64px;
  }

  body {
    font-size: 17px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 23px;
  }

  .site-header {
    padding-block: 20px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand-mark {
    width: 32px;
    height: 27px;
    margin-right: 9px;
  }

  .brand-bar {
    top: 6px;
    width: 32px;
    height: 6px;
  }

  .brand-bar + .brand-bar {
    top: 18px;
    width: 24px;
  }

  .brand-favri {
    font-size: 21px;
  }

  .brand-cloud {
    margin-left: 6px;
    font-size: 17px;
  }

  .header-cta {
    display: none;
    min-height: 44px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: 42px;
  }

  .lead {
    margin-top: 24px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .hero-note {
    margin-top: 16px;
  }

  .grid {
    row-gap: 32px;
  }

  .delivery-flow {
    padding: 24px;
    border-radius: 8px;
  }

  .delivery-flow figcaption {
    font-size: 18px;
  }

  .flow-stages {
    margin-top: 24px;
    gap: 24px;
  }

  .flow-stages > li + li::before {
    top: -24px;
    height: 24px;
  }

  .flow-node {
    min-height: 64px;
    padding: 14px 12px;
    font-size: 16px;
  }

  .section-intro {
    margin-top: 20px;
    font-size: 18px;
  }

  .workload-list,
  .process-list {
    margin-top: 32px;
  }

  .requirements {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .requirements dd {
    margin-top: 8px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .faq-list summary {
    padding-block: 20px;
    font-size: 18px;
  }

  .faq-list summary::after {
    top: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 359px) {
  :root {
    --gutter: 20px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-favri {
    font-size: 19px;
  }

  .brand-cloud {
    font-size: 15px;
    margin-left: 5px;
  }

  .brand-mark {
    width: 28px;
    margin-right: 8px;
  }

  .brand-bar {
    width: 28px;
  }

  .brand-bar + .brand-bar {
    width: 21px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .button {
    padding-inline: 16px;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .delivery-flow {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
