:root {
  --lp-ease: cubic-bezier(.22, 1, .36, 1);
  --lp-bg: #f3f6f5;
  --lp-card: #ffffff;
  --lp-text: #12211b;
  --lp-muted: #6b7a74;
  --lp-line: #dfe6e3;
  --lp-field: #f7faf9;
}
[data-bs-theme="dark"] {
  --lp-bg: #08100d;
  --lp-card: #101a16;
  --lp-text: #eef5f2;
  --lp-muted: #8da39a;
  --lp-line: #24352e;
  --lp-field: #15221d;
}

html, body { min-height: 100%; }
body.lp-body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp {
  min-height: 100vh; min-height: 100dvh;
  display: flex;
  background: var(--lp-bg);
}

.lp-hero {
  position: relative;
  flex: 0 0 48%;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 56px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(155deg, #071c15 0%, var(--brand-mid) 52%, var(--brand) 100%);
}
[data-bs-theme="dark"] .lp-hero {
  background: linear-gradient(155deg, #030b08 0%, #08241b 55%, #0e3a2c 100%);
}
.lp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 20%, transparent 75%);
  animation: lpGridDrift 22s linear infinite;
}
@keyframes lpGridDrift { to { background-position: 44px 44px, 44px 44px; } }

.lp-blob {
  position: absolute; border-radius: 50%;
  filter: blur(46px); opacity: .55; will-change: transform;
}
.lp-blob.b1 { width: 340px; height: 340px; background: #e08e2a; top: -90px; left: -80px; opacity: .38; animation: lpBlob1 14s ease-in-out infinite; }
.lp-blob.b2 { width: 320px; height: 320px; background: #2fb391; bottom: -100px; right: -60px; animation: lpBlob2 17s ease-in-out infinite; }
.lp-blob.b3 { width: 220px; height: 220px; background: #5b8cff; top: 46%; left: 52%; opacity: .22; animation: lpBlob3 19s ease-in-out infinite; }
@keyframes lpBlob1 { 50% { transform: translate(70px, 60px) scale(1.15); } }
@keyframes lpBlob2 { 50% { transform: translate(-80px, -50px) scale(1.1); } }
@keyframes lpBlob3 { 50% { transform: translate(-60px, 70px) scale(.85); } }

.lp-hero-inner { position: relative; z-index: 2; max-width: 440px; width: 100%; }
.lp-hero-inner > * { opacity: 0; animation: lpRise .8s var(--lp-ease) forwards; }
.lp-hero-inner > *:nth-child(1) { animation-delay: .10s; }
.lp-hero-inner > *:nth-child(2) { animation-delay: .22s; }
.lp-hero-inner > *:nth-child(3) { animation-delay: .34s; }
.lp-hero-inner > *:nth-child(4) { animation-delay: .46s; }
@keyframes lpRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.lp-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 44px; }
.lp-logo {
  position: relative;
  width: 58px; height: 58px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.3);
  animation: lpFloat 5s ease-in-out infinite;
  flex-shrink: 0;
}
.lp-logo::after {
  content: ''; position: absolute; inset: -6px; border-radius: 22px;
  border: 2px solid rgba(255,255,255,.35);
  animation: lpPulse 2.6s ease-out infinite;
}
.lp-logo img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; box-shadow: none; }
.lp-logo i { font-size: 1.7rem; color: #fff; }
@keyframes lpFloat { 50% { transform: translateY(-6px); } }
@keyframes lpPulse { 0% { transform: scale(.92); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.lp-brand-name { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.lp-brand-name small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .65; margin-top: 3px; }

.lp-hero h1 { font-size: 2.35rem; font-weight: 800; line-height: 1.16; letter-spacing: -.025em; margin: 0 0 14px; color: #fff; }
.lp-hero h1 span { background: linear-gradient(90deg, #ffd08a, #ffa94d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { color: rgba(255,255,255,.75); font-size: 1.02rem; line-height: 1.6; margin: 0 0 34px; }

.lp-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.lp-feats li {
  display: flex; align-items: center; gap: 14px;
  padding: 0; background: none; border: 0; border-radius: 0;
  font-size: .98rem; color: rgba(255,255,255,.9);
  opacity: 0; animation: lpRise .7s var(--lp-ease) forwards;
}
.lp-feats li:nth-child(1) { animation-delay: .55s; }
.lp-feats li:nth-child(2) { animation-delay: .68s; }
.lp-feats li:nth-child(3) { animation-delay: .81s; }
.lp-feats i {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: #ffc27a; font-size: .95rem;
  border: 1.5px solid rgba(255,194,122,.55); box-shadow: none;
}

.lp-main {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 28px;
}
.lp-card {
  width: 100%; max-width: 420px;
  background: var(--lp-card);
  border-radius: 24px;
  padding: 38px 34px 30px;
  border: 1px solid var(--lp-line);
  box-shadow: 0 24px 60px -18px rgba(12, 40, 30, .22);
  animation: lpCardIn .8s var(--lp-ease) both;
}
[data-bs-theme="dark"] .lp-card { box-shadow: 0 24px 60px -18px rgba(0,0,0,.7); }
@keyframes lpCardIn { from { opacity: 0; transform: translateY(34px) scale(.98); } to { opacity: 1; transform: none; } }

.lp-mbrand { display: none; }
.lp-title { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; color: var(--lp-text); }
.lp-desc { color: var(--lp-muted); font-size: .94rem; margin: 0 0 26px; line-height: 1.5; }

.lp-alert {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(220,53,69,.09); color: #c02a3a;
  border: 1px solid rgba(220,53,69,.3);
  padding: 12px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 18px;
  animation: lpShake .55s cubic-bezier(.36,.07,.19,.97) both;
}
[data-bs-theme="dark"] .lp-alert { color: #f2a5ad; background: rgba(220,53,69,.14); }
.lp-alert i { margin-top: 1px; }
@keyframes lpShake {
  10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); }
}

.lp-form > * { opacity: 0; animation: lpRise .6s var(--lp-ease) forwards; }
.lp-form > *:nth-child(1) { animation-delay: .00s; }
.lp-form > *:nth-child(2) { animation-delay: .10s; }
.lp-form > *:nth-child(3) { animation-delay: .20s; }
.lp-form > *:nth-child(4) { animation-delay: .30s; }
.lp-form > *:nth-child(5) { animation-delay: .38s; }

.lp-field { margin-bottom: 16px; }
.lp-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--lp-muted); margin-bottom: 7px; }
.lp-input-wrap { position: relative; }
.lp-input-wrap > i.lp-ico {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--lp-muted); font-size: 1.05rem; pointer-events: none;
  transition: color .2s ease, transform .3s var(--lp-ease);
}
.lp-input {
  width: 100%; height: 54px;
  padding: 0 48px 0 46px;
  font-size: 1rem; 
  color: var(--lp-text);
  background: var(--lp-field);
  border: 1.5px solid var(--lp-line);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .25s ease, background .2s ease;
  -webkit-appearance: none; appearance: none;
}
.lp-input::placeholder { color: #9fb0a9; }
.lp-input:focus {
  border-color: var(--brand);
  background: var(--lp-card);
  box-shadow: 0 0 0 4px rgba(26,93,74,.14);
}
[data-bs-theme="dark"] .lp-input:focus { border-color: #2f9e82; box-shadow: 0 0 0 4px rgba(47,158,130,.2); }
.lp-input-wrap:focus-within > i.lp-ico { color: var(--brand); transform: translateY(-50%) scale(1.15); }
[data-bs-theme="dark"] .lp-input-wrap:focus-within > i.lp-ico { color: #5cc4a3; }
.lp-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--lp-field) inset;
  -webkit-text-fill-color: var(--lp-text);
}
.lp-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; background: transparent; border-radius: 11px;
  color: var(--lp-muted); font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.lp-eye:hover, .lp-eye:active { background: rgba(26,93,74,.1); color: var(--brand); }

.lp-btn {
  position: relative; overflow: hidden;
  width: 100%; height: 54px; margin-top: 6px;
  border: 0; border-radius: 14px; cursor: pointer;
  font-size: 1rem; font-weight: 700; letter-spacing: .01em; color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #2c8c73 100%);
  box-shadow: 0 12px 26px -8px rgba(26,93,74,.6);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s var(--lp-ease), box-shadow .25s ease, filter .2s ease;
}
.lp-btn::before {  
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: lpShine 3.8s ease-in-out 1.4s infinite;
}
@keyframes lpShine { 0%, 55% { left: -80%; } 100% { left: 140%; } }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(26,93,74,.7); }
.lp-btn:active { transform: scale(.975); }
.lp-btn i { transition: transform .25s var(--lp-ease); }
.lp-btn:hover i.bi-arrow-right { transform: translateX(5px); }
.lp-btn .lp-spin {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: lpSpin .7s linear infinite;
}
.lp-btn.loading { pointer-events: none; filter: saturate(.85); }
.lp-btn.loading .lp-spin { display: block; }
.lp-btn.loading i, .lp-btn.loading::before { display: none; }
@keyframes lpSpin { to { transform: rotate(360deg); } }
[data-bs-theme="dark"] .lp-btn { background: linear-gradient(135deg, #22806a, #2fa085); box-shadow: 0 12px 26px -8px rgba(0,0,0,.7); }

.lp-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; color: var(--lp-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.lp-divider::before, .lp-divider::after { content: ''; flex: 1; height: 1px; background: var(--lp-line); }
.lp-alt {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; border-radius: 13px; text-decoration: none;
  border: 1.5px solid var(--lp-line); color: var(--lp-text); font-weight: 600; font-size: .92rem;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--lp-ease);
}
.lp-alt:hover { border-color: var(--brand); background: rgba(26,93,74,.06); color: var(--brand); transform: translateY(-1px); }
[data-bs-theme="dark"] .lp-alt:hover { color: #5cc4a3; border-color: #2f9e82; }
.lp-secure { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; color: var(--lp-muted); font-size: .76rem; }
.lp-secure i { color: #2fa085; }

.lp .theme-toggle {
  position: absolute; top: 18px; right: 18px; z-index: 5;
  background: var(--lp-card); border-color: var(--lp-line);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
}

@media (max-width: 900px) {
  .lp { flex-direction: column; background: var(--lp-bg); }
  .lp-hero {
    flex: 0 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 44px) 26px 92px;
    border-radius: 0 0 34px 34px;
    justify-content: flex-start;
  }
  .lp-hero-inner { max-width: 520px; margin: 0 auto; text-align: center; }
  .lp-brand { flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .lp-logo { width: 74px; height: 74px; border-radius: 22px; }
  .lp-logo img { width: 48px; height: 48px; }
  .lp-logo i { font-size: 2.1rem; }
  .lp-brand-name small { display: none; }
  .lp-hero h1 { font-size: 1.55rem; margin-bottom: 8px; }
  .lp-sub { font-size: .92rem; margin: 0; }
  .lp-feats { display: none; }
  .lp-blob { filter: blur(38px); }

  .lp-main {
    flex: 1; align-items: flex-start; padding: 0 18px calc(env(safe-area-inset-bottom, 0px) + 22px);
    margin-top: -64px; z-index: 3;
  }
  .lp-card { max-width: 480px; padding: 28px 22px 24px; border-radius: 26px; box-shadow: 0 26px 60px -20px rgba(8,30,22,.45); }
  .lp-title { font-size: 1.4rem; }
  .lp-desc { margin-bottom: 20px; }
  .lp .theme-toggle { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 14px; width: 40px; height: 40px; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
  [data-bs-theme="dark"] .lp .theme-toggle { color: #f0a94c; background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.15); }
}
@media (max-width: 380px) {
  .lp-card { padding: 24px 18px 20px; }
  .lp-hero h1 { font-size: 1.35rem; }
}
@media (max-height: 640px) and (max-width: 900px) {
  .lp-hero { padding-bottom: 80px; }
  .lp-logo { width: 60px; height: 60px; }
  .lp-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lp-hero-inner > *, .lp-form > *, .lp-feats li { opacity: 1; }
}

.lp-wave { display: none; }
.lp-ring, .lp-chips { display: none; }

@media (max-width: 900px) {
  .lp { position: relative; }
  .lp-hero {
    border-radius: 0; padding: calc(env(safe-area-inset-top, 0px) + 40px) 24px 110px;
    transition: padding .45s var(--lp-ease);
  }
  .lp-wave { display: block; position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; z-index: 2; pointer-events: none; }
  .lp-wave path { fill: var(--lp-bg); }
  .lp-wave .w2 { fill: var(--lp-bg); opacity: .35; animation: lpWave 7s ease-in-out infinite; transform-origin: center; }
  @keyframes lpWave { 50% { transform: translateX(-4%) scaleY(1.15); } }

  .lp-logo { animation: lpPop .9s var(--lp-ease) .1s both, lpFloat 5s ease-in-out 1s infinite; margin-inline: auto; }
  .lp-logo::after { display: none; }
  .lp-ring {
    display: block; position: absolute; inset: -12px; border-radius: 50%;
    border: 2px dashed rgba(255,255,255,.38); animation: lpRotate 14s linear infinite; pointer-events: none;
  }
  @keyframes lpPop { 0% { opacity: 0; transform: scale(.4) rotate(-18deg); } 60% { transform: scale(1.08) rotate(3deg); } 100% { opacity: 1; transform: none; } }
  @keyframes lpRotate { to { transform: rotate(360deg); } }
  .lp-logo { border-radius: 50% !important; }

  .lp-brand-name { font-size: 1.25rem; }
  .lp-hero h1 { font-size: 1.4rem; line-height: 1.25; }
  .lp-hero h1, .lp-sub { transition: opacity .3s ease, max-height .45s var(--lp-ease), margin .3s ease; max-height: 120px; overflow: hidden; }

  .lp-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
  .lp-chips span {
    display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600;
    padding: 6px 12px; border-radius: 999px; color: #fff;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
    opacity: 0; animation: lpRise .6s var(--lp-ease) forwards;
  }
  .lp-chips span:nth-child(1) { animation-delay: .7s; } .lp-chips span:nth-child(2) { animation-delay: .82s; } .lp-chips span:nth-child(3) { animation-delay: .94s; }
  .lp-chips i { color: #ffc27a; }

  .lp-main { margin-top: -78px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px) + 20px); }
  .lp-card { padding: 26px 20px 22px; border-radius: 28px; animation: lpSheet .9s var(--lp-ease) .2s both; }
  @keyframes lpSheet { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
  .lp-title { font-size: 1.45rem; }
  .lp-title::after { content: ''; display: block; width: 38px; height: 4px; border-radius: 4px; margin-top: 10px; background: linear-gradient(90deg, #e08e2a, #f4b25c); animation: lpBar .8s var(--lp-ease) .8s both; transform-origin: left; }
  @keyframes lpBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  .lp-input { height: 56px; border-radius: 16px; }
  .lp-btn { height: 56px; border-radius: 16px; font-size: 1.05rem; }
  .lp-alt { height: 50px; }

  .lp-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: lpRipple .6s ease-out; pointer-events: none; }
  @keyframes lpRipple { to { transform: scale(4); opacity: 0; } }

  .lp.kb .lp-hero { padding-bottom: 70px; padding-top: calc(env(safe-area-inset-top, 0px) + 18px); }
  .lp.kb .lp-hero h1, .lp.kb .lp-sub, .lp.kb .lp-chips { opacity: 0; max-height: 0; margin: 0; }
  .lp.kb .lp-logo { width: 52px; height: 52px; }
  .lp.kb .lp-logo img { width: 34px; height: 34px; }
  .lp.kb .lp-brand { margin-bottom: 0; }
  .lp.kb .lp-brand-name { font-size: 1.05rem; }
  .lp.kb .lp-wave { height: 40px; }
  .lp.kb .lp-secure, .lp.kb .lp-divider, .lp.kb .lp-alt, .lp.kb .lp-chips { display: none; }
  .lp.kb .lp-main { margin-top: -50px; }
  .lp-logo, .lp-brand, .lp-brand-name, .lp-logo img { transition: all .4s var(--lp-ease); }
}
@media (max-width: 380px) { .lp-chips span:nth-child(3) { display: none; } }

@media (max-width: 900px) {
  .lp-hero {
    background: transparent !important; color: var(--lp-text);
    padding: calc(env(safe-area-inset-top, 0px) + 44px) 24px 8px;
    overflow: visible;
  }
  [data-bs-theme="dark"] .lp-hero { background: transparent !important; }
  .lp-grid, .lp-blob, .lp-wave, .lp-hero h1, .lp-sub, .lp-feats, .lp-chips { display: none !important; }

  .lp-brand { margin-bottom: 0; }
  .lp-logo {
    width: 84px; height: 84px;
    background: var(--lp-card); border: 1px solid var(--lp-line);
    box-shadow: 0 14px 34px -12px rgba(12,40,30,.35);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .lp-logo img { width: 58px; height: 58px; border-radius: 12px; object-fit: contain; }
  .lp-logo i { color: var(--brand); font-size: 2.3rem; }
  [data-bs-theme="dark"] .lp-logo i { color: #5cc4a3; }
  .lp-ring { border-color: rgba(26,93,74,.28); inset: -10px; }
  [data-bs-theme="dark"] .lp-ring { border-color: rgba(92,196,163,.35); }
  .lp-brand-name { font-size: 1.35rem; font-weight: 800; color: var(--lp-text); text-align: center; }

  .lp-main { margin-top: 0; padding-top: 22px; }
  .lp-card { box-shadow: 0 18px 44px -22px rgba(12,40,30,.3); }

  .lp .theme-toggle, [data-bs-theme="dark"] .lp .theme-toggle {
    background: var(--lp-card); border: 1px solid var(--lp-line); color: var(--lp-text);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  [data-bs-theme="dark"] .lp .theme-toggle { color: #f0a94c; }

  .lp.kb .lp-hero { padding: calc(env(safe-area-inset-top, 0px) + 16px) 24px 0; }
  .lp.kb .lp-logo { width: 54px; height: 54px; }
  .lp.kb .lp-logo img { width: 38px; height: 38px; }
  .lp.kb .lp-brand { flex-direction: row; gap: 12px; justify-content: center; }
  .lp.kb .lp-brand-name { font-size: 1.05rem; }
  .lp.kb .lp-main { padding-top: 14px; margin-top: 0; }
}

@media (max-width: 900px) {
  html, body.lp-body { overflow-x: hidden; }
  .lp { min-height: 100vh; min-height: 100dvh; flex-direction: column; }

  .lp .lp-hero {
    flex: 0 0 auto; position: relative; overflow: hidden !important;
    padding: calc(env(safe-area-inset-top, 0px) + 16px) 66px 58px 22px;
    background: linear-gradient(135deg, #0a2c22 0%, var(--brand-mid) 55%, var(--brand) 100%) !important;
    color: #fff; border-radius: 0 0 30px 30px; justify-content: flex-start;
  }
  [data-bs-theme="dark"] .lp .lp-hero { background: linear-gradient(135deg, #030b08 0%, #08241b 55%, #0e3a2c 100%) !important; }
  .lp .lp-grid { display: block !important; opacity: .7; mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 10%, transparent 70%); background-size: 30px 30px; }
  .lp .lp-blob { display: block !important; filter: blur(34px); }
  .lp-blob.b1 { width: 150px; height: 150px; top: -60px; left: -40px; }
  .lp-blob.b2 { width: 170px; height: 170px; bottom: -90px; right: -40px; }
  .lp-blob.b3 { width: 110px; height: 110px; top: 10%; left: 55%; }

  .lp-hero-inner { max-width: none; margin: 0; text-align: left; }
  .lp-brand { flex-direction: row; align-items: center; gap: 12px; justify-content: flex-start; margin: 0; }
  .lp .lp-logo {
    width: 46px; height: 46px; border-radius: 50% !important; flex-shrink: 0; margin: 0;
    background: #fff; border: 0;
    box-shadow: 0 8px 22px -6px rgba(0,0,0,.45), 0 0 0 3px rgba(255,255,255,.18);
    animation: lpPop .8s var(--lp-ease) .1s both;
  }
  .lp .lp-logo img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; }
  .lp .lp-logo i { color: var(--brand); font-size: 1.4rem; }
  .lp .lp-ring { display: block; inset: -6px; border: 1.5px dashed rgba(255,255,255,.5); animation: lpRotate 16s linear infinite; }
  .lp .lp-brand-name { color: #fff; font-size: 1.08rem; font-weight: 800; text-align: left; letter-spacing: -.005em; line-height: 1.2; }
  .lp .lp-brand-name small { display: block; font-size: .6rem; letter-spacing: .2em; margin-top: 3px; opacity: .72; font-weight: 600; }

  .lp .theme-toggle, [data-bs-theme="dark"] .lp .theme-toggle {
    position: fixed; top: calc(env(safe-area-inset-top, 0px) + 16px); right: 16px; width: 38px; height: 38px; z-index: 6;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); color: #fff;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none;
  }
  [data-bs-theme="dark"] .lp .theme-toggle { color: #f0a94c; }

  .lp .lp-main {
    flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    margin-top: -34px; padding: 0 22px calc(env(safe-area-inset-bottom, 0px) + 16px); z-index: 3;
  }
  .lp .lp-card {
    flex: 0 1 auto; width: 100%; max-width: 380px;
    display: flex; flex-direction: column;
    padding: clamp(20px, 4.4dvh, 44px) 26px clamp(16px, 3.2dvh, 32px); border-radius: 26px;
    box-shadow: 0 24px 50px -22px rgba(8,30,22,.5), 0 2px 6px rgba(8,30,22,.06);
    animation: lpSheet .8s var(--lp-ease) .15s both;
  }
  .lp-title { font-size: clamp(1.3rem, 3.6dvh, 1.8rem); margin: 0 0 4px; }
  .lp-title::after { height: 4px; width: 40px; margin-top: 9px; }
  .lp-desc { font-size: .9rem; margin: 0 0 clamp(12px, 3.4dvh, 32px); }
  .lp-alert { padding: 10px 12px; margin-bottom: 12px; font-size: .84rem; }

  .lp .lp-form { display: flex; flex-direction: column; }
  .lp-field { margin-bottom: clamp(10px, 3dvh, 28px); }
  .lp-label { font-size: .7rem; letter-spacing: .08em; margin-bottom: 6px; transition: color .2s ease; }
  .lp-field:focus-within .lp-label { color: var(--brand); }
  [data-bs-theme="dark"] .lp-field:focus-within .lp-label { color: #5cc4a3; }
  .lp-input { height: clamp(46px, 7.2dvh, 64px); border-radius: 14px; }
  .lp-eye { width: 38px; height: 38px; }
  .lp-btn { height: clamp(48px, 7.4dvh, 64px); border-radius: 14px; margin-top: 6px; font-size: 1.02rem; }
  .lp-divider { margin: clamp(12px, 3.2dvh, 32px) 0 clamp(9px, 2dvh, 18px); }
  .lp-alt { height: clamp(42px, 6.2dvh, 54px); border-radius: 13px; }
  .lp-secure { margin-top: clamp(10px, 2.6dvh, 24px); }
}

@media (min-width: 600px) and (max-width: 900px) {
  .lp .lp-card { max-width: 430px; }
}

@media (max-width: 900px) and (max-height: 620px) {
  .lp .lp-card { padding: 20px 24px 14px; }
  .lp-title { font-size: 1.3rem; }
  .lp-desc { margin-bottom: 12px; }
  .lp-field { margin-bottom: 10px; }
  .lp-input { height: 46px; }
  .lp-btn { height: 48px; }
  .lp-divider { margin: 12px 0 9px; }
  .lp-alt { height: 42px; }
  .lp-secure { margin-top: 10px; }
}

@media (max-width: 900px) and (max-height: 560px) {
  .lp-desc, .lp-secure { display: none; }
  .lp .lp-hero { padding-bottom: 44px; }
  .lp .lp-card { padding: 16px 20px 14px; }
  .lp-field { margin-bottom: 8px; }
  .lp-input { height: 42px; }
  .lp-btn { height: 44px; }
  .lp-divider { margin: 8px 0 6px; }
  .lp-alt { height: 38px; }
}

.lp-btn, .lp-alt { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .lp-btn:hover { transform: none; box-shadow: 0 12px 26px -8px rgba(26,93,74,.6); }
  .lp-btn:hover i.bi-arrow-right { transform: none; }
  .lp-alt:hover { transform: none; }
}
.lp-btn .lp-btn-text { white-space: nowrap; }
.lp-btn.loading { gap: 12px; }
.lp-alt-wrap { position: relative; z-index: 1; margin-top: clamp(4px, 1.4dvh, 12px); }
.lp-alt-wrap .lp-divider { margin-top: clamp(14px, 3.4dvh, 30px); }
