/* Owner's 28 October palette: the mint from “Большая сцена”.
   Only landing-page copy changes. Light sections and embedded demos keep
   their original foregrounds; Help, Blog and the client portal do not load this file. */
:root { --footer-surface: #111113; }

.landing-page {
  --landing-mint: #99e4c9;
  --landing-mint-muted: rgb(153 228 201 / 50%);
  --landing-mint-hover: #b3edd9;
  --landing-on-mint: #101713;
  color: var(--landing-mint);
}

/* Section labels share the muted caption colour used by the four steps. */
.landing-page .unified-style > .eyebrow {
  color: var(--landing-mint-muted);
}

.landing-page .spec-grid .delivery-formats {
  display: flex;
  align-items: center;
  gap: .3em;
}
.landing-page .spec-archive-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* Mint separators in the three-part delivery strip and FAQ controls. */
.landing-page .spec-strip {
  border-block-color: rgb(153 228 201 / 28%);
}

.landing-page .spec-grid > div + div {
  border-left-color: rgb(153 228 201 / 28%);
}

.landing-page .faq-list summary::after {
  color: var(--landing-mint);
}

/* The pricing and FAQ sections meet on the same surface. */
.landing-page .pricing-section + .faq-section {
  border-top: 0;
}

/* One launcher palette over both light and dark page sections. */
.landing-page .help-widget,
.landing-page .help-widget[data-surface] {
  bottom: max(48px, env(safe-area-inset-bottom));
  --launcher-background: #153e33;
  --launcher-foreground: var(--landing-mint);
  --launcher-hover: #153e33;
}

/* Dark mint over the white page sections; the original black remains elsewhere. */
.landing-page .header {
  --header-light-surface: #153e33;
  height: 85px;
  transition: background-color .2s ease, border-color .2s ease;
}
.landing-page .header nav {
  font-size: 15px;
}
@media (min-width: 761px) {
  .landing-page .header .brand {
    align-self: stretch;
    align-items: center;
  }
  .landing-page .header nav {
    align-self: stretch;
    align-items: stretch;
    gap: clamp(12px, calc(6vw - 56px), 48px);
    margin-inline: auto;
  }
  .landing-page .header nav a {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }
  .landing-page .header-actions {
    margin-left: 0;
  }
}
.landing-page .header.is-over-light {
  --landing-on-mint: var(--header-light-surface);
  background: var(--header-light-surface);
  border-bottom-color: #99e4c92b;
}
.landing-page .header.is-over-light .button:not(.secondary) .button-orbit {
  background: var(--header-light-surface);
}
.landing-page .header.is-over-footer {
  --landing-on-mint: var(--footer-surface);
  --focus-color: var(--landing-mint);
  background: var(--footer-surface);
  border-bottom-color: transparent;
}
@media (max-width: 1200px) {
  .landing-page .header.is-over-footer nav {
    background: var(--footer-surface);
    border-bottom-color: var(--landing-mint-muted);
  }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .landing-page .header .menu-toggle { display: block; }
  .landing-page .header-actions { margin-left: auto; }
  .landing-page .header nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 20px;
    background: #101015f5;
    border-bottom: 1px solid rgb(153 228 201 / 25%);
    font-size: 17px;
  }
  .landing-page .header nav.is-open { display: flex; }
  .landing-page .header nav a { padding-block: 14px; }
  .landing-page .header.is-over-light nav { background: var(--header-light-surface); }
}
@media (max-width: 760px) {
  .landing-page .header { height: 71px; }
  .landing-page .header nav { top: 100%; }
  .landing-page .header nav a {
    font-size: 17px;
  }
  .landing-page .header.is-over-light nav {
    background: var(--header-light-surface);
    border-bottom-color: #99e4c92b;
  }
}
@media (max-width: 500px) {
  .landing-page .header { height: 118px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-page .header { transition: none; }
}

/* Copy containers deliberately exclude the illustrative interfaces. */
.landing-page :is(
  .header, .hero-copy, .spec-grid, .feature-copy, .showcase-heading,
  .fan-description, .fan-tabs, .style-bottom, .cinematic-heading,
  .cinematic-intro, .cinematic-caption, .cinematic-bottom, .cinematic-status,
  .crypto-platforms, .pricing-section, .faq-section, footer
):not(:where(.light-section *, .automation-section *, .reasons-section *)),
.landing-page :is(
  .header, .hero-copy, .spec-grid, .feature-copy, .showcase-heading,
  .fan-description, .fan-tabs, .style-bottom, .cinematic-heading,
  .cinematic-intro, .cinematic-caption, .cinematic-bottom, .cinematic-status,
  .crypto-platforms, .pricing-section, .faq-section, footer
):not(:where(.light-section *, .automation-section *, .reasons-section *))
  :where(*):not(:where(.hero-stat, .hero-stat *)) {
  color: var(--landing-mint);
}

.landing-page #foot {
  border-top: 0;
}

