/* Guest landing — terminal / research desk */

.landing-root {
  --ld-bg: #0b0e11;
  --ld-ink: #020202;
  --ld-line: rgba(255, 255, 255, 0.1);
  --ld-line-soft: rgba(255, 255, 255, 0.06);
  --ld-text: #eaecef;
  --ld-muted: #848e9c;
  --ld-soft: #b7bdc6;
  --ld-cyan: #f0b90b;
  --ld-blue: #f0b90b;
  --ld-green: #0ecb81;
  --ld-red: #f6465d;
  --ld-band: #12161c;
  --ld-mark: #f0b90b;
  --ld-font: "Sora", "IBM Plex Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ld-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  display: none;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 14% -8%, rgba(240, 185, 11, 0.08), transparent 55%),
    radial-gradient(700px 360px at 90% 6%, rgba(14, 203, 129, 0.04), transparent 50%),
    var(--ld-bg);
  color: var(--ld-text);
  font-family: var(--ld-font);
  -webkit-font-smoothing: antialiased;
}

body.is-landing .landing-root { display: block !important; }
body:not(.is-landing) .landing-root { display: none !important; }
body.is-landing .app-root { display: none !important; }
body.is-landing .ambient { display: none; }
body.is-landing {
  background: var(--ld-bg);
  background-image: none;
}
body:not(.is-landing) .app-root { display: block; }
.app-root.hidden { display: none !important; }

.ld-shell { width: 100%; margin: 0 auto; padding: 0 0 28px; background: transparent; }

/* Topbar — minimal glass controls, no brand pill */
.ld-topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100% - 32px, 1560px);
  min-height: 44px;
  pointer-events: none;
}
.ld-topbar > * { pointer-events: auto; }

.ld-nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 13, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.ld-nav a {
  color: var(--ld-soft);
  text-decoration: none;
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--ld-mono);
}
.ld-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.ld-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.ld-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ld-soft);
  background: rgba(7, 9, 13, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--ld-mono);
  letter-spacing: 0.04em;
}
.ld-login:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.ld-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 102px;
  padding: 0 18px;
  border: 1px solid #f0b90b;
  background: #f0b90b;
  color: #0b0e11;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
}
.ld-signup:hover { background: #f8d12f; }
.ld-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 9, 13, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ld-menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ld-menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.ld-menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.ld-mobile-nav {
  position: fixed;
  top: 68px;
  left: 16px;
  right: 16px;
  z-index: 39;
  display: none;
  padding: 8px;
  border: 1px solid var(--ld-line);
  background: rgba(7, 9, 13, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.ld-mobile-nav.is-open { display: grid; }
.ld-mobile-nav a,
.ld-mobile-nav button {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ld-soft);
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ld-mobile-nav .ld-mobile-primary {
  justify-content: center;
  margin-top: 4px;
  background: #f0b90b;
  color: #0b0e11;
}

/* Hero — one full-bleed composition */
.ld-hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.ld-hero-media {
  position: relative;
  height: min(72vw, 800px);
  min-height: 520px;
  max-height: 800px;
  overflow: hidden;
  background: #040507;
}
.ld-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.04);
  animation: ld-hero-drift 18s ease-in-out infinite alternate;
}
.ld-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0.22) 42%, rgba(4, 6, 10, 0.08) 68%, rgba(4, 6, 10, 0.35) 100%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.28) 0%, rgba(4, 6, 10, 0.08) 40%, rgba(4, 6, 10, 0.58) 100%);
  pointer-events: none;
}
.ld-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(240, 185, 11, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 185, 11, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 8%, #000 38%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 38%, #000 78%, transparent 100%);
  animation: ld-grid-fade 6s ease-in-out infinite alternate;
}
.ld-hero-brand {
  position: absolute;
  top: max(20px, env(safe-area-inset-top) + 14px);
  left: max(24px, 4vw);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  pointer-events: none;
  user-select: none;
  line-height: 0;
}
.ld-hero-brand img {
  width: 36px;
  height: 36px;
  border-radius: 0;
  border: 0;
  background: transparent;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.ld-hero-brand span {
  font-family: var(--ld-font);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.ld-hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, 720px);
  margin: calc(14vh + env(safe-area-inset-top)) auto 0 max(24px, calc((100vw - 1560px) / 2));
  padding: 0 0 36px;
  animation: ld-copy-rise 0.9s ease-out both;
}
.ld-hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: #fff;
  word-break: keep-all;
}
.ld-hero-lead {
  margin: 22px 0 0;
  max-width: 34em;
  color: rgba(235, 242, 255, 0.78);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}
