/* Vektor Systems — one stylesheet for both pages. */

/* ---------- Fonts: Inter self-hosted, split Latin/Cyrillic per weight ---------- */

@font-face {
  font-family: Inter;
  src: url("/fonts/inter-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+1E9E, U+2000-206F, U+20A0-20BF, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-regular-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0180-024F, U+1E9E, U+2000-206F, U+20A0-20BF, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/inter-medium-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-04FF, U+2116;
}

/* ---------- Brand ---------- */

:root {
  --navy:   #0D1B2A;
  --blue:   #0D5E8C;
  --grey:   #5A6672;
  --ground: #F5F6F8;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main, header, footer {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

header { padding-top: 40px; }

p { margin: 0 0 1.4em; }

a { color: var(--blue); }
a:hover { color: var(--navy); }

a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

/* ---------- Skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ground);
  color: var(--blue);
  padding: 8px 12px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  z-index: 1;
}

/* ---------- Wordmark ---------- */

.wordmark {
  display: inline-flex;
  flex-direction: column;
  font-variant-ligatures: none;
  line-height: 1;
}
.wordmark-name {
  display: block;
  font-size: 34px;
  font-weight: 500;
  line-height: 25px;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--navy);
}
.wm-tor { color: var(--blue); }
.wordmark-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 9px;
  letter-spacing: 13.28px;
  margin-top: 1.8px;
  margin-right: -13.28px;
  white-space: nowrap;
  color: var(--grey);
}

h1 { margin: 0; font-size: inherit; font-weight: inherit; }

.wordmark-link {
  display: inline-block;
  text-decoration: none;
}

/* ---------- index ---------- */

.lede {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  margin: 72px 0 40px;
}

.closing {
  font-weight: 500;
  margin: 64px 0 0;
}

.portrait-figure {
  margin: 128px 0 0;
}

.portrait-link {
  display: inline-block;
  line-height: 0;
}

.portrait {
  display: block;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.portrait-name {
  margin: 12px 0 0;
  color: var(--navy);
}

footer { padding-top: 72px; padding-bottom: 48px; }

.footer-line {
  margin: 0;
  color: var(--grey);
  font-size: 16px;
}

/* ---------- founder ---------- */

.founder-portrait {
  width: 360px;
  margin-top: 56px;
}

.founder-h1 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  margin: 40px 0 32px;
}

.founder-closing {
  font-weight: 500;
  margin: 64px 0 0;
  padding-bottom: 96px;
}

/* ---------- Motion ---------- */

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

/* ---------- Print ---------- */

@media print {
  html, body { background: #fff; color: #000; }
  a { color: #000; }
  .skip { display: none; }
}
