:root.landing {
  --landing-surface: var(--web-surface);
  --landing-soft: var(--web-soft);
  --landing-hero: var(--web-glow);
  --landing-stage: #faedf5;
  --landing-grid: #8b276b12;
  --landing-orbit: #8b276b37;
  --landing-glow: #fff9;
  --landing-shadow: var(--web-shadow);
}

:root.landing[data-theme="dark"] {
  --landing-surface: var(--web-glass);
  --landing-stage: #17151cf0;
  --landing-grid: #fff0fa10;
  --landing-orbit: #ffffff38;
  --landing-glow: #a45d7e2e;
}

:root.landing[data-preview-font="arial"] { --web-body-font: Arial, sans-serif; }
:root.landing[data-preview-font="current"] { --web-body-font: "Russo One", system-ui, sans-serif; }
.brand-site.landing .frame { width: min(1200px, calc(100% - 56px)); }
.landing h2 { font-size: clamp(1.55rem, 3.25vw, 2.45rem); }
.landing :is(.button, .theme-toggle, .globe-motion, .landing-shortcuts a, .platform-list a, .landing-plan) {
  transition: background-color .23s ease, border-color .23s ease, box-shadow .23s ease, color .23s ease;
}
.landing .button { min-height: 44px; border-radius: 10px; font-size: .94rem; }
.landing .button.outline { border-color: var(--line); background: var(--landing-surface); color: var(--ink); }
.landing .button.outline:hover { border-color: var(--muted); background: var(--landing-soft); }
.landing .ui-icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.brand-site.landing .hero { margin-top: clamp(18px, 2.4vw, 34px); background: none; }
.brand-site.landing .hero-row {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  min-height: 445px;
  padding: clamp(24px, 4.3vw, 62px);
  border: 1px solid var(--line);
  border-radius: clamp(20px, 2.7vw, 36px);
  background: var(--landing-hero);
  box-shadow: inset 0 1px var(--web-glint);
}
.brand-site.landing h1 {
  max-width: none;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.landing h1 span { color: var(--accent); }
.landing[data-theme="dark"] h1 span { color: #f3c8df; }
.brand-site.landing .hero p { max-width: 43ch; margin-block: 22px 26px; font-size: clamp(1rem, 1.65vw, 1.16rem); }
.landing .hero-actions { gap: 10px; }
.brand-site.landing .hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding-inline: 15px;
  white-space: nowrap;
}
.landing .hero-trial-hint {
  display: block;
  max-width: 39ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: .88rem;
}
.brand-site.landing .hero-demo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.landing .hero-demo-link:hover { color: var(--ink); text-decoration: underline; }
.brand-site.landing .hero-world {
  gap: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.brand-site.landing .hero-globe-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.36;
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.9vw, 25px);
  background:
    radial-gradient(ellipse at 52% 46%, var(--landing-glow) 14%, transparent 68%),
    linear-gradient(var(--landing-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-grid) 1px, transparent 1px),
    var(--landing-stage);
  background-size: auto, 28px 28px, 28px 28px, auto;
  background-position: center;
}
.landing .hero-globe-stage::before,
.landing .hero-globe-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid var(--landing-orbit);
  border-radius: 50%;
}
.landing .hero-globe-stage::before { width: 67%; aspect-ratio: 1; border-style: dashed; }
.landing .hero-globe-stage::after { width: 91%; height: 52%; transform: rotate(-28deg); }
.brand-site.landing .hero-globe-stage :is(canvas, img) { width: 70cqw; }
.brand-site.landing .globe-caption { padding: 0; font-size: .82rem; }
.landing .globe-actions { display: flex; gap: 8px; align-items: center; }
.landing .hero-game { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.landing .hero-game .ui-icon { width: 14px; height: 14px; }
.landing .globe-motion {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--landing-surface);
  color: var(--ink);
  cursor: pointer;
}
.landing .globe-motion:hover { border-color: var(--muted); background: var(--landing-soft); }
.landing .globe-motion .play-symbol,
.landing .globe-motion[aria-pressed="true"] .pause-symbol { display: none; }
.landing .globe-motion[aria-pressed="true"] .play-symbol { display: inline; }

