@font-face{font-family:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;src:url("/setup/fonts/golos-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:"Golos Text";font-style:normal;font-weight:400 900;font-display:swap;src:url("/setup/fonts/golos-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
:root {
  color-scheme: light dark;
  --paper: #f3f0e8;
  --surface: #fffdf9;
  --ink: #1a1915;
  --muted: #6f6b62;
  --line: #ddd7ca;
  --clay: #c9633f;
  --clay-ink: #9a4526;
  --sage: #4e7a5a;
  --sage-ink: #35603f;
  --sage-wash: #e7efe6;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif", Georgia, serif;
  --sans: "Golos Text", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); }
body { min-height: 100vh; margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: var(--clay-ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--clay); }
h1, h2, h3, p, dl { margin-top: 0; }
.skip-link { position: absolute; top: -4rem; left: 1rem; z-index: 5; padding: .55rem .8rem; border-radius: .5rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.frame { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 28px 0 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.wordmark { display: flex; align-items: center; gap: .6rem; font: 700 1.25rem/1 var(--serif); letter-spacing: -.01em; }
.wordmark img { border-radius: 9px; }
.language-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 1rem; }
.language-switch a { padding: 5px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.language-switch a[aria-current="page"] { background: var(--ink); color: #fff; }
.intro { margin-bottom: 36px; }
h1 { margin-bottom: 18px; font: 600 clamp(2.1rem, 6vw, 3.2rem)/1.05 var(--serif); letter-spacing: -.02em; }
.device-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.device-switch button { padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 1rem var(--sans); cursor: pointer; }
.device-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.device-note { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
html[data-device="android"] p.only-android, html[data-device="ios"] p.only-ios { display: block; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; padding: 32px 0; border-top: 1px solid var(--line); counter-increment: step; }
.step:first-child { border-top: 0; padding-top: 0; }
.step-text::before { display: block; margin-bottom: 8px; color: var(--clay); content: counter(step); font: 600 2rem/1 var(--serif); }
.step h3 { margin: 0 0 10px; font: 600 1.45rem/1.25 var(--serif); letter-spacing: -.01em; }
.ui { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .4em; border-radius: .4em; background: var(--sage-wash); color: var(--sage-ink); font: 600 .8em/1.45 var(--sans); letter-spacing: 0; vertical-align: .08em; }
.step p .ui { font-size: .95em; }
.copy-row dd span.mono { font: 600 .9rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.step p { margin-bottom: 12px; color: var(--muted); }
.step p.copy-status { color: var(--sage-ink); }
.step strong { color: var(--ink); font-weight: 600; }
.step-shot { display: flex; justify-content: center; }
.step-shot > * { flex: none; }
.step-action { margin-top: 4px; }
.button-link { display: inline-block; padding: 11px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.button-link:hover { background: #000; color: #fff; }
.copy-fields { display: grid; gap: 8px; margin: 6px 0 4px; }
.copy-row { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.copy-row dt { color: var(--muted); font-size: 1rem; }
.copy-row dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.copy-row dd span { min-width: 0; }
.copy-field, #copy-invite { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer; }
.copy-field:hover, #copy-invite:hover { border-color: var(--clay); color: var(--clay-ink); }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible, textarea:focus-visible { outline: 3px solid rgb(201 99 63 / 45%); outline-offset: 2px; }
.copy-status { margin: 6px 0 0; color: var(--sage-ink); font-size: 1rem; font-weight: 500; }
.copy-status:empty { display: none; }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.icon-download { display: flex; align-items: center; gap: 14px; margin: 6px 0; }
.icon-download img { flex: none; border-radius: 12px; }
.invite-panel { margin: 6px 0 0; padding: 14px; border: 1px solid var(--clay); border-radius: 12px; background: var(--surface); }
.field-label { display: block; margin-bottom: 6px; font-weight: 600; }
.invite-row { display: flex; gap: 8px; align-items: stretch; }
.invite-code { flex: 1; min-width: 0; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); resize: none; field-sizing: content; font: 1rem/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.invite-code::placeholder { color: var(--muted); font-family: var(--sans); }
#copy-invite:disabled:not([aria-busy]) { cursor: not-allowed; opacity: .4; }
.invite-row #copy-invite { height: auto; }
.prompt { display: inline-block; padding: 9px 14px; border-radius: 10px; background: var(--sage-wash); color: var(--sage-ink) !important; font-weight: 500; }
footer { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 40px; color: var(--muted); font-size: 1rem; }
footer nav { display: inline; }
[hidden] { display: none !important; }

.shot { position: relative; width: 250px; max-width: 100%; margin: 0; padding: 9px; border-radius: 40px; background: #1c1b18; box-shadow: 0 24px 50px -24px rgb(26 25 21 / 55%), inset 0 0 0 1px #4a4740; }
.shot-screen { position: relative; overflow: hidden; border-radius: 32px; background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot-framed { padding: 0; background: transparent; box-shadow: none; }
.shot-framed .shot-screen { border-radius: 0; background: transparent; }
.only-ios, .only-android { display: none; }
html[data-device="ios"] .only-ios, html[data-device="android"] .only-android { display: block; }
html[data-device="android"] .mark-ios { display: none; }
.mark { position: absolute; border: 2.5px solid var(--clay); border-radius: 10px; box-shadow: 0 0 0 4px rgb(201 99 63 / 22%); pointer-events: none; }
.mark i { position: absolute; top: -10px; right: -10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--clay); color: #1a1915; font: 700 11px/1 var(--sans); font-style: normal; box-shadow: 0 1px 3px rgb(0 0 0 / 30%); }
.mark-left i { right: auto; left: -24px; top: 50%; transform: translateY(-50%); }
.focus { position: absolute; border-radius: 12px; box-shadow: 0 0 0 2000px rgb(26 25 21 / 76%); pointer-events: none; }
.box-01-plugins-0 { left: 76.5%; top: 7.8%; width: 20%; height: 4.6%; }
.box-02-add-menu-0 { left: 43%; top: 23.2%; width: 51%; height: 4.2%; }
.box-03-form-top-0 { left: 8%; top: 33%; width: 83%; height: 4.2%; }
.box-03-form-top-1 { left: 8%; top: 41.8%; width: 83%; height: 4.2%; }
.box-04-download-focus { left: 4%; top: 39.5%; width: 92%; height: 17%; }
.box-04-download-0 { left: 68%; top: 51.2%; width: 23.5%; height: 4%; }
.box-05-choose-file-0 { left: 4%; top: 35%; width: 60%; height: 4.6%; }
.box-06-files-0 { left: 4.5%; top: 22%; width: 26%; height: 18%; }
.box-07-form-bottom-0 { left: 8%; top: 22.8%; width: 83%; height: 4%; }
.box-07-form-bottom-1 { left: 12%; top: 64.3%; width: 7%; height: 3.2%; }
.box-07-form-bottom-2 { left: 52.5%; top: 80.4%; width: 39%; height: 4.6%; }
.box-08-connect-0 { left: 9%; top: 66.8%; width: 82%; height: 4.6%; }
.box-09-invite-0 { left: 8%; top: 42.6%; width: 83%; height: 6%; }
.box-09-invite-1 { left: 8%; top: 50.6%; width: 83%; height: 5.8%; }
.box-10-passkey-0 { left: 9%; top: 83.5%; width: 82%; height: 4.6%; }
.box-android-passkey-0 { left: 38%; top: 66%; width: 24%; height: 11.5%; }
.box-11-allow-0 { left: 5%; top: 30%; width: 90%; height: 6.2%; }
.box-12-app-0 { left: 3%; top: 50.5%; width: 94%; height: 10.5%; }
@media (prefers-color-scheme: dark) {
  .shot { background: #0f0e0c; box-shadow: 0 24px 50px -24px rgb(0 0 0 / 80%), inset 0 0 0 1px #3a3833; }
}

@media (max-width: 760px) {
  .frame { width: min(calc(100% - 28px), 860px); padding-top: 20px; }
  .topbar { margin-bottom: 24px; }
  .step { grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; padding: 26px 0; }
  .shot { width: 210px; padding: 7px; border-radius: 34px; }
  .shot-screen { border-radius: 28px; }
  .shot-framed { padding: 0; }
  .step h3 { font-size: 1.25rem; }
  .copy-row dd span.mono { font-size: .78rem; }
}
@media (max-width: 520px) {
  .frame { width: calc(100% - 24px); }
  .step { grid-template-columns: minmax(0, 1fr) clamp(116px, 39vw, 172px); gap: 12px; padding: 22px 0; }
  .shot { width: 100%; padding: 4px; border-radius: 22px; }
  .shot-screen { border-radius: 18px; }
  .shot-framed { padding: 0; }
  .shot-framed .shot-screen { border-radius: 0; }
  .step-text::before { margin-bottom: 4px; font-size: 1.5rem; }
  .step h3 { margin-bottom: 6px; font-size: 1.05rem; }
  .step p { margin-bottom: 8px; font-size: .9375rem; line-height: 1.45; }
  .button-link { padding: 9px 12px; font-size: .9375rem; }
  .copy-fields { gap: 6px; }
  .copy-row { padding: 7px 8px; border-radius: 10px; }
  .copy-row dt { font-size: .8125rem; }
  .copy-row dd { gap: 6px; font-size: .9375rem; }
  .copy-row dd span.mono { font-size: .68rem; }
  .copy-field, #copy-invite { width: 38px; height: 38px; border-radius: 9px; }
  .copy-status, .step p.copy-status { font-size: .875rem; line-height: 1.4; }
  .icon-download { flex-wrap: wrap; gap: 8px; }
  .icon-download img { width: 40px; height: 40px; border-radius: 9px; }
  .invite-panel { padding: 9px; border-radius: 10px; }
  .field-label { font-size: .875rem; }
  .invite-row { gap: 6px; }
  .invite-code { padding: 7px 8px; font-size: .75rem; }
  .invite-code::placeholder { font-size: .8125rem; }
  .prompt { padding: 7px 10px; }
  .mark { border-width: 2px; border-radius: 6px; box-shadow: 0 0 0 3px rgb(201 99 63 / 22%); }
  .mark i { top: -7px; right: -7px; width: 15px; height: 15px; font-size: 9px; }
  .mark-left i { top: 50%; right: auto; left: -18px; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #15140f; --surface: #1e1c17; --ink: #efebe2; --muted: #a8a399; --line: #3a362e; --clay: #e07f5c; --clay-ink: #e8a083; --sage: #9ac8a4; --sage-ink: #a9d6b2; --sage-wash: #233327; }
  .language-switch a[aria-current="page"], .device-switch button[aria-pressed="true"], .button-link, .skip-link { background: var(--ink); color: #15140f; }
  .button-link:hover { background: #fff; color: #15140f; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
