/* =====================================================================
   Landing redesign (variant A). Scoped under .landing-new-page, all
   classes prefixed .lx- to avoid collisions with Bulma / app styles.
   Light theme only (matches the rest of the public site).
   ===================================================================== */

.landing-new-page {
  --lx-bg: #FBFAF7;
  --lx-surface: #FFFFFF;
  --lx-surface-2: #F5F1EB;
  --lx-ink: #1B1713;
  --lx-muted: #6B645B;
  --lx-faint: #9C948B;
  --lx-line: #E9E2D9;
  --lx-line-2: #D8CFC4;
  --lx-accent: #CF5E10;
  --lx-accent-strong: #AC4A06;
  --lx-accent-soft: #F7ECDE;
  --lx-good: #17916A;
  --lx-good-soft: #E9F3EE;
  --lx-shadow-sm: 0 1px 1px rgba(25,21,18,.04);
  --lx-shadow: 0 1px 2px rgba(25,21,18,.04), 0 18px 40px -26px rgba(25,21,18,.22);
  --lx-shadow-lg: 0 2px 4px rgba(25,21,18,.04), 0 40px 80px -40px rgba(25,21,18,.30);
  --lx-maxw: 1200px;
  --lx-pad: clamp(28px, 6.5vw, 100px);
  --lx-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lx-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  background: var(--lx-bg);
  color: var(--lx-ink);
  font-family: var(--lx-sans);
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.lx-wrap { max-width: var(--lx-maxw); margin: 0 auto; padding-left: var(--lx-pad); padding-right: var(--lx-pad); }
.landing-new-page a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.lx-btn { display: inline-flex; align-items: center; gap: 7px; justify-content: center; font-family: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; border-radius: 8px; padding: 9px 16px; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, color .15s ease; }
/* "Ink premium": dark primary, soft-accent secondary, neutral text link.
   double class so button color wins over `.landing-new-page a { color: inherit }` */
.lx-btn.lx-btn-primary { background: var(--lx-ink); color: var(--lx-bg); }
.lx-btn.lx-btn-primary:hover { background: color-mix(in srgb, var(--lx-ink) 82%, var(--lx-accent)); color: var(--lx-bg); }
.lx-btn.lx-btn-ghost { background: var(--lx-accent-soft); color: var(--lx-accent-strong); border-color: transparent; }
.lx-btn.lx-btn-ghost:hover { background: color-mix(in srgb, var(--lx-accent) 12%, var(--lx-accent-soft)); }
.lx-btn.lx-btn-text { background: transparent; color: var(--lx-muted); padding: 9px 6px; }
.lx-btn.lx-btn-text:hover { color: var(--lx-ink); }
.lx-btn-lg { padding: 12px 20px; font-size: .96rem; }
.lx-btn svg { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.lx-hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lx-bg) 80%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--lx-line); }
.lx-hdr-in { display: flex; align-items: center; gap: 40px; height: 72px; }
.lx-brand { display: flex; align-items: center; flex: none; }
.lx-brand img { height: 30px; width: auto; display: block; }
.lx-nav { display: flex; gap: 30px; margin-left: 6px; }
.lx-nav a { color: var(--lx-muted); font-size: .93rem; transition: color .15s; }
.lx-nav a:hover { color: var(--lx-ink); }
.lx-hdr-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lx-mnav { display: none; }
@media (max-width: 899px) {
  .lx-nav { display: none; }
  .lx-hdr-in { gap: 14px; }
  .lx-hdr-cta .lx-hide-mobile { display: none; }
  .lx-mnav { display: block; position: relative; margin-left: 4px; }
  .lx-mnav > summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--lx-line-2); }
  .lx-mnav > summary::-webkit-details-marker { display: none; }
  .lx-mnav > summary svg { width: 20px; height: 20px; color: var(--lx-ink); }
  .lx-mnav[open] > summary { border-color: var(--lx-muted); }
  .lx-mnav-panel { position: absolute; right: 0; top: 48px; width: min(78vw, 300px); background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 12px; box-shadow: var(--lx-shadow); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
  .lx-mnav-panel a { padding: 11px 12px; border-radius: 8px; color: var(--lx-ink); font-size: .96rem; }
  .lx-mnav-panel a:hover { background: var(--lx-surface-2); }
  .lx-mnav-panel .lx-btn { margin-top: 6px; }
}

