/* Lynn — dark aurora design system */
:root {
  --bg: #05070d;
  --bg-2: #080b14;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-soft: rgba(255, 255, 255, 0.055);
  --text: #eef2fd;
  --muted: #9aa4bb;
  --muted-2: #7c869e;
  --violet: #7c5cff;
  --cyan: #4de2ff;
  --lime: #b8ff6a;
  --rose: #ff6b9a;
  --amber: #ffce6b;
  --green: #59e3a7;
  --danger: #ff7a8a;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --font: "SF Pro Display", "Inter", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 800px at 15% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(77, 226, 255, 0.1), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid rgba(124, 92, 255, 0.75); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

.mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.fineprint { color: var(--muted-2); font-size: 12px; line-height: 1.5; margin: 0; }
.empty { text-align: center; color: var(--muted-2); padding: 32px 0 !important; }

/* ---------- background ---------- */
.aura, .grid-overlay, .noise { position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.aura-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s ease-in-out infinite alternate;
}
.aura-a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 65%); }
.aura-b { width: 38vw; height: 38vw; right: -8vw; top: 4vh; background: radial-gradient(circle, rgba(77, 226, 255, 0.32), transparent 65%); animation-delay: -8s; }
.aura-c { width: 40vw; height: 40vw; left: 28vw; bottom: -22vw; background: radial-gradient(circle, rgba(184, 255, 106, 0.13), transparent 65%); animation-delay: -15s; }
.grid-overlay {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.noise { opacity: 0.035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(89, 227, 167, 0.5); } 50% { box-shadow: 0 0 0 6px rgba(89, 227, 167, 0); } }
@keyframes caret { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

/* ---------- primitives ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.gradient-text {
  background: linear-gradient(100deg, #cdc2ff 0%, #7c5cff 28%, #4de2ff 58%, #b8ff6a 96%);
  background-size: 180% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 9s linear infinite;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--muted); text-transform: uppercase;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 12px rgba(89, 227, 167, 0.9); animation: pulse 2.4s ease-in-out infinite;
  flex: none;
}
.status-pill.warn .pulse-dot { background: var(--amber); box-shadow: 0 0 12px rgba(255, 206, 107, 0.7); }
.status-pill.error .pulse-dot { background: var(--danger); box-shadow: 0 0 12px rgba(255, 122, 138, 0.7); }
.status-pill.warn { color: var(--amber); border-color: rgba(255, 206, 107, 0.3); }
.status-pill.error { color: var(--danger); border-color: rgba(255, 122, 138, 0.3); }
.live-pill.demo { color: var(--muted); }
.live-pill.demo .pulse-dot { background: var(--violet); box-shadow: 0 0 10px rgba(124, 92, 255, 0.6); animation: none; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--stroke); color: var(--muted); background: rgba(255, 255, 255, 0.03);
}
.badge-ok { color: var(--green); border-color: rgba(89, 227, 167, 0.28); background: rgba(89, 227, 167, 0.09); }
.badge-accent { color: #c9bcff; border-color: rgba(124, 92, 255, 0.35); background: rgba(124, 92, 255, 0.12); }
.badge-warn { color: var(--amber); border-color: rgba(255, 206, 107, 0.3); background: rgba(255, 206, 107, 0.08); }
.badge-danger { color: var(--danger); border-color: rgba(255, 122, 138, 0.3); background: rgba(255, 122, 138, 0.09); }
.badge-muted { color: var(--muted-2); }

/* ---------- brand / nav ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  position: relative; width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.9), rgba(77, 226, 255, 0.55));
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: grid; place-items: center;
}
.brand-mark i {
  display: block; width: 13px; height: 13px; border-left: 2.5px solid #0a0c14;
  border-bottom: 2.5px solid #0a0c14; border-radius: 0 0 0 3px; transform: translate(1px, -2px);
}
.brand-word { font-weight: 650; letter-spacing: -0.02em; font-size: 19px; }
.brand.small .brand-mark { width: 24px; height: 24px; border-radius: 8px; }
.brand.small .brand-word { font-size: 16px; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: linear-gradient(to bottom, rgba(5, 7, 13, 0.82), rgba(5, 7, 13, 0));
  backdrop-filter: blur(14px);
}
.nav-links { display: flex; gap: 30px; color: var(--muted); font-size: 14px; }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 11px; padding: 10px 18px;
  font-weight: 560; font-size: 14px; line-height: 1.2; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 2px solid rgba(77, 226, 255, 0.7); outline-offset: 2px; }
.btn-primary {
  color: #090b12;
  background: linear-gradient(120deg, #cfc3ff, #7c5cff 35%, #4de2ff 100%);
  box-shadow: 0 12px 30px rgba(124, 92, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(124, 92, 255, 0.42); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--stroke); background: rgba(255, 255, 255, 0.035); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.075); border-color: rgba(255, 255, 255, 0.16); }
.btn-danger {
  color: #fff; background: linear-gradient(120deg, #ff6b81, #e5334b);
  box-shadow: 0 12px 28px rgba(229, 51, 75, 0.32);
}
.btn-danger:hover { box-shadow: 0 16px 36px rgba(229, 51, 75, 0.44); transform: translateY(-1px); }
.clickable { cursor: pointer; }
.clickable:hover { border-color: rgba(255, 255, 255, 0.18); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 13px; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.arrow { font-family: var(--mono); transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

.link-btn {
  background: none; border: 0; padding: 0; color: #b9a9ff; font-size: 13px;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.link-btn:hover { color: #d9d0ff; border-color: rgba(185, 169, 255, 0.4); }
.link-btn.muted { color: var(--muted); }
.link-btn.danger { color: var(--danger); }

/* ---------- landing ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 64px) 40px;
  max-width: 1440px; margin: 0 auto;
}
.hero-copy { animation: fadeUp 0.7s ease both; min-width: 0; }
.hero h1 {
  margin: 18px 0 20px; font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.03; letter-spacing: -0.045em; font-weight: 680;
}
.lede { color: var(--muted); font-size: clamp(15px, 1.3vw, 17px); max-width: 540px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.trust-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 30px; color: var(--muted-2); font-size: 12px; font-family: var(--mono);
  letter-spacing: 0.02em;
}
.trust-row .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.hero-visual { position: relative; animation: fadeUp 0.9s 0.1s ease both; min-width: 0; max-width: 100%; }
.terminal { overflow: hidden; position: relative; max-width: 100%; }
.terminal::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 80px rgba(124, 92, 255, 0.09);
}
.terminal-head {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  border-bottom: 1px solid var(--stroke-soft); background: rgba(255, 255, 255, 0.02);
}
.traffic { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.traffic.red { background: #ff5f57; } .traffic.yellow { background: #febc2e; } .traffic.green { background: #28c840; }
.terminal-title { margin-left: 8px; color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.live-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--green);
  border: 1px solid rgba(89, 227, 167, 0.25); background: rgba(89, 227, 167, 0.07);
  padding: 3px 8px; border-radius: 999px;
}
.live-pill .pulse-dot { width: 5px; height: 5px; }
.terminal-body { margin: 0; padding: 20px 20px 10px; overflow-x: auto; max-width: 100%; font-family: var(--mono); font-size: 12.2px; line-height: 1.85; color: #c8d0e6; }
.terminal-body code { font-family: inherit; }
.c-muted { color: #5d6680; } .c-green { color: #8ce99a; } .c-yellow { color: #ffd479; }
.c-cyan { color: #6ee7ff; } .c-violet { color: #c0b0ff; }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--cyan); margin-left: 5px; vertical-align: -2px; animation: caret 1.1s steps(1) infinite; }
.terminal-foot { display: flex; gap: 8px; padding: 12px 20px 18px; flex-wrap: wrap; }
.mini-chip {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  border: 1px solid var(--stroke-soft); background: rgba(255, 255, 255, 0.025);
  padding: 3px 9px; border-radius: 999px;
}
.mini-chip.accent { color: #bdb0ff; border-color: rgba(124, 92, 255, 0.3); background: rgba(124, 92, 255, 0.1); }

.orbit-card {
  position: absolute; right: -24px; bottom: -48px; width: 128px; height: 128px;
  border-radius: 22px; display: grid; place-items: center; animation: float 7s ease-in-out infinite;
}
.orbit-ring { position: absolute; inset: 18px; border-radius: 50%; border: 1px dashed rgba(124, 92, 255, 0.4); }
.orbit-core {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 22px; color: #0a0c14;
  background: linear-gradient(140deg, #d9d0ff, #7c5cff 50%, #4de2ff);
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.6);
}
.orbit-meta { position: absolute; bottom: 14px; text-align: center; color: var(--muted); font-size: 10px; }
.orbit-meta strong { display: block; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1; }
.orbit-meta small { font-size: 9px; color: var(--violet); }

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 20px clamp(20px, 5vw, 64px); max-width: 1440px; margin: 0 auto;
}
.metric { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border-radius: 14px; }
.metric-k { color: var(--muted-2); font-size: 11px; font-family: var(--mono); letter-spacing: 0.04em; }
.metric-v { font-size: 14px; font-weight: 560; }

.section { padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { margin: 10px 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -0.035em; line-height: 1.1; font-weight: 640; }
.section-head p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { padding: 24px; transition: transform 0.25s ease, border-color 0.25s, background 0.25s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.16); background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)); }
.feature-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: #bdb0ff; background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.22);
  margin-bottom: 18px;
}
.feature-icon svg { width: 19px; height: 19px; }
.feature h3 { margin: 0 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 26px; position: relative; overflow: hidden; }
.step-n { font-family: var(--mono); font-size: 11px; color: var(--violet); letter-spacing: 0.12em; }
.step h3 { margin: 16px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }
.step::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14), transparent 70%);
}

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { color: var(--muted); font-size: 14px; padding-left: 22px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-size: 13px; }
.pricing-card { padding: 28px; }
.pricing-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.pricing-number { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 650; letter-spacing: -0.04em; margin: 18px 0 6px; }
.pricing-number span { font-size: 13px; color: var(--muted-2); margin-left: 8px; letter-spacing: 0.1em; }
.pricing-bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin: 18px 0; }
.pricing-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 20px rgba(124, 92, 255, 0.7); }
.pricing-foot { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 11.5px; font-family: var(--mono); }

.cta-band {
  margin: 20px auto 80px; max-width: 1192px; padding: clamp(28px, 4vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; }
.cta-band p { margin: 0; color: var(--muted); }

.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px clamp(20px, 5vw, 64px); border-top: 1px solid var(--stroke-soft);
  color: var(--muted-2); font-size: 12px; flex-wrap: wrap;
}
.footer p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* ---------- auth ---------- */
.auth-brand { position: fixed; top: 26px; left: clamp(20px, 5vw, 64px); z-index: 5; }
.auth-layout {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 6vw, 90px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: 90px clamp(20px, 5vw, 40px) 40px;
}
.auth-story { animation: fadeUp 0.7s ease both; }
.auth-story h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.04em; margin: 16px 0 18px; font-weight: 650; }
.auth-story > p { color: var(--muted); max-width: 440px; }
.story-points { display: grid; gap: 18px; margin-top: 34px; }
.story-points > div { display: flex; gap: 16px; align-items: flex-start; }
.tick { font-family: var(--mono); font-size: 10px; color: var(--violet); border: 1px solid rgba(124, 92, 255, 0.3); border-radius: 6px; padding: 3px 6px; margin-top: 2px; }
.story-points p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.story-points strong { color: var(--text); font-weight: 560; }
.auth-card { padding: clamp(26px, 3.4vw, 40px); animation: fadeUp 0.8s 0.06s ease both; }
.auth-card h2 { margin: 22px 0 6px; font-size: 26px; letter-spacing: -0.025em; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 13.5px; }
.auth-steps { display: flex; align-items: center; gap: 10px; }
.step-pill {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted-2);
  border: 1px solid var(--stroke-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.step-pill.active { color: #cfc5ff; border-color: rgba(124, 92, 255, 0.4); background: rgba(124, 92, 255, 0.12); }
.step-line { flex: 1; height: 1px; background: var(--stroke-soft); }

.form { display: grid; gap: 10px; }
.form label { font-size: 12px; color: var(--muted); font-family: var(--mono); letter-spacing: 0.04em; }
input.input, .form input, textarea, select.select {
  width: 100%; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--stroke);
  border-radius: 11px; padding: 12px 14px; color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form input::placeholder, textarea::placeholder, .input::placeholder { color: var(--muted-2); }
input.input:focus, .form input:focus, textarea:focus, select.select:focus {
  border-color: rgba(124, 92, 255, 0.6); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.14); background: rgba(0, 0, 0, 0.36);
}
.form .btn { margin-top: 8px; }
.code-input { font-family: var(--mono); font-size: 20px; letter-spacing: 0.34em; text-align: center; padding: 14px 10px; }
.code-input.wide { font-size: 13px; letter-spacing: 0.08em; text-align: left; }
.dev-hint {
  margin-top: 4px; border-radius: 10px; border: 1px dashed rgba(255, 206, 107, 0.35);
  background: rgba(255, 206, 107, 0.07); color: #ffe3a6; padding: 9px 12px; font-size: 12px;
}
.auth-row { display: flex; justify-content: space-between; margin-top: 18px; }
.auth-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--stroke-soft); color: var(--muted-2); font-size: 11px; display: flex; align-items: center; gap: 8px; }
.fineprint a { color: var(--muted); }