.ld-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ld-line);
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.ld-btn-primary { background: #f0b90b; color: #0b0e11; border-color: #f0b90b; }
.ld-btn-ghost {
  background: rgba(11, 14, 17, 0.35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ld-btn-primary:hover { background: #f8d12f; transform: translateY(-1px); }
.ld-btn-ghost:hover { border-color: rgba(240, 185, 11, 0.55); color: #fff; }

@keyframes ld-hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
@keyframes ld-grid-fade {
  from { opacity: 0.18; }
  to { opacity: 0.34; }
}
@keyframes ld-copy-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intro */
.ld-section {
  width: min(100% - 32px, 1560px);
  margin: 0 auto;
  padding: 48px 0 0;
  border-bottom: 1px solid var(--ld-line-soft);
  scroll-margin-top: 72px;
}
.ld-section-tight { padding-bottom: 84px; }

.ld-intro-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-bottom: 40px;
  align-items: end;
}
.ld-intro-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(36px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  word-break: keep-all;
}
.ld-intro-accent {
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ld-cyan);
  font-family: var(--ld-mono);
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}
.ld-intro-accent::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--ld-cyan);
  opacity: 0.7;
  flex: 0 0 auto;
}
.ld-intro-desc {
  margin: 0;
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 34em;
  padding-bottom: 6px;
}
.ld-mark {
  display: inline;
  padding: 0.05em 0.18em;
  background: var(--ld-mark);
  color: #101113;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Feature cards 2x2 */
.ld-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 84px;
}
.ld-feature-card {
  border: 1px solid var(--ld-line-soft);
  background:
    linear-gradient(180deg, rgba(240, 185, 11, 0.04), transparent 42%),
    #0a0d12;
  min-height: 420px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.ld-feature-visual {
  position: relative;
  min-height: 240px;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 185, 11, 0.08), transparent 45%),
    #0d1118;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.ld-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.92;
}
.ld-feature-body {
  padding: 22px 24px 26px;
}
.ld-eyebrow {
  margin: 0 0 8px;
  color: var(--ld-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ld-mono);
}
.ld-feature-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.ld-feature-body p {
  margin: 0;
  color: var(--ld-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ld-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px;
}
.ld-chip {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--ld-soft);
  font-family: var(--ld-mono);
  background: rgba(0, 0, 0, 0.25);
}
.ld-stat-big {
  padding: 28px 22px;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ld-green);
  line-height: 1;
}
.ld-stat-big small {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ld-muted);
  letter-spacing: 0;
  font-weight: 400;
}
.ld-levels {
  display: grid;
  gap: 10px;
  padding: 22px;
  font-family: var(--ld-mono);
  font-size: 13px;
}
.ld-levels div {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}
.ld-r-row {
  display: flex;
  gap: 8px;
  padding: 0 22px 22px;
  flex-wrap: wrap;
}
.ld-r-row span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-family: var(--ld-mono);
}
.ld-r-row span.is-on {
  background: rgba(93, 184, 255, 0.16);
  border-color: rgba(93, 184, 255, 0.4);
  color: var(--ld-blue);
}
.ld-cal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 22px 22px;
  font-size: 11px;
  font-family: var(--ld-mono);
}
.ld-cal i {
  display: block;
  padding: 10px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-style: normal;
  text-align: center;
  color: var(--ld-muted);
}
.ld-cal i.up { color: var(--ld-green); }
.ld-cal i.down { color: var(--ld-red); }