/* ---------- Hero (variant A, centered) ---------- */
.lx-hero { position: relative; text-align: center; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(56px, 7vw, 92px); overflow: hidden; }
.lx-hero::before { content:""; position: absolute; top:-40%; left:50%; transform: translateX(-50%); width: 1100px; height: 800px; max-width: 120vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--lx-accent) 8%, transparent), transparent 70%); pointer-events: none; z-index: 0; }
.lx-hero .lx-inner { position: relative; z-index: 1; }
.lx-h1 { margin: 0 auto 24px; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; font-size: clamp(2.5rem, 5.4vw, 3.85rem); max-width: 24ch; }
.lx-hl { color: var(--lx-accent); }
.lx-sub { color: var(--lx-muted); line-height: 1.6; max-width: 48ch; margin: 0 auto 34px; font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.lx-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 40px; }
.lx-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(30px, 5vw, 60px); }
.lx-trust > div { text-align: center; }
.lx-trust .lx-n { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lx-trust .lx-l { font-size: .83rem; color: var(--lx-muted); margin-top: 3px; }
.lx-hero .lx-mock { margin: clamp(52px, 6vw, 84px) auto 0; max-width: 900px; }

/* ---------- Product mock ---------- */
.lx-mock { position: relative; padding: 6px; }
.lx-card { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 10px; box-shadow: var(--lx-shadow-lg); overflow: hidden; text-align: left; }
.lx-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--lx-line); }
.lx-card-top .lx-tab { font-size: .85rem; color: var(--lx-muted); }
.lx-card-top .lx-tab b { color: var(--lx-ink); font-weight: 600; }
.lx-tag { font-family: var(--lx-mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--lx-accent-soft); color: var(--lx-accent-strong); }
.lx-card-body { padding: 22px 20px; }
.lx-deal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.lx-deal-head .lx-who { font-weight: 600; font-size: 1.04rem; letter-spacing: -.01em; }
.lx-deal-head .lx-amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-deal-sub { color: var(--lx-faint); font-size: .8rem; margin-bottom: 18px; font-family: var(--lx-mono); }
.lx-pipe { display: flex; flex-direction: column; }
.lx-step { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--lx-line); }
.lx-step:first-child { border-top: none; }
.lx-step .lx-ic { width: 30px; height: 30px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--lx-good-soft); color: var(--lx-good); }
.lx-step .lx-ic svg { width: 15px; height: 15px; }
.lx-step.lx-pending .lx-ic { background: var(--lx-accent-soft); color: var(--lx-accent); }
.lx-step .lx-stxt { flex: 1; min-width: 0; }
.lx-step .lx-stxt .lx-t { font-weight: 500; font-size: .94rem; }
.lx-step .lx-stxt .lx-s { color: var(--lx-faint); font-size: .79rem; }
.lx-pill { font-family: var(--lx-mono); font-size: .68rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--lx-good-soft); color: var(--lx-good); white-space: nowrap; }
.lx-pill.lx-warn { background: var(--lx-accent-soft); color: var(--lx-accent-strong); }
.lx-erid { margin-top: 18px; padding: 12px 14px; border-radius: 6px; background: var(--lx-surface-2); border: 1px solid var(--lx-line); font-family: var(--lx-mono); font-size: .75rem; color: var(--lx-muted); line-height: 1.5; overflow-x: auto; white-space: nowrap; }
.lx-erid .lx-k { color: var(--lx-accent-strong); }
.lx-float { position: absolute; left: -14px; bottom: 24px; background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 8px; box-shadow: var(--lx-shadow); padding: 12px 15px; display: flex; align-items: center; gap: 11px; }
.lx-float .lx-fic { width: 32px; height: 32px; border-radius: 7px; background: var(--lx-good-soft); color: var(--lx-good); display: grid; place-items: center; }
.lx-float .lx-fic svg { width: 17px; height: 17px; }
.lx-float .lx-ft { font-size: .81rem; font-weight: 600; }
.lx-float .lx-fs { font-size: .73rem; color: var(--lx-faint); }
@media (max-width: 560px) { .lx-float { display: none; } }

/* ---------- Sections ---------- */
.lx-section { padding-top: clamp(80px, 11vw, 130px); padding-bottom: clamp(80px, 11vw, 130px); }
.lx-section.lx-alt { background: var(--lx-surface-2); border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.lx-sec-head { border-top: 1px solid var(--lx-line-2); padding-top: 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: start; margin-bottom: clamp(44px, 6vw, 72px); }
.lx-sec-head h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.35rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.lx-sec-head p { margin: 0; color: var(--lx-muted); font-size: 1.04rem; padding-top: 5px; }
@media (max-width: 760px) { .lx-sec-head { grid-template-columns: 1fr; gap: 16px; } }

/* Features */
.lx-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .lx-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lx-grid3 { grid-template-columns: 1fr; } }
.lx-feat { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 10px; padding: clamp(22px, 2.2vw, 30px); box-shadow: var(--lx-shadow-sm); transition: transform .16s ease, border-color .16s ease; }
.lx-feat:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--lx-accent) 40%, var(--lx-line)); }
.lx-feat .lx-ic { width: 40px; height: 40px; border-radius: 8px; background: var(--lx-accent-soft); color: var(--lx-accent); display: grid; place-items: center; margin-bottom: 18px; }
.lx-feat .lx-ic svg { width: 20px; height: 20px; }
.lx-feat h3 { margin: 0 0 9px; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; }
.lx-feat p { margin: 0; color: var(--lx-muted); font-size: .95rem; }