.activate-wrap { min-height: 100vh; display: grid; place-items: center; padding: 90px 20px 40px; }
.activate-card { width: min(560px, 100%); padding: clamp(26px, 4vw, 44px); animation: fadeUp 0.7s ease both; }
.activate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.activate-card h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.035em; margin: 18px 0 8px; }
.activate-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 13.5px; }
.activate-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 18px; }
.activate-facts > div { border: 1px solid var(--stroke-soft); border-radius: 11px; padding: 12px; background: rgba(255, 255, 255, 0.02); }
.fact-k { display: block; color: var(--muted-2); font-size: 11px; }
.fact-v { display: block; margin-top: 3px; font-size: 13px; }
.admin-login-card { max-width: 430px; }
.admin-login-card .link-btn { margin-top: 18px; display: inline-block; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 5, 10, 0.72); backdrop-filter: blur(8px);
}
.modal[hidden] { display: none; }
.modal-card { width: min(520px, 100%); padding: clamp(24px, 3.5vw, 36px); animation: fadeUp 0.28s ease both; }
.modal-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #cfc5ff; background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(124, 92, 255, 0.28);
}
.modal-icon svg { width: 21px; height: 21px; }
.modal-card h2 { margin: 16px 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.modal-card .sub { color: var(--muted); margin: 0 0 20px; font-size: 13.5px; }
.key-reveal {
  word-break: break-all; background: rgba(0, 0, 0, 0.34); border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 11px; padding: 14px; font-size: 13px; color: #dcd4ff; line-height: 1.5;
}
.modal-actions { display: flex; gap: 10px; margin: 20px 0 14px; flex-wrap: wrap; }
.modal-foot { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.modal-body { margin: 6px 0 18px; display: grid; gap: 10px; }
.detail-list { display: grid; gap: 8px; margin: 14px 0 18px; }
.detail-list > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.detail-list dt { color: var(--muted); font-size: 12.5px; }
.detail-list dd { margin: 0; font-family: var(--mono); font-size: 12.5px; word-break: break-all; text-align: right; }

/* ---------- app shell ---------- */
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.rail {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px;
  padding: 24px 18px; border-right: 1px solid var(--stroke-soft);
  background: linear-gradient(180deg, rgba(9, 12, 20, 0.82), rgba(5, 7, 13, 0.6));
  backdrop-filter: blur(16px); z-index: 10;
}
.rail .brand { padding: 0 8px; }
.rail-section { color: var(--muted-2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; padding: 0 10px; margin-top: -6px; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; }
.rail-link {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  color: var(--muted); font-size: 13.5px; border: 1px solid transparent;
  background: none; text-align: left; width: 100%; transition: all 0.18s;
}
.rail-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.rail-link.active { color: var(--text); background: linear-gradient(90deg, rgba(124, 92, 255, 0.18), rgba(124, 92, 255, 0.03)); border-color: rgba(124, 92, 255, 0.22); }
.rail-ico { width: 18px; text-align: center; color: var(--violet); font-size: 12px; }
.rail-bottom { margin-top: auto; display: grid; gap: 8px; }
.rail-user { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--stroke-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.rail-user strong { display: block; font-size: 12.5px; font-weight: 560; }
.rail-user small { display: block; color: var(--muted-2); font-size: 10.5px; word-break: break-all; }
.avatar {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.85), rgba(77, 226, 255, 0.55));
  color: #080a12; font-weight: 700; font-size: 14px;
}
.avatar.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.rail-link.subtle { color: var(--muted-2); font-size: 12px; padding: 8px 12px; }

.app-main { padding: 26px clamp(18px, 3vw, 40px) 60px; max-width: 1500px; width: 100%; }
.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.crumb { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted-2); }
.crumb span { color: var(--violet); }
.topbar h1 { margin: 6px 0 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -0.035em; font-weight: 620; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted);
  border: 1px solid var(--stroke-soft); background: rgba(255, 255, 255, 0.03);
  padding: 6px 11px; border-radius: 999px;
}

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { padding: 18px; display: flex; flex-direction: column; gap: 4px; min-height: 118px; }
.stat-k { color: var(--muted-2); font-size: 11px; font-family: var(--mono); letter-spacing: 0.05em; }
.stat-v { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 620; letter-spacing: -0.03em; line-height: 1.15; }
.stat-v small { font-size: 11px; color: var(--muted-2); margin-left: 5px; font-weight: 400; letter-spacing: 0.06em; }
.stat-sub { color: var(--muted-2); font-size: 11px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.key-stat { font-size: 14px; color: #cdc2ff; margin-top: 4px; }
.spark { margin-top: auto; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.spark i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan)); border-radius: inherit; }

