@font-face {
  font-family: "DM Sans";
  src: url("visual/dm-sans-variable.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #101820;
  --muted: #495866;
  --blue: #164cc5;
  --blue-dark: #0d399d;
  --sky: #f1f6fe;
  --line: #dbe3ef;
  --paper: #fff;
  --radius: 18px;
  font: 400 16px/1.5 "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(2.65rem, 5.1vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.064em;
  font-weight: 720;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  line-height: 1.07;
  letter-spacing: -.055em;
  font-weight: 700;
}
h3 { line-height: 1.15; letter-spacing: -.035em; }
.wrap { width: min(1264px, calc(100% - 104px)); margin-inline: auto; }
.prose { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.section-spaced { padding-block: clamp(54px, 7vw, 108px); }
.skip { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 10px; background: white; }
.skip:focus { top: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
.button:hover, .submit-button:hover { background: var(--blue-dark); }
.button svg, .card-body strong svg { width: 17px; height: 17px; flex: none; }
.text-link, .line-link, .crumb, .card-link { color: var(--blue); font-weight: 650; }
.text-link:hover, .line-link:hover, .crumb:hover { text-decoration: underline; text-underline-offset: 5px; }
.arrow { display: inline-block; font-size: 1.15em; line-height: 1; }
.text-link .arrow { margin-left: 5px; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-row { display: flex; align-items: center; gap: 30px; min-height: 76px; }
.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 9px;
  font-size: 1.39rem;
  font-weight: 740;
  letter-spacing: -.07em;
  white-space: nowrap;
}
.brand b {
  display: grid;
  place-items: center;
  height: 38px;
  min-width: 44px;
  padding-inline: 5px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 1.48rem;
  letter-spacing: -.095em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.1vw, 45px);
  margin-left: auto;
  font-size: .97rem;
  font-weight: 650;
}
.site-nav > a, .solutions-menu summary { display: flex; align-items: center; min-height: 46px; }
.site-nav > a:hover, .solutions-menu summary:hover, .solutions-menu[open] summary, .site-nav [aria-current] { color: var(--blue); }
.header-contact { margin-left: 6px; white-space: nowrap; }
.menu-trigger, .site-nav .mobile-contact { display: none; }
.solutions-menu summary { gap: 10px; }
.chevron {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.solutions-menu[open] .chevron { transform: translateY(2px) rotate(225deg); }
.mega {
  position: absolute;
  inset: 100% 0 auto;
  overflow: auto;
  max-height: calc(100dvh - 77px);
  background: var(--paper);
  border-block: 1px solid var(--line);
  box-shadow: 0 18px 32px #132e5614;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px 38px;
  padding-block: 30px 24px;
}
.mega-group {
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, var(--sky), var(--paper) 74%);
}
.mega-group h2, .site-footer h2 { font-size: .98rem; letter-spacing: -.015em; }
.mega-group h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-group ul, .site-footer ul { list-style: none; padding: 0; margin: 10px 0 0; }
.mega-group a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 34px;
  padding: 4px 0;
  font-weight: 510;
}
.mega-group a::before {
  content: "";
  width: 11px;
  height: 1px;
  flex: none;
  background: var(--blue);
}
.mega-group a:hover { color: var(--blue); text-decoration: underline; }
.mega-all { grid-column: 1 / -1; justify-self: end; }

.hero {
  padding-block: clamp(44px, 4.5vw, 68px) clamp(23px, 3vw, 40px);
  background: radial-gradient(ellipse at 89% 10%, #eaf2ff 0%, #f7faff 36%, #fff 77%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(30px, 5.3vw, 86px);
}
.hero h1, .hero h2 {
  max-width: 560px;
  font-size: clamp(2.65rem, 5.1vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -.064em;
  font-weight: 720;
  text-wrap: wrap;
}
.hero em { color: var(--blue); font-style: normal; }
.hero p, .detail-grid p, .page-intro p, .story-top .prose > p:last-child {
  max-width: 51ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.27rem);
  line-height: 1.55;
  margin-top: 20px;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.hero-visual {
  isolation: isolate;
  position: relative;
  margin: 0 12px 12px 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: -1;
  border: 1px solid #c2d3f0;
  border-radius: 23px;
  background: linear-gradient(140deg, #fff, #e7f0fe);
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.36;
  object-fit: cover;
  object-position: 60% center;
  border-radius: 23px;
}

.hero-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px 16px;
  margin-top: 18px;
}
.hero-options, .hero-arrows { display: flex; flex-wrap: wrap; gap: 3px 10px; }
.hero-toolbar button {
  min-height: 38px;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 650;
}
.hero-toolbar button:hover, .hero-toolbar button[aria-current="true"] { border-color: var(--line); color: var(--blue); background: white; }
.hero-arrows { flex: none; }
.hero-arrows button { width: 38px; border-color: var(--line); border-radius: 50%; padding: 0; font-size: 1.13rem; }
.visually-hidden {
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
}
.trust { border-bottom: 1px solid var(--line); padding: 13px 0 26px; }
.trust-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; }
.trust-heading h2 { font-size: .95rem; letter-spacing: 0; }
.trust-heading .text-link { font-size: .91rem; }
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
}
.trust-logos img {
  width: 100%;
  height: clamp(32px, 4.2vw, 58px);
  object-fit: contain;
  max-width: 140px;
  filter: grayscale(1);
  opacity: .72;
}

.catalog { padding-top: clamp(46px, 5.6vw, 82px); }
.section-heading { margin-bottom: clamp(22px, 3vw, 40px); }
.section-heading p { margin-top: 9px; color: var(--muted); font-size: 1.1rem; }
.section-heading--split { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 24px; }
.section-heading--split > a { margin-bottom: 3px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.1vw, 29px); }
.service-card, .article-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 4px 12px #203d6208;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-card:hover, .article-card:hover, .service-card:focus-visible, .article-card:focus-visible {
  border-color: #a2b8e0;
  box-shadow: 0 12px 26px #18386b15;
  transform: translateY(-3px);
}
.service-card img, .card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.15;
  object-fit: cover;
  background: var(--sky);
}
.service-content, .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2vw, 29px);
}
.service-content h3, .card-body h3 { font-size: clamp(1.25rem, 2vw, 1.67rem); }
.service-content p, .card-body p { color: var(--muted); margin: 8px 0 21px; }
.card-link, .card-body strong { display: flex; align-items: center; gap: 9px; margin-top: auto; font-size: .93rem; color: var(--blue); }
.journal { padding-block: clamp(48px, 6.5vw, 92px); background: #f6f9fe; border-block: 1px solid var(--line); }
.card-photo span { display: block; margin: 18px clamp(18px, 2vw, 29px) 0; color: var(--blue); font-size: .83rem; font-weight: 670; }
.card-body { padding-top: 9px; }

.page-intro, .detail, .story-top {
  padding-block: clamp(46px, 6.7vw, 100px);
  background: radial-gradient(ellipse at 85% 15%, #eaf2ff, #fafcff 65%);
}
.page-intro.blog-intro { padding-bottom: 0; }
.journal.blog-library { padding-top: clamp(16px, 2vw, 28px); }
.page-intro h1, .detail h1, .story-top h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.detail-grid, .detail-content, .contact-grid { display: grid; align-items: center; gap: clamp(30px, 6vw, 88px); }
.detail-grid { grid-template-columns: .94fr 1.06fr; }
.detail-grid .button { margin-top: 24px; }
.detail-grid .kicker, .kicker { color: var(--blue); font-size: .93rem; font-weight: 670; margin: 22px 0 8px; }
.detail-image { width: 100%; height: auto; border-radius: var(--radius); }
.detail-content { grid-template-columns: minmax(220px, .8fr) 1.2fr; align-items: start; }
.detail-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sky);
  padding: clamp(19px, 3.3vw, 40px);
}
.detail-panel h2 { font-size: 1.5rem; letter-spacing: -.035em; }
.detail-panel ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.detail-panel li + li { margin-top: 9px; }
.detail-panel li::marker { color: var(--blue); }
.detail-prose { max-width: 68ch; }
.crumb { display: inline-block; font-size: .94rem; }
.story-top .crumb { margin-bottom: 4px; }
.story-image { width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.reading { padding-block: clamp(38px, 5vw, 70px); font-size: 1.04rem; line-height: 1.7; }
.reading h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); margin-bottom: 10px; letter-spacing: -.04em; }
.reading p { color: var(--muted); margin-bottom: 18px; }
.reading p + h2 { margin-top: 28px; }
.reading .button { margin-top: 8px; }
.page-intro .button, .page-intro .line-link { margin-top: 18px; }

