@font-face {
  font-family: 'Neucha'; font-style: normal; font-weight: 400; font-display: swap;
  src:url('/fonts/neucha-v1.woff2') format('woff2'),url('/fonts/neucha.ttf') format('truetype');
}
:root { --ink: #303030; --muted: #666; --hand: 'Neucha', 'Trebuchet MS', Arial, sans-serif; --body: Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--ink); font: 14px/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px dashed #555; outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, .brand, .paper-link, .start-button, .mascot-label { font-family: var(--hand); font-weight: 400; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.page { width: 100%; max-width: 1180px; margin: auto; padding: 0 55px; }
header { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.brand { position: relative; font-size: 49px; line-height: .9; letter-spacing: -2.5px; transform: rotate(-3deg); white-space: nowrap; }
.brand > span { display: inline-block; margin-left: 5px; font-size: 35px; transform: rotate(5deg); }
.brand svg { position: absolute; left: -3px; top: 41px; width: 172px; height: 11px; fill: none; stroke: #555; stroke-width: 1; }
.brand small { display: block; margin-top: 17px; font: 10px/1.4 var(--body); color: var(--muted); letter-spacing: .7px; transform: rotate(3deg); }
nav { display: flex; gap: 29px; font-size: 12px; }
nav a:hover, .api-shortcut:hover { text-decoration: underline; text-underline-offset: 5px; }
.paper-link { display: inline-block; padding: 2px 5px 5px; background: #fff; box-shadow: 1px 3px 3px #00000014; transform: rotate(-2deg); transition: transform .15s; }
.paper-link:hover { transform: rotate(0deg) translateY(-2px); }
.login { border: 0; font-size: 21px; white-space: nowrap; }
.login span { font: 19px var(--hand); margin-left: 20px; }
.intro { text-align: center; padding: 19px 0 6px; }
h1 { font-size: clamp(48px, 5.5vw, 69px); line-height: 1.07; letter-spacing: -.6px; transform: rotate(-1.5deg); }
h1 > span { position: relative; display: inline-block; }
h1 svg { position: absolute; bottom: -8px; left: 0; height: 12px; width: 100%; fill: none; stroke: #444; stroke-width: 1.2; }
.intro-text { margin-top: 25px; font-size: 15px; color: #555; line-height: 1.7; }
.intro-actions { display: flex; gap: 26px; align-items: center; justify-content: center; margin: 24px 0 7px; }
.start-button { position: relative; background: #fff; border: 1.3px solid #444; padding: 7px 22px 9px; font-size: 24px; line-height: 1.4; transform: rotate(-1.3deg); border-radius: 45% 4% 36% 5%/8% 30% 8% 20%; transition: transform .15s; }
.start-button::before { content: ''; position: absolute; inset: 2px -3px -3px 2px; border: 1px solid #aaa; pointer-events: none; border-radius: 3px 8px 5px 7px; transform: rotate(1deg); }
.start-button span { margin-left: 22px; font-size: 26px; }
.start-button:hover { background: #f6f6f6; transform: rotate(0deg) translateY(-2px); }
.api-shortcut { font-size: 12px; color: #555; }
.desk { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 190px 180px; gap: 0 18px; margin: 14px 0 48px; }
.connections { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.desk-note { position: relative; min-width: 0; text-align: center; align-self: center; }
.desk-note h2 { font-size: 26px; line-height: 1.2; margin: 6px 0 13px; }
.desk-note p { font-size: 14px; color: #555; line-height: 1.65; }
.sketch-button { display: block; margin: auto; padding: 0; width: max-content; max-width: 100%; border: 0; background: none; }
.note-drawing { display: block; width: 86px; height: 64px; margin: auto; color: #555; transition: transform .2s; }
.sketch-button:hover .note-drawing { transform: rotate(-4deg) translateY(-3px); }
.mini-arrow { font: 18px var(--hand); color: #777; }
.chat-note { grid-column: 1; grid-row: 1; transform: rotate(-1.2deg); }
.telegram-note { grid-column: 3; grid-row: 1; transform: rotate(1deg); }
.central-drawing { position: relative; grid-column: 2; grid-row: 1/3; align-self: start; min-width: 0; isolation: isolate; }
.mascot { position: relative; width: 100%; height: 338px; transform: rotate(-4deg); }
.pencil-circle { position: absolute; top: 35px; left: 3%; width: 94%; height: 260px; border: 1px solid #ddd; border-radius: 48% 53% 47% 52%; transform: rotate(-12deg); z-index: -1; }
.pencil-circle::after { content: ''; position: absolute; inset: 4px -7px -4px 5px; border: 1px solid #eee; border-radius: 49% 47% 54% 46%; transform: rotate(10deg); }
.mascot-label { display: block; text-align: center; font-size: 17px; color: #777; line-height: 1.3; margin-top: -19px; transform: rotate(-3deg); }
.api-note { grid-column: 1; grid-row: 2; }
.models-note { grid-column: 3; grid-row: 2; }
.models-note .note-drawing { width: 88px; height: 64px; }
.models-note h2 { padding-top: 3px; }
.developer-section { padding: 56px 0 66px; border-top: 1px dashed #bbb; display: grid; grid-template-columns: .85fr 1fr; gap: 75px; align-items: center; }
.overline { font-size: 9px; letter-spacing: 1.3px; color: #777; }
.developer-copy h2 { font-size: 39px; line-height: 1.15; margin: 15px 0 21px; transform: rotate(-1.5deg); }
.developer-copy p { color: #555; font-size: 13px; line-height: 1.85; }
.underlined-button { font-family: var(--hand); border: 0; border-bottom: 1px solid #555; padding: 0 0 3px; background: none; font-size: 22px; text-align: left; }
.underlined-button span { margin-left: 20px; font-size: 24px; }
.underlined-button:hover { transform: rotate(-1deg); }
.developer-copy .underlined-button { margin-top: 22px; }
.developer-copy small { display: block; margin-top: 9px; font-size: 10px; color: #777; }
.code-paper { position: relative; min-width: 0; isolation: isolate; background: #fafafa; border: 1px solid #ddd; padding: 20px 23px; box-shadow: 2px 3px 4px #0000000c; transform: rotate(1deg); }
.code-paper::after { content: ''; position: absolute; inset: 4px -4px -4px 3px; border: 1px solid #eee; z-index: -1; transform: rotate(-.6deg); }
.tape { position: absolute; top: -12px; left: 36%; width: 107px; height: 27px; background: #e9e9e9ae; border-left: 1px dotted #ccc; border-right: 1px dotted #ccc; transform: rotate(-5deg); }
.code-caption { font-family: var(--hand); font-size: 17px; color: #555; margin-bottom: 16px; }
.code-caption > span { float: right; font-family: var(--body); font-size: 10px; color: #777; margin-top: 6px; }
pre { margin: 0; font: 11px/1.85 Consolas, 'Courier New', monospace; overflow-x: auto; color: #444; tab-size: 4; }
.faq { display: grid; grid-template-columns: .85fr 1fr; gap: 75px; border-top: 1px dashed #bbb; padding: 45px 0 60px; }
.faq h2 { font-size: 37px; line-height: 1.2; transform: rotate(-2deg); }
.faq-list details { border-bottom: 1px solid #ddd; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; font-size: 13px; padding: 17px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { font: 23px var(--hand); color: #777; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { padding-bottom: 18px; font-size: 12px; line-height: 1.8; color: #555; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0 28px; border-top: 1px solid #ddd; font-size: 10px; color: #777; }
.footer-logo { font: 26px var(--hand); color: #555; }
.footer-logo > span { font: 9px var(--body); margin-left: 12px; }
dialog { width: calc(100% - 32px); max-width: 500px; padding: 35px; background: #fff; border: 1px solid #999; border-radius: 2px 7px 3px 6px; color: var(--ink); box-shadow: 4px 5px 0 #ededed; }
dialog::backdrop { background: #ffffffb5; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 8px; right: 13px; padding: 0; font: 30px var(--hand); border: 0; background: none; }
.dialog-label { font-size: 9px; letter-spacing: 1.5px; color: #777; }
dialog h2 { margin: 18px 0; font-size: 36px; line-height: 1.15; }
dialog p { font-size: 13px; line-height: 1.8; color: #555; }
.dialog-options { display: grid; gap: 15px; margin-top: 22px; }
.dialog-option { padding-bottom: 15px; border-bottom: 1px dashed #ccc; font-size: 12px; line-height: 1.7; color: #555; }
.dialog-option strong { display: block; margin-bottom: 6px; font: 24px var(--hand); color: var(--ink); }
.dialog-done { margin-top: 24px; font-size: 22px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 10; max-width: calc(100% - 30px); padding: 12px 23px; text-align: center; font-size: 12px; background: #fff; border: 1px solid #aaa; box-shadow: 3px 3px #ddd; color: #444; opacity: 0; pointer-events: none; transform: translate(-50%,20px); transition: .2s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
@media (min-width: 1400px) {
  .page { max-width: 1200px; padding: 0 60px; }
  .desk { margin-top: 17px; }
}
@media (max-width: 1000px) {
  .page { padding: 0 34px; }
  header { gap: 20px; min-height: 104px; }
  nav { gap: 20px; font-size: 11px; }
  .brand { font-size: 43px; }
  .brand > span { font-size: 32px; }
  .brand svg { top: 37px; width: 157px; }
  .brand small { font-size: 9px; }
  .desk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 10px; }
  .desk-note h2 { font-size: 23px; }
  .desk-note p { font-size: 12px; }
  .mascot { height: 325px; }
  .pencil-circle { height: 255px; }
  .developer-section, .faq { gap: 40px; }
  .developer-copy h2 { font-size: 36px; }
  .developer-copy p { font-size: 12px; }
  .code-paper { padding: 20px 17px; }
  pre { font-size: 10px; }
}
@media (max-width: 700px) {
  .page { padding: 0 24px; }
  header { min-height: 92px; gap: 14px; }
  .brand { font-size: 40px; }
  .brand > span { font-size: 29px; }
  .brand svg { top: 34px; width: 143px; }
  .brand small { font-size: 8px; margin-top: 15px; }
  nav { display: none; }
  .login { font-size: 20px; }
  .login span { margin-left: 13px; }
  .intro { padding-top: 22px; }
  h1 { font-size: clamp(40px, 8.5vw, 57px); line-height: 1.12; }
  .intro-text { font-size: 13px; margin-top: 22px; line-height: 1.7; }
  .intro-actions { margin-top: 21px; gap: 20px; }
  .start-button { font-size: 23px; padding: 6px 15px 8px; }
  .start-button span { font-size: 24px; margin-left: 15px; }
  .api-shortcut { font-size: 11px; max-width: 98px; line-height: 1.5; text-align: left; }
  .desk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 24px 17px; margin: 15px 0 42px; }
  .connections { display: none; }
  .central-drawing { grid-column: 1/3; grid-row: 1; width: 100%; max-width: 290px; margin: auto; }
  .mascot { height: 280px; }
  .pencil-circle { height: 225px; width: 85%; left: 7%; top: 24px; }
  .mascot-label { font-size: 16px; margin-top: -13px; }
  .chat-note { grid-column: 1; grid-row: 2; }
  .telegram-note { grid-column: 2; grid-row: 2; }
  .api-note { grid-column: 1; grid-row: 3; }
  .models-note { grid-column: 2; grid-row: 3; }
  .note-drawing, .models-note .note-drawing { width: 77px; height: 57px; }
  .desk-note h2 { font-size: 23px; margin: 7px 0 11px; }
  .desk-note p { font-size: 12px; line-height: 1.65; }
  .desk-note p br { display: none; }
  .mini-arrow { display: none; }
  .paper-link { padding-left: 3px; padding-right: 3px; max-width: 100%; overflow-wrap: anywhere; }
  .developer-section { grid-template-columns: 1fr; gap: 35px; padding: 35px 0 43px; }
  .developer-copy h2 { font-size: 36px; }
  .developer-copy p { font-size: 13px; }
  .code-paper { margin: 0 4px 0 0; padding: 20px 15px 18px; }
  pre { font-size: 10px; }
  .faq { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 40px; }
  .faq h2 { font-size: 34px; }
  .faq-list summary { padding: 16px 0; font-size: 12px; }
  .faq-list p { font-size: 12px; }
  footer { flex-wrap: wrap; gap: 12px; font-size: 9px; }
  .footer-logo { width: 100%; font-size: 25px; }
  dialog { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.home-languages{font:11px Arial,sans-serif;white-space:nowrap;color:#777;margin-left:auto;margin-right:28px}.start-button{display:inline-flex;align-items:center;gap:24px;text-decoration:none}.start-button:hover{text-decoration:none}@media(max-width:700px){.home-languages{margin:0 12px 0 auto;font-size:10px}}

html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{font-synthesis:none;-webkit-font-smoothing:antialiased}.ui-icon{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.14em;overflow:visible}.start-button{gap:12px}.start-button span{margin-left:8px}@supports(-webkit-touch-callout:none){.note-drawing g[filter],.mascot g[filter]{filter:none}}
