:root {
  color-scheme: light;
  --ink: #151b2e;
  --muted: #505a70;
  --blue: #304fd8;
  --blue-hover: #213ab2;
  --soft-blue: #eff2ff;
  --paper: #f5f7fc;
  --line: #dce2ee;
  --navy: #141d37;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.55 var(--sans); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #5374ff; outline-offset: 5px; }
.wrap { width: min(1220px, calc(100% - 104px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 12px 20px; transform: translateY(-140%); background: #fff; }
.skip:focus { transform: translateY(0); }

.header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: inline-flex; flex: none; align-items: center; gap: 11px; width: fit-content; }
.brand-mark { position: relative; overflow: hidden; display: block; flex: none; width: 39px; height: 36px; background: #fff; }
.brand-mark img { position: absolute; width: 46px; max-width: none; height: auto; left: -4px; top: -2px; }
.brand-name { display: block; font-size: 15px; line-height: 1.12; font-weight: 750; letter-spacing: -.025em; }
.brand-name span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); letter-spacing: .015em; font-weight: 650; }
.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); font-size: 14px; font-weight: 650; }
.nav a:not(.nav-contact):hover, .back-link:hover { color: var(--blue); }
.nav-contact { display: inline-flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 15px; }
.nav-contact:hover { color: var(--blue); background: var(--soft-blue); border-color: #cbd5ff; }
.nav-contact .icon { width: 16px; height: 16px; }
.menu-button { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-weight: 650; cursor: pointer; }
.menu-button span { display: inline-block; width: 14px; height: 9px; border-block: 1.5px solid currentColor; }
.menu-button[aria-expanded="true"] span { height: 2px; border-bottom: 0; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); align-items: center; padding-block: 78px 64px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue); font: 700 12px/1.45 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: currentColor; }
.hero h1 { margin-top: 23px; font-size: clamp(52px, 6.5vw, 100px); line-height: .99; letter-spacing: -.073em; font-weight: 750; }
.hero h1 em { color: var(--blue); display: block; font-style: normal; }
.hero-lede { max-width: 500px; margin-top: 25px; font-size: clamp(17px, 1.65vw, 20px); color: var(--muted); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 19px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 51px; padding: 12px 18px; border-radius: 8px; font-weight: 700; font-size: 14px; line-height: 1.35; transition: background-color .18s, color .18s, border-color .18s; }
.button .icon { width: 17px; height: 17px; }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 4px 9px #304fd826; }
.button-primary:hover { background: var(--blue-hover); }
.button-text { color: var(--ink); padding-inline: 4px; }
.button-text:hover { color: var(--blue); }
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 56px; border-top: 1px solid var(--line); color: #46526d; font: 650 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .055em; }
.hero-foot span { display: flex; align-items: center; gap: 9px; }
.hero-foot .icon { width: 15px; height: 15px; color: var(--blue); }
.hero-foot i { width: 4px; height: 4px; background: #7986a5; border-radius: 50%; }

.blueprint { overflow: hidden; background: var(--navy); color: #fff; border: 1px solid #28375c; border-radius: 17px; box-shadow: 0 24px 53px -26px #142352a6; }
.blueprint-head, .blueprint figcaption { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; color: #aebcdb; font: 650 11px/1.4 var(--mono); letter-spacing: .06em; }
.blueprint-head { border-bottom: 1px solid #334166; text-transform: uppercase; }
.blueprint-head span:first-child { display: flex; align-items: center; gap: 8px; }
.diagram-dot { width: 7px; height: 7px; background: #96acff; border-radius: 50%; box-shadow: 0 0 11px #96acff8a; }
.blueprint-body { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 362px; padding: 25px 18px 34px; background: radial-gradient(ellipse at 50% 52%, #293e7977, transparent 75%), linear-gradient(90deg, #a2b6ff14 1px, transparent 1px), linear-gradient(#a2b6ff14 1px, transparent 1px); background-size: auto, 23px 23px, 23px 23px; background-position: center; }
.diagram-label { margin-bottom: 18px; color: #adbbda; font: 600 10px/1.4 var(--mono); letter-spacing: .085em; text-align: center; }
.flow-node { display: flex; justify-content: flex-start; align-items: center; gap: 10px; min-height: 60px; min-width: 0; padding: 9px 13px; border: 1px solid #40547d; border-radius: 9px; background: #1c2947; font-size: 14px; font-weight: 700; line-height: 1.3; }
.flow-node small { display: block; margin-top: 3px; color: #b9c6e2; font-size: 11px; font-weight: 500; }
.flow-input { width: min(100%, 218px); }
.flow-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; color: #bbcbff; border: 1px solid #4a5e89; border-radius: 6px; background: #29385c; }
.flow-icon .icon { width: 16px; height: 16px; }
.flow-core { width: min(100%, 255px); min-height: 68px; border-color: #829aff; background: #2f4ac0; box-shadow: 0 0 24px #4b6aff4d; }
.flow-core small { color: #edf1ff; }
.flow-core .flow-icon { background: #ffffff23; color: #fff; border-color: #ffffff50; }
.flow-line, .flow-branch span { height: 25px; width: 1px; background: #8ca5ff; }
.flow-branch { position: relative; display: flex; justify-content: center; width: min(100%, 314px); height: 35px; }
.flow-branch span { height: 18px; }
.flow-branch::after { position: absolute; content: ""; width: 51.2%; height: 17px; left: 24.4%; bottom: 0; border: 1px solid #8ca5ff; border-bottom: 0; border-radius: 7px 7px 0 0; }
.flow-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; width: min(100%, 314px); }
.flow-results .flow-node { justify-content: center; gap: 8px; min-height: 49px; padding: 6px 8px; font-size: 12px; }
.flow-results .flow-icon { width: 26px; height: 26px; }
.flow-results .flow-icon .icon { width: 14px; height: 14px; }
.blueprint figcaption { border-top: 1px solid #334166; }

.section { padding-block: 93px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 24px; align-items: end; margin-bottom: 33px; }
h2 { margin-top: 13px; font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.058em; font-weight: 750; }
.section-head > p { max-width: 380px; padding-bottom: 4px; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service { min-height: 211px; padding: 22px 24px 25px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(140deg, #fff, #fafbff); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.service-top .icon { width: 41px; height: 41px; padding: 9px; border: 1px solid #dce4ff; border-radius: 9px; color: var(--blue); background: var(--soft-blue); }
.service-top span, .example-number, .steps li > span { color: #566680; font: 650 12px/1.4 var(--mono); letter-spacing: .055em; }
h3 { font-size: 20px; font-weight: 750; line-height: 1.23; letter-spacing: -.028em; }
.service p, .steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.solutions { background: #141d37; color: #fff; }
.solutions-inner { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 8vw, 116px); }
.solutions .eyebrow { color: #a9baff; }
.solution-intro p:not(.eyebrow) { margin-top: 22px; color: #c4cee7; max-width: 460px; font-size: 17px; }
.example-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #39476a; }
.example-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; border-bottom: 1px solid #39476a; padding-block: 17px 19px; }
.example-number { color: #a9baff; padding-top: 3px; }
.example-list p { color: #c4cee7; margin-top: 5px; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 24px 20px 0 0; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 35px; background: var(--blue); }
.steps li > span { color: var(--blue); }
.steps h3 { margin-top: 12px; }

.contact { background: #304fd8; color: #fff; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 29px; padding-block: 61px; }
.contact .eyebrow { color: #fff; }
.contact h2 { font-size: clamp(34px, 4.6vw, 60px); }
.contact-inner > div > p:not(.eyebrow) { color: #f0f3ff; font-size: 17px; margin-top: 12px; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #ffffff60; border-radius: 8px; font-size: 15px; font-weight: 700; }

.footer { background: #fff; }
.footer-main { display: grid; grid-template-columns: .94fr 1.35fr auto; gap: 25px; padding-block: 36px; }
.footer-main p, .footer-main address { font-size: 13px; color: var(--muted); font-style: normal; }
.footer-brand p { margin-top: 9px; }
.footer-details strong { color: var(--ink); }
.footer-details address { margin-block: 4px; }
.footer-links { display: grid; align-content: start; gap: 8px; font-size: 13px; font-weight: 650; }
.footer-links a { display: inline-flex; align-items: center; gap: 4px; }
.footer-links .icon { width: 13px; height: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom small { font-size: inherit; }
.footer a:hover { color: var(--blue); }

.back-link { color: var(--blue); font-size: 14px; font-weight: 650; }
.legal { max-width: 795px; padding-block: 60px 100px; }
.legal h1 { margin: 12px 0 26px; font-size: clamp(38px, 6.1vw, 65px); line-height: 1.04; letter-spacing: -.055em; }
.legal h2 { margin-top: 28px; font-size: 25px; letter-spacing: -.026em; }
.legal p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 70px); }
  .hero-inner { gap: 27px; padding-block: 60px 51px; }
  .section { padding-block: 72px; }
  .hero h1 { font-size: clamp(49px, 7.3vw, 78px); }
  .blueprint-body { min-height: 338px; padding-block: 20px 24px; }
  .service { padding: 19px 18px 22px; }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 46px); }
  .hero-inner { grid-template-columns: 1fr; gap: 35px; }
  .hero-content { max-width: 670px; }
  .hero h1 { font-size: clamp(52px, 10vw, 78px); }
  .blueprint { max-width: 600px; width: 100%; }
  .blueprint-body { min-height: 322px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions-inner { gap: 30px; }
}

@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; gap: 0 14px; min-height: 67px; padding-block: 10px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 12px 21px; padding-block: 14px 5px; }
  .nav-contact { padding: 6px 9px; }
  .hero-inner { padding-block: 42px 30px; }
  .hero h1 { margin-top: 17px; font-size: clamp(42px, 10.8vw, 69px); }
  .hero-lede { margin-top: 18px; }
  .actions { margin-top: 23px; }
  .hero-foot { min-height: 45px; font-size: 10px; }
  .hero-foot span:nth-child(2) { display: none; }
  .section { padding-block: 54px; }
  .section-head, .solutions-inner { grid-template-columns: 1fr; }
  .section-head { gap: 11px; margin-bottom: 24px; }
  .desktop-break { display: none; }
  .service-grid { gap: 11px; }
  .service { min-height: auto; }
  .service-top { margin-bottom: 12px; }
  .contact-inner { grid-template-columns: 1fr; padding-block: 48px; gap: 21px; }
  .contact-email { justify-self: start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 20px 0; border-top: 0; }
  .steps li { border-top: 1px solid var(--line); }
}

@media (max-width: 430px) {
  .wrap { width: calc(100% - 36px); }
  .blueprint-head, .blueprint figcaption { padding-inline: 13px; }
  .blueprint-body { padding-inline: 12px; }
  .flow-results .flow-node { font-size: 11px; }
  .service-grid, .footer-main { grid-template-columns: 1fr; }
  .footer-main { gap: 16px; }
  .footer-links { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
