@font-face{font-family:Onest;src:url('/assets/fonts/Onest.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:'PT Serif';src:url('/assets/fonts/PTSerif-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'PT Serif';src:url('/assets/fonts/PTSerif-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Caveat;src:url('/assets/fonts/Caveat.ttf') format('truetype');font-weight:400 700;font-display:swap}
*{box-sizing:border-box}html{color-scheme:light dark;font-size:16px;background:var(--color-background);scroll-behavior:smooth}body{position:relative;isolation:isolate;margin:0;color:var(--color-text);font-family:Onest,system-ui,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100svh;display:flex;flex-direction:column}body>main{flex:1 0 auto}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--color-link);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}button{font:inherit}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid var(--color-focus);outline-offset:5px}button:disabled{cursor:default}img{display:block;max-width:none}p,h1,h2,h3{margin:0}h1,h2,h3{font-family:'PT Serif',Georgia,serif;font-weight:400}h1{font-size:3.5rem;line-height:1.107;letter-spacing:-.8px}h2,h3{font-size:1.75rem;line-height:1.286}button{cursor:pointer}[hidden]{display:none!important}
[data-language=ru] [data-lang=en],[data-language=en] [data-lang=ru]{display:none!important}.wrap{width:calc(100% - 160px);max-width:1120px;margin-inline:auto}.site-header{height:80px;flex:none;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--color-text);font-family:'PT Serif',Georgia,serif;font-size:1.5rem;line-height:2rem;font-weight:700;white-space:nowrap}.brand img{width:32px;height:32px}.language-switch{display:flex;gap:2px;padding:3px;border:1px solid var(--color-divider);border-radius:999px;flex-shrink:0}.language-switch button{background:transparent;border:0;border-radius:999px;padding:5px 11px;min-width:40px;color:var(--color-secondary);font-size:.8125rem;font-weight:500;line-height:18px;position:relative}.language-switch button:after{content:'';position:absolute;inset:-5px 0}.language-switch button[aria-pressed=true]{color:var(--color-text);background:var(--color-surface);box-shadow:0 1px 3px #302b291a}.lead{font-size:1.3125rem;line-height:32px;color:var(--color-secondary)}.button{display:inline-flex;align-items:center;justify-content:center;min-height:56px;max-width:100%;padding:16px 24px;border:0;border-radius:28px;background:var(--color-primary);color:var(--color-onPrimary);font:600 1rem/24px Onest,system-ui,sans-serif;text-decoration:none;text-align:center;transition:background-color 180ms,transform 100ms;cursor:pointer}.button:hover{background:var(--color-primaryPressed);text-decoration:none}.button:active{transform:scale(.98)}.button.secondary{background:var(--color-raised);color:var(--color-action)}.button.secondary:hover{box-shadow:inset 0 0 0 1px var(--color-border)}.stores{display:flex;flex-wrap:wrap;gap:12px}.availability{display:inline-flex;align-items:center;gap:10px;padding:10px 18px 10px 14px;border:1px solid var(--color-divider);border-radius:999px;background:var(--color-surface);font-size:.9375rem;line-height:20px;font-weight:500;max-width:100%}.status-dot{display:block;width:8px;height:8px;border-radius:50%;background:var(--color-primary);flex-shrink:0}
.home-hero{display:grid;grid-template-columns:600px minmax(0,1fr);align-items:stretch;min-height:640px;overflow:hidden}.home-text{padding:72px 0 112px;align-self:center;min-width:0}.home-text h1{margin-top:0;font-size:5rem;line-height:1.05;letter-spacing:-1.2px}.home-text h1 span{display:block}.home-text .lead{margin-top:22px;max-width:500px;line-height:32px}.home-text .availability,.home-text .stores,.home-text .store-options,.home-text .store-soon{margin-top:36px}.phone-stage{min-height:640px;position:relative;overflow:hidden;min-width:0}.phone-art{position:absolute;bottom:0;width:690px;height:640px;--phone-width:330px;--phone-height:676.5px;--screen-width:312px;--screen-radius:45.45px;--showcase-scale:.7790697674;--widget-width:268px;}.phone{position:absolute;left:180px;top:40px;width:var(--phone-width);height:var(--phone-height);background:#1f1d1b;border-radius:54.45px;box-shadow:inset 0 0 0 1px var(--color-border),0 8px 24px #302b291a,0 40px 80px #302b2938}.phone-screen{position:absolute;left:9px;top:9px;width:var(--screen-width);height:calc(var(--phone-height) - 18px);border-radius:var(--screen-radius);background:linear-gradient(#2f3b57,#7c5168 55%,#d8875f);overflow:hidden;color:white}.island{position:absolute;left:50%;transform:translateX(-50%);top:11px;width:99px;height:28.05px;border-radius:999px;background:#0f0e0d}.phone-glow{position:absolute;pointer-events:none}.phone-glow.desktop-art{left:85px;top:50px}.phone-glow.mobile-art{left:28px;top:50px}.mobile-art{display:none}
/* Desktop phone ends at 180 + 330 = 510px; keep the complete frame and
   its specimen inside the stage when the fixed text column leaves less room. */
.phone-art{left:min(0px,calc(100% - 510px))}
/* Authored 344×534 Figma specimen; only the whole composition scales. */
.widgets{position:absolute;top:62px;left:22px;width:var(--widget-width);height:calc(534px * var(--showcase-scale))}
.showcase-composition{width:344px;height:534px;display:flex;flex-direction:column;gap:16px;transform:scale(var(--showcase-scale));transform-origin:top left;color:#302b28;font-family:Onest,system-ui,sans-serif}
.showcase-note{position:relative;width:344px;height:168px;flex:none;filter:drop-shadow(0 6px 9px #261f1729)}
.showcase-note>[data-lang]{position:absolute;inset:0;display:grid;place-items:center}
.showcase-note span{display:flex;align-items:center;justify-content:center;width:304.93px;height:58px;font:400 36px/39px Caveat,cursive;text-align:center}
.showcase-row{display:flex;gap:12px;width:344px;height:166px;flex:none;overflow:hidden}
.showcase-photo,.showcase-drawing{position:relative;width:166px;height:166px;flex:none;overflow:hidden;border-radius:16px}
.showcase-photo-paper{position:absolute;left:5.79px;top:5.79px;width:154.419px;height:154.419px;background:#dce4cb;border-radius:16px}
.showcase-photo-image{position:absolute;left:21.23px;top:21.23px;width:123.535px;height:123.535px;border-radius:4px}
.showcase-ornament{position:absolute;inset:0}
.showcase-doodle{position:absolute;left:19.3px;top:19.3px}
.showcase-ticket{position:relative;width:344px;height:168px;flex:none;overflow:hidden;border-radius:24px;background:#ccdcec;box-shadow:0 6px 18px #261f1729}
.showcase-ticket-stock{position:absolute;inset:0;background:#fff9ef;opacity:.65;border-radius:24px}
.showcase-ticket-stub{position:absolute;left:260px;top:0;width:84px;height:168px;background:#315a7e}
.showcase-tear{position:absolute;inset:0}
.showcase-ticket-title,.showcase-ticket-count,.showcase-ticket-units,.showcase-ticket-date{position:absolute;display:block}
.showcase-ticket-title{left:24px;top:20px;width:216px;height:20px;font-size:14px;line-height:20px;font-weight:600}
.showcase-ticket-count{left:24px;top:48px;width:216px;height:76px;font-size:64px;line-height:76px;font-weight:700;color:#315a7e}
.showcase-ticket-units{left:24px;top:132px;width:216px;height:18px;font-size:13px;line-height:18px;font-weight:500}
.showcase-ticket-date{left:268px;top:57px;width:68px;height:56px;font-size:16px;line-height:24px;font-weight:500;text-align:center;color:#fff9ef}

.site-footer{flex:none;border-top:1px solid var(--color-divider)}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;padding-block:24px}.footer-meta{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:.875rem;line-height:1.429}.footer-meta small{font-size:.8125rem;line-height:1.538;color:var(--color-secondary)}.footer-meta a{color:var(--color-secondary);text-decoration:none;overflow-wrap:anywhere}.footer-meta a:hover{color:var(--color-text);text-decoration:underline}.footer-links{display:flex;flex-wrap:wrap;align-content:flex-start;gap:12px 24px;max-width:100%;font-size:.875rem;line-height:20px}.footer-links a{color:var(--color-secondary);text-decoration:none}.footer-links a:hover,.footer-links a[aria-current=page]{color:var(--color-text)}.footer-links a:hover{text-decoration:underline}.article{width:calc(100% - 48px);max-width:680px;margin-inline:auto;padding-block:72px 112px;overflow-wrap:anywhere}.article h1{margin-top:0}.article>.lang,.article [data-lang]>.lead{margin-top:20px}.article p{font-size:1.125rem;line-height:30px}.article p.lead{font-size:1.3125rem;line-height:32px}.article section{margin-top:48px}.article section h2{margin-bottom:20px}.article [data-lang]>p:not(.lead):not(.edition){margin-top:20px}.contact-card{margin:40px 0 20px;display:flex;align-items:center;gap:24px;padding:24px 28px;border:1px solid var(--color-divider);border-radius:20px;background:var(--color-surface);box-shadow:0 2px 8px #302b290d}.contact-address{min-width:0;flex:1}.contact-address>span{display:block;font-size:.875rem;line-height:20px;color:var(--color-secondary)}.contact-address>strong{display:block;margin-top:4px;font-size:1.25rem;line-height:28px;font-weight:600;overflow-wrap:anywhere}.contact-card .button{flex:none;min-width:220px}.short-page{min-height:0}.short-page .button{margin-top:36px;min-width:240px}.edition{display:inline-block;margin-top:24px;padding:10px 14px;border:1px solid var(--color-divider);border-radius:12px;font-size:.875rem!important;line-height:1.428571!important;color:var(--color-secondary)}.document-body{margin-top:32px}.document-body p{margin:20px 0}.document-body h3,.document-body h2{margin:48px 0 20px}.document-body ul,.document-body ol{font-size:1.125rem;line-height:30px;padding-left:24px}.document-body li+li{margin-top:8px}.document-body table{width:100%;border-collapse:collapse;font-size:1rem;line-height:26px;margin:24px 0}.document-body th,.document-body td{border-bottom:1px solid var(--color-divider);padding:16px;text-align:left;vertical-align:top}.document-body th{font-weight:600;background:var(--color-raised)}.document-body td:first-child{width:31%;font-weight:500}.document-body mark{background:var(--color-raised);color:var(--color-text);padding:1px 3px;border-radius:3px;overflow-wrap:anywhere}
.invitation{display:grid;grid-template-columns:540px minmax(0,1fr);align-items:center;min-height:620px;position:relative}.invitation h1{font-size:4rem;line-height:70px;letter-spacing:-1px;margin-top:0}.invitation .lead{margin-top:22px;max-width:500px}.reopen{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;padding:12px 16px 12px 14px;border:1px solid var(--color-divider);border-radius:14px;font-size:.9375rem;line-height:22px;font-weight:500;margin-top:28px}.invite-actions .stores,.invite-actions>.availability{margin-top:20px}.invitation-stage{position:relative;height:520px;width:500px;justify-self:end}.invitation-glow{position:absolute;left:-20px;top:-30px;width:calc(100% + 40px);height:auto;pointer-events:none}.invitation-card{position:absolute;left:50px;top:112.55px;transform:rotate(-2.5deg);width:400px;padding:36px;border:1px solid var(--color-divider);border-radius:24px;background:var(--color-surface);box-shadow:0 2px 6px #302b290f,0 20px 40px #302b291a}.envelope{position:relative;width:261px;height:133.4px}.envelope img{position:absolute;left:0;top:0;width:261px;height:133.4px}.dark-art{display:none}.group-name{font-family:'PT Serif',Georgia,serif;font-size:2.125rem;line-height:40px;margin-top:22px}.group-name bdi,.inviter bdi{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inviter{display:flex;gap:.3em;font-size:1rem;line-height:22px;margin-top:6px;color:var(--color-secondary)}.inviter bdi{min-width:0;flex:1}.retry{margin-top:28px}.invitation[data-state=loading],.invitation[data-state=retry],.invitation[data-state=unavailable]{grid-template-columns:1fr}.invitation:not([data-state=invitation]):not([data-state=full]) .invitation-copy{width:680px;max-width:100%;margin-inline:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--color-text);color:var(--color-background);padding:12px 20px;border-radius:28px;opacity:0;pointer-events:none;z-index:2}.toast.visible{opacity:1}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{color:var(--color-action);position:fixed;top:8px;left:8px;z-index:10;background:var(--color-surface);padding:12px 16px;border-radius:8px}.entrance{animation:enter 240ms ease-out both}.phone-art{animation:enter 240ms 80ms ease-out both}@keyframes enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-color-scheme:dark){.light-art{display:none}.dark-art{display:block}}
@media(max-width:1100px){.wrap{width:calc(100% - 80px)}.home-hero{grid-template-columns:minmax(0,1fr) 360px}.home-text h1{font-size:4.25rem}.home-text .lead{max-width:430px}.invitation{grid-template-columns:minmax(0,1fr) 440px}.invitation-stage{width:440px}.invitation-card{left:20px}.invitation h1{font-size:3.5rem}}
@media(max-width:800px){.wrap{width:calc(100% - 48px)}.home-hero.wrap{display:flex;flex-direction:column;width:100%;max-width:none;min-height:0;overflow:hidden}.home-text{padding:28px 24px 0;align-self:stretch}.home-text h1{margin-top:0;font-size:3rem;line-height:52px;letter-spacing:-.6px}.home-text .lead{font-size:1.125rem;line-height:27px;margin-top:24px;max-width:100%}.home-text .availability,.home-text .stores,.home-text .store-options,.home-text .store-soon{margin-top:24px}.availability{font-size:.875rem;padding-block:9px}.phone-stage{flex:1;min-height:470px;width:100%}.phone-art{width:446px;height:470px;left:50%;margin-left:-223px;--phone-width:286px;--phone-height:586.3px;--screen-width:268px;--screen-radius:38.19px;--showcase-scale:.6511627907;--widget-width:224px;}.phone{left:80px;border-radius:47.19px}.island{width:85.8px;height:24.31px}.desktop-art{display:none}.mobile-art{display:block}.footer-inner{flex-direction:column;align-items:flex-start;gap:20px}.footer-links{max-width:100%;gap:12px 24px}.article{padding-block:32px 56px}.article [data-lang]>.lead{margin-top:16px}.short-page .button{width:100%;min-width:0;margin-top:28px}.article h1{font-size:2.375rem;line-height:44px;letter-spacing:-.4px}.article p,.document-body ul,.document-body ol{font-size:1.0625rem;line-height:27px}.article p.lead{font-size:1.125rem;line-height:27px}.article h2,.article h3{font-size:1.5rem;line-height:32px}.article section,.document-body h2,.document-body h3{margin-top:36px}.contact-card{flex-direction:column;align-items:stretch;padding:20px;gap:20px;margin-top:28px}.contact-card .button{width:100%;min-width:0}.contact-address strong{font-size:1.125rem;line-height:26px}.document-body table,.document-body tbody,.document-body tr,.document-body td{display:block}.document-body thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.document-body td:first-child{width:100%;font-weight:600;padding-bottom:0;border:0}.document-body td{padding-inline:0}.document-body td:last-child{padding-top:8px}.stores{flex-direction:column}.stores .button{width:100%}}
@media(max-width:380px){.wrap{width:calc(100% - 40px)}.brand{font-size:1.25rem;gap:7px}.brand img{width:28px;height:28px}.home-text{padding-inline:20px}.home-text h1{font-size:2.625rem;line-height:1.1}.availability{font-size:.8125rem}.article{width:calc(100% - 40px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.entrance,.phone-art{animation:fade 100ms linear both;animation-delay:0ms}.button{transition:background-color 100ms}.button:active{transform:none}.invitation-card{transform:none}@keyframes fade{from{opacity:0}to{opacity:1}}}

/* UI line heights scale with text; decorative phone content retains its artwork geometry. */
html{font-size:100%}.site-header{height:auto;min-height:80px;padding-block:20px;flex-wrap:wrap}.brand{font-size:24px;line-height:32px}.language-switch button{line-height:1.385}.lead{line-height:1.524}.button{line-height:1.5}.availability{line-height:1.333}.home-text .lead{line-height:1.524}.footer-links{line-height:1.429}.article p{line-height:1.667}.article p.lead{line-height:1.524}.contact-address>span{line-height:1.429}.contact-address>strong{line-height:1.4}.document-body ul,.document-body ol{line-height:1.667}.document-body table{line-height:1.625}.invitation h1{line-height:1.094}.reopen{line-height:1.467}.group-name{line-height:1.176}.inviter{line-height:1.375}
@media(max-width:800px){.home-text h1{line-height:1.0833}.home-text .lead{line-height:1.5}.article h1{line-height:1.158}.article p,.document-body ul,.document-body ol{line-height:1.588}.article p.lead{line-height:1.5}.article h2,.article h3{line-height:1.333}.contact-address strong{line-height:1.444}.group-name{line-height:1.286}.reopen{line-height:1.571}}
@media(max-width:380px){.brand{font-size:20px;line-height:28px}.home-text h1{line-height:1.1}}

.footer-links a{min-width:0;max-width:100%;overflow-wrap:anywhere}
/* Mobile I01 uses its own artwork and spacing roles; text growth stays intrinsic. */
@media(max-width:800px){
  .invitation{display:flex;flex-direction:column;min-height:0;padding-block:28px 60px}
  .invitation-copy,.invitation-copy>[data-lang]{display:contents}
  .invitation h1{order:-2;width:100%;font-size:2.75rem;line-height:1.090909;letter-spacing:-.4px;margin-top:0;overflow-wrap:anywhere}
  .invitation-stage{order:-1;align-self:center;width:100%;max-width:342px;height:auto;margin-top:24px}
  .invitation-card{position:relative;left:0;top:0;width:100%;height:auto;padding:28px;transform:none}
  .invitation .envelope{width:216px;height:110.4px;margin-inline:0}
  .invitation .envelope img{width:216px;height:110.4px;left:0;top:0}
  .invitation .group-name{font-size:1.75rem;line-height:1.214286;margin-top:18px}
  .invitation .inviter{font-size:.9375rem;line-height:1.466667}
  .invitation .lead{width:100%;max-width:none;font-size:1.125rem;line-height:1.5;margin-top:24px}
  .invitation-glow{left:50%;width:100vw;max-width:540px;height:auto;transform:translateX(-50%);margin-left:0;top:-50px}
  .invite-actions{width:100%}
  .reopen{margin-top:16px;width:100%;font-size:.9375rem;line-height:1.466667}
  .invite-actions .stores,.invite-actions>.availability{margin-top:24px}
  .invitation:not([data-state=invitation]):not([data-state=full]){min-height:0;align-items:flex-start}
}

/* Store marks share the page palette and stay legible before links are enabled. */
.store-options{display:flex;flex-wrap:wrap;gap:12px;width:100%;max-width:440px}
.store-card{flex:1 1 11rem;display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:64px;padding:16px;border:0;border-radius:20px;background:var(--color-text);color:var(--color-background);text-align:left;text-decoration:none;overflow-wrap:anywhere}

.store-card svg{width:28px;height:28px;flex:none}
.store-card strong{font-size:1.125rem;line-height:1.333333;font-weight:600}
.store-card[href]:hover{box-shadow:0 4px 12px #302b2926;text-decoration:none}
@media(max-width:800px){.store-card{flex-basis:9rem;gap:10px}.store-card svg{width:24px;height:24px}.store-card strong{font-size:1rem;line-height:1.5}}
@media(max-width:380px){.store-card{flex-basis:100%}}
/* Homepage bird: the Rive canvas is laid over the page and placed on the showcase note by bird.js. */
body[data-page=home]{position:relative}
.bird-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}
.bird-canvas{position:absolute}
.bird-canvas canvas{display:block;width:100%;height:100%}
.showcase-note span{transition:opacity 180ms ease-out}
.showcase-note span.out{opacity:0}

/* The same canonical screen paper as the app; tiles keep their page origin. */
body::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:var(--site-paper-pattern),var(--site-paper-grain);background-size:360px 360px,100px 100px;background-position:0 0;background-repeat:repeat}
.store-soon{display:flex;align-items:center;gap:10px;max-width:100%;font-size:1.125rem;line-height:1.2;color:var(--color-secondary)}
.store-soon svg{width:22px;height:22px;flex:none}
.store-soon span{min-width:0;overflow-wrap:anywhere}
@media(max-width:800px){.site-header{padding-block:14px}.store-soon{font-size:.9375rem}.store-soon svg{width:18px;height:18px}.language-switch button{min-width:44px;min-height:44px;padding:10px 14px}.language-switch button:after{content:none}.footer-links{gap:24px}.footer-links a{display:inline-flex;align-items:center;min-height:44px;padding-block:12px}}

/* Let the longer Duo label wrap without collapsing the inviter name at large text. */
.invitation[data-kind=pair] .inviter{flex-wrap:wrap}.invitation[data-kind=pair] .inviter bdi{flex-basis:6em;max-width:100%}