.landing-shortcuts, .landing .platform-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.landing-shortcuts { margin-top: 14px; }
.landing-shortcuts a, .landing .platform-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--landing-surface);
  color: var(--ink);
  text-decoration: none;
}
.landing-shortcuts a:hover, .landing .platform-list a:hover { border-color: var(--muted); background: var(--landing-soft); }
.landing-shortcuts a strong, .landing-shortcuts a small { display: block; }
.landing-shortcuts a strong { line-height: 1.25; }
.landing-shortcuts a small { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.landing .shortcut-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--landing-soft);
  color: var(--accent);
}
.landing .shortcut-icon .mobile-plan-icon { width: 21px; height: 21px; }
.landing .shortcut-arrow { margin-left: auto; color: var(--muted); font-size: 1.1rem; }

.landing-sections { display: grid; gap: clamp(44px, 6.2vw, 90px); padding-block: clamp(42px, 5.4vw, 78px) clamp(54px, 7vw, 104px); }
.landing-sections :is(section[id], a[id]) { scroll-margin-top: 20px; }
.landing .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 17px;
  margin-bottom: 20px;
}
.landing .section-heading p { margin: 8px 0 0; }
.landing [data-plan-periods]:empty, .landing [data-payment-status]:empty { display: none; }
.landing .catalog-status { margin-block: 0; }
.landing .tier-periods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--landing-soft);
}
.landing .tier-periods .button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.25;
  text-align: center;
}
.landing .tier-periods .button:hover { color: var(--ink); border-color: var(--line); }
.landing .period-discount { color: var(--accent); font-size: .78rem; }
.landing .tier-periods .button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--landing-surface);
  color: var(--ink);
  box-shadow: 0 2px 6px #16121e0e;
}
.landing .tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.landing .landing-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(13px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--landing-surface);
  box-shadow: inset 0 1px var(--web-glint);
}
.landing .landing-plan:focus-within,
.landing .landing-plan:hover { border-color: var(--muted); box-shadow: var(--landing-shadow); }
.landing .landing-plan h3 { font-size: 1.15rem; }
.landing .landing-plan-price { display: flex; flex-direction: column; gap: 3px; margin: 11px 0 15px; color: var(--muted); font-size: .84rem; }
.landing .landing-plan-price strong { color: var(--ink); font: 400 clamp(1.5rem, 3.2vw, 2.35rem)/1.1 "Russo One", system-ui, sans-serif; letter-spacing: -.04em; }
.landing-plan-traffic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 8px;
  margin: 0 0 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: .87rem;
  line-height: 1.35;
}
.landing-plan-traffic dt { color: var(--muted); }
.landing-plan-traffic dd { margin: 0; font-weight: 650; text-align: end; }
.landing .landing-plan-link { display: grid; place-items: center; margin-top: auto; padding-inline: 7px; text-align: center; }
.landing .payment-help { margin: 13px 0 0; font-size: .9rem; }

.landing .platform-list { grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; }
.landing .platform-list a { gap: 8px; padding: 11px; font-weight: 650; }
.landing .platform-list a::after { display: none; }
.landing .platform-list .shortcut-icon { width: 34px; height: 34px; }

.brand-site.landing .connection-demo, .landing-connect, .landing-questions {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 68px);
}
.brand-site.landing .connection-demo {
  align-items: center;
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--landing-soft);
}
.brand-site.landing .connection-demo video { width: 100%; border-radius: 14px; }
.landing .connection-demo p, .landing-connect p { max-width: 38ch; }
.landing .connection-demo .button span { margin-left: 4px; }

