/* Landing-only surfaces; shared catalog and product screenshots stay intact. */
body.landing-v2 {
  --landing-panel: #fff;
  --landing-inset: #f3f7fd;
  --landing-elevated: #e9f1ff;
  --landing-positive: #168263;
}
body.landing-v2[data-theme="dark"] {
  --landing-background: #111c2c;
  --landing-surface: #1c2b40;
  --landing-panel: #1c2b40;
  --landing-inset: #142236;
  --landing-elevated: #243c59;
  --landing-text: #edf3fc;
  --landing-muted: #bccbde;
  --landing-accent: #91bdff;
  --landing-border: #405772;
  --landing-positive: #74d7b3;
}
.landing-v2 .landing-menu { display: contents; }
.landing-v2 .landing-menu-toggle, .landing-v2 .landing-menu-close { display: none; }
.landing-v2 [hidden] { display: none !important; }
body.landing-v2 .landing-header .site-nav a { display: inline-flex; }
.landing-v2 .landing-header button:focus-visible { outline: 3px solid var(--landing-accent); outline-offset: 3px; }
.landing-v2 .hero-actions .button { white-space: nowrap; }
.landing-v2[data-theme="dark"] :is(.problem-story, .feature-mini) { --landing-accent: #91bdff; }
.landing-v2[data-theme="dark"] :is(.problem-source-card, .problem-insight, .feature-card, .experience-zone, .experience-zone.is-active, .solution-card, .solution-summary, .features-strip, .solution-system, .cta-brand-core) {
  color: var(--landing-text); background: var(--landing-panel); border-color: var(--landing-border); box-shadow: 0 12px 32px #0003;
}
.landing-v2[data-theme="dark"] :is(.problem-insight__grid section, .problem-insight__summary, .feature-mini, .experience-converge, .experience-strategy, .experience-review) {
  color: var(--landing-text); background: var(--landing-inset); border-color: var(--landing-border);
}
.landing-v2[data-theme="dark"] :is(.feature-mini--selection > div span, .feature-mini--risk > div:not(.feature-mini__summary) span, .experience-converge > div span, .experience-strategy > div, .experience-review > div, .feature-mini__summary, .solution-summary__icon, .features-strip article > span) {
  color: var(--landing-text); background: var(--landing-elevated); border-color: var(--landing-border);
}
.landing-v2[data-theme="dark"] :is(.problem-source-card strong, .problem-insight strong, .feature-mini strong, .feature-mini b, .feature-mini li, .experience-zone strong, .experience-zone b, .features-strip strong, .solution-system__label strong) { color: var(--landing-text); }
.landing-v2[data-theme="dark"] :is(.problem-source-card span, .problem-source-card small, .problem-insight__grid span, .problem-insight__grid small, .problem-insight__summary span, .feature-mini span, .feature-mini small, .feature-mini em, .experience-zone span, .experience-zone small, .features-strip small, .solution-system__label small) { color: var(--landing-muted); }
.landing-v2[data-theme="dark"] :is(.problem-insight__header em, .problem-safe) { color: var(--landing-positive); background: var(--landing-inset); }
.landing-v2[data-theme="dark"] :is(.problem-mini-chart i, .experience-review > i, .experience-strategy i, .feature-mini--strategy i) { background-color: var(--landing-elevated); }
.landing-v2[data-theme="dark"] :is(.feature-mini li, .experience-zone > header, .features-strip article) { border-color: var(--landing-border); }
.landing-v2[data-theme="dark"] .button--secondary { color: var(--landing-text); background: var(--landing-panel); border-color: var(--landing-border); }
.landing-v2[data-theme="dark"] .button--primary { color:#fff; background:#1765ff; }
.landing-v2[data-theme="dark"] .landing-pricing > .commercial { --surface:var(--landing-panel); --bg:var(--landing-background); --border:var(--landing-border); }
@media (max-width: 820px) {
  body.landing-v2 { --landing-header-height: 64px; }
  body.landing-v2 .landing-header .site-header__inner { display:flex; flex-wrap:nowrap; align-items:center; justify-content:space-between; height:64px; width:100%; gap:16px; }
  .landing-v2 .landing-header .site-brand { flex:none; white-space:nowrap; }
  .landing-v2 .landing-menu-toggle { display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; padding:0; border:1px solid var(--landing-border); border-radius:10px; background:var(--landing-panel); color:var(--landing-text); font:inherit; font-size:24px; cursor:pointer; }
  .landing-v2 .landing-menu { display:none; position:fixed; z-index:2; top:calc(var(--landing-header-height) + 8px); left:16px; right:16px; max-height:calc(100dvh - var(--landing-header-height) - 24px); overflow-y:auto; padding:16px; border:1px solid var(--landing-border); border-radius:16px; background:var(--landing-panel); color:var(--landing-text); box-shadow:0 16px 48px #0004; }
  .landing-v2 .is-menu-open .landing-menu { display:block; }
  .landing-v2 .landing-menu-close { display:flex; align-items:center; justify-content:space-between; min-height:44px; width:100%; padding:8px 12px; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
  .landing-v2 .landing-menu-backdrop { position:fixed; inset:64px 0 0; background:#060f1b88; }
  body.landing-v2.landing-menu-open { overflow:hidden; }
  body.landing-v2 .landing-header :is(.site-nav,.header-actions,.header-auth) { display:flex; flex-direction:column; align-items:stretch; width:100%; gap:4px; }
  .landing-v2 .landing-header :is(.site-nav a,.header-actions a,.theme-toggle) { display:flex; justify-content:flex-start; min-height:44px; padding:10px 12px; border-radius:8px; color:var(--landing-text); white-space:nowrap; }
  .landing-v2 .landing-header .header-actions { border-top:1px solid var(--landing-border); margin-top:8px; padding-top:8px; }
  body.landing-v2 .landing-header .header-trial { color:#fff; background:#1765ff; }
  body.landing-v2 .landing-section { min-height:0; padding-block:44px; }
  body.landing-v2 .landing-section--hero { padding-top:calc(var(--landing-header-height) + 28px); padding-bottom:32px; }
  body.landing-v2 .landing-pricing { padding-block:24px; scroll-margin-top:64px; }
  body.landing-v2 :is(.hero-grid,.problem-shell,.solution-shell,.features-shell,.experience-shell,.cta-shell) { min-height:0; height:auto; }
  body.landing-v2 .hero-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:8px; margin-top:24px; }
  body.landing-v2 .hero-actions .button { width:100%; min-width:0; min-height:44px; padding:0 8px; font-size:14px; }
  body.landing-v2 :is(.hero-copy h1,.problem-heading h2,.solution-copy h2,.features-copy h2,.experience-heading h2,.cta-heading h2) { font-size:clamp(28px,7.9vw,44px); line-height:1.22; letter-spacing:-.045em; word-break:keep-all; overflow-wrap:normal; text-wrap:balance; }
  body.landing-v2 .hero-copy h1 { font-size:clamp(30px,9.1vw,48px); }
  body.landing-v2 .hero-copy h1 span { white-space:normal; }
  body.landing-v2 :is(.hero-description,.problem-description,.solution-description,.features-description,.experience-description,.cta-description) { margin-top:18px; }
  body.landing-v2 :is(.features-progress,.experience-progress,.cta-progress) { margin-bottom:16px; }
  body.landing-v2 .product-visual { min-height:280px; }
  body.landing-v2 .product-cluster { width:min(84%,480px); }
}
@media (max-width: 520px) {
  body.landing-v2 .landing-section { padding-block:32px; }
  body.landing-v2 .landing-section--hero { padding-top:calc(var(--landing-header-height) + 24px); }
  body.landing-v2 :is(.hero-copy h1,.problem-heading h2,.solution-copy h2,.features-copy h2,.experience-heading h2) { font-size:clamp(28px,7.9vw,36px); }
  body.landing-v2 .hero-copy h1 { font-size:clamp(30px,9.1vw,40px); }
  body.landing-v2 .cta-heading h2 { font-size:clamp(25px,7vw,30px); }
  body.landing-v2 .hero-grid { gap:24px; }
}
/* Inner component surfaces use the same landing palette, including active states. */
.landing-v2[data-theme="dark"] :is(.solution-card__icon, .solution-card h3 small, .feature-card > header > span, .feature-mini li, .feature-mini li span, .feature-mini li strong, .feature-mini em, .feature-mini--strategy > div:not(.feature-mini__summary) span, .feature-mini--risk strong, .experience-converge > strong, .experience-zone > header > span, .experience-review > div > span, .cta-secondary) {
  background:var(--landing-elevated); color:var(--landing-text); border-color:var(--landing-border);
}
.landing-v2[data-theme="dark"] .feature-mini .is-sell { color:#ffb1b9; }
.landing-v2[data-theme="dark"] .feature-mini .is-buy { color:#91bdff; }
.landing-v2[data-theme="dark"] .experience-zone--review.is-active .experience-review > div:last-child { background:var(--landing-elevated); border-color:var(--landing-border); }
