/* Marketing page system. Scoped so account and legal pages keep their layouts. */
html[data-theme="dark"]:has(.landing-home) { color-scheme: dark; }
html[data-theme="light"]:has(.landing-home) { color-scheme: light; }
.landing-shell:has(.landing-home) {
  --font: "Onest", system-ui, sans-serif;
  --landing-display: var(--font);
  background: #f7f9fc;
}
html[data-theme="dark"] .landing-shell:has(.landing-home) {
  background: #0b111d;
}
.landing-shell:has(.landing-home)::before { display: none; }
.landing.landing-home {
  --ink-muted: #526176;
  --ink-faint: #64748b;
  --landing-action: #0055e6;
  /* Pink marks secondary highlights; primary actions remain blue. */
  --ozon-pink: #d84382;
  --ozon-pink-ink: #b52866;
  --tile-gap: 16px;
  --tile-bg: #fff;
  --tile-radius: 18px;
  padding: 24px 24px 32px;
  gap: 32px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}
html[data-theme="dark"] .landing-home {
  --ink-muted: #aab8cf;
  --ink-faint: #aab8cf;
  --tile-bg: #141e30;
  --landing-action: #2161e8;
  --ozon-pink: #ee80ac;
  --ozon-pink-ink: #f5a0c1;
}
.landing-home .landing-main { gap: clamp(56px, 7vw, 88px); }
.landing-home :is(h1, h2, h3) { overflow-wrap: break-word; }
.landing-home :is(.landing-title, .landing-story-title, .landing-journey-title, .landing-pricing-title, .landing-faq-title, .landing-close-title) {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
  text-wrap: balance;
}
.landing-home .landing-title { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.08; }
.landing-home :is(.landing-story-title, .landing-journey-title, .landing-pricing-title, .landing-faq-title) { font-size: clamp(28px, 3.5vw, 44px); }
.landing-home .landing-close-title { font-size: clamp(30px, 4vw, 52px); }
.landing-home .landing-outcome-title { font-size: clamp(21px, 2vw, 25px); font-weight: 600; line-height: 1.22; letter-spacing: -.025em; margin: 0; }
.landing-home :is(.landing-story-point-title, .landing-journey-step-title) { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.landing-home :is(.landing-lead, .landing-story-lead, .landing-journey-lead, .landing-faq-lead, .landing-close-lead, .landing-pricing .section-lead) { font-size: 18px; line-height: 1.5; letter-spacing: 0; }
.landing-home :is(.landing-outcome-text, .landing-story-point-text, .landing-journey-step-text, .landing-faq-a) { font-size: 16px; line-height: 1.55; letter-spacing: 0; }
.landing-home .landing-title-line { overflow: visible; padding: 0; margin: 0; }
.landing-home .landing-title-line>span { display: inline; }
.landing-home .landing-title-line:nth-child(2)>span,
.landing-home .landing-story-accent { color: var(--accent); background: none; -webkit-text-fill-color: currentColor; }
.landing-home .landing-hero { position: relative; isolation: isolate; min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 32px; padding: 16px 0 0; }
.landing-home .landing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  bottom: -28px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 75% at 80% 44%, #d4e6ff 0, transparent 78%),
    linear-gradient(135deg, #f9fbff 0%, #edf4ff 100%);
  border-bottom: 1px solid #d8e3f3;
}
html[data-theme="dark"] .landing-home .landing-hero::before {
  background:
    radial-gradient(ellipse 50% 75% at 80% 44%, #24466f 0, transparent 78%),
    linear-gradient(135deg, #0b1423 0%, #11243c 100%);
  border-bottom-color: #263c58;
}
.landing-home .landing-hero .landing-title { color: #15243b; }
.landing-home .landing-hero .landing-title-line:nth-child(2)>span { color: #2458df; }
.landing-home .landing-hero .landing-lead { color: #526176; }
.landing-home .landing-hero .landing-demo-btn { background: rgba(255,255,255,.65); border-color: #a8bcd8; color: #15243b; }
.landing-home .landing-hero .landing-demo-btn:hover { background: #fff; color: #15243b; }
.landing-home .landing-hero .landing-demo-mark { background: #dce9ff; color: #2458df; }
.landing-home .landing-hero-categories .landing-marquee { border-color: #cbd9ec; }
.landing-home .landing-hero-categories .landing-marquee-list li { color: #526176; }
.landing-home .landing-hero-categories .landing-marquee-list li::after { background: #7095d0; }
html[data-theme="dark"] .landing-home .landing-hero .landing-title { color: #f4f7fc; }
html[data-theme="dark"] .landing-home .landing-hero .landing-title-line:nth-child(2)>span { color: #9bc5ff; }
html[data-theme="dark"] .landing-home .landing-hero .landing-lead { color: #c5d3e7; }
html[data-theme="dark"] .landing-home .landing-hero .landing-demo-btn { background: rgba(255,255,255,.06); border-color: #6c819e; color: #f4f7fc; }
html[data-theme="dark"] .landing-home .landing-hero .landing-demo-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
html[data-theme="dark"] .landing-home .landing-hero .landing-demo-mark { background: #294464; color: #c3dcff; }
html[data-theme="dark"] .landing-home .landing-hero-categories .landing-marquee { border-color: #405571; }
html[data-theme="dark"] .landing-home .landing-hero-categories .landing-marquee-list li { color: #c5d3e7; }
html[data-theme="dark"] .landing-home .landing-hero-categories .landing-marquee-list li::after { background: #9bc5ff; }
.landing-home .landing-hero-copy { gap: 24px; }
.landing-home .landing-hero-actions { gap: 12px; }
.landing-home .landing-hero .br-desk { display: none; }
.landing-home .landing-lead { max-width: 42ch; }
.landing-home .hero-scene { width: min(100%, 460px); justify-self: center; }
.landing-home .hero-scene .landing-live-stage { height: 92cqw; }
.landing-home .hero-scene-caption { display: none; }
.landing-home .landing-hero-categories { grid-column: 1 / -1; min-width: 0; margin-top: 8px; }
.landing-home .landing-hero-categories .landing-marquee { margin: 0; padding-block: 16px; }
.landing-home .landing-hero::before { display: none; }
.landing.landing-home .landing-hero { row-gap: 0; }
.landing-home .landing-hero-categories { margin-top: clamp(56px, 7vw, 88px); }
.landing-home .landing-story { position: relative; isolation: isolate; gap: 40px; align-items: start; padding: 40px; }
.landing-home .landing-story::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 0;
  right: 0;
  background: #e7f0ff;
  border: 1px solid #cadbf3;
  border-radius: 24px;
  pointer-events: none;
}
html[data-theme="dark"] .landing-home .landing-story::before { background: #142640; border-color: #304d70; }
.landing-home .landing-story-copy { gap: 20px; }
.landing-home .landing-story-lead { max-width: 42ch; }
.landing-home :is(.landing-journey-head, .landing-pricing-copy, .landing-faq-head) { gap: 16px; }
.landing-home :is(.landing-outcomes, .landing-journey-list, .landing-plans) { gap: 16px; }
.landing-home .landing-outcome { padding: 24px; gap: 12px; background: var(--tile-bg); }
.landing-home .landing-outcome-kicker { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.landing-home .landing-journey-step { height: auto; max-height: none; grid-template-rows: auto auto; }
.landing-home .landing-journey-body { padding: 24px; gap: 16px; min-height: 200px; height: auto; max-height: none; overflow: visible; grid-template-rows: auto auto; }
.landing-home .landing-journey-step-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; max-height: none; overflow: visible; }
.landing-home .landing-journey-step-title { margin-bottom: 8px; }
.landing-home .landing-journey-step .landing-journey-n { font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.landing-home .landing-pricing-head { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.landing-home .landing-pricing-copy .section-lead { max-width: 48ch; }
.landing-home .landing-pricing-copy .br-desk { display: none; }
.landing-home .landing-plans .billing-plan-card { padding: 24px; min-width: 0; }
.landing-home .billing-badge { position: static; margin: 0 0 12px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: #164bb0; background: #eaf1ff; }
html[data-theme="dark"] .landing-home .billing-badge { color: #c1d8ff; background: #233b5c; }
.landing-home .landing-plans .is-featured .billing-badge { color: #e4eeff; background: #28486f; }
.landing-home .billing-plan-name { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.landing-home .landing-plans .billing-price>span:first-child { font-size: clamp(36px, 3.5vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.landing-home .billing-price { margin-top: 16px; }
.landing-home :is(.billing-price-period, .billing-price-sub, .billing-slots) { font-size: 14px; line-height: 1.5; }
.landing-home .billing-slots { margin-top: 20px; }
.landing-home .legal-plan-perks { font-size: 15px; line-height: 1.55; gap: 12px; margin-block: 20px; }
.landing-home .landing-plans .billing-plan-card.is-featured { background: #102441; border-color: #254b80; }
.landing-home .billing-plan-card.panel-ink :is(.billing-price-period, .billing-price-sub, .billing-slots, .legal-plan-perks) { color: #c2d1e6; }
.landing-home .billing-plan-card.panel-ink .btn-primary { color: #102441; background: white; }
.landing-home .landing-pricing-period .segmented-option.is-active { background: var(--landing-action); }
.landing-home .landing-pricing-offer { font-size: 14px; line-height: 1.55; }
.landing-home .landing-pricing-offer a { text-decoration: underline; text-underline-offset: 3px; }
.landing-home .landing-faq-item summary { padding: 24px; min-height: 72px; gap: 16px; }
.landing-home .landing-faq-q { font-size: 17px; line-height: 1.45; letter-spacing: -.01em; }
.landing-home .landing-faq-a { padding: 16px 24px 24px; max-width: 78ch; }
.landing-home .landing-close-sell { padding: 64px 32px; gap: 24px; background: #102441; }
.landing-home .landing-close-sell:hover { box-shadow: none; }
.landing-home .landing-close-sell .landing-close-cta.btn-primary:hover:not(:disabled) { box-shadow: none; }
.landing-home .landing-close-lead { color: #c2d1e6; max-width: 46ch; }
.landing-home .landing-close-sell .landing-close-secondary { color: white; background: transparent; border-color: #6e839e; }
.landing-home .landing-close-sell .landing-close-secondary:hover { color: white; background: #203653; }
.landing-home .btn { min-height: 48px; font-size: 15px; line-height: 1.3; font-weight: 600; border-radius: 12px; touch-action: manipulation; letter-spacing: 0; }
.landing-home .btn-primary:not(.billing-plan-btn):not(.landing-close-cta) { background: var(--landing-action); box-shadow: none; }
.landing-home .btn-primary:not(.billing-plan-btn):not(.landing-close-cta):hover { background: #0046c7; box-shadow: none; transform: none; }
.landing-home .btn-ghost:hover { transform: none; box-shadow: none; }
.landing-home :is(.landing-hero-cta, .landing-close-cta) { min-height: 52px; }
.landing-home .landing-cta-arrow { width: 32px; height: 32px; transform: none; }
.landing-home .landing-demo-mark { width: 32px; height: 32px; color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.landing-home .landing-close-secondary .landing-demo-mark { color: white; background: #2a4467; }
.landing-home :is(.landing-hero-cta, .landing-close-cta, .landing-bar-cta)::after { display: none; }
.landing-home :is(a, button, summary):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.landing-home .landing-faq-item summary:focus-visible { outline-offset: -4px; }
.landing-home>.landing-bar.landing-bar-store { min-width: 0; padding: 12px 16px; top: 16px; gap: 12px; }
.landing-home>.landing-bar.landing-bar-store .brand-mark { width: 44px; height: 44px; }
.landing-home>.landing-bar.landing-bar-store .brand-logo { width: 26px; height: 26px; }
.landing-home .landing-bar-store .brand-name { font-family: var(--font); font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.landing-home .landing-bar-nav { gap: 0; margin-right: 0; }
.landing-home .landing-bar-nav a { padding: 12px; font-size: 14px; font-weight: 500; }
.landing-home .landing-bar-store .icon-btn { width: 44px; height: 44px; flex: 0 0 44px; }
.landing-home .landing-bar-store .landing-bar-cta { min-height: 44px; padding: 0 16px; font-size: 14px; }
.landing-home .landing-bar-actions { gap: 8px; }
.landing-home .landing-bar-brand { min-width: 44px; min-height: 44px; }
.landing-home .landing-bar-drawer-nav a { min-height: 44px; display: flex; align-items: center; }
.landing-home .landing-bar-drawer-panel { max-width: calc(100vw - 40px); }
.landing-home .landing-store-foot { padding: 0 0 8px; gap: 24px; }
.landing-home .landing-store-foot-grid { gap: 32px; }
.landing-home .landing-store-foot-pitch { font-size: 15px; line-height: 1.6; }
.landing-home .landing-store-foot-heading { font-size: 14px; line-height: 1.5; color: var(--ink-muted); font-weight: 600; margin-bottom: 8px; }
.landing-home .landing-store-foot-nav { gap: 0; }
.landing-home .landing-store-foot-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.4; font-weight: 400; }
.landing-home .landing-store-foot-brand { min-height: 44px; }
.landing-home :is(.landing-store-foot-name, .landing-store-foot-meta) { font-size: 13px; line-height: 1.5; }
/* The base marquee supplies the seamless duplicate track and reduced-motion fallback. */
.landing-home .landing-marquee { border-block: 1px solid var(--line-strong); padding-block: 20px; }
.landing-home .landing-marquee-list li { font-family: var(--font); font-size: 14px; line-height: 1.5; letter-spacing: 0; }
/* Content is always readable; only the hero reacts to the pointer. */
.landing-store.landing-home.is-motion-on :is([data-reveal], [data-reveal-stagger]>*) { opacity: 1; transform: none; transition: none; }
.landing-home.is-motion-on.is-hero-ready :is(.landing-hero-copy>*, .landing-title-line>span, .landing-journey-n, .landing-bar-store) { animation: none; }
.landing-home .has-spotlight::after { display: none; }
@media (max-width: 1100px) {
  .landing-home .landing-bar-nav a { padding-inline: 8px; font-size: 13px; }
  .landing-home .landing-hero { gap: 24px; }
  .landing-home .landing-title { font-size: clamp(36px, 4.6vw, 52px); }
  .landing-home .landing-hero-actions { flex-direction: column; align-items: stretch; }
}
@media (min-width: 981px) {
  .landing-home .landing-outcomes, .landing-home .landing-journey-list, .landing-home .landing-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .landing-home .landing-hero::before { top: -144px; background-position: center; background-size: 100% 100%; }
  .landing-home .landing-hero { min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; max-width: 680px; margin-inline: auto; width: 100%; gap: 24px; }
  .landing-home .landing-hero-visual { width: 100%; }
  .landing-home .landing-hero-actions { flex-direction: row; }
  .landing-home .landing-hero-actions>.btn { flex: 1; }
  .landing-home .landing-title { font-size: clamp(36px, 6vw, 52px); }
  .landing-home .landing-story { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .landing-home .landing-pricing-head { grid-template-columns: minmax(0, 1fr); }
  .landing-home .landing-pricing-period { justify-items: start; }
  .landing-home .landing-pricing-period .legal-period-note { text-align: left; }
  .landing-home .landing-journey-step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); grid-template-rows: auto; }
  .landing-home .landing-journey-media { height: 100%; aspect-ratio: auto; }
  .landing-home .landing-journey-body { border-top: 0; border-left: 1px solid var(--tile-line); }
  .landing-home .landing-bar-drawer { margin-left: auto; order: 3; }
  .landing-home .landing-bar-actions { margin-left: auto; order: 2; }
}
@media (min-width: 700px) {
  .landing.landing-home .landing-hero { padding-block: 40px 0; }
}
@media (min-width: 1440px) {
  .landing.landing-home .landing-hero { padding-block: 56px 0; }
}
/* Keep portrait tablets compact without shrinking the product scene on phones. */
@media (min-width: 700px) and (max-width: 980px) {
  .landing.landing-home .landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    max-width: none;
  }
  .landing-home:not(.signin-page) .landing-hero .landing-title { font-size: clamp(32px, 4.5vw, 44px); }
  .landing-home:not(.signin-page) .landing-hero-actions { flex-direction: column; }
  .landing-home:not(.signin-page) .landing-hero-actions>.btn { flex: none; width: 100%; }
}
@media (min-width: 601px) and (max-width: 699px) {
  .landing.landing-home .landing-hero { row-gap: 24px; }
  .landing-home .landing-hero-categories { margin-top: 32px; }
  .landing-home .hero-scene { width: min(100%, 380px); }
}
@media (max-width: 600px) {
  .landing-home .landing-hero::before {
    top: -128px;
    bottom: -20px;
    background:
      radial-gradient(ellipse 110% 42% at 65% 76%, #d4e6ff 0, transparent 85%),
      linear-gradient(135deg, #f9fbff 0%, #edf4ff 100%);
  }
  html[data-theme="dark"] .landing-home .landing-hero::before {
    background:
      radial-gradient(ellipse 110% 42% at 65% 76%, #24466f 0, transparent 85%),
      linear-gradient(135deg, #0b1423 0%, #11243c 100%);
  }
  .landing.landing-home { padding: 12px 16px 24px; gap: 24px; }
  .landing-home .landing-main { gap: 56px; }
  .landing-home>.landing-bar.landing-bar-store { top: 8px; padding: 8px; gap: 8px; border-radius: 14px; }
  .landing-home>.landing-bar.landing-bar-store .brand-mark { width: 36px; height: 36px; }
  .landing-home .landing-bar-store .brand-name { font-size: 18px; }
  .landing-home .landing-bar-brand { gap: 8px; min-height: 44px; }
  .landing-home .landing-bar-store .landing-bar-cta { padding-inline: 12px; }
  .landing-home .landing-bar-drawer { margin-left: 0; }
  .landing-home .landing-bar-drawer-panel { min-width: min(280px, calc(100vw - 48px)); }
  .landing-home .landing-hero { gap: 16px; padding-top: 8px; }
  .landing-home .landing-title { font-size: clamp(32px, 9vw, 44px); }
  .landing-home .landing-hero-copy { gap: 20px; }
  .landing-home :is(.landing-lead, .landing-story-lead, .landing-journey-lead, .landing-faq-lead, .landing-close-lead, .landing-pricing .section-lead) { font-size: 17px; line-height: 1.55; }
  .landing-home .landing-hero-actions { flex-direction: row; gap: 8px; }
  .landing-home .landing-hero-actions>.btn { width: auto; min-width: 0; flex: 1; padding: 12px; font-size: 14px; min-height: 48px; }
  .landing-home .landing-hero-actions :is(.landing-cta-arrow, .landing-demo-mark) { display: none; }
  .landing-home .hero-scene { width: min(100%, 380px); }
  .landing-home .landing-hero-categories { margin-top: 0; }
  .landing.landing-home .landing-hero { row-gap: 16px; }
  .landing-home .landing-hero-categories { margin-top: 40px; }
  .landing-home .landing-outcome { padding: 24px; }
  .landing-home .landing-story { padding: 28px 24px; }
  .landing-home .landing-journey-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
  .landing-home .landing-journey-media { aspect-ratio: 4 / 3; height: auto; }
  .landing-home .landing-journey-body { padding: 24px; border-left: 0; border-top: 1px solid var(--tile-line); min-height: 0; }
  .landing-home .landing-faq-item summary { padding: 20px; gap: 12px; }
  .landing-home .landing-faq-q { font-size: 16px; }
  .landing-home .landing-faq-a { padding: 16px 20px 20px; }
  .landing-home .landing-close-sell { padding: 40px 24px; text-align: left; justify-items: stretch; }
  .landing-home .landing-close-sell .landing-close-copy { justify-items: start; }
  .landing-home .landing-close-title { font-size: 30px; text-wrap: pretty; }
  .landing-home .landing-close-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .landing-home .landing-close-actions>.btn { width: 100%; }
  .landing-home .landing-store-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .landing-home .landing-store-foot-about { grid-column: auto; }
  .landing-home .landing-marquee-list li { font-size: 13px; }
}
@media (max-width: 359px) {
  .landing-home .landing-hero-actions>.btn { padding-inline: 10px; font-size: 13px; }
  .landing-home .landing-bar-store .brand-name { display: none; }
  .landing.landing-home { padding-inline: 12px; }
  .landing-home .landing-outcome, .landing-home .landing-journey-body, .landing-home .landing-plans .billing-plan-card { padding: 20px; }
}

/* Sign-in shares the landing palette; the only primary action is authentication. */
.landing-home.signin-page { min-height: 100svh; }
.landing-home.signin-page>.landing-bar.landing-bar-store,
html[data-theme="dark"] .landing-home.signin-page>.landing-bar.landing-bar-store { box-shadow: var(--shadow-sm); }
.landing-home.signin-page .landing-main { flex: 1; }
.landing-home.signin-page .signin-hero { min-height: 0; align-items: center; }
.signin-page .signin-card { width: 100%; max-width: 480px; padding: 24px; border: 1px solid #d8e3f3; border-radius: 24px; background: #fff; box-shadow: 0 16px 48px rgba(33, 63, 112, .06); }
.signin-page .signin-title { margin: 0; font-size: clamp(30px, 3vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; color: #15243b; }
.signin-page .signin-intro { margin: 16px 0 20px; color: var(--ink-muted); font-size: 16px; line-height: 1.55; }
.landing-home.signin-page .signin-yandex { width: 100%; min-height: 56px; height: auto; padding: 16px; font-size: 16px; border-radius: 12px; gap: 12px; }
.signin-page .landing-error { margin-bottom: 24px; }
.signin-page .signin-account-note { margin: 12px 0 0; color: var(--ink-muted); font-size: 14px; line-height: 1.5; }
.signin-page .signin-trial { margin-top: 20px; padding-top: 16px; border-top: 1px solid #d8e3f3; }
.signin-page .signin-trial strong { color: var(--ozon-pink-ink); font-size: 16px; font-weight: 600; }
.signin-page .signin-trial p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.signin-page .signin-back { display: inline-flex; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 16px; padding: 12px 16px; color: #2458df; background: #f3f7ff; border: 1px solid #cbd9ef; font-size: 14px; text-decoration: none; }
.signin-page .signin-back:hover { background: #e7efff; border-color: #a8bfdf; }
.signin-page .signin-preview { display: grid; justify-items: center; min-width: 0; }
.signin-page .signin-preview .landing-hero-visual { width: 100%; }
.landing-home .landing-store-foot-compact { margin-top: 24px; padding-top: 28px; border-top: 0; gap: 20px; }
.landing-home .landing-store-foot-compact .landing-store-foot-grid { gap: 32px; }
.landing-home .landing-store-foot-compact .landing-store-foot-brand { min-height: 36px; }
.landing-home .landing-store-foot-compact .landing-store-foot-pitch { margin-top: 12px; max-width: 32ch; font-size: 14px; line-height: 1.5; }
.landing-home .landing-store-foot-compact .landing-store-foot-heading { font-size: 13px; margin-bottom: 4px; }
.landing-home .landing-store-foot-compact .landing-store-foot-nav a { min-height: 36px; padding-block: 6px; font-size: 13px; }
.landing-home .landing-store-foot-compact .landing-store-foot-base { padding-top: 16px; gap: 8px; }
html[data-theme="dark"] .signin-page .signin-card { background: #141e30; border-color: #30445f; box-shadow: none; }
html[data-theme="dark"] .signin-page .signin-title { color: #f4f7fc; }
html[data-theme="dark"] .signin-page .signin-trial { border-color: #30445f; }
html[data-theme="dark"] .signin-page .signin-back { color: #9bc5ff; background: #1b2b44; border-color: #3b5476; }
html[data-theme="dark"] .signin-page .signin-back:hover { background: #243b5c; }
@media (max-width: 980px) {
  .signin-page .signin-card { max-width: 480px; justify-self: center; }
}
@media (max-width: 600px) {
  .signin-page .signin-card { padding: 28px 24px; border-radius: 20px; }
  .signin-page .signin-intro { font-size: 16px; margin: 16px 0 24px; }
  .landing-home .landing-store-foot-compact .landing-store-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .landing-home .landing-store-foot-compact .landing-store-foot-about { grid-column: 1 / -1; }
  .landing-home .landing-store-foot-compact .landing-store-foot-nav a { min-height: 44px; overflow-wrap: anywhere; }
}

/* Landing concept: one product story, with a distinct role for each section. */
.landing-home:not(.signin-page) .landing-hero-copy { gap: 20px; }
.landing-audience { margin: 0; color: #526176; font-size: 14px; line-height: 1.5; font-weight: 500; }
html[data-theme="dark"] .landing-audience { color: #b2bfd4; }
.landing-home .landing-trial-note { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.landing-trial-note strong { color: var(--ozon-pink-ink); font-weight: 500; }
.landing-home .landing-bar-progress::after { background: linear-gradient(90deg,var(--ozon-sky),var(--landing-action)); }
.landing-home .landing-outcome { --tone: var(--landing-action); --tone-ink: var(--ink-muted); }
.landing-home .landing-outcome-kicker { font-size: 14px; }
.landing-home .landing-outcome-kicker::before { display: none; }
.landing-home .landing-journey-step { --tone: var(--landing-action); --tone-ink: var(--accent); }
.landing-home .landing-journey-media { border-radius: 18px 18px 0 0; }
.landing-home .landing-plans .billing-plan-card { gap: 0; padding: 24px; min-height: 0; order: 0; }
.landing-home .landing-plans .billing-plan-card.is-featured { order: 0; background: #102441; }
.landing-home .landing-plans .billing-plan-card .billing-plan-cta { margin-top: 24px; padding-top: 0; }
.landing-home .landing-plans .billing-plan-card .billing-plan-name { margin-top: 0; }
.landing-home .landing-plans .billing-slots { margin-bottom: 0; }
.landing-home .landing-plans .billing-badge { font-size: 13px; align-self: start; }
.landing-home .landing-plans .billing-plan-card:first-child .billing-badge { color: #a62b60; background: #fbe0ec; }
html[data-theme="dark"] .landing-home .landing-plans .billing-plan-card:first-child .billing-badge { color: #f5a0c1; background: #48283f; }
.landing-home .landing-pricing-head { align-items: center; }
.landing-home .landing-plan-includes { display: grid; grid-template-columns: minmax(130px,.6fr) minmax(0,2fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--tile-line); }
.landing-plan-includes h3 { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: -.02em; }
.landing-plan-includes ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; padding: 0; margin: 0; list-style: none; }
.landing-plan-includes li { display: flex; align-items: baseline; gap: 10px; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.landing-plan-includes li::before { content: "✓" / ""; color: var(--accent); font-weight: 600; }
.landing-home .landing-access-note { max-width: 88ch; margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.landing-home .landing-pricing-offer { margin: 0; font-size: 14px; }
.landing-home .landing-faq-item summary { min-height: 64px; padding: 20px 24px; }
.landing-home .landing-faq-panel { border-radius: 18px; }
.landing-home .landing-close-sell { padding: 56px 40px; border-radius: 20px; background: #102441; }
.landing-home .landing-close-trial { display: inline-block; margin-top: 8px; color: #f5a0c1; font-size: 15px; }
.landing-home:not(.signin-page) .landing-store-foot { border-top: 1px solid var(--tile-line); padding-top: 32px; }
@media (max-width: 980px) {
  .landing-home .landing-plan-includes { grid-template-columns: minmax(0,1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .landing-home:not(.signin-page) .landing-hero-copy { gap: 16px; }
  .landing-home .landing-trial-note { font-size: 13px; }
  .landing-home .landing-pricing-copy .section-lead { font-size: 17px; }
  .landing-home .landing-plans .billing-plan-card { padding: 24px; border-radius: 18px; }
  .landing-home .landing-plans .billing-plan-card .billing-plan-cta { margin-top: 20px; }
  .landing-plan-includes ul { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .landing-home .landing-access-note { font-size: 14px; }
  .landing-home .landing-close-sell { padding: 36px 24px; }
  .landing-home .landing-faq-item summary { padding: 20px; }
}

@media (min-width: 360px) and (max-width: 600px) {
  .landing-home .landing-plans .billing-plan-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    grid-template-areas: "badge badge" "name price" "slots price" "sub sub" "cta cta";
    gap: 8px 12px;
    padding: 20px;
  }
  .landing-home .landing-plans .billing-plan-card .billing-badge { grid-area: badge; justify-self: start; margin: 0 0 4px; }
  .landing-home .landing-plans .billing-plan-name { grid-area: name; align-self: end; }
  .landing-home .landing-plans .billing-slots { grid-area: slots; margin: 0; align-self: start; }
  .landing-home .landing-plans .billing-price { grid-area: price; align-self: center; justify-content: end; margin: 0; min-width: 0; text-align: right; }
  .landing-home .landing-plans .billing-price>span:first-child { font-size: 32px; }
  .landing-home .landing-plans .billing-price-swap { justify-items: end; min-width: 0; }
  .landing-home .landing-plans .billing-price-face { justify-content: end; gap: 4px; }
  .landing-home .landing-plans .billing-price-sub { grid-area: sub; margin: 0; }
  .landing-home .landing-plans .billing-plan-card .billing-plan-cta { grid-area: cta; margin: 8px 0 0; padding: 0; }
}

/* A shared photographic composition, inspired by REKKI's results section. */
.landing-home .landing-results { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.6fr); min-width: 0; overflow: hidden; border: 1px solid #d2deed; border-radius: 24px; background: #edf2fa; }
.landing-results-photo { position: relative; isolation: isolate; min-width: 0; min-height: 540px; background: #1b2b3b; }
.landing-results-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.landing-results-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgba(7,17,30,.66),rgba(7,17,30,.1) 55%,rgba(7,17,30,.08)); }
.landing-home .landing-results-photo h2 { margin: 0; padding: 32px; max-width: 12ch; color: #fff; font-size: clamp(32px,3.3vw,46px); line-height: 1.1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.landing-results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 12px; min-width: 0; }
.landing-result { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid #d9e3f0; border-radius: 12px; background: #fff; min-width: 0; }
.landing-result>svg {
  --result-icon-paper: #d9e8ff;
  --result-icon-accent: #467ae8;
  --result-icon-surface: #fff;
  width: 64px; height: 64px; flex: 0 0 64px; padding: 8px;
  color: #2458df; border-radius: 18px; border: 1px solid #dbe6f7;
  background: linear-gradient(145deg,#f9fbff,#edf3ff);
  box-shadow: inset 0 1px 0 #fff, 0 4px 10px #234a7910;
}
.landing-home .landing-result h3 { margin: 0 0 10px; color: #15243b; font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.025em; }
.landing-result p { margin: 0; color: #526176; font-size: 15px; line-height: 1.55; }
html[data-theme="dark"] .landing-home .landing-results { background: #0f192a; border-color: #2c3d56; }
html[data-theme="dark"] .landing-result { background: #172237; border-color: #2b3b53; }
html[data-theme="dark"] .landing-result>svg {
  --result-icon-paper: #294870;
  --result-icon-accent: #93c5ff;
  --result-icon-surface: #172b46;
  color: #b5d4ff; border-color: #355071;
  background: linear-gradient(145deg,#223b5d,#1b2e49);
  box-shadow: inset 0 1px 0 #ffffff0a;
}
html[data-theme="dark"] .landing-home .landing-result h3 { color: #edf3ff; }
html[data-theme="dark"] .landing-result p { color: #b2bfd4; }
@media (max-width: 980px) {
  .landing-home .landing-results { grid-template-columns: minmax(0,1fr); }
  .landing-results-photo { min-height: 340px; }
  .landing-results-photo img { object-position: 50% 62%; }
  .landing-results-photo::after { background: linear-gradient(90deg,rgba(7,17,30,.74),rgba(7,17,30,.12) 85%); }
  .landing-home .landing-results-photo h2 { max-width: 14ch; font-size: 42px; }
  .landing-result { min-height: 232px; gap: 28px; }
}
@media (max-width: 600px) {
  .landing-home .landing-results { border-radius: 20px; }
  .landing-results-photo { min-height: 300px; }
  .landing-results-photo img { object-position: 50% 40%; }
  .landing-results-photo::after { background: linear-gradient(180deg,rgba(7,17,30,.7),rgba(7,17,30,.1) 80%); }
  .landing-home .landing-results-photo h2 { max-width: 13ch; padding: 24px; font-size: 36px; }
  .landing-results-grid { grid-template-columns: minmax(0,1fr); gap: 8px; padding: 8px; }
  .landing-result { flex-direction: row; justify-content: flex-start; align-items: start; gap: 16px; min-height: 0; padding: 20px; }
  .landing-result>svg { width: 48px; height: 48px; flex-basis: 48px; padding: 5px; border-radius: 14px; }
  .landing-home .landing-result h3 { font-size: 18px; margin-bottom: 8px; }
}

/* Pricing: the choice first, shared tools and access terms below. */
.landing-rate-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:12px; border:1px solid #d2deed; border-radius:24px; background:#edf2fa; }
.landing-rate { display:flex; flex-direction:column; min-width:0; padding:28px; border:1px solid #d9e3f0; border-radius:12px; background:#fff; color:#15243b; }
.landing-rate.is-featured { border-color:#85a7f4; background:#f3f7ff; }
.landing-rate-name { margin:0 0 24px; font-size:20px; font-weight:600; line-height:1.3; letter-spacing:-.025em; }
.landing-rate .billing-price { display:flex; align-items:baseline; gap:8px; margin:0; font-size:44px; font-weight:600; line-height:1.15; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
.landing-rate .billing-price-period { font-size:15px; line-height:1.5; font-weight:400; letter-spacing:0; color:#526176; }
.landing-rate .billing-price-sub { min-height:44px; margin:10px 0 24px; font-size:14px; line-height:1.5; color:#526176; }
.landing-rate.is-free .billing-price-sub { color:#a62b60; }
.landing-rate-capacity { margin:0; padding-top:20px; border-top:1px solid #d9e3f0; font-size:16px; line-height:1.5; }
.landing-rate-capacity>span { font-weight:600; }
.landing-rate .billing-plan-cta { margin-top:24px; padding:0; }
.landing-rate .billing-plan-btn { width:100%; }
.landing-rate-summary { display:grid; gap:6px; margin-top:4px; }
.landing-rate-summary h3 { margin:0; font-size:15px; line-height:1.5; font-weight:600; color:var(--ink); }
.landing-rate-summary p { margin:0; color:var(--ink-muted); font-size:15px; line-height:1.6; }
.landing-rate-summary .landing-rate-summary-note { font-size:13px; }
html[data-theme="dark"] .landing-rate-grid { background:#0f192a; border-color:#2b3b53; }
html[data-theme="dark"] .landing-rate { background:#172237; border-color:#2b3b53; color:#edf3ff; }
html[data-theme="dark"] .landing-rate.is-featured { background:#1b2e49; border-color:#527bb5; }
html[data-theme="dark"] .landing-rate :is(.billing-price-period,.billing-price-sub) { color:#b2bfd4; }
html[data-theme="dark"] .landing-rate.is-free .billing-price-sub { color:#f5a0c1; }
html[data-theme="dark"] .landing-rate-capacity { border-color:#354760; }
@media(max-width:980px) { .landing-rate { padding:22px; } .landing-rate .billing-price { font-size:36px; } }
@media(max-width:680px) {
 .landing-rate-grid { grid-template-columns:minmax(0,1fr); padding:8px; gap:8px; }
 .landing-rate { padding:24px; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; }
 .landing-rate-name { grid-column:1; margin:0 0 8px; font-size:19px; }
 .landing-rate .billing-price { grid-column:2; grid-row:1 / 3; justify-content:end; align-self:center; font-size:32px; white-space:nowrap; }
 .landing-rate .billing-price-sub { grid-column:1 / -1; margin:12px 0 0; min-height:0; }
 .landing-rate-capacity { grid-column:1; grid-row:2; padding:0; border:0; font-size:15px; }
 .landing-rate .billing-plan-cta { grid-column:1 / -1; margin-top:20px; }
}
@media(max-width:359px) {
 .landing-rate { display:flex; padding:20px; }
 .landing-rate .billing-price { align-self:start; margin-top:12px; }
 .landing-rate-capacity { margin-top:16px; }
}

/* Legal documents share the public page system, with a quiet reading layout. */
.landing-home.legal-page .landing-main { gap:40px; }
.landing-home.legal-page .legal-hero-copy { display:flex; flex-direction:column; align-items:start; gap:20px; padding:24px 0 0; }
.legal-back { display:inline-flex; color:var(--ink-muted); font-size:14px; text-decoration:none; }
.legal-back:hover { color:var(--landing-action); }
.landing-home.legal-page .landing-eyebrow { margin:8px 0 -8px; font-size:13px; font-weight:400; }
.landing-home.legal-page .legal-hero-copy .landing-title { margin:0; max-width:20ch; font-size:clamp(34px,4.5vw,60px); line-height:1.1; font-weight:600; letter-spacing:-.04em; }
.landing-home.legal-page .legal-hero-copy .landing-lead { margin:0; max-width:65ch; font-size:18px; line-height:1.6; letter-spacing:0; }
.legal-document-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:6px; margin-top:8px; border:1px solid #d2deed; border-radius:14px; background:#edf2fa; }
.legal-document-tabs a { padding:10px 16px; border-radius:9px; color:#526176; font-size:14px; line-height:1.5; text-decoration:none; }
.legal-document-tabs a[aria-current="page"] { background:#fff; color:#2458df; box-shadow:0 1px 3px #234a7910; }
.legal-reading-layout { display:grid; grid-template-columns:260px minmax(0,1fr); align-items:start; gap:32px; }
.landing-home.legal-page .legal-toc { position:sticky; top:112px; padding:20px; border:1px solid #d2deed; border-radius:16px; background:#edf2fa; max-height:calc(100svh - 144px); overflow:auto; }
.legal-toc summary { cursor:pointer; font-size:16px; font-weight:600; line-height:1.5; }
.landing-home.legal-page .legal-toc-list { display:grid; grid-template-columns:minmax(0,1fr); padding-left:20px; margin:16px 0 0; gap:12px; }
.landing-home.legal-page .legal-toc-list li { color:var(--ink-faint); padding-left:3px; font-size:13px; }
.landing-home.legal-page .legal-toc-list a { color:#526176; font-size:13px; line-height:1.5; font-weight:400; letter-spacing:0; display:inline-block; }
.landing-home.legal-page .legal-toc-list a:hover { color:#2458df; text-decoration:underline; text-underline-offset:3px; }
.legal-reading-sheet { min-width:0; padding:40px; border:1px solid #d9e3f0; border-radius:20px; background:#fff; }
.landing-home.legal-page .legal-doc { display:block; padding:0; margin:0; border:0; border-radius:0; background:none; }
.landing-home.legal-page .legal-doc + .legal-doc { margin-top:32px; padding-top:32px; border-top:1px solid #e1e8f1; }
.landing-home.legal-page .legal-doc .search-heading { margin:0 0 20px; font-size:24px; line-height:1.3; letter-spacing:-.025em; scroll-margin-top:112px; }
.landing-home.legal-page .legal-doc p { margin:0 0 14px; color:#35465e; font-size:16px; line-height:1.8; letter-spacing:0; overflow-wrap:anywhere; }
.landing-home.legal-page .legal-doc p:last-child { margin-bottom:0; }
.landing-home.legal-page .legal-doc a { color:#2458df; text-decoration:underline; text-underline-offset:3px; }
.landing-home.legal-page .legal-doc strong { color:inherit; font-weight:600; }
.landing-home.legal-page .legal-requisites { margin:0; gap:16px; }
.landing-home.legal-page .legal-requisites div { display:grid; grid-template-columns:145px minmax(0,1fr); gap:12px; }
.landing-home.legal-page .legal-requisites :is(dt,dd) { margin:0; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.legal-reading-top { display:inline-flex; margin-top:32px; font-size:14px; color:#2458df; text-decoration:none; }
html[data-theme="dark"] .legal-document-tabs,html[data-theme="dark"] .landing-home.legal-page .legal-toc { background:#141e30; border-color:#2b3b53; }
html[data-theme="dark"] .legal-document-tabs a,html[data-theme="dark"] .landing-home.legal-page .legal-toc-list a { color:#b2bfd4; }
html[data-theme="dark"] .legal-document-tabs a[aria-current="page"] { background:#243b5c; color:#b5d4ff; }
html[data-theme="dark"] .legal-reading-sheet { background:#172237; border-color:#2b3b53; }
html[data-theme="dark"] .landing-home.legal-page .legal-doc + .legal-doc { border-color:#354760; }
html[data-theme="dark"] .landing-home.legal-page .legal-doc p { color:#c1cddd; }
html[data-theme="dark"] .landing-home.legal-page .legal-doc a,html[data-theme="dark"] .legal-reading-top { color:#9fc4ff; }
@media(max-width:980px) { .legal-reading-layout { grid-template-columns:220px minmax(0,1fr); gap:20px; } .legal-reading-sheet { padding:28px; } }
@media(max-width:760px) {
 .landing-home.legal-page .landing-main { gap:28px; }
 .landing-home.legal-page .legal-hero-copy { padding-top:8px; gap:16px; }
 .landing-home.legal-page .legal-hero-copy .landing-lead { font-size:16px; }
 .legal-document-tabs { width:100%; }
 .legal-document-tabs a { flex:1; padding:10px; text-align:center; font-size:13px; }
 .legal-reading-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
 .landing-home.legal-page .legal-toc { position:static; max-height:none; padding:20px; }
 .landing-home.legal-page .legal-toc-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 24px; }
 .legal-reading-sheet { padding:24px; border-radius:16px; }
 .landing-home.legal-page .legal-doc .search-heading { font-size:21px; margin-bottom:16px; }
 .landing-home.legal-page .legal-doc p { font-size:15px; line-height:1.75; }
 .landing-home.legal-page .legal-requisites div { grid-template-columns:minmax(0,1fr); gap:4px; }
}
@media(max-width:380px) { .legal-reading-sheet { padding:20px; } .landing-home.legal-page .legal-toc-list { grid-template-columns:minmax(0,1fr); } }
.landing-home.legal-page .legal-toc-list { list-style:none; counter-reset:legal-section; padding-left:0; }
.landing-home.legal-page .legal-toc-list li { display:grid; grid-template-columns:20px minmax(0,1fr); gap:4px; padding:0; counter-increment:legal-section; }
.landing-home.legal-page .legal-toc-list li::before { content:counter(legal-section) "."; line-height:1.5; }
@media(max-width:760px) {
 .landing-home.legal-page .brand-name { display:inline; font-size:18px; }
 .landing-home.legal-page .legal-toc-list { grid-template-columns:minmax(0,1fr); }
}
.landing-home.legal-page .legal-doc { scroll-margin-top:112px; }
.signin-ozon-note { margin:12px 0 0; font-size:14px; line-height:1.55; color:var(--ink-muted); }
.landing-foot-essentials { display:none; }
@media(max-width:600px) {
 /* Shared content height keeps the scene stationary between home and sign-in. */
 .landing-home .landing-hero-copy,
 .landing-home.signin-page .signin-card { min-height:360px; box-sizing:border-box; }
 .landing-home.signin-page .signin-card { padding:20px; }
 .signin-page .signin-intro { margin:12px 0 16px; }
 .signin-page .signin-trial { margin-top:12px; padding-top:12px; }
 .landing-home.signin-page .landing-store-foot.has-mobile-essentials { margin-top:12px; padding-top:20px; gap:12px; }
 .has-mobile-essentials .landing-store-foot-grid { display:none; }
 .has-mobile-essentials .landing-foot-essentials { display:flex; flex-wrap:wrap; gap:0 20px; }
 .landing-foot-essentials a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; color:var(--ink-muted); text-decoration:none; }
 .landing-home .has-mobile-essentials .landing-store-foot-base { padding-top:12px; flex-wrap:wrap; }
}
