@font-face{font-family:Inter;src:url('assets/fonts/inter-latin-300-normal.woff2') format('woff2');font-style:normal;font-weight:300;font-display:swap;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:Inter;src:url('assets/fonts/inter-cyrillic-300-normal.woff2') format('woff2');font-style:normal;font-weight:300;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;src:url('assets/fonts/inter-latin-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;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:Inter;src:url('assets/fonts/inter-cyrillic-400-normal.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root{color-scheme:dark;--bg:#111;--surface:#1b1b1b;--text:#ededed;--muted:#b5b5b5;--line:#303030;--font:Inter,Arial,sans-serif;--mono:'Cascadia Code',Consolas,monospace;scroll-padding-top:120px}
:root[data-theme=light]{color-scheme:light;--bg:#fafafa;--surface:#f0f0f0;--text:#202020;--muted:#626262;--line:#dedede}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:300 16px/1.75 var(--font);-webkit-font-smoothing:antialiased}
::selection{background:var(--text);color:var(--bg)}
a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}button,a,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid currentColor;outline-offset:5px}
h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:300}h1,h2{line-height:1.12;letter-spacing:-.045em}h2{font-size:clamp(32px,3.4vw,46px)}h3{font-size:23px;line-height:1.35;letter-spacing:-.025em}p{color:var(--muted);font-weight:400}
img{display:block;max-width:100%}svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3}
code,pre{font-family:var(--mono)}pre{margin:0}code{font-size:.86em}strong{font-weight:400;color:var(--text)}[hidden]{display:none!important}
.wrap{width:min(1160px,calc(100% - 112px));margin-inline:auto}.section-space{padding-block:108px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:20px;top:12px;z-index:100;padding:10px 20px;background:var(--text);color:var(--bg);transform:translateY(-160%)}.skip-link:focus{transform:none}

/* The original handset artwork, unchanged; only its monochrome colour follows the theme. */
.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.brand-word{font-size:21px;font-weight:300;letter-spacing:.23em;line-height:1}.brand-mark{width:13px;height:34px;object-fit:contain;filter:brightness(0) invert(1)}[data-theme=light] .brand-mark{filter:brightness(0)}
.site-header{height:96px;position:sticky;top:0;z-index:20;background:var(--bg)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.navigation{display:flex;align-items:center;gap:28px;margin-left:auto}.navigation a{font-size:14px;white-space:nowrap;color:var(--muted)}.navigation a:hover,.navigation a[aria-current]{color:var(--text)}.navigation a[aria-current]{text-decoration:underline;text-underline-offset:6px}
.preferences{display:flex;align-items:center;gap:22px}.language-switch{display:flex;gap:2px}.language-switch button{font-size:12px;padding:10px 5px;color:var(--muted)}.language-switch button[aria-pressed=true]{color:var(--text);text-decoration:underline;text-underline-offset:5px}
.theme-switch{display:flex;gap:2px}.theme-switch button{display:grid;place-items:center;width:30px;height:34px;color:var(--muted);border-radius:3px}.theme-switch button[aria-pressed=true]{background:var(--surface);color:var(--text)}.theme-switch button:hover{color:var(--text)}
.menu-button{display:none;width:34px;height:38px;padding:7px}.menu-button span{height:1px;width:20px;background:currentColor;display:block;margin:6px 0}

.hero{padding-top:56px;padding-bottom:58px}.hero h1{font-size:clamp(52px,6.8vw,88px);line-height:1.08;max-width:1100px}.hero-description{font-size:19px;line-height:1.65;max-width:740px;margin-top:28px}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:34px;margin-top:28px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 29px;font-size:15px;font-weight:400;border-radius:3px;transition:opacity .15s}.primary{background:var(--text);color:var(--bg)}.primary:hover{opacity:.8}.text-link{display:inline-block;font-size:15px;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:6px;text-decoration-thickness:1px}.text-link:hover{text-decoration-color:currentColor}