.console-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 14px; margin-bottom: 14px; }
.panel { padding: 20px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { margin: 0 0 3px; font-size: 16px; letter-spacing: -0.015em; font-weight: 580; }
.panel-head p { margin: 0; color: var(--muted-2); font-size: 12px; }
.panel-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.key-box {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 11px;
  border: 1px dashed rgba(124, 92, 255, 0.32); background: rgba(124, 92, 255, 0.06);
}
.key-ico { color: var(--violet); font-family: var(--mono); }
.key-box code { flex: 1; font-size: 12.5px; color: #d8d0ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quickstart { margin-top: 16px; }
.quickstart-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: 11px; font-family: var(--mono); letter-spacing: 0.06em; margin-bottom: 7px; }
.code-block {
  margin: 0; padding: 14px; border-radius: 11px; background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--stroke-soft); overflow-x: auto;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: #b9c2da;
}
.code-block.small { font-size: 11px; max-height: 210px; overflow-y: auto; }

.playground { display: flex; flex-direction: column; }
.inline-field { flex: none; }
.select { padding: 8px 10px; font-size: 12.5px; border-radius: 9px; min-width: 180px; }
.pg-key-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pg-key-row label { font-size: 11px; color: var(--muted-2); font-family: var(--mono); white-space: nowrap; }
.pg-key-row .input { padding: 9px 11px; font-size: 12px; }
.pg-key-row .link-btn { white-space: nowrap; }
.endpoint-list { margin-top: 14px; display: grid; gap: 7px; }
.endpoint-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--stroke-soft); }
.endpoint-list span { color: var(--muted-2); font-size: 11.5px; }
.endpoint-list code { color: #b9c2da; font-size: 11px; }
.pg-body { display: grid; gap: 8px; }
.textarea { resize: vertical; min-height: 84px; font-size: 13.5px; line-height: 1.6; }
.pg-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-output {
  margin-top: 12px; border: 1px solid var(--stroke-soft); border-radius: 11px;
  background: rgba(0, 0, 0, 0.22); padding: 14px; min-height: 120px; max-height: 300px; overflow-y: auto;
  font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-word;
}
.pg-placeholder { color: var(--muted-2); }
.pg-reasoning {
  color: var(--muted-2); font-style: italic; border-left: 2px solid rgba(124, 92, 255, 0.3);
  padding-left: 10px; margin-bottom: 8px; display: block; max-height: 110px; overflow-y: auto;
}
.pg-reasoning::before {
  content: "思考过程"; display: block; font-style: normal; font-family: var(--mono);
  font-size: 9.5px; letter-spacing: 0.14em; color: var(--violet); margin-bottom: 4px;
}
.pg-usage { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.pg-error { color: var(--danger); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 -6px; }
.table-wrap.compact { max-height: none; }
.table .truncate { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table th {
  text-align: left; color: var(--muted-2); font-weight: 500; font-size: 10.5px;
  font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 10px; border-bottom: 1px solid var(--stroke-soft); white-space: nowrap;
  position: sticky; top: 0; background: rgba(8, 11, 18, 0.92); backdrop-filter: blur(8px);
}
.table td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: #c9d1e4; white-space: nowrap; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.table .num { text-align: right; }
.table .actions { text-align: right; }
.table td.actions { display: flex; gap: 12px; justify-content: flex-end; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-cell > div { min-width: 0; }
.user-cell strong { display: block; font-size: 12.5px; font-weight: 560; }
.user-cell small { display: block; color: var(--muted-2); font-size: 10.5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.inline-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.inline-actions .select { width: auto; min-width: 128px; }
.inline-actions .input { width: auto; min-width: 200px; }
.input-sm { padding: 8px 10px; font-size: 12px; min-width: 190px; }
.mobile-only { display: none; }

.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.form-row label { display: block; margin-bottom: 4px; }
.form-row .input { padding: 9px 10px; font-size: 12.5px; }
.invite-output { margin-top: 16px; }
.tab-panel[hidden] { display: none; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: rgba(14, 18, 28, 0.95); border: 1px solid var(--stroke);
  color: var(--text); padding: 11px 18px; border-radius: 11px; font-size: 13px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 100;
  max-width: min(90vw, 520px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(255, 122, 138, 0.4); color: #ffc3ca; }
.toast.success { border-color: rgba(89, 227, 167, 0.4); color: #b8f5dc; }

/* ---------- docs ---------- */
.docs { max-width: 1080px; margin: 0 auto; padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 48px) 30px; }
.docs-hero { max-width: 800px; margin-bottom: clamp(30px, 5vw, 52px); }
.docs-hero h1 { margin: 10px 0 18px; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.08; }
.docs-base {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px;
  padding: 10px 14px; border: 1px solid var(--stroke); border-radius: 10px;
  background: rgba(0, 0, 0, 0.25); font-family: var(--mono); font-size: 12px;
}
.docs-base span { color: var(--muted-2); font-size: 10px; letter-spacing: 0.14em; }
.docs-section { margin-bottom: clamp(36px, 5vw, 56px); }
.docs-section h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.docs-sub { margin-top: 30px !important; }
.docs-note { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0 0 12px; max-width: 840px; }
.docs-section .steps { margin-bottom: 18px; }
.docs-section > .code-block { margin-bottom: 18px; }
.docs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 30px; }
.link { color: #cfc5ff; border-bottom: 1px solid rgba(124, 92, 255, 0.4); }
.hero-fineprint { margin-top: 14px; max-width: 520px; }

/* ---------- responsive ---------- */
.hero-copy, .hero-visual, .console-grid > *, .stat-grid > *, .metrics > *, .split > *,
.steps > *, .feature-grid > *, .app-main, .panel { min-width: 0; }
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .orbit-card { display: none; }
  .console-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; padding-top: 110px; }
  .auth-story { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .app-shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky; top: 0; height: auto; flex-direction: row; align-items: center;
    padding: 10px 14px; gap: 12px; border-right: 0; border-bottom: 1px solid var(--stroke-soft);
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail .brand-word { display: none; }
  .rail-section, .rail-bottom { display: none; }
  .rail-nav { flex-direction: row; gap: 2px; }
  .rail-link { width: auto; white-space: nowrap; padding: 9px 9px; min-height: 40px; font-size: 12.5px; }
  .rail-ico { display: none; }
  .app-main { padding-top: 18px; }
  .mobile-only { display: inline-flex; }
  .topbar-actions { flex-wrap: wrap; }
  .panel-head { flex-wrap: wrap; }
  .table .link-btn { min-height: 38px; padding: 8px 4px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 30px; }
  .hero h1 { font-size: 2.5rem; }
  .terminal-body { font-size: 10.8px; overflow-x: auto; }
  .metrics { grid-template-columns: 1fr 1fr; padding-left: 16px; padding-right: 16px; }
  .metric { padding: 13px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .feature-grid, .steps, .docs-cards { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; margin-left: 16px; margin-right: 16px; }
  .footer { flex-direction: column; align-items: flex-start; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .activate-facts { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; }
  .pg-actions { flex-wrap: wrap; }
  .table td, .table th { padding: 9px 8px; }
  .docs { padding-left: 16px; padding-right: 16px; }

  /* 表格在窄屏改为卡片，避免横向裁切 */
  .table-wrap { margin: 0; overflow-x: visible; }
  .table, .table tbody { display: block; width: 100%; }
  .table thead { display: none; }
  .table tbody tr {
    display: grid; gap: 2px; padding: 12px 12px 13px; margin-bottom: 10px;
    border: 1px solid var(--stroke-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.022);
  }
  .table tbody tr:hover td { background: none; }
  .table td {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 4px 0; border: 0; white-space: normal; text-align: left;
  }
  .table td::before {
    content: attr(data-label); flex: none; color: var(--muted-2); font-family: var(--mono);
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .table td:not([data-label])::before { content: none; }
  .table td.num { text-align: right; }
  .table td.actions { display: flex; justify-content: flex-end; gap: 16px; padding-top: 8px; }
  .table td.actions::before { content: none; }
  .table td.empty { display: block; text-align: center; color: var(--muted-2); }
  .table td.empty::before { content: none; }
  .user-cell { flex: 1; }
  .user-cell small { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* Filters wrap without stretching each select to a full row. */
.inline-actions label { display:flex; flex-direction:column; gap:4px; }
.inline-actions input[type="datetime-local"] { width:190px; max-width:100%; }
.request-trend { display:flex; gap:12px; padding:0 24px 12px; }
.trend-day { flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; text-align:center; font-size:12px; }
.trend-day small { color:var(--muted); overflow-wrap:anywhere; }
.trend-track { height:100px; display:flex; align-items:flex-end; justify-content:center; }
.trend-track span { display:block; width:65%; background:linear-gradient(0deg,#7c5cff,#4de2ff); border-radius:4px 4px 0 0; }
#route-distribution { padding:0 24px 16px; }
.code-copy { margin-bottom:6px; }
@media (max-width: 720px) {
  .rail-nav { overflow-x:auto; flex-wrap:nowrap; }
  .rail-nav .rail-link { flex-shrink:0; }
  .request-trend { gap:4px; padding-left:12px; padding-right:12px; }
  .trend-day { font-size:10px; }
}

/* Lynn product: retain the aurora palette, put the Ghost at the centre. */
.lynn-kicker { color:var(--cyan); font-size:14px; letter-spacing:.08em; margin:0 0 18px; display:flex; align-items:center; gap:10px; }
.lynn-hero { grid-template-columns:1.1fr 1fr; gap:32px; align-items:center; padding-top:56px; padding-bottom:76px; }
.lynn-hero h1 { font-size:clamp(36px,4.1vw,61px); line-height:1.25; letter-spacing:-.055em; }
.lynn-hero .lede { font-size:18px; line-height:1.9; margin-top:24px; max-width:35em; }
.lynn-portrait { margin:0; position:relative; }
.lynn-portrait img { display:block; width:100%; height:auto; border-radius:46% 46% 30% 30%; mask-image:radial-gradient(ellipse at 50% 49%,#000 43%,transparent 75%); -webkit-mask-image:radial-gradient(ellipse at 50% 49%,#000 43%,transparent 75%); }
.lynn-portrait figcaption { text-align:center; color:var(--muted); font-size:13px; display:flex; align-items:center; justify-content:center; gap:9px; margin-top:-6px; }
.lynn-intro .section-head { max-width:720px; }
.lynn-traits { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin:44px 0; }
.lynn-traits article { border-top:1px solid var(--stroke); padding:26px 0; }
.lynn-traits h3 { font-size:22px; margin:14px 0 12px; }
.lynn-traits p { color:var(--muted); line-height:1.85; margin:0; }
.trait-symbol { color:var(--cyan); font-size:24px; }
.lynn-note { padding:28px 32px; display:flex; justify-content:space-between; align-items:center; gap:32px; margin-top:28px; }
.lynn-note h2, .lynn-note h3 { margin:0 0 8px; }
.lynn-note p { color:var(--muted); max-width:650px; margin:0; line-height:1.8; }
.lynn-note > a { flex-shrink:0; }
.lynn-contact { text-align:center; color:var(--muted); margin:28px 0; font-size:14px; overflow-wrap:anywhere; }
.lynn-contact a { color:var(--cyan); }
.center .lynn-kicker { justify-content:center; }
.auth-lynn { width:300px; max-width:75%; height:auto; margin:16px 0; border-radius:40%; mask-image:radial-gradient(ellipse,#000 42%,transparent 73%); -webkit-mask-image:radial-gradient(ellipse,#000 42%,transparent 73%); }
.lynn-guide { max-width:1240px; margin:auto; padding:64px 32px; }
.lynn-guide h1 { font-size:clamp(32px,4vw,52px); margin:0 0 20px; }
.lynn-guide .steps .link-btn { display:inline-block; margin-top:18px; }
.lynn-welcome { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; padding:30px 44px; margin-bottom:24px; overflow:hidden; }
.lynn-welcome h2 { font-size:clamp(28px,3vw,42px); line-height:1.35; margin:0 0 18px; }
.lynn-welcome p:not(.lynn-kicker) { color:var(--muted); line-height:1.9; }
.lynn-welcome .btn { margin-top:14px; }
.lynn-welcome img { width:100%; max-height:350px; object-fit:contain; mask-image:radial-gradient(ellipse,#000 38%,transparent 74%); -webkit-mask-image:radial-gradient(ellipse,#000 38%,transparent 74%); }
.lynn-key-content { padding:0 24px 24px; }
.lynn-key-content > .fineprint { margin:12px 0 20px; }
#fresh-key-box { padding:20px 0; }
#grace-keys .fineprint { margin:14px 0; }
.invite-code { display:block; max-width:100%; overflow-wrap:anywhere; white-space:normal; }
@media(max-width:900px) { .lynn-hero { gap:12px; } .lynn-traits { gap:24px; } .lynn-note { flex-direction:column; align-items:flex-start; } }
@media(max-width:720px) {
  .lynn-hero { grid-template-columns:1fr; padding-top:32px; padding-bottom:32px; }
  .lynn-hero h1 { font-size:36px; }
  .lynn-hero .lede { font-size:16px; }
  .lynn-portrait { max-width:400px; width:100%; justify-self:center; }
  .lynn-traits { grid-template-columns:1fr; gap:0; margin:24px 0; }
  .lynn-traits article { padding:22px 0; }
  .lynn-note { padding:22px; gap:18px; }
  .lynn-guide { padding:36px 18px; }
  .lynn-welcome { grid-template-columns:1fr; padding:28px 24px 0; }
  .lynn-welcome img { max-height:260px; }
  .lynn-key-content { padding:0 18px 22px; }
  .page-lynn-account .topbar { gap:18px; }
  .auth-lynn { width:220px; }
}

/* Separate sibling cards, with no shared panel around them. */
.access-cards { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:stretch; scroll-margin-top:24px; }
.access-cards > .panel { min-width:0; margin:0; }
.access-cards .panel-head { min-height:86px; align-items:flex-start; }
.access-cards .panel-head .btn { flex-shrink:0; }
.access-cards .key-box code { min-width:0; }
.validity-period { font-size:52px; font-weight:650; letter-spacing:-.04em; line-height:1.15; margin:0 0 24px; }
.validity-period span { font-size:20px; font-weight:400; color:var(--muted); letter-spacing:0; }
.validity-date { padding:0 0 18px; margin:0 0 18px; border-bottom:1px solid var(--stroke); }
.validity-date #access-expiry { color:var(--cyan); font-size:15px; margin:8px 0 0; overflow-wrap:anywhere; }
.access-key-card #key-meta { margin-top:18px; }
@media(max-width:760px) {
  .access-cards { grid-template-columns:minmax(0,1fr); gap:18px; }
  .access-cards .panel-head { min-height:0; }
  .validity-period { font-size:42px; }
}

/* 官网联系表单：沿用小灵的紫色与深色背景，保持大面积留白。 */
.contact-page { width: min(760px, calc(100% - 40px)); margin: 48px auto 100px; }
.contact-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 44px; color: var(--muted); }
.contact-tabs a { padding-bottom: 8px; border-bottom: 2px solid transparent; }
.contact-tabs a[aria-current] { color: var(--text); border-color: #7c5cff; }
.contact-page h1 { text-align: center; font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; }
.contact-intro { text-align: center; color: var(--muted); line-height: 1.9; margin-bottom: 40px; }
.contact-form { display: grid; gap: 22px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { display: block; font-family: inherit; letter-spacing: normal; font-size: 14px; }
.contact-form label > span { margin-left: 6px; display: inline; color: var(--muted); font-size: 12px; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 10px; padding: 16px 18px; border-radius: 12px; }
.contact-form textarea { resize: vertical; min-height: 180px; }
.contact-form .fineprint { margin: 0; }
.contact-form .btn { width: 100%; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#contact-status { margin: 0; line-height: 1.7; }
@media (max-width: 560px) {
  .contact-page { margin-top: 28px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-tabs { gap: 16px; font-size: 14px; }
}
