/* Self-hosted IBM Plex Sans (matches the app) — latin + cyrillic, weights 400/600/700.
   unicode-range scopes the download: the EN page fetches latin only, the RU page cyrillic only. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-700-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyrillic-700-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

/* trinely landing — cream design tokens (mirrored from the app) + cosmic hero. */
:root {
  --bg: #faf7f0; --panel: #fff; --panel2: #f6f1e7; --fg: #2c2a26;
  --muted: #8a8170; --line: #e7e0d2; --accent: #b07d2b; --accent-soft: #f3e6cc;
  --good: #6f8a4f; --hard: #c0703a;
  --night-1: #0b0b14; --night-2: #23234d; --gold-bright: #d8b25a;
  --font-ui: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ui); line-height: 1.55; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 8px; font-weight: 600; }
.btn:hover { filter: brightness(1.05); }
.btn-gold { background: var(--gold-bright); color: #1a1208; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,11,20,.85);
  backdrop-filter: blur(6px); color: #e8e8ef; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; letter-spacing: .3px; text-decoration: none; color: #fff; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { color: #b0b0c8; text-decoration: none; font-size: 14px; }
.lang.active { color: #fff; font-weight: 600; }

/* hero (cosmic dark) */
.hero { background: radial-gradient(120% 100% at 75% 20%, var(--night-2), var(--night-1));
  color: #e8e8ef; padding: 72px 0 84px; }
.hero .wrap { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero-copy { flex: 1 1 360px; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 0 0 16px; color: #fff; }
.hero p { font-size: 18px; color: #c2c2d6; max-width: 46ch; margin: 0 0 24px; }
.hero-art { flex: 0 0 280px; display: grid; place-items: center; }
.hero-art svg { width: 260px; height: 260px; filter: drop-shadow(0 0 26px rgba(216,178,90,.45)); }

/* sections */
section { padding: 64px 0; }
section h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; text-align: center; }
section .sub { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 52ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.glyph { font-size: 26px; color: var(--accent); }

.steps { counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .n { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); font-weight: 700; display: grid; place-items: center; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
  padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { color: var(--accent); }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* final cta + footer */
.cta { background: var(--panel2); text-align: center; }
.cta h2 { margin-bottom: 18px; }
.site-footer { background: var(--night-1); color: #b0b0c8; padding: 28px 0; font-size: 14px; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: #c2c2d6; text-decoration: none; }

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .hero-art { flex-basis: 100%; }
}