/* Telegram & AI panels */
.lx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
@media (max-width: 760px) { .lx-duo { grid-template-columns: 1fr; } }
.lx-panel { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 10px; padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; }
.lx-panel .lx-ic { width: 42px; height: 42px; border-radius: 8px; background: var(--lx-accent-soft); color: var(--lx-accent); display: grid; place-items: center; margin-bottom: 18px; }
.lx-panel .lx-ic svg { width: 21px; height: 21px; }
.lx-panel h3 { margin: 0 0 8px; font-size: 1.22rem; font-weight: 500; letter-spacing: -.015em; }
.lx-panel > p { margin: 0; color: var(--lx-muted); font-size: .97rem; }
.lx-panel ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.lx-panel li { display: flex; gap: 11px; color: var(--lx-muted); font-size: .95rem; }
.lx-panel li svg { width: 17px; height: 17px; color: var(--lx-accent); flex: none; margin-top: 3px; }
.lx-panel .lx-act { margin-top: 24px; }

/* How it works */
.lx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 56px); }
@media (max-width: 820px) { .lx-steps { grid-template-columns: 1fr; gap: 30px; } }
.lx-st { display: flex; gap: 16px; align-items: flex-start; }
.lx-st .lx-num { font-family: var(--lx-mono); font-size: .8rem; font-weight: 500; color: var(--lx-accent); padding-top: 4px; flex: none; min-width: 26px; }
.lx-st h4 { margin: 0 0 7px; font-size: 1.04rem; font-weight: 500; letter-spacing: -.01em; }
.lx-st p { margin: 0; color: var(--lx-muted); font-size: .94rem; }

/* Pricing */
.lx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
@media (max-width: 900px) { .lx-plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.lx-plan { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 12px; padding: clamp(24px, 2.4vw, 32px); display: flex; flex-direction: column; }
.lx-plan.lx-pop { border-color: color-mix(in srgb, var(--lx-accent) 55%, var(--lx-line)); box-shadow: var(--lx-shadow); }
.lx-plan .lx-ptag { align-self: flex-start; font-family: var(--lx-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lx-accent-strong); background: var(--lx-accent-soft); padding: 3px 8px; border-radius: 4px; margin-bottom: 16px; }
.lx-plan h3 { margin: 0 0 6px; font-size: 1.18rem; font-weight: 500; letter-spacing: -.01em; }
.lx-plan .lx-desc { color: var(--lx-muted); font-size: .89rem; margin: 0 0 22px; min-height: 2.7em; }
.lx-plan .lx-price { display: flex; align-items: baseline; gap: 7px; }
.lx-plan .lx-amount { font-size: 2.15rem; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.lx-plan .lx-per { color: var(--lx-muted); font-size: .88rem; }
.lx-plan .lx-yearly { color: var(--lx-faint); font-size: .78rem; margin: 5px 0 24px; font-variant-numeric: tabular-nums; min-height: 1em; }
.lx-plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.lx-plan li { display: flex; gap: 10px; font-size: .91rem; color: var(--lx-muted); }
.lx-plan li svg { width: 16px; height: 16px; color: var(--lx-accent); flex: none; margin-top: 3px; }
.lx-plan li b { color: var(--lx-ink); font-weight: 600; }
.lx-plan .lx-btn { margin-top: auto; width: 100%; }
.lx-trial { margin-top: clamp(20px, 2.4vw, 28px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--lx-surface-2); border: 1px solid var(--lx-line); border-radius: 10px; padding: 16px 22px; }
.lx-trial .lx-tt { font-size: .95rem; color: var(--lx-muted); }
.lx-trial .lx-tt b { color: var(--lx-ink); font-weight: 600; }

/* CTA */
.lx-cta { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 12px; box-shadow: var(--lx-shadow); padding: clamp(40px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; }
.lx-cta::before { content:""; position:absolute; inset:0; z-index:0; background: radial-gradient(closest-side at 50% -20%, color-mix(in srgb, var(--lx-accent) 8%, transparent), transparent 68%); }
.lx-cta > * { position: relative; z-index: 1; }
.lx-cta h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3.2vw, 2.2rem); font-weight: 500; letter-spacing: -.03em; }
.lx-cta p { margin: 0 auto 30px; color: var(--lx-muted); max-width: 40em; font-size: 1.04rem; }
.lx-cta-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.lx-footer { border-top: 1px solid var(--lx-line); background: var(--lx-bg); padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 52px); }
.lx-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
@media (max-width: 720px) { .lx-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
.lx-foot-logo { height: 34px; width: auto; display: block; margin-bottom: 14px; }
.lx-foot-about { color: var(--lx-muted); font-size: .9rem; max-width: 30ch; margin: 0 0 16px; }
.lx-foot-social { display: flex; gap: 10px; }
.lx-foot-social a { width: 36px; height: 36px; border: 1px solid var(--lx-line-2); border-radius: 8px; display: grid; place-items: center; color: var(--lx-muted); transition: border-color .15s, color .15s; }
.lx-foot-social a:hover { border-color: var(--lx-accent); color: var(--lx-accent); }
.lx-foot-social svg { width: 18px; height: 18px; }
.lx-footer h5 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lx-faint); font-weight: 500; }
.lx-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lx-footer li a { color: var(--lx-muted); font-size: .92rem; }
.lx-footer li a:hover { color: var(--lx-ink); }
.lx-foot-bottom { border-top: 1px solid var(--lx-line); margin-top: clamp(36px, 4vw, 52px); padding-top: 24px; color: var(--lx-faint); font-size: .84rem; line-height: 1.6; }

