:root {
  color-scheme: light;
  --ink: #233a60;
  --ink-strong: #172a47;
  --muted: #4d6079;
  --accent: #3f64a7;
  --accent-hover: #2e518f;
  --white: #fff;
  --canvas: #f5f8fc;
  --line: #d7e1ef;
  --shell: 1250px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink-strong); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { width: min(var(--shell), calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 83px; }
section[id] { scroll-margin-top: 24px; }
.skip-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 12px;
  background: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}
.brand { justify-self: start; padding-block: 5px; }
.brand img { width: 186px; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a, .footer-inner a { font-size: 14px; font-weight: 600; }
.nav a:hover, .footer-inner a:hover { color: var(--accent); }
.button {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  padding: 0 19px;
  gap: 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s, color .18s, border-color .18s;
}
.button span, .text-link span, .contact-link span { flex: none; font-size: 17px; }
.arrow-up { position: relative; display: inline-block; width: 13px; height: 13px; }
.arrow-up::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.arrow-up::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 1px;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}
.button-outline { color: var(--ink); border-color: #b5c6dd; background: transparent; }
.button-outline:hover { background: #e7effa; border-color: var(--accent); }
.button-primary { background: var(--accent); color: var(--white); }
.button-primary:hover { background: var(--accent-hover); }
.header-cta { justify-self: end; min-height: 43px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1.19fr);
  gap: clamp(34px, 5vw, 73px);
  align-items: center;
  padding-top: 48px;
  padding-bottom: 55px;
}
.hero-copy { padding-block: 24px 43px; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  max-width: 620px;
  font-size: clamp(44px, 4.6vw, 71px);
  line-height: 1.01;
  font-weight: 750;
  letter-spacing: -.066em;
}
h1 span { display: block; color: var(--accent); }
.hero-lead {
  max-width: 465px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.63;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px 23px; align-items: center; margin-top: 28px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 650; }
.text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.hero-figure img, .process-figure img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #e4ebf4;
}
.hero-figure img { aspect-ratio: 1.37; object-position: 62% center; }
figcaption { margin-top: 9px; color: var(--muted); text-align: right; font-size: 12px; line-height: 1.4; }
.services { border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 32px;
}
h2 { font-size: clamp(33px, 4vw, 53px); font-weight: 700; line-height: 1.08; letter-spacing: -.05em; }
.section-head p, .service p, .steps p, .portfolio p, .faq-list p { color: var(--muted); font-size: 16px; line-height: 1.63; }
.section-head p { max-width: 400px; justify-self: end; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service {
  padding: 27px 25px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 7px;
}
h3 { font-size: 21px; line-height: 1.24; font-weight: 700; letter-spacing: -.027em; }
.service p, .steps p { margin-top: 10px; }
.process-section { background: #eaf1fa; }
.process-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 7vw, 112px); align-items: center; }
.process-figure img { aspect-ratio: .98; object-position: 52% center; }
.steps { list-style: none; padding: 0; margin-top: 28px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding-block: 14px;
  border-top: 1px solid #c7d7eb;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  margin-top: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}
.steps p { margin-top: 5px; }
.portfolio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
.portfolio h2 { font-size: 22px; letter-spacing: -.025em; }
.portfolio p { margin-top: 5px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 36px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-block: 19px;
  cursor: pointer;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 23px; line-height: .9; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { padding: 0 28px 18px 0; }
.contact { background: var(--ink-strong); color: var(--white); padding-block: 75px; }
.contact-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(32px, 7vw, 100px); }
.contact-copy p { margin-top: 18px; max-width: 410px; color: #d5e2f6; font-size: 17px; line-height: 1.65; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--white);
  font-size: 15px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.contact-link:focus-visible { outline-color: #a8c5fa; }
.brief {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink-strong);
}
.field-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 15px; }
.brief label { display: block; font-size: 14px; font-weight: 650; line-height: 1.45; }
.optional { margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 400; }
.brief input, .brief select, .brief textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  margin-top: 7px;
  padding: 10px 11px;
  border: 1px solid #b9c9de;
  border-radius: 5px;
  background: #f8fbff;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 400;
}
.brief textarea { resize: vertical; }
.brief ::placeholder { color: #576b85; opacity: 1; }
.form-status { color: var(--ink); font-size: 14px; line-height: 1.55; }
.site-footer { color: var(--muted); }
.footer-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-size: 13px; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 34px; }
  .nav { gap: 23px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .hero-copy { padding-block: 0 5px; }
  .hero-lead { max-width: 580px; }
  .hero-figure img { aspect-ratio: 1.6; }
  .section { padding-block: 60px; }
  .process-grid { grid-template-columns: .8fr 1.2fr; gap: 27px; }
  .process-figure img { aspect-ratio: .78; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .brief { padding: 20px; }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 6px 12px; min-height: 0; padding-block: 10px 11px; }
  .brand img { width: 156px; }
  .header-cta { min-height: 36px; padding-inline: 11px; gap: 6px; font-size: 12px; }
  .header-cta span { font-size: 14px; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 23px; }
  .nav a { min-height: 31px; display: inline-flex; align-items: center; font-size: 13px; }
  .hero { padding-bottom: 36px; }
  h1 { font-size: clamp(41px, 9.5vw, 64px); }
  .hero-lead { margin-top: 17px; }
  .actions { margin-top: 22px; }
  .section { padding-block: 47px; }
  .section-head, .services-grid, .process-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 10px; margin-bottom: 24px; }
  .section-head p { justify-self: start; }
  .service { padding: 20px; }
  .process-copy { grid-row: 1; }
  .process-figure img { aspect-ratio: 1.47; object-position: center 55%; }
  .faq-grid { gap: 23px; }
  .portfolio { align-items: flex-start; flex-direction: column; gap: 15px; }
  .contact { padding-block: 51px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 32px); }
  .brand img { width: 140px; }
  .actions { gap: 15px; }
  .field-grid { grid-template-columns: 1fr; }
  .brief { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
