:root {
  --brand: #0f9d8f;
  --brand-2: #12b3a3;
  --brand-deep: #0a7d72;
  --ink: #0f172a;
  --ink-2: #5a6573;
  --ink-3: #8a94a3;
  --line: #e6e9ef;
  --field: #f5f7fa;
  --paper: #ffffff;
  --shade: #f6f7f9;
}
html[data-theme="dark"] {
  --ink: #eef2f7;
  --ink-2: #a3adbb;
  --ink-3: #7b8698;
  --line: #262d38;
  --field: #1a2029;
  --paper: #141a22;
  --shade: #10151c;
}
*, *:before, *:after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--shade);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--brand); text-decoration: none; }
button, input { font-family: inherit; }
.lg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 45%); min-height: 100vh; }
.lg-aside {
  position: relative; overflow: hidden; display: flex;
  background:
    radial-gradient(900px 650px at 8% 3%, rgba(45, 212, 191, .24), transparent 62%),
    radial-gradient(760px 600px at 94% 96%, rgba(56, 130, 246, .20), transparent 64%),
    linear-gradient(156deg, #061517 0%, #0a2422 46%, #07171f 100%);
  color: #fff;
}
.lg-aside:before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(80% 78% at 40% 40%, #000 20%, transparent 90%);
}
.lg-aside:after {
  content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%;
  right: -430px; top: 42%; border: 1px solid rgba(94, 234, 212, .16);
  box-shadow: 0 0 0 90px rgba(94, 234, 212, .035), 0 0 0 190px rgba(94, 234, 212, .025);
}
.lg-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.lg-orb.a { width: 8px; height: 8px; background: #5eead4; top: 25%; left: 16%; box-shadow: 0 0 30px 8px rgba(94,234,212,.35); }
.lg-orb.b { width: 5px; height: 5px; background: #60a5fa; top: 68%; left: 68%; box-shadow: 0 0 24px 6px rgba(96,165,250,.45); }
.lg-orb.c { width: 4px; height: 4px; background: #fff; top: 39%; left: 78%; opacity: .7; }
.lg-aside-inner {
  position: relative; z-index: 2; width: 100%; max-width: 780px;
  padding: 38px 56px 32px; display: flex; flex-direction: column;
}
.lg-brand { display: flex; align-items: center; gap: 12px; }
.lg-brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, #2dd4bf 0%, #0f9d8f 48%, #087c75 100%);
  box-shadow: 0 7px 20px rgba(13, 148, 136, .38), inset 0 1px 0 rgba(255,255,255,.3);
}
.lg-brand-mark svg { width: 23px; height: 23px; color: #fff; }
.lg-brand b { display: block; font-size: 16.5px; letter-spacing: .02em; font-weight: 650; }
.lg-brand span { display: block; margin-top: 3px; font-size: 9.5px; letter-spacing: .24em; color: rgba(215, 245, 240, .55); font-weight: 600; }
.lg-hero { margin-top: auto; padding: 7vh 0 5vh; max-width: 600px; }
.lg-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px;
  background: rgba(45, 212, 191, .09); border: 1px solid rgba(94, 234, 212, .18);
  color: #99f6e4; font-size: 10.5px; letter-spacing: .14em; font-weight: 600;
}
.lg-kicker i { width: 5px; height: 5px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 4px rgba(94,234,212,.1); }
.lg-hero h1 {
  margin: 25px 0 0; font-size: clamp(40px, 4.5vw, 58px); line-height: 1.18; letter-spacing: -.035em;
  font-weight: 720; color: #f5fbfa;
}
.lg-hero h1 em { display: block; font-style: normal; color: #76e8d6; }
.lg-hero p {
  max-width: 480px; margin: 24px 0 0; font-size: 14px; line-height: 1.9; color: rgba(218, 236, 234, .64);
}
.lg-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 31px; }
.lg-point { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(235, 249, 247, .82); }
.lg-point i {
  width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(45, 212, 191, .14); border: 1px solid rgba(94, 234, 212, .24); color: #5eead4;
}
.lg-point svg { width: 10px; height: 10px; }
.lg-proof {
  margin-top: auto; display: flex; align-items: flex-end; gap: 34px;
  padding-top: 30px; border-top: 1px solid rgba(207, 250, 244, .1);
}
.lg-proof-item b { font-size: 21px; font-weight: 680; letter-spacing: -.02em; color: #effcf9; }
.lg-proof-item b small { font-size: 11px; font-weight: 500; color: rgba(196, 233, 226, .5); margin-left: 4px; }
.lg-proof-item span { display: block; margin-top: 4px; font-size: 10.5px; color: rgba(190, 222, 217, .48); letter-spacing: .04em; }
.lg-proof-sign { margin-left: auto; text-align: right; color: rgba(190, 222, 217, .38); font-size: 10.5px; line-height: 1.7; }
.lg-main {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  padding: 34px 64px 26px; min-height: 100vh;
}
.lg-main:before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 380px at 100% 0%, rgba(15, 157, 143, .055), transparent 60%);
  pointer-events: none;
}
.lg-main-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.lg-main-chip {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 11px; color: var(--ink-3); font-size: 10.5px; background: rgba(255,255,255,.5);
}
.lg-main-chip i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.1); }
.lg-theme {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-3); cursor: pointer; display: grid; place-items: center; transition: .18s;
}
.lg-theme:hover { color: var(--brand); border-color: rgba(15,157,143,.3); }
.lg-theme svg { width: 16px; height: 16px; }
.lg-card { position: relative; width: 100%; max-width: 392px; margin: auto; padding: 20px 0 48px; }
.lg-welcome h2 { margin: 0; font-size: 28px; letter-spacing: -.025em; font-weight: 700; color: var(--ink); }
.lg-welcome p { margin: 10px 0 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
.lg-tabs { position: relative; display: flex; gap: 25px; margin: 30px 0 25px; border-bottom: 1px solid var(--line); }
.lg-tab {
  position: relative; border: 0; padding: 0 1px 13px; background: transparent; color: var(--ink-3);
  font-size: 13.5px; font-weight: 500; cursor: pointer; transition: color .2s;
}
.lg-tab:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--brand); transform: scaleX(0); transition: transform .22s;
}
.lg-tab.is-on { color: var(--ink); font-weight: 650; }
.lg-tab.is-on:after { transform: scaleX(1); }
.lg-pane { display: none; animation: paneIn .25s ease; }
.lg-pane.is-on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.lg-field { display: block; margin-bottom: 19px; }
.lg-label { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--ink-3); font-weight: 550; margin-bottom: 8px; }
.lg-label a { font-size: 11px; color: var(--ink-3); }
.lg-input-wrap { position: relative; }
.lg-input-wrap > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: #9aa6b5; pointer-events: none; }
.lg-input {
  width: 100%; height: 49px; border-radius: 11px; border: 1px solid transparent; outline: none;
  background: var(--field); padding: 0 44px 0 43px; color: var(--ink); font-size: 13.5px;
  transition: border .18s, background .18s, box-shadow .18s;
}
.lg-input::placeholder { color: #aeb7c3; }
.lg-input:focus { background: var(--paper); border-color: rgba(15,157,143,.55); box-shadow: 0 0 0 3px rgba(15,157,143,.09); }
.lg-eye {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  width: 28px; height: 28px; display: grid; place-items: center; color: #9aa6b5; cursor: pointer; border-radius: 7px;
}
.lg-eye:hover { color: var(--ink-2); background: rgba(100,116,139,.08); }
.lg-eye svg { width: 16px; height: 16px; }
.lg-err { min-height: 18px; margin: -3px 0 8px; color: #e11d48; font-size: 11.5px; opacity: 0; transition: opacity .2s; }
.lg-err.is-on { opacity: 1; }
.lg-btn {
  width: 100%; height: 49px; border: 0; border-radius: 11px; color: #fff; font-size: 14px; font-weight: 600;
  letter-spacing: .1em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #13b6a6 0%, #0f9d8f 45%, #0a7d72 100%);
  box-shadow: 0 9px 22px -10px rgba(15,157,143,.8), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.lg-spin {
  width: 15px; height: 15px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: lgSpin .7s linear infinite;
}
@keyframes lgSpin { to { transform: rotate(360deg); } }
.lg-btn:hover { filter: brightness(1.03); transform: translateY(-1px); box-shadow: 0 13px 26px -12px rgba(15,157,143,.9); }
.lg-btn:active { transform: translateY(0); }
.lg-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.lg-demo {
  margin-top: 19px; padding: 11px 13px; border: 1px dashed rgba(15,157,143,.24); background: rgba(15,157,143,.035);
  border-radius: 10px; display: flex; gap: 9px; align-items: flex-start; color: var(--ink-3); font-size: 10.5px; line-height: 1.7;
}
.lg-demo svg { width: 14px; height: 14px; color: var(--brand); flex: none; margin-top: 1px; }
.lg-demo b { color: var(--ink-2); font-weight: 650; }
.lg-demo code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10.5px; color: var(--brand-deep); background: rgba(15,157,143,.08); border-radius: 4px; padding: 1px 4px; }
.lg-foot { position: relative; margin-top: auto; color: #b2bbc7; font-size: 10.5px; display: flex; justify-content: space-between; gap: 20px; }
.lg-qr-wrap { text-align: center; padding: 6px 0 8px; }
.lg-qr-box {
  width: 194px; height: 194px; border-radius: 16px; margin: 0 auto; padding: 12px;
  border: 1px solid var(--line); background: var(--paper); position: relative; display: grid; place-items: center;
  box-shadow: 0 12px 30px -24px rgba(15,23,42,.5);
}
.lg-qr-pattern {
  width: 168px; height: 168px; border-radius: 8px;
  background-color: #101b1a;
  background-image:
    repeating-linear-gradient(90deg, #101b1a 0 6px, transparent 6px 12px),
    repeating-linear-gradient(#101b1a 0 6px, transparent 6px 12px),
    repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 12px),
    repeating-linear-gradient(#fff 0 3px, transparent 3px 12px);
  background-size: 24px 24px, 24px 24px, 24px 24px, 24px 24px;
  opacity: .92;
}
.lg-qr-pattern:after {
  content: ""; display: block; width: 44px; height: 44px; margin: 62px auto; border-radius: 10px;
  background: linear-gradient(145deg, #2dd4bf, #0f9d8f); border: 5px solid #fff;
}
.lg-qr-tip { margin: 17px 0 0; font-size: 12.5px; color: var(--ink-2); }
.lg-qr-sub { margin: 6px 0 0; font-size: 10.5px; color: var(--ink-3); }
.lg-wxn { margin: 22px 0 0; font-size: 10.5px; color: var(--ink-3); text-align: center; }
.lg-wxn a { color: var(--brand); }
@media (max-width: 1024px) {
  .lg { grid-template-columns: minmax(0, 1fr) minmax(430px, 46%); }
  .lg-aside-inner { padding: 32px 38px 28px; }
  .lg-main { padding: 30px 40px 24px; }
}
@media (max-width: 800px) {
  .lg { display: block; background: var(--paper); }
  .lg-aside { min-height: 250px; }
  .lg-aside-inner { padding: 24px 24px 26px; }
  .lg-hero { padding: 30px 0 8px; }
  .lg-hero h1 { font-size: 36px; margin-top: 18px; }
  .lg-hero p { font-size: 12.5px; margin-top: 14px; }
  .lg-points, .lg-proof, .lg-kicker { display: none; }
  .lg-main { min-height: auto; padding: 26px 24px 20px; }
  .lg-card { padding: 12px 0 30px; max-width: 430px; }
  .lg-foot { flex-direction: column; gap: 5px; }
}
@media (max-width: 420px) {
  .lg-aside { min-height: 218px; }
  .lg-brand b { font-size: 14.5px; }
  .lg-hero h1 { font-size: 31px; }
  .lg-hero p { display: none; }
  .lg-main { padding: 22px 19px 18px; }
  .lg-welcome h2 { font-size: 25px; }
  .lg-tabs { margin: 23px 0 20px; }
}