/* Entry / deploy */
.ld-section-head {
  max-width: 920px;
  margin-bottom: 36px;
}
.ld-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.ld-section-head p {
  margin: 16px 0 0;
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 40em;
}
.ld-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ld-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ld-line-soft);
  background: transparent;
  color: var(--ld-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.ld-tab.is-active {
  background: #f0b90b;
  color: #0b0e11;
  border-color: #f0b90b;
}
.ld-entry-panel {
  display: none;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding-bottom: 84px;
  align-items: stretch;
}
.ld-entry-panel.is-active { display: grid; }
.ld-entry-copy h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ld-entry-copy .ld-accent {
  display: block;
  margin-top: 8px;
  color: var(--ld-blue);
  font-size: 15px;
}
.ld-entry-copy p {
  margin: 14px 0 0;
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.55;
}
.ld-entry-meta {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ld-muted);
}
.ld-entry-meta strong { color: #fff; font-weight: 500; }
.ld-mock {
  border: 1px solid var(--ld-line);
  background: #0b0c0f;
  min-height: 320px;
  padding: 18px;
  overflow: hidden;
}
.ld-mock img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ld-mock-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
  margin-bottom: 14px;
  font-family: var(--ld-mono);
}
.ld-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
  color: var(--ld-muted);
  font-size: 13px;
}
.ld-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ld-line-soft);
  font-size: 13px;
}
.ld-result em { font-style: normal; color: var(--ld-red); font-family: var(--ld-mono); }
.ld-chat { display: grid; gap: 10px; font-size: 13px; line-height: 1.45; }
.ld-bubble {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #12141a;
  max-width: 92%;
}
.ld-bubble.me {
  justify-self: end;
  background: #1a1f27;
  border-color: rgba(240, 185, 11, 0.28);
}

/* Dark research band */
.ld-band {
  padding: 44px max(16px, calc(50vw - 780px)) 64px;
  background:
    linear-gradient(135deg, rgba(240, 185, 11, 0.06), transparent 40%),
    linear-gradient(180deg, #0b1018, #080b10);
  color: var(--ld-text);
  border-top: 1px solid var(--ld-line-soft);
  border-bottom: 1px solid var(--ld-line-soft);
}
.ld-band-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  width: min(100%, 1560px);
  margin: 0 auto;
  align-items: start;
}
.ld-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.ld-band p {
  margin: 14px 0 0;
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.55;
}
.ld-band-list { display: grid; gap: 14px; }
.ld-band-list article {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.ld-band-list strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ld-cyan);
  font-family: var(--ld-mono);
  letter-spacing: 0.02em;
}
.ld-band-list span {
  color: var(--ld-muted);
  font-size: 13px;
  line-height: 1.45;
}
.ld-band-cta { margin-top: 24px; }

/* Pricing — horizontal swipe cards */
.ld-section.ld-section-pricing {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 0 0;
  border-bottom: 0;
  overflow: visible;
}
.ld-pricing-rail {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ld-pricing-rail::-webkit-scrollbar { display: none; }
.ld-pricing-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 24px 64px;
  scroll-snap-type: x mandatory;
}