@media screen {
  /* Match the canvas exposed by native scroll bounce to the footer. */
  html:has(> .landing-page .header.is-over-footer) {
    background-color: var(--footer-surface);
  }

  .landing-page #foot {
    display: flex;
    flex-direction: column;
    min-block-size: calc(100dvh - var(--landing-anchor-header, 85px));
    background: var(--footer-surface);
  }

  .landing-page #foot > .wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-block: 0;
  }

  .landing-page #foot .footer-wordmark {
    /* Silkscreen's C starts one pixel cell inside its glyph box. */
    margin-inline-start: -.125em;
    padding-block-start: clamp(52px, 5vw, 73px);
  }

  .landing-page #foot .footer-bottom {
    margin-block-start: auto;
  }
}

/* Keep the footer signature in its original muted greys. */
.landing-page .footer-wordmark,
.landing-page .footer-wordmark :where(*) {
  color: #242427;
}

.landing-page .footer-bottom,
.landing-page .footer-bottom :where(*) {
  color: #666666;
}

/* Inherited white type inside the dark demo panels stays white. Explicit
   grey labels, coloured states and all light demo panels remain unchanged. */
.landing-page .demo-panel:not(:where(.light-section *, .automation-section *)),
.landing-page .style-card {
  color: #fafafa;
}

/* The hero's example counter uses the same mint as the surrounding copy. */
.landing-page .hero-stat {
  border-color: rgb(153 228 201 / 50%);
}

.landing-page .hero-stat,
.landing-page .hero-stat :where(*) {
  color: var(--landing-mint);
}

/* Primary actions use mint surfaces and dark labels for contrast. */
.landing-page :is(.header, .hero-copy, .crypto-platforms, .pricing-section, footer)
  .button:not(.secondary) {
  background: var(--landing-mint);
  border-color: var(--landing-mint);
  color: var(--landing-on-mint);
}

.landing-page :is(.header, .hero-copy, .crypto-platforms, .pricing-section, footer)
  .button:not(.secondary) :where(.button-label) {
  color: inherit;
}

.landing-page :is(.header, .hero-copy, .crypto-platforms, .pricing-section, footer)
  .button-orbit,
.landing-page :is(.header, .hero-copy, .crypto-platforms, .pricing-section, footer)
  .button-orbit :where(*) {
  color: var(--landing-mint);
}

.landing-page .hero-copy .button.secondary {
  color: var(--landing-mint);
  border-color: var(--landing-mint);
}

.landing-page .hero-copy .button.secondary .button-orbit {
  background: var(--landing-mint);
  color: var(--landing-on-mint);
}

.landing-page .hero-copy .button.secondary .button-orbit :where(*) {
  color: inherit;
}

.landing-page .cinematic-bottom .button.secondary .button-orbit {
  background: var(--landing-mint);
  color: var(--landing-on-mint);
}

.landing-page .cinematic-bottom .button.secondary .button-orbit :where(*) {
  color: inherit;
}

/* Outline actions share one transparent surface and a full-strength mint line.
   Keep the icon's currentColor independent of the surrounding mint copy. */
.landing-page .button.secondary,
.landing-page .button.secondary:not(:disabled):is(:hover, :focus-visible, :active) {
  --focus-color: var(--landing-mint);
  background: transparent;
  border: 1px solid var(--landing-mint-muted);
}
.landing-page .button.arrow-button.secondary,
.landing-page .button.arrow-button.secondary:not(:disabled):is(:hover, :focus-visible, :active) {
  color: var(--landing-mint);
}
.landing-page :is(.header, .hero-copy) .button.arrow-button.secondary,
.landing-page :is(.header, .hero-copy) .button.arrow-button.secondary:not(:disabled):is(:hover, :focus-visible, :active) {
  border-color: var(--landing-mint-muted);
}
.landing-page :is(.header, .hero-copy, .cinematic-bottom, .pricing-section, footer)
  .button.arrow-button.secondary .button-orbit {
  background: var(--landing-mint);
  color: var(--landing-on-mint);
}
.landing-page :is(.header, .hero-copy, .cinematic-bottom, .pricing-section, footer)
  .button.arrow-button.secondary .button-orbit :where(*) {
  color: inherit;
}

