:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #000;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; }
body:has(.landing) { display: grid; place-items: center; padding: 40px 24px; }
.landing { width: min(100%, 840px); text-align: center; }
.landing h1 { margin: 0; font-size: clamp(64px, 9vw, 116px); font-weight: 750; line-height: 1.12; letter-spacing: -.055em; }
.tagline { margin: 25px 0 0; color: #68768a; font-size: clamp(17px, 2.2vw, 23px); line-height: 1.55; text-wrap: balance; }
.landing nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: min(100%, 584px); margin: 46px auto 0; }
.project-link { display: grid; gap: 12px; min-width: 0; }
.button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 66px; padding: 16px 24px; border: 1.5px solid #1d304d; border-radius: 16px; color: #1d304d; font-size: 22px; font-weight: 650; line-height: 1.2; text-decoration: none; transition: background-color .15s, border-color .15s; }
.button img { flex-shrink: 0; }
.github:hover { background: #f4f7fb; }
.telegram { background: #2789e7; border-color: #2789e7; color: #fff; font-weight: 700; }
.telegram:hover { background: #2289e8; border-color: #2289e8; }
.link-target { color: #65748a; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #2986db; outline-offset: 5px; }
.article { width: min(100% - 40px, 720px); margin: 0 auto; padding: 56px 0 72px; color: #1d2939; font-size: 17px; line-height: 1.75; }
.article h1 { font-size: clamp(30px, 5vw, 43px); line-height: 1.2; letter-spacing: -.035em; color: #080808; }
.article h2 { margin: 38px 0 10px; font-size: 22px; line-height: 1.4; }
.article a { color: #176dc0; text-underline-offset: .2em; }
.article .eyebrow { color: #718096; font-size: 14px; }
.article .important { padding: 18px 20px; background: #f1f7fd; border-left: 3px solid #3699f5; }
.article li + li { margin-top: 8px; }
.article code { font-size: .9em; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .landing h1 { font-size: clamp(58px, 16vw, 76px); }
  .tagline { margin-top: 19px; }
  .landing nav { grid-template-columns: 1fr; width: min(100%, 280px); margin-top: 32px; gap: 23px; }
  .button { min-height: 60px; font-size: 20px; }
  .link-target { font-size: 12px; }
  .article { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
