/* ASS-MEK · public landing. Built on ui.css tokens (brand colours, spacing, themes); logo animation comes from login.css. */
body.lp { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); }
.lp-wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 var(--s5); box-sizing: border-box; }

/* hero: mountain photo, brand scrim, light text in both themes */
.lp-hero { position: relative; padding: var(--s4) 0 var(--s8); color: #ffffff; text-shadow: 0 1px 3px rgba(11, 21, 51, 0.8);
  background-color: var(--ass-navy); background-image: linear-gradient(180deg, rgba(11, 21, 51, 0.55) 0%, rgba(11, 21, 51, 0.3) 60%, rgba(11, 21, 51, 0.5) 100%), var(--brand-mountain);
  background-size: cover; background-position: center bottom; }
.lp-bar { display: flex; align-items: center; gap: var(--s4); min-height: 56px; }
.lp-brand { display: inline-flex; align-items: center; gap: var(--s2); color: #ffffff; font-weight: 800; font-size: var(--fs-xl); letter-spacing: 0.02em; text-decoration: none; }
.lp-brand img { display: block; width: 40px; height: auto; }
.lp-nav { display: flex; flex: 1; justify-content: center; gap: var(--s5); min-width: 0; }
.lp-nav a { color: #E5E7FF; font-size: var(--fs-md); font-weight: 500; text-decoration: none; white-space: nowrap; }
.lp-nav a:hover { color: #ffffff; text-decoration: underline; }
.lp-actions { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }

/* buttons: one height (44), same radius, text never wraps */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--s5); box-sizing: border-box; border-radius: var(--r-pill); border: 1px solid rgba(0, 229, 255, 0.55);
  font-size: var(--fs-base); font-weight: 600; line-height: 1; text-decoration: none; text-shadow: none; white-space: nowrap; cursor: pointer; box-shadow: var(--elev-raised-1); transition: box-shadow var(--elev-ease), background-color var(--elev-ease); }
.lp-btn:active { box-shadow: var(--elev-inset); }
.lp-btn:focus-visible { outline: none; box-shadow: var(--elev-raised-1), var(--focus-ring); }
.lp-btn-primary { background: linear-gradient(135deg, #5B25D0, #7B3FF6); color: #ffffff; }
.lp-btn-primary:hover { background: linear-gradient(135deg, #6a35e0, #8a52ff); }
.lp-btn-ghost, .lp-btn-icon { background: rgba(11, 21, 51, 0.6); color: #ffffff; }
.lp-btn-ghost:hover, .lp-btn-icon:hover { background: rgba(11, 21, 51, 0.8); }
.lp-btn-icon { width: 44px; padding: 0; }

/* first screen */
.lp-first { display: flex; align-items: center; gap: var(--s8); padding: var(--s8) 0 var(--s4); }
.lp-first .logo-anim { width: clamp(140px, 20vw, 260px); }
.lp-first-txt { min-width: 0; max-width: 640px; }
.lp-first h1 { margin: 0; color: #ffffff; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; font-weight: 800; letter-spacing: 0.01em; }
.lp-slogan { margin: var(--s3) 0 0; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.3; color: #E5E7FF; font-weight: 600; }
.lp-lead { margin: var(--s4) 0 0; font-size: var(--fs-lg); line-height: 1.55; color: #E5E7FF; }
.lp-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* sections */
.lp-section { padding: var(--s8) 0 0; scroll-margin-top: var(--s4); }
.lp-section:last-child { padding-bottom: var(--s8); }
.lp-section h2 { margin: 0 0 var(--s2); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -0.01em; }
.lp-note { margin: 0 0 var(--s5); color: var(--muted); font-size: var(--fs-md); line-height: 1.5; }
.lp-section h2 + .lp-grid, .lp-section h2 + .lp-faqs { margin-top: var(--s5); }
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.lp-grid-contacts { grid-template-columns: repeat(auto-fit, minmax(220px, 320px)); }
.lp-card, .lp-step { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; padding: var(--s5); box-sizing: border-box; background: var(--surface); border: 1px solid var(--elev-edge); border-radius: var(--r-lg); box-shadow: var(--elev-raised-1); overflow-wrap: anywhere; }
.lp-card h3, .lp-step h3 { margin: 0; font-size: var(--fs-xl); font-weight: 650; line-height: 1.3; }
.lp-card p, .lp-step p { margin: 0; font-size: var(--fs-md); line-height: 1.5; color: var(--text-2); }
.lp-card a { color: var(--primary); font-weight: 600; }
.lp-ico { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ass-navy); border: 1px solid rgba(0, 229, 255, 0.55); color: #00E5FF; box-shadow: var(--elev-raised-1); }
.lp-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #5B25D0, #7B3FF6); color: #ffffff; font-weight: 700; font-size: var(--fs-lg); }

/* FAQ: native details, no JS */
.lp-faqs { display: grid; gap: var(--s3); max-width: 820px; }
.lp-faq { background: var(--surface); border: 1px solid var(--elev-edge); border-radius: var(--r-md); box-shadow: var(--elev-raised-1); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; padding: var(--s3) var(--s4); box-sizing: border-box; font-size: var(--fs-base); font-weight: 600; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.lp-faq[open] summary::after { content: "–"; }
.lp-faq summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-md); }
.lp-faq p { margin: 0; padding: 0 var(--s4) var(--s4); font-size: var(--fs-md); line-height: 1.55; color: var(--text-2); }

/* footer */
.lp-footer { margin-top: var(--s8); padding: var(--s5) 0 var(--s8); border-top: 1px solid var(--line-strong); color: var(--muted); font-size: var(--fs-md); }
.lp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.lp-foot a { color: var(--text-2); text-decoration: none; }
.lp-foot a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 960px) {
  .lp-nav { display: none; }
  .lp-grid, .lp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-first { gap: var(--s5); }
}
@media (max-width: 640px) {
  .lp-wrap { padding: 0 var(--s4); }
  .lp-hero { padding-bottom: var(--s6); }
  .lp-first { flex-direction: column; align-items: flex-start; gap: var(--s4); padding-top: var(--s5); }
  .lp-first .logo-anim { width: 120px; }
  .lp-grid, .lp-grid-3, .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lp-btn { padding: 0 var(--s4); }
  .lp-section { padding-top: var(--s6); }
  .lp-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