.client-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.client-card {
  display: grid;
  place-items: center;
  grid-template-rows: 1fr auto;
  gap: 5px;
  padding: 15px 12px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  text-align: center;
}
.client-card div { min-width: 0; display: grid; place-items: center; align-self: center; }
.client-card img { width: 100%; height: 58px; object-fit: contain; }
.client-card small { color: var(--muted); }
a.client-card:hover { border-color: var(--blue); }

.contact-section { background: radial-gradient(ellipse at 24% 24%, #ebf3ff, #fff 66%); }
.contact-grid { grid-template-columns: .84fr 1.16fr; align-items: start; }
.contact-copy { padding-top: clamp(12px, 3vw, 40px); }
.contact-copy p { max-width: 36ch; margin-top: 14px; color: var(--muted); font-size: 1.13rem; }
.contact-copy a { display: inline-block; margin-top: 20px; overflow-wrap: anywhere; }
.contact-form {
  position: relative;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 32px #18386b0d;
}
.form-heading { margin-bottom: 21px; }
.form-heading h3 { font-size: clamp(1.35rem, 2.2vw, 1.95rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid label { display: grid; gap: 6px; font-size: .88rem; font-weight: 650; }
.full-field { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #afbdd0;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 420;
}
.form-grid textarea { resize: vertical; }
.form-grid .consent { display: flex; align-items: flex-start; font-weight: 470; }
.form-grid .consent input { width: 17px; height: 17px; min-height: 0; flex: none; accent-color: var(--blue); }
.consent a, .recaptcha-note a { color: var(--blue); text-decoration: underline; }
.hu-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { display: flex; width: 100%; justify-content: space-between; margin-top: 17px; gap: 10px; }
.submit-button:disabled { opacity: .65; cursor: progress; }
.recaptcha-note, .form-status { font-size: .8rem; margin-top: 13px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status.is-error { font-weight: 700; color: var(--ink); }
.grecaptcha-badge { visibility: hidden; }
.hu-confirmation-open { overflow: hidden; }
.contact-confirmation { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 20px; }
.confirmation-backdrop { position: absolute; inset: 0; border: 0; background: #11182788; }
.confirmation-card {
  position: relative;
  width: min(440px, 100%);
  background: white;
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: 0 16px 50px #0002;
}
.confirmation-timer, .confirmation-kicker { font-size: .85rem; color: var(--muted); }
.confirmation-kicker { margin: 16px 0 7px; }
.confirmation-card h2 { font-size: 2rem; margin-bottom: 10px; }
.confirmation-close { margin-top: 20px; }

.site-footer { border-top: 1px solid var(--line); background: #f5f8fe; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr .65fr; gap: 24px; padding-block: 44px 35px; }
.footer-brand p { color: var(--muted); margin: 13px 0 6px; }
.footer-grid li + li { margin-top: 6px; }
.footer-grid nav a, .footer-brand p, .footer-brand > a:not(.brand), .footer-bottom { font-size: .88rem; }
.site-footer a:hover:not(.brand) { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer-brand > a:not(.brand) { overflow-wrap: anywhere; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  color: var(--muted);
}
.footer-bottom small { font-size: inherit; }

.contact-widget { position: fixed; z-index: 18; right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); }
.contact-widget summary {
  width: 51px;
  height: 51px;
  border: 1px solid #cbd9ef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: auto;
  background: white;
  color: var(--blue);
  box-shadow: 0 8px 23px #18386b24;
}
.contact-widget summary:hover, .contact-widget[open] summary { border-color: var(--blue); }
.widget-icon {
  position: relative;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 20px;
  border: 1.8px solid currentColor;
  border-radius: 7px;
}
.widget-icon::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 4px;
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 1.8px 1.8px;
  transform: skewY(-30deg);
  background: white;
}
.widget-icon i { width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; }
.widget-close, .contact-widget[open] .widget-icon { display: none; }
.contact-widget[open] .widget-close { display: block; font-size: 1.7rem; line-height: 1; }
.widget-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 44px));
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 12px 32px #18386b26;
}
.widget-panel h2 { font-size: 1.25rem; letter-spacing: -.03em; }
.widget-panel p { margin: 8px 0 14px; color: var(--muted); font-size: .93rem; }
.widget-panel a { display: flex; justify-content: space-between; }
.widget-panel .text-link { padding: 10px 2px 2px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 64px); }
  .header-row { gap: 18px; }
  .site-nav { gap: 18px; }
  .mega-grid { gap: 18px; }
  .mega-group { padding-inline: 15px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 64px; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .header-contact { display: none; }
  .site-nav .mobile-contact { display: flex; }
  .site-nav { order: 1; flex-basis: 100%; margin: 0; flex-wrap: wrap; gap: 0 18px; }
  .site-header[data-ready] .menu-trigger {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: white;
    font-weight: 650;
  }
  .site-header[data-ready] .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 65px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 7px 20px 13px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px #18386b16;
  }
  .site-header[data-ready] .menu-trigger[aria-expanded="false"] + .site-nav { display: none; }
  .site-nav > a, .solutions-menu summary { min-height: 45px; }
  .site-header[data-ready] .site-nav > a { border-top: 1px solid var(--line); }
  .mega { max-height: calc(100dvh - 112px); }
  .site-header[data-ready] .mega { position: static; max-height: none; border: 0; box-shadow: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 10px; padding-block: 5px 12px; }
  .site-header[data-ready] .mega-grid { width: 100%; }
  .mega-group { padding: 13px; }
  .mega-group a { min-height: 39px; }
  .mega-all { justify-self: start; }
  .hero { padding-top: 36px; }
  .hero-grid, .detail-grid, .detail-content, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 25px; }
  .hero h1, .hero h2 { max-width: 15ch; }
  .hero p, .detail-grid p, .page-intro p, .story-top .prose > p:last-child { margin-top: 13px; }
  .hero-actions { margin-top: 19px; }
  .hero-visual { margin-right: 8px; margin-bottom: 8px; }
  .hero-visual::before { inset: 8px -8px -8px 8px; }
  .hero-visual img { aspect-ratio: 1.48; }
  .hero-visual::before, .hero-visual img { border-radius: 17px; }
  .trust { padding-top: 0; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 18px; }
  .trust-logos img { height: 39px; max-width: 90px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 16px; }
  .footer-bottom { padding-right: 55px; }
}

@media (max-width: 505px) {
  .hero-actions { gap: 12px 16px; }
  .hero-actions a { font-size: .9rem; }
  .hero-actions .button { gap: 10px; padding-inline: 13px; }
  .hero-toolbar { gap: 8px; }
  .hero-toolbar button { padding-inline: 7px; }
  .hero-arrows button { width: 33px; min-height: 33px; }
  .hero-options, .hero-arrows { gap: 2px 4px; }
  .trust-heading { align-items: start; flex-wrap: wrap; }
  .card-grid, .form-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-widget { right: max(15px, env(safe-area-inset-right)); bottom: max(15px, env(safe-area-inset-bottom)); }
}

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