/* Access request */
.lx-ar-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .lx-ar-grid { grid-template-columns: 1fr; gap: 36px; } }
.lx-ar-feats { display: flex; flex-direction: column; gap: 20px; }
.lx-ar-feat { display: flex; gap: 14px; align-items: flex-start; }
.lx-ar-feat .lx-ic { width: 38px; height: 38px; border-radius: 9px; background: var(--lx-accent-soft); color: var(--lx-accent); display: grid; place-items: center; flex: none; }
.lx-ar-feat .lx-ic svg { width: 19px; height: 19px; }
.lx-ar-feat strong { display: block; font-weight: 600; margin-bottom: 3px; font-size: .98rem; }
.lx-ar-feat p { margin: 0; color: var(--lx-muted); font-size: .9rem; }
.lx-ar-card { background: var(--lx-surface); border: 1px solid var(--lx-line); border-radius: 14px; box-shadow: var(--lx-shadow); padding: clamp(24px, 3vw, 40px); }
.lx-ar-card h3 { margin: 0 0 22px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.lx-field { margin-bottom: 16px; }
.lx-label { display: block; font-size: .85rem; font-weight: 500; color: var(--lx-ink); margin-bottom: 7px; }
.lx-input { width: 100%; font-family: inherit; font-size: .96rem; color: var(--lx-ink); background: var(--lx-surface); border: 1px solid var(--lx-line-2); border-radius: 8px; padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease; }
.lx-input::placeholder { color: var(--lx-faint); }
.lx-input:focus { outline: none; border-color: var(--lx-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lx-accent) 15%, transparent); }
.lx-help { font-size: .8rem; color: var(--lx-faint); margin: 6px 0 0; }
.lx-ar-fields .lx-btn { width: 100%; margin-top: 6px; }
.lx-ar-success { text-align: center; padding: 14px 0; }
.lx-ar-success .lx-si { width: 52px; height: 52px; border-radius: 50%; background: var(--lx-good-soft); color: var(--lx-good); display: grid; place-items: center; margin: 0 auto 16px; }
.lx-ar-success .lx-si svg { width: 26px; height: 26px; }
.lx-ar-success h3 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 500; }
.lx-ar-success p { color: var(--lx-muted); font-size: .95rem; margin: 0 auto 10px; max-width: 40ch; }
.lx-ar-error { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #FDECEC; border: 1px solid #F1C4C4; color: #9B2C2C; font-size: .9rem; }

/* Reveal on load */
@media (prefers-reduced-motion: no-preference) {
  .lx-reveal { opacity: 0; transform: translateY(14px); animation: lx-rise .55s ease forwards; }
  .lx-reveal.lx-d1 { animation-delay: .06s; }
  .lx-reveal.lx-d2 { animation-delay: .12s; }
  @keyframes lx-rise { to { opacity: 1; transform: none; } }
}