@media (min-width: 900px) {
  .ld-pricing-scroll {
    width: min(100%, 860px);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    gap: 16px;
  }
  .ld-plan {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
  }
}
.ld-plan {
  box-sizing: border-box;
  flex: 0 0 auto !important;
  width: 260px;
  min-width: 260px;
  max-width: 260px;
  scroll-snap-align: start;
  border: 1px solid var(--ld-line-soft);
  background:
    linear-gradient(180deg, rgba(240, 185, 11, 0.05), transparent 42%),
    #0a0d12;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.ld-plan.is-featured {
  border-color: rgba(240, 185, 11, 0.42);
  background:
    linear-gradient(180deg, rgba(240, 185, 11, 0.1), transparent 48%),
    #0c1118;
}
.ld-plan h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ld-plan .ld-price {
  margin: 18px 0 6px;
  font-size: 34px;
  letter-spacing: -0.04em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.ld-plan .ld-price small {
  font-size: 14px;
  color: var(--ld-muted);
  letter-spacing: 0;
  font-weight: 400;
}
.ld-plan .ld-bill {
  color: var(--ld-muted);
  font-size: 13px;
  margin-bottom: 22px;
  flex: 1;
}
.ld-plan .ld-btn {
  width: 100%;
}

/* FAQ */
.ld-faq { padding-bottom: 84px; }
.ld-faq-item { border-bottom: 1px solid var(--ld-line-soft); }
.ld-faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
}
.ld-faq-item button span {
  color: var(--ld-muted);
  font-size: 22px;
  line-height: 1;
}
.ld-faq-body {
  display: none;
  padding: 0 0 22px;
  color: var(--ld-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 52em;
}
.ld-faq-item.is-open .ld-faq-body { display: block; }

/* Footer CTA */
.ld-footer-cta {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 84px 0;
  border-bottom: 1px solid var(--ld-line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ld-footer-cta h2 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.ld-footer-cta p {
  margin: 16px 0 28px;
  color: var(--ld-muted);
  max-width: 36em;
  font-size: 15px;
  line-height: 1.55;
}
.ld-footer-cta .ld-btn {
  width: auto;
  min-width: 180px;
}
.ld-footer {
  width: min(100% - 32px, 1560px);
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.ld-footer-brand {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--ld-text);
  text-decoration: none;
  font-family: var(--ld-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ld-footer p {
  margin: 0;
  color: var(--ld-muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 28em;
}
.ld-footer h4 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-muted);
  font-weight: 500;
}
.ld-footer a {
  display: block;
  color: var(--ld-soft);
  text-decoration: none;
  font-size: 14px;
  margin: 0 0 10px;
}
.ld-footer-muted {
  display: block;
  margin: 0 0 10px;
  color: var(--ld-muted);
  font-size: 14px;
}
.ld-legal {
  width: min(100% - 32px, 1560px);
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--ld-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Auth modal */
.ld-auth {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.ld-auth.is-open {
  display: flex;
}
.ld-auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
  animation: ld-auth-fade-in 0.22s ease;
}
.ld-auth-panel {
  position: relative;
  margin: auto;
  width: min(100%, 420px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: linear-gradient(165deg, #14161c 0%, #0a0b0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  animation: ld-auth-slide-in 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.ld-auth-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.ld-auth-head-text { min-width: 0; flex: 1; }
.ld-auth-panel h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.ld-auth-panel .ld-auth-head-text > p {
  display: none;
}
.ld-auth-close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.ld-auth-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.ld-auth-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(93, 184, 255, 0.45);
  color: #fff;
  transform: scale(1.04);
}
.ld-auth-close:active {
  transform: scale(0.96);
}
.ld-auth-close:focus-visible {
  outline: 2px solid rgba(93, 184, 255, 0.55);
  outline-offset: 2px;
}

/* 续期弹窗关闭：纯图标，无圆圈底 */
.ld-auth-close-plain {
  width: 32px;
  height: 32px;
  margin: -2px -2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
}
.ld-auth-close-plain:hover {
  background: transparent;
  border-color: transparent;
  color: #fff;
  transform: none;
}
.ld-auth-close-plain:active {
  transform: none;
  color: rgba(255, 255, 255, 0.8);
}
.ld-field { display: grid; gap: 8px; margin-bottom: 14px; }
.ld-field label {
  font-size: 12px;
  color: var(--ld-muted);
  letter-spacing: 0.02em;
}
.ld-field input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.ld-field input::placeholder { color: rgba(255, 255, 255, 0.28); }
.ld-field input:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.42);
}
.ld-field input:focus {
  outline: none;
  border-color: rgba(93, 184, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(93, 184, 255, 0.14);
  background: rgba(0, 0, 0, 0.5);
}
.ld-auth-actions { display: grid; gap: 10px; margin-top: 10px; }
.ld-auth-actions .ld-btn {
  min-height: 46px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.ld-auth-actions .ld-btn-primary {
  background: linear-gradient(180deg, #f8d12f 0%, #f0b90b 100%);
  color: #0b0e11;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(240, 185, 11, 0.22);
}
.ld-auth-actions .ld-btn-primary:hover {
  background: #f8d12f;
  transform: translateY(-1px);
}
.ld-auth-actions .ld-btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}
.ld-auth-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(240, 113, 120, 0.1);
  border: 1px solid rgba(240, 113, 120, 0.25);
  color: var(--ld-red);
  font-size: 13px;
  line-height: 1.4;
}

.ld-contact-panel {
  max-width: 380px;
}

.ld-contact-body {
  display: grid;
  gap: 14px;
}

.ld-contact-steps {
  margin: 0;
  padding: 0 0 0 1.15em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
}

.ld-contact-steps li + li {
  margin-top: 6px;
}

.ld-contact-steps strong {
  color: #f0b90b;
  font-weight: 650;
}

.ld-contact-tip {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.ld-contact-qr {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #fff;
}

.ld-contact-qr img {
  width: min(100%, 220px);
  height: auto;
  display: block;
  border-radius: 4px;
}
@keyframes ld-auth-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ld-auth-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .ld-feature-grid,
  .ld-entry-panel.is-active,
  .ld-band-grid,
  .ld-footer,
  .ld-intro-head {
    grid-template-columns: 1fr;
  }
  .ld-nav { display: none; }
  .ld-menu-btn { display: inline-flex; }
  .ld-hero-media {
    height: min(88vw, 620px);
    min-height: 440px;
    max-height: 620px;
  }
  .ld-hero-copy {
    width: min(100% - 40px, 640px);
    margin: calc(12vh + env(safe-area-inset-top)) 20px 0;
    padding-bottom: 40px;
  }
  .ld-hero-copy h1 {
    font-size: clamp(40px, 9vw, 56px);
    line-height: 1.04;
  }
}

@media (max-width: 720px) {
  .ld-top-actions .ld-login { display: none; }
}

@media (max-width: 560px) {
  .ld-shell { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .ld-topbar {
    top: calc(10px + env(safe-area-inset-top));
    width: calc(100% - 24px);
    gap: 8px;
  }
  .ld-top-actions { gap: 8px; }
  .ld-top-actions .ld-signup { display: none; }
  .ld-menu-btn { display: inline-flex; width: 42px; height: 42px; }
  .ld-mobile-nav {
    top: calc(62px + env(safe-area-inset-top));
    left: 12px;
    right: 12px;
  }
  .ld-hero-media {
    height: min(100vw, 520px);
    min-height: 400px;
    max-height: 520px;
  }
  .ld-hero-bg { object-position: 58% center; }
  .ld-hero-brand {
    left: 20px;
    gap: 10px;
  }
  .ld-hero-brand img {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: transparent;
  }
  .ld-hero-brand span {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
  .ld-hero-copy {
    width: calc(100% - 40px);
    margin: calc(10vh + env(safe-area-inset-top)) 20px 0;
    padding: 0 0 36px;
  }
  .ld-hero-copy h1 {
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.05;
  }
  .ld-hero-lead { margin-top: 16px; font-size: 15px; }
  .ld-intro-desc,
  .ld-section-head p,
  .ld-band p,
  .ld-footer-cta p { font-size: 14px; line-height: 1.65; }
  .ld-hero-actions { display: grid; grid-template-columns: 1fr; }
  .ld-btn { width: 100%; min-height: 48px; }
  .ld-section,
  .ld-footer-cta,
  .ld-footer,
  .ld-legal { width: calc(100% - 40px); }
  .ld-section { padding-top: 36px; }
  .ld-intro-head { gap: 20px; margin-bottom: 28px; align-items: start; }
  .ld-intro-copy h2,
  .ld-section-head h2,
  .ld-footer-cta h2 {
    font-size: clamp(30px, 9.6vw, 40px);
    line-height: 1.05;
  }
  .ld-intro-accent {
    white-space: normal;
    font-size: 13px;
  }
  .ld-feature-grid { gap: 12px; padding-bottom: 52px; }
  .ld-feature-card { min-height: 0; }
  .ld-feature-visual { min-height: 210px; }
  .ld-feature-body { padding: 20px; }
  .ld-feature-body h3 { font-size: 22px; }
  .ld-pricing-scroll {
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
    padding: 0 20px 52px;
    gap: 12px;
  }
  .ld-plan {
    width: 78vw;
    min-width: 78vw;
    max-width: 78vw;
    padding: 22px 18px 18px;
  }
  .ld-tabs {
    margin: 0 -20px 24px;
    padding: 0 20px 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ld-tabs::-webkit-scrollbar { display: none; }
  .ld-tab { flex: 0 0 auto; min-height: 44px; }
  .ld-entry-panel { gap: 22px; padding-bottom: 52px; }
  .ld-entry-copy h3 { font-size: 24px; }
  .ld-mock { min-height: 260px; padding: 14px; }
  .ld-band { padding: 48px 20px 52px; }
  .ld-band-grid { gap: 28px; }
  .ld-footer-cta { padding: 56px 0; }
  .ld-footer {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0 24px;
    gap: 28px 20px;
  }
  .ld-footer > div:first-child { grid-column: 1 / -1; }
  .ld-footer-brand { width: fit-content; }
  .ld-legal { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .ld-auth {
    align-items: center;
    justify-content: center;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .ld-auth-panel {
    width: min(100%, 420px);
    max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: 14px;
    padding: 22px 20px 20px;
  }
  .ld-auth-close:not(.ld-auth-close-plain) { width: 44px; height: 44px; }
  .ld-field input { min-height: 48px; font-size: 16px; }
  .ld-stat-big { font-size: 46px; }
}

@media (max-width: 350px) {
  .ld-hero-copy h1 { font-size: 32px; }
  .ld-section,
  .ld-footer-cta,
  .ld-footer,
  .ld-legal { width: calc(100% - 32px); }
  .ld-hero-copy { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  .ld-tabs { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-auth-backdrop,
  .ld-auth-panel,
  .ld-hero-bg,
  .ld-hero-grid,
  .ld-hero-copy { animation: none; }
}
