/* ===== 灵砚 AI · user console ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --ink: #08080a;
  --ink-2: #0e0e12;
  --ink-3: #14141a;
  --panel: rgba(255,255,255,.035);
  --panel-2: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.14);
  --text: #ece8e1;
  --muted: #9b948b;
  --muted-2: #6f6a64;
  --gold: #c9a373;
  --gold-2: #e0c49b;
  --gold-dim: rgba(201,163,115,.14);
  --jade: #7ba695;
  --danger: #d97066;
  --ok: #7bb08b;
  --radius: 18px;
  --serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "STSong", "SimSun", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(201,163,115,.13), transparent 62%),
    radial-gradient(700px 520px at 8% 8%, rgba(87,122,118,.10), transparent 60%),
    radial-gradient(800px 800px at 50% 110%, rgba(120,80,70,.10), transparent 65%),
    var(--ink);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(201,163,115,.28); }

.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 68px; display: flex; align-items: center;
  background: rgba(8,8,10,.6); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav .wrap { display: flex; align-items: center; gap: 34px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; letter-spacing: .12em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(201,163,115,.9), rgba(140,106,68,.55));
  color: #17130c; font-size: 15px; font-weight: 600; font-family: var(--serif);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 18px rgba(201,163,115,.18);
}
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--panel-2); color: var(--text); cursor: pointer; font-size: 14px;
  transition: transform .18s, background .2s, border-color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.09); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, #d8b587, #b98d5c);
  color: #1a1409; border-color: rgba(255,255,255,.16); font-weight: 600;
  box-shadow: 0 8px 26px rgba(201,163,115,.22), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #e4c496, #c4996a); box-shadow: 0 12px 34px rgba(201,163,115,.3); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { color: var(--danger); border-color: rgba(217,112,102,.35); background: rgba(217,112,102,.07); }
.btn-danger:hover { background: rgba(217,112,102,.14); }

/* ---------- landing ---------- */
.hero { padding: 150px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .22em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 66px); line-height: 1.16;
  margin: 0 0 24px; font-weight: 500; letter-spacing: .015em;
}
.hero h1 em { font-style: normal; color: var(--gold-2); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 10px;
  background: linear-gradient(90deg, rgba(201,163,115,.24), transparent); border-radius: 2px;
}
.hero p.lead { font-size: 16.5px; color: var(--muted); max-width: 470px; margin: 0 0 34px; line-height: 1.9; }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); display: flex; gap: 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* phone mock */
.phone {
  width: 320px; margin: 0 auto; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.16);
  position: relative;
}
.phone::after {
  content: ""; position: absolute; inset: -50px -60px; z-index: -1;
  background: radial-gradient(closest-side, rgba(201,163,115,.18), transparent 70%);
  filter: blur(10px);
}
.phone-screen { border-radius: 28px; background: #0d0d10; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.phone-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px 10px; font-size: 11px; color: var(--muted-2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.phone-head { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); }
.phone-head .ava { width: 32px; height: 32px; font-size: 13px; border-radius: 10px; }
.phone-head b { font-size: 13.5px; font-weight: 500; display: block; line-height: 1.25; }
.phone-head small { color: var(--muted-2); font-size: 10.5px; }
.chat { padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.bubble {
  max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.6;
  border: 1px solid rgba(255,255,255,.06); animation: rise .55s both;
}
.bubble.them { background: #1a1a20; border-bottom-left-radius: 5px; align-self: flex-start; color: #ded9d1; }
.bubble.me {
  background: linear-gradient(135deg, #cfae83, #b78e5e); color: #1c1509;
  align-self: flex-end; border-bottom-right-radius: 5px; border-color: transparent;
}
.bubble.typing { display: inline-flex; gap: 4px; padding: 13px; }
.bubble.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .2s; }
.bubble.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-time { text-align: center; font-size: 10px; color: var(--muted-2); margin-bottom: 2px; }

.section { padding: 92px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; margin: 0 0 14px; line-height: 1.35; }
.section-head p { color: var(--muted); margin: 0; font-size: 15px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s;
}
.step-card:hover { border-color: rgba(201,163,115,.35); transform: translateY(-3px); }
.step-card .num {
  font-family: var(--serif); font-size: 40px; color: rgba(201,163,115,.28); line-height: 1;
  position: absolute; right: 20px; top: 18px;
}
.step-card h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 10px; font-weight: 500; }
.step-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.85; }
.step-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-dim); border: 1px solid rgba(201,163,115,.22); color: var(--gold-2); font-size: 16px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feat {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.feat h3 { font-size: 16px; margin: 0 0 8px; font-weight: 500; }
.feat p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.feat .k { font-family: var(--serif); color: var(--gold); font-size: 13px; letter-spacing: .16em; display: block; margin-bottom: 12px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  background: var(--panel); position: relative; transition: .25s;
}
.price-card.hot { border-color: rgba(201,163,115,.45); background: linear-gradient(165deg, rgba(201,163,115,.10), rgba(255,255,255,.02)); }
.price-card:hover { transform: translateY(-4px); border-color: rgba(201,163,115,.4); }
.price-card .badge {
  position: absolute; top: -10px; left: 24px; font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #d8b587, #b98d5c); color: #1a1409; letter-spacing: .06em;
}
.price-card h3 { font-size: 15px; margin: 0 0 16px; color: var(--muted); font-weight: 400; letter-spacing: .08em; }
.price-num { font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--text); }
.price-num small { font-size: 14px; color: var(--muted); margin-left: 4px; font-family: var(--sans); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.price-card li { display: flex; gap: 8px; padding: 5px 0; }
.price-card li::before { content: "·"; color: var(--gold); }

.cta-band {
  margin: 40px 0 100px; border-radius: 26px; padding: 56px; text-align: center;
  border: 1px solid rgba(201,163,115,.22);
  background: radial-gradient(600px 220px at 50% 0%, rgba(201,163,115,.14), transparent 70%), var(--panel);
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 500; margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 28px; }

.footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted-2); font-size: 12.5px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  padding: 56px 60px; display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--line);
  background: radial-gradient(600px 500px at 20% 20%, rgba(201,163,115,.10), transparent 65%);
}
.auth-side .quote { font-family: var(--serif); font-size: 30px; line-height: 1.6; max-width: 380px; }
.auth-side .quote span { color: var(--gold-2); }
.auth-side .meta { color: var(--muted-2); font-size: 12.5px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(400px, 100%); }
.auth-card h1 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 8px; }
.auth-card .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 7px; letter-spacing: .04em; }
.input, .textarea, .select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s; font-size: 14px;
}
.textarea { height: auto; padding: 12px 14px; line-height: 1.7; resize: vertical; min-height: 110px; }
.input:focus, .textarea:focus, .select:focus {
  border-color: rgba(201,163,115,.5); background: rgba(255,255,255,.055);
  box-shadow: 0 0 0 3px rgba(201,163,115,.10);
}
.input::placeholder, .textarea::placeholder { color: #5f5b56; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.hint { font-size: 12px; color: var(--muted-2); margin-top: 8px; line-height: 1.7; }
.form-err { color: var(--danger); font-size: 13px; min-height: 20px; margin: 4px 0 10px; }
.auth-foot { margin-top: 22px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
.auth-foot a { color: var(--gold-2); }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 6px 0 18px; }
.check input { margin-top: 3px; accent-color: #c9a373; }
.link-muted { color: var(--muted-2); font-size: 12px; }

/* ---------- avatar ---------- */
.ava {
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; color: rgba(255,255,255,.92);
  overflow: hidden; flex: none; border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava-lg { width: 72px; height: 72px; border-radius: 22px; font-size: 28px; }
.ava-xl { width: 104px; height: 104px; border-radius: 30px; font-size: 40px; }
.ava-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ava-opt { cursor: pointer; border-radius: 16px; padding: 6px; border: 1px solid transparent; transition: .2s; display: grid; place-items: center; }
.ava-opt:hover { background: rgba(255,255,255,.05); }
.ava-opt.on { border-color: rgba(201,163,115,.6); background: rgba(201,163,115,.08); }
.ava-opt .ava { width: 48px; height: 48px; border-radius: 15px; font-size: 20px; }

/* ---------- wizard ---------- */
.wiz { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.wiz-form { padding: 36px 54px 60px; max-width: 620px; width: 100%; margin: 0 auto; }
.wiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 38px; }
.wiz-steps { display: flex; gap: 8px; }
.wiz-steps i { width: 34px; height: 3px; border-radius: 99px; background: rgba(255,255,255,.1); transition: .3s; }
.wiz-steps i.on { background: var(--gold); }
.wiz h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0 0 8px; }
.wiz .sub { color: var(--muted); font-size: 13.5px; margin: 0 0 30px; }
.wiz-actions { display: flex; gap: 12px; margin-top: 30px; }
.wiz-preview {
  border-left: 1px solid var(--line); padding: 44px 40px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(620px 520px at 70% 18%, rgba(201,163,115,.09), transparent 68%);
  position: sticky; top: 0; height: 100vh;
}
.preview-card { width: 300px; }
.preview-label { text-align: center; font-size: 11.5px; letter-spacing: .2em; color: var(--muted-2); margin-bottom: 18px; }
.preview-phone { border-radius: 26px; border: 1px solid var(--line-2); background: #0c0c0f; overflow: hidden; box-shadow: 0 30px 80px -30px #000; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px;
  color: var(--muted); cursor: pointer; transition: .18s; background: rgba(255,255,255,.02);
}
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.on { border-color: rgba(201,163,115,.55); background: rgba(201,163,115,.12); color: var(--gold-2); }
.seg { display: flex; gap: 6px; background: rgba(255,255,255,.03); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
.seg button { flex: 1; height: 36px; border: 0; background: transparent; border-radius: 9px; color: var(--muted); cursor: pointer; font-size: 13px; }
.seg button.on { background: rgba(255,255,255,.08); color: var(--text); }
.range-row { display: flex; align-items: center; gap: 14px; }
input[type=range] { flex: 1; accent-color: #c9a373; }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; padding-top: 68px; }
.side { border-right: 1px solid var(--line); padding: 30px 18px; position: sticky; top: 68px; height: calc(100vh - 68px); display: flex; flex-direction: column; }
.side-user { display: flex; gap: 11px; align-items: center; padding: 0 8px 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.side-user b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.side-user small { color: var(--muted-2); font-size: 11.5px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 11px;
  color: var(--muted); font-size: 13.5px; transition: .18s;
}
.side-nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.side-nav a.on { background: rgba(201,163,115,.10); color: var(--gold-2); }
.side-nav .ico { width: 16px; text-align: center; opacity: .85; }
.side-foot { margin-top: auto; font-size: 11.5px; color: var(--muted-2); padding: 0 10px; }

.page { padding: 40px 46px 70px; max-width: 1000px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.page-head h1 { font-family: var(--serif); font-size: 27px; font-weight: 500; margin: 0 0 6px; }
.page-head p { color: var(--muted); font-size: 13px; margin: 0; }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.card-head h3 { font-size: 14.5px; font-weight: 500; margin: 0; letter-spacing: .02em; }
.card-head .desc { color: var(--muted-2); font-size: 12px; margin-top: 3px; }

.persona-hero { display: flex; gap: 22px; align-items: center; }
.persona-hero .meta h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 6px; font-weight: 500; }
.persona-hero .meta .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); border: 1px solid var(--line); }
.persona-text { white-space: pre-wrap; color: #cfc9c0; font-size: 13.5px; line-height: 1.95; margin: 0; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kv .item { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.kv .item span { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 4px; }
.kv .item b { font-weight: 500; font-size: 13.5px; }

.pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); color: var(--muted); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill.ok { color: var(--ok); border-color: rgba(123,176,139,.3); background: rgba(123,176,139,.07); }
.pill.wait { color: var(--gold); border-color: rgba(201,163,115,.32); background: rgba(201,163,115,.07); }
.pill.off { color: var(--muted-2); }

.bind-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.qr-box {
  background: #f4efe6; border-radius: 18px; padding: 14px; text-align: center; position: relative;
  box-shadow: 0 18px 50px -20px rgba(0,0,0,.8);
}
.qr-box img { width: 100%; display: block; border-radius: 8px; }
.qr-empty { aspect-ratio: 1; display: grid; place-items: center; color: #8a8177; font-size: 12.5px; padding: 20px; text-align: center; line-height: 1.8; }
.bind-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.bind-steps li { position: relative; padding: 0 0 22px 42px; counter-increment: s; }
.bind-steps li:last-child { padding-bottom: 0; }
.bind-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; color: var(--gold-2);
  background: var(--gold-dim); border: 1px solid rgba(201,163,115,.28);
}
.bind-steps li::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 6px; width: 1px; background: var(--line); }
.bind-steps li:last-child::after { display: none; }
.bind-steps b { display: block; font-weight: 500; font-size: 13.5px; margin-bottom: 3px; }
.bind-steps p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.phone-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px dashed rgba(201,163,115,.4); background: rgba(201,163,115,.06);
  border-radius: 12px; padding: 12px 16px; margin: 14px 0;
}
.phone-chip b { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; color: var(--gold-2); }

.balance-card {
  border-radius: 22px; padding: 30px; border: 1px solid rgba(201,163,115,.25);
  background: radial-gradient(400px 200px at 100% 0%, rgba(201,163,115,.18), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}
.balance-card .lb { font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.balance-card .num { font-family: var(--serif); font-size: 46px; line-height: 1.2; margin: 6px 0 4px; }
.balance-card .num small { font-size: 16px; color: var(--muted); margin-right: 4px; }
.balance-card .sub { font-size: 12.5px; color: var(--muted-2); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prod {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: rgba(255,255,255,.025);
  transition: .2s; position: relative;
}
.prod:hover { border-color: rgba(201,163,115,.35); transform: translateY(-2px); }
.prod .badge { position: absolute; top: 12px; right: 12px; font-size: 10.5px; color: var(--gold-2); border: 1px solid rgba(201,163,115,.35); padding: 1px 8px; border-radius: 999px; }
.prod h4 { margin: 0 0 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.prod .p { font-family: var(--serif); font-size: 27px; }
.prod .p small { font-size: 13px; color: var(--muted); }
.prod .extra { font-size: 11.5px; color: var(--muted-2); margin: 6px 0 16px; min-height: 18px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 400; color: var(--muted-2); font-size: 11.5px; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: #d4cec5; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .r { text-align: right; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--muted); }

.empty { text-align: center; color: var(--muted-2); font-size: 13px; padding: 36px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px); z-index: 200;
  background: rgba(24,24,28,.96); border: 1px solid var(--line-2); color: var(--text);
  padding: 12px 22px; border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none;
  transition: .3s; backdrop-filter: blur(12px); box-shadow: 0 16px 50px rgba(0,0,0,.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(217,112,102,.45); color: #f0b7b1; }

.modal-mask {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px; animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }
.modal { width: min(520px, 100%); background: #121216; border: 1px solid var(--line-2); border-radius: 20px; padding: 28px; max-height: 88vh; overflow: auto; }
.modal h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 18px; font-weight: 500; }

.skel { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { transform: scale(.94); }
  .steps, .price-grid, .feat-grid { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .wiz { grid-template-columns: 1fr; }
  .wiz-preview { display: none; }
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 14px; overflow-x: auto; padding: 14px 18px; }
  .side-user { border: 0; padding: 0; margin: 0; }
  .side-nav { flex-direction: row; }
  .side-foot { display: none; }
  .page { padding: 26px 20px 60px; }
  .bind-grid { grid-template-columns: 1fr; }
  .prod-grid, .kv { grid-template-columns: 1fr 1fr; }
  .wiz-form { padding: 24px 22px 50px; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 120px 0 60px; }
  .section { padding: 62px 0; }
  .prod-grid, .kv { grid-template-columns: 1fr; }
  .persona-hero { flex-direction: column; align-items: flex-start; }
  .page-head { flex-direction: column; align-items: flex-start; }
}