.ownership{padding-top:100px;padding-bottom:76px}.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:110px}.section-intro{font-size:17px;line-height:1.85;max-width:430px;margin:27px 0}.feature-list{padding-top:2px}.feature-list article+article{margin-top:43px}.feature-list h3{margin-bottom:13px}.feature-list p{font-size:16px;line-height:1.8}
.encryption-section{padding-top:64px;padding-bottom:110px}.encryption-body>p{font-size:17px;line-height:1.85}.encryption-body>p+p{margin-top:23px}.emoji-example{margin-top:38px}.emoji-strip{display:flex;justify-content:space-between;align-items:center;max-width:370px;gap:18px;font-size:42px;font-family:'Segoe UI Emoji','Apple Color Emoji',sans-serif;line-height:1.3}.emoji-example figcaption{font-size:14px;color:var(--muted);margin-top:20px}

.install-section{border-top:1px solid var(--line)}.install-intro{font-size:18px;max-width:720px;margin-top:28px}.terminal{display:flex;align-items:center;gap:24px;background:var(--surface);border-radius:4px;margin-top:34px;padding:26px}.terminal pre{flex:1;min-width:0;font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.copy{font-size:13px;white-space:nowrap;padding:8px 0;color:var(--muted)}.copy:hover{color:var(--text)}.install-next{margin-top:30px;max-width:740px}.install-next>p{font-size:16px;line-height:1.85}.install-links{display:flex;flex-wrap:wrap;gap:18px 34px;margin-top:24px}
.download-section{padding-top:60px;padding-bottom:130px}.download-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:38px}.download-list{border-top:1px solid var(--line)}.download-row{display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:24px;padding:25px 0;border-bottom:1px solid var(--line);transition:background .15s}.download-row:hover{background:var(--surface)}.os-name{font-size:25px;letter-spacing:-.02em}.download-type,.download-arch{font-size:15px;color:var(--muted)}.download-arrow{font-size:23px;text-align:right}.download-notes{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin-top:33px}.download-notes p{font-size:14px;line-height:1.85}.download-notes a,.checksum a{text-decoration:underline;text-underline-offset:4px}.checksum{font-size:14px;margin-top:30px}.checksum summary{cursor:pointer;padding-block:9px;max-width:max-content}.checksum summary::marker{font-size:11px;color:var(--muted)}.checksum>div{padding:12px 0}.checksum code{display:block;margin-top:14px;overflow-wrap:anywhere}

.site-footer{border-top:1px solid var(--line);padding:38px 0 48px}.footer-inner{display:flex;align-items:center;gap:40px;font-size:14px}.footer-inner p{margin-left:auto}.footer-inner p a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}.footer-inner>a:last-child{color:var(--muted)}