/* Quote colours stay local; pill geometry belongs to button-geometry.css. */
.landing-page #pricing .button.arrow-button { text-align: left; }
.landing-page #pricing .button-label { min-width: 0; color: inherit; }

.landing-page .menu-toggle span {
  background: var(--landing-mint);
}

/* Selected controls are surfaces, not light text on a light background. */
.landing-page .fan-tabs button[aria-pressed="true"],
.landing-page .pricing-tabs--detail button[aria-selected="true"],
.landing-page .volume-options button[aria-pressed="true"],
.landing-page .pilot-steps span:first-child {
  background: var(--landing-mint);
  border-color: var(--landing-mint);
  color: var(--landing-on-mint);
}

.landing-page .pricing-tabs button[aria-selected="true"] :where(*) {
  color: inherit;
}

.landing-page #pricing :is(.custom-volume, .monthly-input) input {
  color: var(--landing-mint);
}

/* The same foreground palette applies to the landing's dark forms.
   The light assistant and confirmation cards retain their own theme. */
.landing-page :is(#contact-dialog, .site-register-dialog) {
  --lab-modal-text: var(--landing-mint);
  --lab-modal-muted: var(--landing-mint-muted);
  --lab-pop: var(--landing-mint);
  --lab-modal-action: var(--landing-mint);
  --lab-on-modal-action: var(--landing-on-mint);
}

.landing-page #contact-form :is(.optional, .form-options, .form-options label),
.landing-page #site-register-dialog input,
.landing-page #contact-dialog .contact-modal-close {
  color: var(--landing-mint);
}

.landing-page #contact-form :is(input, textarea)::placeholder,
.landing-page .site-register-dialog input::placeholder {
  color: var(--landing-mint-muted);
  opacity: 1;
}

/* Quiet supporting copy without fading whole components, borders or icons.
   Headings, figures and action controls keep their original contrast. */
.landing-page :is(
  .hero-copy, .spec-grid, .feature-copy, .showcase-heading,
  .fan-description, .style-bottom, .cinematic-heading, .cinematic-intro,
  .cinematic-bottom, .crypto-platforms, .pricing-section, .faq-section, .footer-call
) :is(
  p, p :where(*), li, li :where(*), small, legend, .eyebrow,
  .chips > span, .style-hint, .style-selection, .style-selection b,
  .cinematic-instruction, .cinematic-bottom > span,
  .plan-recommendation, .plan-volume > span, .catalog-total > span,
  .catalog-price > b, .catalog-price > span, .plan-price > b, .plan-price > span, .monthly-input > span,
  .release-selector > label, .custom-volume
):not(:where(
  .light-section *, .automation-section *, .reasons-section *, .pricing-section *,
  .demo-panel *, .style-card *, .hero-stat, .hero-stat *,
  button, button *, .button, .button *, .inline-action-link, .inline-action-link *, input, textarea, select
)),
.landing-page .hero-stat :is(.eyebrow, small),
.landing-page .footer-links :is(.eyebrow, a, a span, button),
.landing-page #contact-form :is(.optional, .form-options, .form-options label) {
  color: var(--landing-mint-muted);
}

/* Keep the hero introduction readable over the moving card background. */
.landing-page .hero-copy > p.eyebrow,
html[lang="en"] .landing-page .hero-copy .hero-bottom > p {
  color: var(--landing-mint);
}

/* Inline links share the muted form copy; entered values remain full strength. */
.landing-page :is(#contact-form, .site-register-dialog)
  :is(.form-intro, .contact-privacy) a {
  color: var(--landing-mint-muted);
}

@media (hover: hover) {
  .landing-page :is(.header, .hero-copy, .crypto-platforms, .pricing-section, footer)
    .button:not(.secondary, .arrow-button):not(:disabled):hover {
    background: var(--landing-mint-hover);
    border-color: var(--landing-mint-hover);
  }

  .landing-page :is(.header nav a, .header-register, .footer-links a, .footer-links button):hover {
    color: var(--landing-mint-hover);
  }
}

/* Decorative imagery only: game examples keep their original colours. */
.landing-page .template-backdrop {
  filter: url("assets/effects/mint-duotone.svg#mint-duotone") blur(18px);
  opacity: .34;
}

.landing-page .banner-wall .wall-card img {
  filter: url("assets/effects/mint-duotone.svg#mint-duotone");
}

@media print {
  .landing-page {
    --landing-mint: #111;
    --landing-mint-muted: #555;
    --landing-on-mint: #fff;
  }
}
