@import url("/site/brand/tokens/ryadom.css?v=a43f8ca38061");

* { box-sizing: border-box; }
html { scroll-padding-top: var(--ry-space-4); }
body {
  margin: 0;
  background: var(--ry-paper);
  color: var(--ry-ink);
  font: var(--ry-weight-body) var(--ry-body)/var(--ry-body-leading) var(--ry-font);
  font-synthesis: none;
}
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: var(--ry-weight-section); }
h1, h2 { line-height: var(--ry-display-leading); letter-spacing: -.055em; }
h1 { font-size: var(--ry-heading); }
h2 { font-size: var(--ry-section); text-wrap: balance; }
h3 { font-size: var(--ry-title); line-height: 1.18; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
input, button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button { background: transparent; }
button:disabled { opacity: .46; cursor: default; }
svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: var(--ry-focus-width) solid var(--ry-focus); outline-offset: 4px; }
::selection { color: var(--ry-on-action); background: var(--ry-action); }
[hidden] { display: none !important; }
.wrap { width: min(calc(var(--ry-max-width) - 2 * var(--ry-edge)), calc(100% - 2 * var(--ry-edge))); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 12px 16px; background: var(--ry-paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header, .wordmark, .site-header nav, .connect-link, .quiet-link, .site-footer { display: flex; align-items: center; }
.site-header { min-height: 84px; gap: var(--ry-space-8); border-bottom: 1px solid var(--ry-line); }
.wordmark { width: fit-content; gap: 7px; min-height: var(--ry-target); font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.brand-symbol { display: block; width: 36px; height: 36px; flex-shrink: 0; }
.site-header nav { flex-wrap: wrap; gap: 0 var(--ry-space-6); margin-left: auto; }
.site-header nav a, .quiet-link, .connect-link, .site-footer a:not(.wordmark) {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--ry-target);
  font-size: 14px; font-weight: var(--ry-weight-control);
}
.quiet-link { padding: 0; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.connect-link { padding: 8px 16px; border: 1px solid var(--ry-field-border); border-radius: var(--ry-radius); }
.site-header > .quiet-link:last-child { margin-left: auto; }
.site-header nav a:hover, .quiet-link:hover, .site-footer a:not(.wordmark):hover { color: var(--ry-hover); }
.connect-link:hover, .secondary:hover { background: var(--ry-hover-light); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--ry-space-4);
  min-height: 48px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--ry-radius);
  font-size: 15px; font-weight: var(--ry-weight-control); line-height: 1.35; text-align: center;
}
.button, .connect-link, .arrow, .slide-arrow {
  transition: background-color var(--ry-motion-action) var(--ry-ease), transform var(--ry-motion-action) var(--ry-ease);
}
.button:active, .connect-link:active, .arrow:active, .slide-arrow:not(:disabled):active { transform: translateY(1px); }
.button span { font-size: 18px; }
.primary { background: var(--ry-action); color: var(--ry-on-action); }
.primary:hover { background: var(--ry-hover); }
.secondary { border-color: var(--ry-field-border); }
.stop, .dark-button { background: var(--ry-ink); color: var(--ry-field); }
.stop:hover, .dark-button:hover { background: #383838; }

.section-intro, .consent-layout, .download-section, .faq-section {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--ry-space-8);
}
.section { border-top: 1px solid var(--ry-line); padding: var(--ry-section-space) 0; }
.section-intro { align-items: baseline; margin-bottom: clamp(28px, 3.6vw, 52px); }
.section-intro p, .consent-copy > p, .download-copy > p { max-width: 48ch; color: var(--ry-muted); }
.consent-layout, .download-section, .faq-section { align-items: start; }
.consent-copy, .download-copy { max-width: 460px; }
.consent-copy > p, .download-copy > p { margin-block: 20px 24px; }
.rule summary {
  display: flex; justify-content: space-between; gap: 14px; align-items: center; list-style: none;
  min-height: var(--ry-target); padding: 14px 0; border-top: 1px solid var(--ry-line);
  font-weight: var(--ry-weight-control); line-height: 1.45;
}
.rule summary::-webkit-details-marker { display: none; }
.rule summary::after { content: "+"; flex-shrink: 0; font-size: 21px; line-height: 1; font-weight: 400; }
.rule[open] > summary::after { content: "−"; }
.rule summary:hover { color: var(--ry-hover); }
.rule p { padding-bottom: 16px; color: var(--ry-muted); font-size: 15px; max-width: 68ch; }
.rule:last-child { border-bottom: 1px solid var(--ry-line); }

.presentation { padding: 0 clamp(20px, 3.4vw, 48px); background: var(--ry-hover-light); border-radius: var(--ry-radius); }
.presentation-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ry-line); color: var(--ry-muted); font-size: var(--ry-caption); }
.download-meta { font-size: var(--ry-caption); }
.download-details p, .download-details li { color: var(--ry-muted); }

