@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark light;
  --bg: #071820;
  --surface: #0a2230;
  --line: #1c4a5c;
  --text: #e8f6f1;
  --muted: #9dbdb4;
  --accent: #62d3ae;
  --btn-bg: #62d3ae;
  --btn-ink: #04201a;
  --btn-bg-hover: #84e0c2;
  --glow: rgba(98, 211, 174, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f8f6;
    --surface: #ffffff;
    --line: #cbddd7;
    --text: #0a2230;
    --muted: #46606a;
    --accent: #067a55;
    --btn-bg: #0a2230;
    --btn-ink: #e8f6f1;
    --btn-bg-hover: #16485c;
    --glow: rgba(10, 34, 48, .22);
  }
}

* { box-sizing: border-box; }
html { scrollbar-color: var(--line) transparent; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "tnum" 0;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -64px; padding: 10px 14px; background: var(--btn-bg); color: var(--btn-ink); border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

.top, main, .foot { width: min(1080px, 100% - 32px); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand img { border-radius: 10px; }
.langs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; }
.langs button { appearance: none; border: 0; background: transparent; color: var(--muted); font: 700 .8125rem/1 "Manrope", system-ui, sans-serif; letter-spacing: .04em; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.langs button:hover { color: var(--text); }
.langs button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 40px; padding: 56px 0 72px; }
h1 { margin: 0; font-size: clamp(2.3rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.lead { max-width: 34em; margin: 22px 0 0; font-size: 1.1875rem; color: var(--muted); text-wrap: pretty; }
.get { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.btn { display: flex; flex-direction: column; justify-content: center; min-width: 138px; min-height: 56px; padding: 8px 20px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-ink); text-decoration: none; line-height: 1.2; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn b { font-weight: 800; font-size: 1rem; }
.btn small { font-size: .8125rem; font-weight: 600; opacity: .8; }
.btn:not([aria-disabled="true"]) { cursor: pointer; }
.btn:not([aria-disabled="true"]):hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn[aria-disabled="true"] { background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: default; }
.btn[aria-disabled="true"] small { opacity: 1; }
.fine { margin: 20px 0 0; font-size: .9375rem; color: var(--muted); max-width: 40em; }

.hero-mark { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: 1; }
.hero-mark img { position: relative; display: block; width: 100%; height: auto; border-radius: 26%; box-shadow: 0 36px 70px -24px var(--glow), 0 2px 0 rgba(255, 255, 255, .04) inset; }

/* features */
.features { padding: 24px 0 56px; border-top: 1px solid var(--line); }
h2 { margin: 40px 0 0; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.rows { margin: 28px 0 0; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
dt { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.01em; }
dd { margin: 0; color: var(--muted); max-width: 38em; text-wrap: pretty; }
.features .fine { margin-top: 20px; }

/* trust */
.trust { padding: 8px 0 72px; }
.trust p { max-width: 38em; margin: 16px 0 0; color: var(--muted); text-wrap: pretty; }
.more { color: var(--accent); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

.foot { padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-underline-offset: 4px; }
.foot nav a:hover, .more:hover { color: var(--text); }
.foot p { margin: 14px 0 0; max-width: 44em; }

/* one authored moment: the mark arrives */
@media (prefers-reduced-motion: no-preference) {
  .hero-mark img { animation: arrive 900ms var(--ease) both; }
}
@keyframes arrive { from { transform: translateX(-36px) scale(.96); opacity: 0; } }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 48px; }
  .hero-mark { order: -1; width: 132px; justify-self: start; margin-left: 28px; }
  .row { grid-template-columns: 1fr; padding: 18px 0; }
  .btn { min-width: 0; flex: 1 1 140px; }
}
