/* ZSX landing/login redesign (#359, owner-approved artboard
   ui/v2/screens/landing.html): apple.com STRUCTURE (frosted slim nav,
   quiet oversized hero, whitespace rhythm) in the app's Frost White
   glass palette. ADDITIVE layer over auth.css — every auth element id
   and the JS contract are untouched; this file only reskins/relayouts.
   Scoped under body.landing-page so auth.css keeps serving any legacy
   embed of the auth card. */

body.landing-page {
  --lp-bg0: #dfe6f0;
  --lp-bg1: #f6f9fd;
  --lp-glass: rgba(255, 255, 255, .72);
  --lp-brd: rgba(255, 255, 255, .68);
  --lp-ink: #101828;
  --lp-ink2: #3a465c;
  --lp-ink3: #69768e;
  --lp-acc: #0d8fa5;
  --lp-acc-soft: rgba(13, 143, 165, .12);
  background: radial-gradient(1200px 700px at 75% -10%, var(--lp-bg1) 0%, var(--lp-bg0) 60%) !important;
  color: var(--lp-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: block !important;      /* auth.css centers with flex; we scroll */
  min-height: 100vh;
  padding: 0 !important;
}

/* the old centered column becomes a full-width page flow */
body.landing-page .auth-container {
  max-width: none;
  width: auto;
  padding: 0;
}

/* ---- slim frosted nav ---- */
.lp-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 max(24px, 6vw);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--lp-brd);
  font-size: 13.5px; color: var(--lp-ink2);
}
.lp-nav img { height: 26px; width: auto; }
.lp-nav .lp-brand { font-weight: 650; color: var(--lp-ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px; }
.lp-nav .lp-links { margin-left: auto; display: flex; gap: 22px; }
.lp-nav .lp-links a { color: var(--lp-ink2); text-decoration: none; }
.lp-nav .lp-links a.lp-cta { color: var(--lp-acc); font-weight: 600; }

/* ---- hero ---- */
.lp-hero { max-width: 1060px; margin: 0 auto; padding: 78px 24px 26px; text-align: center; }
.lp-hero h1 {
  font-size: clamp(42px, 7vw, 82px); line-height: 1.04;
  letter-spacing: -.015em; font-weight: 700; color: var(--lp-ink); margin: 0;
}
.lp-hero h1 em { font-style: normal; color: var(--lp-acc); }
.lp-hero .lp-sub {
  margin: 20px auto 0; max-width: 640px;
  font-size: clamp(16px, 2vw, 20px); line-height: 1.5; color: var(--lp-ink2);
}

/* ---- two-column stage ---- */
.lp-stage {
  max-width: 1060px; margin: 40px auto 0; padding: 0 24px 54px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start;
}
.lp-pitch { padding-top: 22px; }
.lp-pitch .lp-row { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.lp-pitch .lp-dot {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 38px;
  background: var(--lp-acc-soft);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.lp-pitch h3 { font-size: 16px; font-weight: 650; margin: 0 0 3px; color: var(--lp-ink); }
.lp-pitch p { font-size: 14px; color: var(--lp-ink3); line-height: 1.5; max-width: 400px; margin: 0; }

/* ---- auth card: the app's glass surface (overrides auth.css) ---- */
body.landing-page .auth-card {
  background: var(--lp-glass) !important;
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--lp-brd) !important;
  border-radius: 22px !important;
  padding: 30px 30px 24px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 12px 40px rgba(10, 16, 32, .14) !important;
  max-width: none;
}
body.landing-page .card-title { color: var(--lp-ink); font-size: 21px; font-weight: 650; }
body.landing-page .card-subtitle { color: var(--lp-ink3); font-size: 13.5px; margin-bottom: 18px; }
body.landing-page .form-label { color: var(--lp-ink2); font-size: 12.5px; font-weight: 600; }
body.landing-page .form-input {
  background: rgba(255, 255, 255, .85) !important;
  border: 1px solid rgba(16, 24, 40, .14) !important;
  border-radius: 12px !important; height: 44px; color: var(--lp-ink) !important;
  font-size: 15px;
}
body.landing-page .form-input:focus {
  border-color: var(--lp-acc) !important;
  box-shadow: 0 0 0 3px var(--lp-acc-soft) !important;
}
body.landing-page .form-input::placeholder { color: #98a4b8; }
body.landing-page .btn-primary {
  background: var(--lp-acc) !important; border: none !important;
  border-radius: 12px !important; height: 46px; font-weight: 650;
  box-shadow: 0 6px 18px rgba(13, 143, 165, .35);
}
body.landing-page .btn-primary:hover { background: #0b7f93 !important; }
body.landing-page .btn-provider { border-radius: 12px; height: 44px; padding: 0; }
body.landing-page .btn-google { background: rgba(255, 255, 255, .85); }
body.landing-page .provider-divider { color: var(--lp-ink3); }
body.landing-page .checkbox-label, body.landing-page .footer-text { color: var(--lp-ink3); }
body.landing-page .link-primary, body.landing-page .link-secondary { color: var(--lp-acc); }
body.landing-page #closed-note {
  background: var(--lp-acc-soft) !important;
  border-color: rgba(13, 143, 165, .3) !important;
  color: var(--lp-ink2) !important;
}

/* ---- footer strip ---- */
.lp-strip {
  max-width: 1060px; margin: 0 auto; padding: 26px 24px 64px;
  text-align: center; color: var(--lp-ink3); font-size: 13px;
}
.lp-strip .lp-cells { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.lp-strip .lp-cell {
  background: rgba(255, 255, 255, .5); border: 1px solid var(--lp-brd);
  border-radius: 16px; padding: 16px 20px; min-width: 220px; max-width: 300px; text-align: left;
}
.lp-strip .lp-cell b { display: block; color: var(--lp-ink); font-size: 14px; margin-bottom: 3px; }
.lp-strip a { color: var(--lp-ink3); text-decoration: none; }
.lp-strip a:hover { color: var(--lp-acc); }

/* legacy header/footer are replaced by nav/hero/strip */
body.landing-page .auth-header, body.landing-page .auth-footer { display: none; }

@media (max-width: 720px) {
  .lp-stage { grid-template-columns: 1fr; gap: 26px; }
  .lp-pitch { order: 2; padding-top: 0; }
  .lp-hero { padding-top: 56px; }
}
