/*
 * Временная заглушка spon.to до запуска (ветка main). Оформление — по DESIGN.md:
 * серые токены из src/app/globals.css, шрифты Geist и Geist Mono со своего домена.
 */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-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: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-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;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-mono-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: "Geist Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/geist-mono-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 {
  --bg: #ffffff;
  --bg-muted: #f5f4f3;
  --fg: #121212;
  --fg-secondary: #4f4f4e;
  --line: #e0e0e0;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: 20px;
  color-scheme: light;
}
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

header {
  border-bottom: 1px solid var(--line);
}
header .wrap {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.wordmark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.langs {
  margin-left: auto;
  display: flex;
  gap: 2px;
  font-size: 14px;
}
.langs a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--fg-secondary);
  font-weight: 500;
  text-decoration: none;
}
.langs a[aria-current="page"] {
  color: var(--fg);
  background: var(--bg-muted);
}

main {
  flex: 1;
  display: flex;
}
main .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-block: 48px 64px;
}
@media (min-width: 1024px) {
  main .wrap {
    padding-block: 80px 96px;
  }
}

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-secondary);
}
.mono {
  font-family: var(--font-mono);
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
@media (min-width: 1024px) {
  h1 {
    font-size: 64px;
  }
}

.lead {
  margin: 0;
  max-width: 36rem;
  font-size: 18px;
  color: var(--fg-secondary);
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.facts b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

footer {
  border-top: 1px solid var(--line);
}
footer .wrap {
  padding-block: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  font-size: 14px;
  color: var(--fg-secondary);
}
footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
