html { scroll-padding-top: 96px; }

.dev-hero { padding-block: 32px; background: #fff; }
.dev-hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 32px; }
.dev-hero-copy { min-width: 0; }
.dev-hero h1 { max-width: 650px; margin-bottom: 18px; font-size: var(--fs-h1); line-height: 1.2; font-weight: 800; }
.dev-hero-copy > p { max-width: 635px; margin-bottom: 24px; font-size: var(--fs-lead); line-height: 1.75; }
.dev-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.dev-hero-art { width: min(100%, 450px); max-height: 320px; object-fit: contain; justify-self: end; }

.dev-scope { background: #f5f9ff; }
.dev-scope h2 { margin-bottom: 14px; }
.dev-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dev-scope-item { min-width: 0; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.dev-scope-item:nth-child(n+4) { border-bottom: 0; }
.dev-scope-item:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.dev-scope-item:nth-child(3n+1) { padding-left: 0; }
.dev-scope-item:nth-child(3n) { padding-right: 0; }
.dev-scope-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.dev-scope-head img { width: 32px; height: 32px; flex: 0 0 32px; }
.dev-scope-head h3 { margin: 0; font-size: 20px; }
.dev-scope-item p { margin: 0; font-size: var(--fs-body); line-height: 1.65; }
.dev-scope-item .dev-scope-examples { margin-top: 8px; color: var(--body); font-size: 14px; }

.dev-process { background: #fff; }
.dev-process h2 { margin-bottom: 28px; font-size: 32px; }
.dev-process h2, .dev-delivery h2 { text-wrap: balance; }
.dev-process-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.dev-process-list li { position: relative; min-width: 0; padding: 0 12px; text-align: center; }
.dev-process-list li::before { content: ""; position: absolute; top: 23px; left: 0; right: 0; height: 1px; background: var(--line); }
.dev-process-list li:first-child::before { left: 50%; }
.dev-process-list li:last-child::before { right: 50%; }
.dev-process-number { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border: 1px solid #9fc8fb; border-radius: 50%; background: #f5f9ff; color: var(--blue); font-size: 22px; font-weight: 800; }
.dev-process-list img { width: 34px; height: 34px; margin: 0 auto 10px; }
.dev-process-list h3 { min-height: 2.6em; margin: 0 0 7px; font-size: 18px; font-weight: 800; }
.dev-process-list p { margin: 0; font-size: var(--fs-small); line-height: 1.55; }

.dev-delivery { background: #f5f9ff; }
.dev-delivery h2 { margin-bottom: 8px; }
.dev-delivery-lead { margin-bottom: 23px; font-size: var(--fs-lead); }
.dev-delivery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.dev-delivery-grid li { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 0 20px; }
.dev-delivery-grid li:first-child { padding-left: 0; }
.dev-delivery-grid li + li { border-left: 1px solid var(--line); }
.dev-delivery-grid img { width: 34px; height: 34px; flex: 0 0 34px; }
.dev-delivery-grid h3 { margin: 0; font-size: 18px; }
.dev-delivery-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid var(--line); font-size: var(--fs-small); text-align: center; }

.dev-faq { background: #fff; }
.dev-faq h2 { margin-bottom: 20px; }
.dev-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dev-faq-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; min-width: 0; padding: 18px 28px 18px 0; border-bottom: 1px solid var(--line); }
.dev-faq-item:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.dev-faq-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
.dev-faq-item > span { color: var(--blue); font-size: 22px; font-weight: 700; line-height: 1.25; }
.dev-faq-item h3 { margin-bottom: 8px; font-size: 18px; }
.dev-faq-item p { margin: 0; font-size: var(--fs-body); }

.dev-contact { background: #f5f9ff; }
.dev-contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); align-items: center; gap: 40px; }
.dev-contact h2 { margin-bottom: 10px; }
.dev-contact-layout > div:first-child > p { max-width: 750px; margin: 0; font-size: var(--fs-lead); }
.dev-contact-actions { justify-self: end; }
.dev-contact-actions .button { min-width: 300px; border-radius: 30px; }
.dev-contact-actions p { margin: 17px 0 0; font-size: var(--fs-body); text-align: center; white-space: nowrap; }
.dev-contact-actions a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }

@media (max-width: 1249px) {
  .dev-scope-item { padding-inline: 18px; }
  .dev-scope-head { gap: 10px; }
  .dev-scope-head h3 { font-size: 20px; }
  .dev-process-list li { padding-inline: 8px; }
  .dev-process-list h3 { font-size: 17px; }
  .dev-delivery-grid li { gap: 10px; padding-inline: 12px; }
}

@media (max-width: 1049px) {
  .dev-hero-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; }
  .dev-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-scope-item, .dev-scope-item:nth-child(n+4) { min-height: 0; border-bottom: 1px solid var(--line); }
  .dev-scope-item:nth-child(n+5) { border-bottom: 0; }
  .dev-scope-item:not(:nth-child(3n+1)) { border-left: 0; }
  .dev-scope-item:nth-child(even) { border-left: 1px solid var(--line); }
  .dev-scope-item:nth-child(3n+1), .dev-scope-item:nth-child(3n) { padding-inline: 18px; }
  .dev-scope-item:nth-child(odd) { padding-left: 0; }
  .dev-scope-item:nth-child(even) { padding-right: 0; }
  .dev-process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .dev-process-list li::before { display: none; }
  .dev-delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-delivery-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .dev-delivery-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .dev-faq-item h3 { font-size: 18px; }
  .dev-contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .dev-contact-actions { justify-self: start; }
}

@media (max-width: 767px) {
  .dev-hero { padding-block: 32px; }
  .dev-hero-layout { grid-template-columns: 1fr; }
  .dev-hero h1 { font-size: clamp(30px, 8.2vw, 36px); }
  .dev-process h2 { font-size: 28px; }
  .dev-hero-copy > p, .dev-delivery-lead, .dev-contact-layout > div:first-child > p { font-size: var(--fs-body); }
  .dev-hero-actions { display: grid; }
  .dev-hero-actions .button { width: 100%; justify-content: space-between; white-space: normal; }
  .dev-hero-art { display: none; }
  .dev-scope-grid { grid-template-columns: 1fr; }
  .dev-scope-item, .dev-scope-item:nth-child(n+4), .dev-scope-item:nth-child(n+5), .dev-scope-item:nth-child(even), .dev-scope-item:nth-child(odd), .dev-scope-item:nth-child(3n+1), .dev-scope-item:nth-child(3n) { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .dev-scope-item:last-child { border-bottom: 0; }
  .dev-scope-head { margin-bottom: 8px; }
  .dev-scope-head img { width: 32px; height: 32px; flex-basis: 32px; }
  .dev-scope-head h3 { font-size: 20px; }
  .dev-scope-item p { font-size: var(--fs-small); }
  .dev-process-list { display: block; border-left: 1px solid var(--line); margin-left: 24px; }
  .dev-process-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; margin-left: -24px; padding: 0 0 24px; text-align: left; }
  .dev-process-list li:last-child { padding-bottom: 0; }
  .dev-process-number { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; }
  .dev-process-list img { display: none; }
  .dev-process-list h3 { min-height: 0; margin: 2px 0 3px; font-size: 18px; }
  .dev-process-list p { grid-column: 2; }
  .dev-delivery-grid li { min-height: 76px; }
  .dev-delivery-grid h3 { font-size: 16px; }
  .dev-delivery-grid img { width: 32px; height: 32px; flex-basis: 32px; }
  .dev-faq-grid { grid-template-columns: 1fr; }
  .dev-faq-item, .dev-faq-item:nth-child(even), .dev-faq-item:last-child { grid-column: auto; grid-template-columns: 42px minmax(0, 1fr); gap: 6px; padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .dev-faq-item:last-child { border-bottom: 0; }
  .dev-faq-item > span { font-size: 23px; }
  .dev-faq-item h3 { font-size: 18px; }
  .dev-faq-item p { font-size: var(--fs-small); }
  .dev-contact-actions { justify-self: stretch; }
  .dev-contact-actions .button { width: 100%; min-width: 0; justify-content: space-between; }
  .dev-contact-actions p { white-space: normal; font-size: var(--fs-small); }
}

@media (max-width: 390px) {
  .dev-delivery-grid { grid-template-columns: 1fr; }
  .dev-delivery-grid li, .dev-delivery-grid li:nth-child(3) { padding: 14px 0; border-left: 0; border-top: 1px solid var(--line); }
  .dev-delivery-grid li:first-child { border-top: 0; }
}
