:root {
  color-scheme: light;
  --dark: #101c33;
  --paper: #f4f7fc;
  --white: #ffffff;
  --accent: #a4c5ff;
  --accent-strong: #2f65df;
  --accent-soft: #e3edff;
  --accent-ink: #19396e;
  --muted: #475672;
  --hero-muted: #cbd9ef;
  --line: #dbe4f3;
  --grid: #2d436b;
  --tile: #1d3760;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .8rem; background: var(--accent); color: var(--accent-ink); }
.skip:focus { transform: none; }

.header, .hero { background: var(--dark); color: var(--white); }
.header { border-bottom: 1px solid var(--grid); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.language-link { color: var(--accent); font-size: .9rem; font-weight: 650; text-decoration: none; }
.language-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.65rem; font-weight: 850; letter-spacing: .045em; line-height: 1; text-decoration: none; }
.mark { position: relative; display: block; flex: none; width: 25px; aspect-ratio: 1; color: var(--white); }
.mark i { position: absolute; width: 46%; height: 46%; background: currentColor; }
.mark i:nth-child(2) { right: 0; background: var(--accent-strong); }
.mark i:nth-child(3) { right: 0; bottom: 0; }
footer a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 75px); padding-block: 84px 93px; }
h1 { font-size: clamp(2.65rem, 4.65vw, 4.65rem); font-weight: 400; line-height: 1.13; letter-spacing: -.02em; }
h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-copy p { max-width: 32rem; margin-top: 23px; color: var(--hero-muted); line-height: 1.65; font-size: 1.08rem; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.33;
  border: 1px solid var(--grid);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 10% 12.5%;
  background-position: -1px -1px;
}
.art-guide, .art-mark { position: absolute; }
.art-guide { width: 20%; height: 25%; border: 1px solid var(--grid); }
.art-guide-top { top: 0; right: 0; background: var(--tile); }
.art-guide-bottom { bottom: 0; left: 0; background: linear-gradient(135deg, transparent 49.5%, var(--grid) 50%, transparent 50.5%); }
.art-mark { width: 57%; color: var(--tile); }
.art-mark i { border: 1px solid var(--grid); }
.art-mark i:nth-child(1) { border-color: var(--hero-muted); background: transparent; }
.art-mark i:nth-child(2) { border-color: var(--accent); }
.art-mark i:nth-child(3) { border-color: var(--grid); }

.services { padding-block: 76px 84px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.service { padding: clamp(20px, 2.4vw, 31px); border: 1px solid var(--line); background: var(--white); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 23px; background: var(--accent-soft); color: var(--accent-ink); font-size: 1.35rem; line-height: 1; }
.service h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.025em; }
.service p { margin-top: 9px; color: var(--muted); line-height: 1.6; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 2rem; padding-block: 27px; font-size: .88rem; line-height: 1.6; }
.footer-inner strong { color: var(--dark); }
.footer-inner address { font-style: normal; }
.footer-email { color: var(--accent-ink); text-underline-offset: .25em; }
.footer-ip { margin-top: .35rem; }
.footer-ip code { margin-inline-start: .3em; overflow-wrap: anywhere; }
.footer-identifiers { display: flex; flex-wrap: wrap; gap: .25rem 1.15rem; margin: 0 0 .25rem; }
.footer-identifiers div { display: flex; gap: .4rem; }
.footer-identifiers dt { color: var(--dark); font-weight: 650; }
.footer-identifiers dd { margin: 0; }
.footer-top { margin-left: auto; text-decoration: none; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { padding-block: 67px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; }
  .hero-inner { grid-template-columns: 1fr; gap: 37px; padding-block: 51px 40px; }
  h1 { font-size: clamp(2.45rem, 8.6vw, 3.9rem); }
  .hero-art { width: min(100%, 440px); aspect-ratio: 1.55; }
  .art-mark { width: 51%; }
  .services { padding-block: 51px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-top { margin-left: 0; }
}
