/* onest-cyrillic-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(onest-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-cyrillic-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(onest-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-cyrillic-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(onest-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-cyrillic-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(onest-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* onest-latin-400-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(onest-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* onest-latin-500-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(onest-latin-500-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* onest-latin-600-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(onest-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* onest-latin-700-normal */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(onest-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+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #FFFFFF; --raised: #F1F1EF; --hover: #E7E7E4;
  --text: #121211; --text2: #55554F; --text3: #6B6B66;
  --ink: #121211; --on-ink: #FFFFFF;
  --mark-bubble: #252629; --mark-gray: #8B8F8C; --mark-green: #80C649;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0F0E; --raised: #1C1C1A; --hover: #262624;
    --text: #F1F1EE; --text2: #A6A6A0; --text3: #86867F;
    --ink: #F1F1EE; --on-ink: #0F0F0E;
    --mark-bubble: #F0F1EF; --mark-gray: #909491;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
main { flex: 1; }

.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(64px, 9vw, 112px) 0 56px;
}
.hero svg.mark { width: 112px; height: 98px; }
.hero h1 { margin: 24px 0 0; font-size: 52px; line-height: 58px; font-weight: 700; letter-spacing: -0.03em; }
.hero .lead { margin: 8px 0 0; font-size: 18px; line-height: 26px; color: var(--text2); }
.cta {
  margin-top: 36px; height: 56px; padding: 0 28px; border-radius: 14px;
  background: var(--ink); color: var(--on-ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: opacity .15s;
}
.cta:hover { opacity: .86; }
.cta svg { width: 20px; height: 20px; flex: none; }
.hero .meta { margin: 14px 0 0; font-size: 13px; line-height: 18px; color: var(--text3); }
.hero .meta a { color: var(--text); text-underline-offset: 3px; }

.label { margin: 0 0 16px; font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px;
}
.card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--raised); }
.card .icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.card .icon svg { width: 24px; height: 24px; }
.card .name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.card .name b { font-size: 16px; line-height: 21px; font-weight: 600; }
.card .name span { font-size: 13px; line-height: 17px; color: var(--text3); }
.card .btn {
  flex: none; height: 44px; padding: 0 16px; border-radius: 12px;
  background: var(--bg); color: var(--text);
  display: flex; align-items: center;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s;
}
.card .btn:hover { background: var(--hover); }

footer.wrap { margin-top: 64px; padding: 24px 24px 40px; text-align: center; font-size: 13px; line-height: 18px; color: var(--text3); }

@media (max-width: 420px) {
  .hero h1 { font-size: 44px; line-height: 50px; }
}

.card .name .ver { color: inherit; }
.card .name .note { display: block; font-size: 11px; line-height: 15px; }
.card .btn[aria-disabled="true"] { color: var(--text3); }
.install-help { margin-top: 20px; font-size: 13px; line-height: 1.6; color: var(--text2); }
summary { cursor: pointer; }
summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.install-help > summary { color: var(--text3); }
.install-help article { padding: 16px 0; border-bottom: 1px solid var(--raised); }
.install-help h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.install-help p { margin: 6px 0; }
.install-help ol { padding-left: 20px; }
.install-help li { margin: 6px 0; }
.install-help .hash { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: 11px; }
footer .privacy { margin: 12px auto 0; max-width: 760px; }
footer .privacy p { text-align: left; }
@media (max-width: 360px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .card { gap: 10px; padding: 12px; }
  .card .icon { width: 40px; height: 40px; }
  .card .btn { padding: 0 12px; }
}
