/* ============================================================
   ЯДРЁНЫЧ — landing + auth page styles (static pages)
   Relies on tokens from styles.css
   ============================================================ */

.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- top nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.lp-nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .18s; }
.lp-nav-links a:hover { color: var(--text); }
.lp-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.lp-logo .nm { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--text); }

/* ---------- hero ---------- */
.lp-hero { padding: 70px 0 40px; position: relative; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
[data-theme="dark"] .lp-eyebrow { color: var(--cyan); }
.lp-h1 { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; text-wrap: balance; }
.lp-h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-sub { font-size: 18px; line-height: 1.6; color: var(--text-muted); margin: 0 0 32px; max-width: 540px; }
.lp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lp-note { font-size: 13.5px; color: var(--text-faint); margin-top: 18px; display: flex; align-items: center; gap: 8px; }

/* glow behind hero shot */
.lp-hero-shot { position: relative; }
.lp-hero-shot::before {
  content: ''; position: absolute; inset: -8% -4% -12% -4%;
  background: radial-gradient(60% 60% at 60% 30%, var(--brand-soft), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.lp-frame {
  position: relative; z-index: 1; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface);
}
.lp-frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.lp-frame-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lp-frame img { display: block; width: 100%; height: auto; }

/* ---------- trust strip ---------- */
.lp-trust { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 50px; }
.lp-trust .lbl { font-size: 13px; color: var(--text-faint); font-weight: 600; }
.lp-trust .model { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; }

/* ---------- sections ---------- */
.lp-section { padding: 84px 0; }
.lp-sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.lp-sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
[data-theme="dark"] .lp-sec-eyebrow { color: var(--cyan); }
.lp-h2 { font-family: var(--font-display); font-weight: 600; font-size: 38px; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.lp-sec-sub { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* features */
.lp-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s;
}
.lp-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-feat .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.lp-feat h3 { font-size: 20px; font-weight: 650; margin: 0 0 10px; }
.lp-feat p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* steps */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.lp-step { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); }
.lp-step .num { font-family: var(--font-display); font-weight: 700; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 16px; }
.lp-step h4 { font-size: 16.5px; font-weight: 650; margin: 0 0 8px; }
.lp-step p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* pricing teaser */
.lp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 920px; margin: 0 auto; }
.lp-price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.lp-price.best { border-color: var(--brand); border-width: 2px; box-shadow: var(--shadow-md); }
.lp-price .pname { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 6px; }
.lp-price .pprice { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin: 10px 0 4px; }
.lp-price .pq { font-size: 13px; color: var(--text-faint); margin-bottom: 18px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.lp-price li { font-size: 14px; color: var(--text-muted); display: flex; gap: 9px; align-items: flex-start; }
.lp-price .pfree { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--brand); background: var(--brand-soft); border-radius: var(--r-md); padding: 9px 12px; margin-bottom: 14px; }
[data-theme="dark"] .lp-price .pfree { color: var(--cyan); }
.lp-price .pfree svg { flex: none; margin-top: 1px; }

/* big CTA */
.lp-cta {
  border-radius: var(--r-xl); padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
  background: var(--grad-brand); color: #fff;
}
.lp-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: 38px; margin: 0 0 14px; letter-spacing: -0.02em; }
.lp-cta p { font-size: 17px; opacity: 0.92; margin: 0 0 28px; }

/* footer */
.lp-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; }
.lp-footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lp-footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 14px; }
.lp-footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 14.5px; margin-bottom: 9px; transition: color .18s; }
.lp-footer-col a:hover { color: var(--brand); }
.lp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); }

/* theme toggle btn on static pages */
.lp-theme-btn { width: 38px; height: 38px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); cursor: pointer; display: grid; place-items: center; transition: background .18s; }
.lp-theme-btn:hover { background: var(--surface-2); }

/* ============================================================
   AUTH page
   ============================================================ */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand {
  position: relative; overflow: hidden; padding: 56px 56px;
  background: var(--grad-brand); color: #fff; display: flex; flex-direction: column;
}
.auth-brand::after {
  content: ''; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
}
.auth-brand-logo { display: flex; align-items: center; gap: 12px; }
.auth-brand-logo .nm { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.auth-brand-body { margin-top: auto; position: relative; z-index: 1; }
.auth-brand h2 { font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.auth-brand p { font-size: 16.5px; line-height: 1.6; opacity: 0.92; margin: 0 0 28px; max-width: 420px; }
.auth-brand .pts { display: flex; flex-direction: column; gap: 14px; }
.auth-brand .pt { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.auth-brand .pt .chk { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.2); display: grid; place-items: center; flex: none; }

.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 600; font-size: 28px; margin: 0 0 8px; }
.auth-card .lead { font-size: 15px; color: var(--text-muted); margin: 0 0 28px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.auth-row-between { display: flex; justify-content: space-between; align-items: center; }
.auth-link { color: var(--brand); font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; white-space: nowrap; }
[data-theme="dark"] .auth-link { color: var(--cyan); }
.auth-link:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-faint); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-oauth { display: flex; gap: 10px; }
.auth-oauth button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 11px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .18s; }
.auth-oauth button:hover { background: var(--surface-2); }
.auth-foot { text-align: center; margin-top: 26px; font-size: 14px; color: var(--text-muted); }
.auth-back { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 14px; text-decoration: none; margin-bottom: 24px; font-weight: 500; }
.auth-back:hover { color: var(--text); }
.auth-success-ic { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in oklch, var(--pos) 16%, transparent); color: var(--pos); display: grid; place-items: center; margin-bottom: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .lp-h1 { font-size: 40px; }
  .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-price-grid { grid-template-columns: 1fr; max-width: 420px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}
@media (max-width: 560px) {
  .lp-nav-links a:not(.btn) { display: none; }
  .lp-h1 { font-size: 33px; }
  .lp-h2 { font-size: 28px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-section { padding: 56px 0; }
  .lp-cta { padding: 44px 24px; }
  .lp-cta h2 { font-size: 28px; }
}