.feature-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ry-space-8); }
.feature-highlights > div { padding: 20px 0; border-top: 1px solid var(--ry-ink); }
.feature-highlights dt { margin-bottom: 12px; font-size: var(--ry-title); line-height: 1.2; letter-spacing: -.035em; font-weight: var(--ry-weight-section); }
.feature-highlights dd, .feature-list dd { color: var(--ry-muted); max-width: 64ch; }
.feature-groups { margin-top: var(--ry-space-8); }
.feature-list { padding: 0 0 24px; }
.feature-list > div { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: var(--ry-space-8); padding-block: 12px; }
.feature-list dt { font-weight: var(--ry-weight-control); }

.presentation { padding-bottom: var(--ry-space-4); }
.presentation-toolbar { padding: 8px 0; font-variant-numeric: tabular-nums; }
.presentation-toolbar .quiet-link { color: var(--ry-ink); }
.slide { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(20px, 5vw, 80px); min-height: 320px; padding-block: clamp(22px, 4vw, 52px); }
.slide + .slide:not([hidden]) { border-top: 1px solid var(--ry-line); }
.presentation[data-ready] .slide { border-top: 0; }
.slide h3 { font-size: clamp(27px, 3vw, 42px); line-height: 1.12; }
.slide p { margin-top: 16px; color: var(--ry-muted); max-width: 56ch; }
.people-visual, .tech-visual, .release-visual { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.people-visual span, .tech-visual span { padding: 14px 18px; border: 1px solid var(--ry-field-border); border-radius: var(--ry-radius); }
.people-visual svg { width: 30px; }
.slide-steps { margin: 0; padding-left: 24px; }
.slide-steps li { padding: 8px 0; }
.release-visual { flex-direction: column; align-items: flex-start; }
.release-visual strong { font-weight: var(--ry-weight-section); font-size: clamp(40px, 5vw, 72px); letter-spacing: -.055em; line-height: 1.1; }
.presentation-controls, .slide-tabs { display: flex; align-items: center; justify-content: space-between; }
.presentation-controls { border-top: 1px solid var(--ry-line); padding: 8px 0 0; }
.slide-arrow, .slide-tabs button, .arrow { display: grid; place-items: center; width: var(--ry-target); height: var(--ry-target); padding: 0; border: 0; border-radius: var(--ry-radius); }
.slide-arrow:hover:not(:disabled), .slide-tabs button:hover { background: var(--ry-paper); }
.slide-tabs button::after { content: ""; width: 7px; height: 7px; border-radius: 100%; background: var(--ry-muted); }
.slide-tabs button[aria-current]::after { width: 18px; border-radius: 4px; background: var(--ry-action); }
.presentation:fullscreen { width: 100vw; height: 100dvh; display: flex; flex-direction: column; padding: 16px var(--ry-edge); border-radius: 0; overflow: auto; }
.presentation:fullscreen .slides { flex: 1; display: grid; align-items: center; }

.download-copy .download-meta { margin: 8px 0 20px; }
.download-copy .invite-note, .download-details { font-size: 15px; }
.invite-note a, .faq-list p a { text-decoration: underline; text-underline-offset: 3px; }
.download-details { max-width: 64ch; }
.download-details ol { padding-left: 22px; margin: 16px 0; }
.download-details li { padding: 0 0 8px 4px; }
.download-details .limits { margin-top: 20px; border-top: 1px solid var(--ry-line); padding-top: 20px; }
.limits h3 { margin-bottom: 8px; font-size: 18px; }
.rc-releases {
  margin-top: var(--ry-space-6);
  padding-top: var(--ry-space-4);
  border-top: 1px solid var(--ry-line);
}
.rc-releases h3 { font-size: var(--ry-title); margin-bottom: var(--ry-space-3); }
.rc-current h4 { font-size: 17px; line-height: 1.4; font-weight: var(--ry-weight-control); }
.rc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--ry-space-6); }
.rc-releases summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--ry-space-4);
  min-height: var(--ry-target); padding-block: var(--ry-space-2);
  font-weight: var(--ry-weight-control); line-height: 1.4; list-style: none;
}
.rc-releases summary::-webkit-details-marker { display: none; }
.rc-releases summary::after { content: "+"; flex-shrink: 0; font-size: 20px; font-weight: 400; }
.rc-releases details[open] > summary::after { content: "−"; }
.rc-releases summary:hover { color: var(--ry-hover); }
.rc-notes { border-top: 1px solid var(--ry-line); }
.rc-archive { border-block: 1px solid var(--ry-line); }
.rc-rows { padding-left: var(--ry-space-4); }
.rc-row { border-top: 1px solid var(--ry-line); }
.rc-releases details > p { margin-bottom: var(--ry-space-3); }
.rc-releases details > p a { color: var(--ry-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer { flex-wrap: wrap; gap: 8px 24px; min-height: 84px; padding: 16px 0; border-top: 1px solid var(--ry-line); }
.site-footer p { margin-right: auto; color: var(--ry-muted); font-size: var(--ry-caption); }

@keyframes state-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes appear { from { opacity: .5; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.change-state { animation: state-in var(--ry-motion-state) var(--ry-ease-state); }

@media (min-width: 701px) and (max-width: 960px) {
    .site-header { gap: 16px; }
  .site-header nav { gap: 12px; }
  .connect-link { padding-inline: 12px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 72px; flex-wrap: wrap; gap: 0 12px; padding: 8px 0; }
  .wordmark { font-size: 27px; }
  .brand-symbol { width: 30px; height: 30px; }
  .site-header .connect-link { margin-left: auto; padding-inline: 12px; }
  .site-header nav { order: 3; width: 100%; gap: 0 16px; margin: 0; }
  .section-intro, .consent-layout, .feature-highlights, .feature-list > div, .slide, .download-section, .faq-section { grid-template-columns: minmax(0, 1fr); }
    .section-intro { gap: 14px; margin-bottom: 28px; }
  .consent-layout, .download-section, .faq-section { gap: 28px; }
  .download-copy, .consent-copy { max-width: none; }
  .feature-highlights { gap: 0; }
  .feature-highlights > div { padding-block: 16px; }
  .feature-highlights dt { margin-bottom: 6px; }
  .feature-list > div { gap: 6px; }
  .feature-groups { margin-top: 16px; }
  .slide { align-content: start; min-height: 390px; }
  .slide br { display: none; }
  .people-visual, .tech-visual { justify-content: flex-start; }
  .people-visual span { max-width: 100%; }
  .site-footer { align-items: flex-start; gap: 4px 16px; }
  .site-footer p { width: 100%; }
}
@media (max-width: 420px) {
  .site-header nav { justify-content: space-between; gap: 0 8px; }
  .site-header nav a { font-size: 13px; }
    .presentation-controls { flex-wrap: wrap; }
  .slide-tabs { order: 3; width: 100%; justify-content: center; }
  .people-visual { flex-direction: column; align-items: flex-start; }
  .people-visual svg { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation: none !important; transition: none !important; }
  .button:active, .connect-link:active, .arrow:active, .slide-arrow:not(:disabled):active { transform: none; }
}

/* The first scene includes negative space on its left in the source photograph. */
.gallery { align-self: center; min-width: 0; }
.art-frame {
  position: relative; overflow: hidden; aspect-ratio: 1.8;
  background: var(--ry-hover-light); border-radius: var(--ry-radius);
}
.scene { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene.devices { position: relative; width: 140%; left: -40%; object-position: right 57%; }
.scene.permission { object-position: center 47%; }
.scene.files { object-position: center 55%; }
.scene.change { animation: appear var(--ry-motion-state) var(--ry-ease-state); }
.gallery figcaption, .scene-caption, .gallery-actions { display: flex; align-items: center; }
.gallery figcaption { min-height: 60px; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ry-line); }
.scene-caption { gap: 14px; font-size: var(--ry-caption); font-weight: var(--ry-weight-control); }
.counter { color: var(--ry-muted); font-weight: var(--ry-weight-body); font-variant-numeric: tabular-nums; }
.arrow { font-size: 22px; line-height: 1; }
.arrow:hover { background: var(--ry-hover-light); }
@media (min-width: 701px) and (max-width: 960px) { .art-frame { aspect-ratio: 1.35; } }

.header-actions, .language-switch { display: flex; align-items: center; }
.header-actions { gap: var(--ry-space-3); }
.language-switch a { display: grid; place-items: center; min-width: var(--ry-target); min-height: var(--ry-target); border-radius: var(--ry-radius); font-size: var(--ry-caption); color: var(--ry-muted); }
.language-switch a:hover { background: var(--ry-hover-light); color: var(--ry-hover); }
.language-switch [aria-current="page"] { color: var(--ry-ink); font-weight: var(--ry-weight-control); text-decoration: underline; text-decoration-color: var(--ry-action); text-underline-offset: 5px; }
.download-copy .language-notice { border-top: 1px solid var(--ry-line); padding-top: var(--ry-space-4); font-size: var(--ry-caption); }
.download-details .limits > p { margin-top: var(--ry-space-3); }
.download-details .limits > p a { max-width: 100%; }
.download-details { overflow-wrap: anywhere; }
@media (max-width: 1050px) {
  .site-header { flex-wrap: wrap; gap: 0 var(--ry-space-3); padding-block: 8px; }
  .site-header nav { order: 3; width: 100%; margin: 0; gap: 0 var(--ry-space-4); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 420px) {
  .site-header .header-actions { gap: 0; }
  .site-header .connect-link { padding-inline: 8px; font-size: 13px; }
  .header-actions .connect-link svg { display: none; }
}

/* Public homepage, from the Remlio «Рядом» kit. */
.bounds { width: min(100%, var(--ry-max-width)); margin-inline: auto; padding-inline: var(--ry-edge); }
.mast-inner, .mast nav, .logo, .login { display: flex; align-items: center; }
.mast-inner { min-height: clamp(68px, 5.7vw, 90px); gap: clamp(14px, 2.5vw, 42px); }
.logo { margin-right: auto; margin-left: -5px; min-height: var(--ry-target); }
.logo img { display: block; width: 138px; height: auto; }
.mast nav { gap: clamp(12px, 2vw, 32px); }
.mast a:not(.logo) { display: inline-flex; align-items: center; min-height: var(--ry-target); font-size: var(--ry-caption); font-weight: 650; }
.mast nav a:hover, .login:hover { text-decoration: underline; text-underline-offset: 4px; }
.login { gap: 7px; }
.mast .language-switch { gap: 0; }
.mast .language-switch a { justify-content: center; }
.camera { color: var(--ry-on-action); background: #171614; }
.camera :focus-visible { outline-color: var(--ry-focus-light); }
.stage { overflow: hidden; }
.stage-inner { position: relative; display: grid; align-items: center; width: min(100%, var(--ry-max-width)); min-height: clamp(530px, 43vw, 690px); margin-inline: auto; }
.stage-copy { position: relative; z-index: 1; width: fit-content; max-width: 46%; padding: 48px 0 48px var(--ry-edge); }
.stage-copy h1 { font-size: var(--ry-display); font-weight: var(--ry-weight-display); line-height: var(--ry-display-leading); letter-spacing: var(--ry-heading-tracking); word-spacing: var(--ry-word-spacing); }
.stage-copy p { max-width: 33ch; margin-top: clamp(22px, 2vw, 32px); color: #e0ded9; font-size: clamp(16px, 1.22vw, 20px); line-height: var(--ry-body-leading); }
.light { background: var(--ry-paper); color: var(--ry-ink); gap: 22px; padding-inline: 20px; margin-top: clamp(24px, 2.3vw, 38px); }
.light:hover { background: var(--ry-field); }
.visual { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.plate { position: absolute; right: 0; top: 50%; width: 100%; aspect-ratio: 1672 / 941; transform: translateY(-50%); isolation: isolate; container-type: inline-size; }
.photo, svg.shared-screen { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shared-screen { opacity: 0; transition: opacity var(--ry-motion-screen) ease; }
.screen-note { position: absolute; display: flex; align-items: center; justify-content: center; opacity: 0; }
.screen-note { background: var(--ry-paper); color: var(--ry-ink); border-radius: .28cqw; padding: .65cqw 1cqw; gap: .38cqw; font-size: 1.02cqw; font-weight: 700; transition: opacity var(--ry-motion-state) ease; }
.owner-note { left: 74.9%; top: 50.5%; transform: translate(-50%, -50%) rotate(13deg); }
.owner-note img { width: 1.8cqw; height: 1.8cqw; }
.helper-note { left: 61.5%; top: 16%; transform: translate(-50%, -50%) rotate(10deg); }
.demo-cursors { position: absolute; inset: 0; pointer-events: none; }
.demo-cursor {
  position: absolute; width: clamp(18px, 2.2cqw, 34px); aspect-ratio: 1;
  filter: drop-shadow(0 1px 1px #1b1a18) drop-shadow(0 0 1px #1b1a18);
}
.demo-cursor::before {
  content: ""; position: absolute; inset: 0; background: currentColor;
  mask: url("/site/brand/consent-pointer.svg") center / contain no-repeat;
}
.demo-cursor--helper {
  left: 62.5%; top: 23%; color: var(--ry-paper);
  --travel-x: 8cqw; --travel-y: 17.1cqw;
}
.demo-cursor--owner {
  left: 80.4%; top: 60.9%; color: var(--ry-brand);
  --travel-x: -7.2cqw; --travel-y: -3.5cqw;
}
.camera:is([data-phase="connecting"], [data-phase="granted"]) .demo-cursor {
  transform: translate(var(--travel-x), var(--travel-y));
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}
[data-phase="entry"] .screen-note, [data-phase="pending"] .screen-note, [data-phase="granted"] .shared-screen { opacity: 1; }
[data-phase="entry"] .owner-note img { display: none; }
.example { scroll-margin-top: min(55vh, 460px); background: var(--ry-panel); border-block-start: 1px solid #ffffff24; }
.example-inner, #demo-form, #demo-result, .story-buttons { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.example-inner { min-height: 92px; padding-block: 16px; }
.example h2, .example label { display: block; font-size: 18px; font-weight: var(--ry-weight-title); letter-spacing: -.025em; line-height: 1.3; text-align: left; }
.example p { margin-top: 4px; color: var(--ry-panel-muted); font-size: var(--ry-caption); line-height: 1.5; }
.story-action, .story-quiet { min-height: var(--ry-target); font-size: var(--ry-caption); font-weight: var(--ry-weight-control); }
.story-action { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #ffffff70; border-radius: var(--ry-radius); padding: 10px 16px; }
.story-action:hover { border-color: white; background: #ffffff12; }
.story-quiet { padding: 8px 4px; text-decoration: underline; text-underline-offset: 4px; border: 0; }
#demo-entry, #demo-result { width: 100%; }
#demo-form input { background: var(--ry-panel-field); color: white; border: 1px solid var(--ry-panel-border); border-radius: var(--ry-radius); padding: 10px 14px; width: min(100%, 24ch); min-height: 46px; font-variant-numeric: tabular-nums; letter-spacing: .04em; margin-block: 8px 0; }
#field-error { color: var(--ry-error-light); }
#state-description { max-width: 58ch; }
.example .scene-meta { margin: 0 0 4px; }
.story-buttons { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; padding-block: clamp(54px, 6.5vw, 112px); }
.guide h2 { font-size: var(--ry-section); letter-spacing: var(--ry-heading-tracking); word-spacing: var(--ry-word-spacing); }
.guide .rule summary { padding-block: 18px; font-size: clamp(17px, 1.42vw, 24px); letter-spacing: -.025em; }
.guide .rule .quiet-link { margin-bottom: 12px; }
.gallery-detail .gallery { max-width: 800px; margin: 8px auto 24px; }
.gallery-detail .art-frame { aspect-ratio: 2.2; }
.gallery-detail figcaption { border-bottom: 0; }

@media (min-width: 721px) and (max-width: 1000px) {
  .stage-inner { min-height: 440px; }
  .stage-copy { max-width: 45%; }
  .stage-copy p { max-width: 25ch; }
}
@media (max-width: 720px) {
  .mast-inner { min-height: 64px; gap: 8px; }
  .mast .logo img { width: 112px; }
  .mast nav { display: none; }
  .stage-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .stage-copy { width: 100%; max-width: none; padding: 36px var(--ry-edge) 12px; }
  .stage-copy p { margin-top: 18px; font-size: 16px; }
  .light { margin-top: 20px; }
  .visual { position: relative; inset: auto; width: 100%; height: clamp(206px, 64vw, 345px); }
  .plate { width: 152%; right: -1%; }
  .visual::after { content: ""; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(#171614, transparent); }
  .example { scroll-margin-top: min(45vh, 330px); }
  .example-inner, #demo-form, #demo-result { flex-wrap: wrap; justify-content: flex-start; }
  .example-inner { padding-block: 19px; }
  .guide { grid-template-columns: 1fr; gap: 30px; padding-block: 46px; }
  .guide h2 br { display: none; }
}