.landing-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.landing-info section { display: flex; flex-direction: column; align-items: start; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--landing-surface); }
.landing-info h2 { font-size: clamp(1.26rem, 2.4vw, 1.7rem); }
.landing-info h2 svg { vertical-align: -.07em; color: var(--accent); }
.landing-info p { margin: 12px 0 6px; }
.landing-info a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: auto; font-weight: 650; }

.landing .landing-connect, .landing .landing-questions { padding-top: clamp(22px, 4vw, 48px); border-top: 1px solid var(--line); }
.landing #connect .connection-setup { --surface: var(--landing-surface); --hover: var(--landing-soft); max-width: none; margin: 0; }
.landing .faq-list details { margin: 0; }
.landing .faq-list details:first-child { border-top: 1px solid var(--line); }
.landing .faq-list details p { padding-right: 18px; }
.landing .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; list-style: none; }
.landing .faq-list summary::-webkit-details-marker { display: none; }
.landing .faq-list summary::after { content: ""; width: 8px; height: 8px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-right: 3px; }
.landing .faq-list details[open] summary::after { transform: rotate(225deg); }
.landing .help-topics { display: grid; gap: 7px; padding-left: 1.1em; margin: 16px 0 0; font-size: .92rem; }
.landing footer { background: var(--landing-soft); }
.landing .footer-row { gap: 9px 22px; }
.landing .footer-row a { color: var(--muted); }
.landing .footer-row a:hover { color: var(--ink); }
.landing #merchant-verification { color: var(--muted); }

@media (max-width: 1070px) {
  .landing .platform-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .brand-site.landing .frame { width: calc(100% - 36px); }
  .brand-site.landing .hero-row { min-height: auto; }
  .landing .hero-actions .ui-icon { width: 17px; height: 17px; }
  .landing .shortcut-arrow { display: none; }
  .landing .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .brand-site.landing .hero-row { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .brand-site.landing h1 { font-size: clamp(2.3rem, 8.5vw, 3.8rem); }
  .brand-site.landing .hero p { margin-block: 14px 18px; }
  .landing .hero-actions { display: flex; }
  .brand-site.landing .hero-globe-stage { max-height: 318px; }
  .brand-site.landing .hero-globe-stage :is(canvas, img) { width: min(70cqw, 310px); }
  .landing .hero-globe-stage::before { width: min(67%, 303px); }
  .brand-site.landing .connection-demo, .landing-connect, .landing-questions { grid-template-columns: minmax(0, 1fr); }
  .landing .section-heading { align-items: start; }
  .landing .platform-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .platform-list a { min-height: 62px; font-size: .9rem; }
}

@media (max-width: 480px) {
  .brand-site.landing .frame { width: calc(100% - 28px); }
  .brand-site.landing .hero-row { padding: 17px; }
  .landing .hero-actions { display: grid; }
  .brand-site.landing .hero-actions .button { min-height: 46px; gap: 6px; padding-inline: 9px; font-size: .87rem; }
  .landing-shortcuts { gap: 7px; }
  .landing-shortcuts a { flex-direction: column; justify-content: start; gap: 7px; padding: 9px 4px; font-size: .83rem; text-align: center; }
  .landing-shortcuts a small { display: none; }
  .landing-shortcuts .shortcut-icon { width: 32px; height: 32px; }
  .landing [data-plan-periods] { width: 100%; }
  .landing .tier-periods .button { flex-direction: column; gap: 2px; padding-inline: 3px; font-size: .8rem; }
  .landing .landing-plan-price strong { font-size: clamp(1.36rem, 6.4vw, 1.88rem); }
  .landing-plan-traffic { font-size: .81rem; }
  .landing-info { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 350px) {
  .landing .tier-grid { grid-template-columns: minmax(0, 1fr); }
  .landing .tier-periods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .globe-actions { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing *, .landing *::before, .landing *::after { transition: none !important; }
  .landing .globe-motion { display: none; }
}