/* Documentation keeps a readable measure and clear navigation, without decorative labels. */
.doc-hero{padding:70px 0 65px}.doc-hero h1{font-size:clamp(42px,5vw,66px)}.doc-hero p{font-size:18px;margin-top:23px}.docs-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:75px;padding-bottom:120px}.toc{position:sticky;top:120px;align-self:start;max-height:calc(100vh - 150px);overflow-y:auto}.toc-title{font-size:14px;color:var(--muted);margin-bottom:20px}.toc a{display:block;padding:8px 0 8px 16px;border-left:1px solid var(--line);font-size:14px;color:var(--muted)}.toc a:hover{color:var(--text)}.toc a[aria-current]{color:var(--text);border-color:currentColor}.doc{min-width:0;max-width:740px}.doc h2{font-size:36px;margin:70px 0 27px;scroll-margin-top:0}.doc h2:first-child{margin-top:0}.doc h3{font-size:23px;line-height:1.4;margin:33px 0 18px}.doc p,.doc li{font-size:16px;font-weight:400;line-height:1.8;margin-bottom:22px}.doc p,.doc ol{max-width:70ch}.doc a{color:var(--text);text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.doc :not(pre)>code{font-size:.86em;overflow-wrap:anywhere}.codeblock{display:flex;flex-direction:column;background:var(--surface);border-radius:4px;padding:18px 24px 25px;margin:26px 0}.codeblock>.copy{align-self:flex-end;padding:0 0 14px}.codeblock pre{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.table-scroll{overflow-x:auto;margin:27px 0;scrollbar-width:thin}.tbl{border-collapse:collapse;width:100%;font-size:14px;line-height:1.7}.tbl th{font-weight:400;color:var(--muted);text-align:left;padding:14px 12px;border-bottom:1px solid var(--line)}.tbl td{padding:18px 12px;border-bottom:1px solid var(--line);vertical-align:top;min-width:130px}.callout{border-left:2px solid var(--line);padding:4px 0 4px 22px;margin:27px 0}.callout p:last-child{margin:0}.callout.warn{border-left-color:#aaa}

@media(max-width:1100px){.wrap{width:calc(100% - 72px)}.header-inner{gap:22px}.navigation{gap:21px}.navigation a{font-size:13px}.preferences{gap:13px}.brand-word{font-size:19px}.split-layout{gap:65px}.docs-layout{gap:42px;grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:900px){.wrap{width:calc(100% - 48px)}.navigation{gap:17px}.navigation a{font-size:12px}.header-inner{gap:18px}.brand-word{font-size:18px}.preferences{gap:10px}.theme-switch{gap:0}.theme-switch button{width:27px}.hero{padding-block:56px}.hero h1{font-size:clamp(52px,7.5vw,76px)}.split-layout{gap:45px}.section-space{padding-block:85px}.ownership{padding-top:90px;padding-bottom:55px}.section-intro,.encryption-body>p{font-size:16px}.download-notes{gap:40px}.docs-layout{grid-template-columns:165px minmax(0,1fr);gap:30px}.toc a{font-size:13px}}
@media(max-width:760px){:root{scroll-padding-top:100px}.wrap{width:calc(100% - 40px)}.site-header{height:78px}.header-inner{gap:12px}.brand-word{font-size:19px}.brand-mark{width:12px;height:31px}.preferences{gap:16px}.theme-switch button{width:30px;height:36px}.menu-button{display:block}.navigation{display:none;position:absolute;left:0;right:0;top:77px;padding:15px 20px 24px;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}.navigation.is-open{display:flex}.navigation a{font-size:16px;padding:11px 0}.hero{padding-top:48px;padding-bottom:48px}.hero h1{font-size:clamp(46px,8vw,65px)}.hero-description{font-size:18px;max-width:530px;margin-top:29px}.hero-actions{margin-top:30px;gap:27px}.split-layout{grid-template-columns:1fr;gap:40px}.section-space{padding-block:65px}.ownership{padding-top:90px}.section-intro{max-width:560px;margin:23px 0}.feature-list article+article{margin-top:32px}.feature-list h3{font-size:22px}.feature-list p{max-width:570px}.encryption-section{padding-top:45px;padding-bottom:90px}.encryption-body{max-width:570px}.emoji-strip{font-size:39px;max-width:330px}.emoji-example{margin-top:29px}.install-intro{font-size:17px;margin-top:24px}.terminal{flex-direction:column;align-items:stretch;gap:15px;padding:21px;margin-top:27px}.terminal>.copy{align-self:flex-end;padding:0}.terminal pre{font-size:14px}.install-next{margin-top:24px}.install-links .text-link{font-size:14px}.download-section{padding-top:38px;padding-bottom:85px}.download-heading{margin-bottom:27px}.download-row{gap:14px;grid-template-columns:minmax(0,1fr) auto 20px;padding-block:24px}.os-name{font-size:23px}.download-type,.download-arch{font-size:13px}.download-notes{grid-template-columns:1fr;gap:20px;margin-top:27px}.download-notes p{font-size:14px}.footer-inner{flex-wrap:wrap;gap:23px 30px}.footer-inner p{margin-left:0;order:3;width:100%}.footer-inner>a:last-child{margin-left:auto}.site-footer{padding-block:28px}.doc-hero{padding:45px 0}.doc-hero p{font-size:17px}.docs-layout{display:block;padding-bottom:75px}.toc{position:relative;top:auto;max-height:none;display:flex;flex-wrap:wrap;gap:0 21px;padding-bottom:28px;margin-bottom:37px;border-bottom:1px solid var(--line)}.toc-title{width:100%;margin-bottom:10px}.toc a{padding:7px 0;border:0;font-size:14px}.toc a[aria-current]{text-decoration:underline;text-underline-offset:5px}.doc h2{font-size:32px;margin-top:55px}.doc h3{font-size:22px}.tbl{min-width:600px}.codeblock{padding:17px 19px 22px}}
@media(max-width:440px){.wrap{width:calc(100% - 36px)}.brand{gap:7px}.brand-word{font-size:16px;letter-spacing:.2em}.brand-mark{width:10px;height:28px}.preferences{gap:8px}.language-switch{gap:0}.language-switch button{font-size:11px;padding-inline:4px}.theme-switch button{width:25px}.theme-switch svg{width:16px;height:16px}.menu-button{width:28px;padding:4px}.hero{padding-top:42px;padding-bottom:42px}.hero h1{font-size:clamp(39px,10.6vw,47px);line-height:1.15}.hero-description{font-size:17px;line-height:1.75;margin-top:27px}.hero-actions{gap:25px}.button{font-size:14px;padding:11px 25px;min-height:49px}.text-link{font-size:14px}h2{font-size:33px}.feature-list p,.section-intro,.encryption-body>p{font-size:16px}.emoji-strip{font-size:35px;gap:15px}.terminal{padding:18px}.download-row{grid-template-columns:minmax(0,1fr) auto 16px;gap:10px}.os-name{font-size:20px}.download-type,.download-arch{font-size:12px}.doc-hero h1{font-size:39px}.doc h2{font-size:30px}.doc p{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.site-header,.site-footer,.preferences,.toc,.copy,.skip-link,.hero-actions{display:none!important}:root{--bg:#fff;--text:#000;--muted:#444;--line:#bbb;--surface:#f5f5f5}.wrap{width:100%}.docs-layout{display:block}.doc{max-width:none}.doc h2{break-after:avoid}.codeblock,.callout{break-inside:avoid}.section-space{padding-block:30px}}



/* Reading, downloads and the progressive screenshot viewer. */
.encryption-body>.encryption-limit{font-size:15px;line-height:1.75;margin-top:30px;padding-top:22px;border-top:1px solid var(--line);color:var(--text)}
.download-intro{max-width:700px;font-size:17px}.download-subheading{margin:32px 0 20px}.download-note{font-size:14px;max-width:700px;margin-top:24px}.download-note a,.server-download p a{text-decoration:underline;text-underline-offset:4px}
.server-download{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:start;border-top:1px solid var(--line);padding-top:34px;margin-top:46px}.server-download p{font-size:15px;max-width:640px;margin-top:16px}.server-download>.text-link{margin-top:5px}
.quick-start{padding-left:1.4em;margin:28px 0 55px}.quick-start li{padding-left:10px}.quick-start li::marker{color:var(--muted)}
.screenshot-link{display:block;position:relative;cursor:zoom-in;border-radius:5px}.screenshot-zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#fff;background:#111c;font-size:24px;line-height:1;opacity:.75}.screenshot-link:hover .screenshot-zoom,.screenshot-link:focus-visible .screenshot-zoom{opacity:1}
.viewer-open{overflow:hidden}.image-viewer{width:calc(100% - 32px);max-width:1480px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:16px;margin:auto;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--text)}.image-viewer[open]{display:flex;flex-direction:column;gap:14px}.image-viewer::backdrop{background:#000d}.viewer-toolbar{display:flex;justify-content:flex-end;gap:16px;flex-shrink:0}.viewer-toolbar button{min-height:44px;min-width:44px;padding:8px 12px;font-size:14px;border-radius:3px}.viewer-size[aria-pressed=true]{background:var(--surface)}.viewer-stage{overflow:auto;min-height:0;overscroll-behavior:contain}.viewer-stage img{width:auto;max-width:100%;max-height:calc(100vh - 210px);max-height:calc(100dvh - 210px);margin:auto;object-fit:contain}.viewer-stage.is-zoomed img{max-width:none;max-height:none;margin:0}.viewer-caption{font-size:14px;line-height:1.6;flex-shrink:0}
@media(max-width:760px){.server-download{grid-template-columns:1fr;gap:20px;margin-top:35px;padding-top:28px}.download-intro{font-size:16px}.encryption-body>.encryption-limit{font-size:14px}.image-viewer{width:calc(100% - 16px);padding:12px;max-height:calc(100dvh - 16px)}.viewer-caption{font-size:13px}.quick-start{padding-left:1.25em}.quick-start li{padding-left:6px}}


/* Hero with the screenshot carousel.  One column up to 1023px -- phones and
   tablets in portrait -- with the carousel under the text at full width;
   two from 1024px, text on the left and the carousel beside it.  Slides are a
   horizontal scroll-snap strip, so touch screens swipe it natively; site.js
   adds the arrows, the position dots and the five-second autoplay. */
.carousel{margin-top:48px;min-width:0}
.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:5px}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-track:focus-visible{outline-offset:4px}
.carousel-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.carousel-slide img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#000;border-radius:5px}
.carousel-slide figcaption{font-size:14px;color:var(--muted);margin-top:16px;line-height:1.7;padding-right:4px}
/* Arrows and dots centred under the screenshot, pause at the right.  On the
   narrowest phones the side columns cannot both hold the pause button, and
   the group gives way a few pixels rather than overlap it. */
.carousel-controls{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-top:14px}
.carousel-nav{grid-column:2;display:flex;align-items:center;gap:6px}
.carousel-arrow,.carousel-pause{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;color:var(--muted);transition:color .15s,background .15s}
.carousel-arrow{border:1px solid var(--line)}
.carousel-arrow:hover,.carousel-pause:hover{color:var(--text);background:var(--surface)}
.carousel-pause{grid-column:3;justify-self:end}
.carousel-pause .icon-play,.carousel-pause[aria-pressed=true] .icon-pause{display:none}
.carousel-pause[aria-pressed=true] .icon-play{display:block}
.carousel-dots{display:flex;align-items:center}
.carousel-dots button{display:grid;place-items:center;width:26px;height:40px;padding:0}
.carousel-dots button::before{content:'';width:6px;height:6px;border-radius:3px;background:var(--line);transition:width .25s,background .25s}
.carousel-dots button:hover::before{background:var(--muted)}
.carousel-dots button[aria-current=true]::before{width:18px;background:var(--text)}
@media(min-width:1024px){
  .hero{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:60px;align-items:center;padding-bottom:72px}
  /* Two lines, whatever the width: the longer line, "on your own server.",
     is 8.4 em, so the size follows the column (cqi) rather than the window;
     the clamp is for browsers without container queries. */
  .hero-text{container-type:inline-size}
  .hero h1{font-size:clamp(42px,4.1vw,52px);font-size:min(56px,11.6cqi)}
  .hero-description{font-size:17px;max-width:440px}
  .carousel{margin-top:0}
}
@media(max-width:440px){.carousel{margin-top:38px}.carousel-slide figcaption{font-size:13px}.carousel-arrow,.carousel-pause{width:36px;height:36px}.carousel-dots button{width:22px}}
@media(prefers-reduced-motion:reduce){.carousel-track{scroll-behavior:auto}}
@media print{.carousel-controls{display:none}.carousel-track{overflow:visible;flex-direction:column;gap:24px}}
