:root {
  --ld-bg: #f5f7f7;
  --ld-surface: #ffffff;
  --ld-panel: #eef4f2;
  --ld-panel-strong: #e2ebe8;
  --ld-text: #17211d;
  --ld-muted: #64716c;
  --ld-border: #d7e0dc;
  --ld-border-strong: #b8c6c0;
  --ld-primary: #1f756a;
  --ld-primary-hover: #185d54;
  --ld-primary-soft: #dcefeb;
  --ld-blue: #315fbd;
  --ld-blue-soft: #e3ebfb;
  --ld-amber: #a8641b;
  --ld-amber-soft: #f6ead8;
  --ld-dark: #121716;
  --ld-dark-panel: #1b2321;
  --ld-dark-border: #31403c;
  --ld-radius: 8px;
  --ld-shadow: 0 18px 52px rgba(34, 49, 45, 0.12);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ld-bg);
  color: var(--ld-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(31, 117, 106, 0.24);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.ld-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
}

.ld-brand,
.ld-nav-links,
.ld-hero-actions,
.ld-hero-metrics {
  display: flex;
  align-items: center;
}

.ld-brand {
  gap: 10px;
  font-weight: 900;
  color: var(--ld-text);
  transition: color 160ms ease;
}

.ld-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--ld-radius);
  background: var(--ld-text);
  color: var(--ld-surface);
  font-weight: 900;
  transition: background 160ms ease, color 160ms ease;
}

.ld-nav-links {
  gap: 18px;
}

.ld-nav-links a:not(.ld-btn) {
  color: var(--ld-muted);
  font-size: 14px;
  font-weight: 750;
  transition: color 160ms ease;
}

.ld-nav-links a:not(.ld-btn):hover {
  color: var(--ld-text);
}

.ld-nav-on-dark .ld-brand {
  color: #f5f7f7;
}

.ld-nav-on-dark .ld-brand-mark {
  background: #f5f7f7;
  color: var(--ld-text);
}

.ld-nav-on-dark .ld-nav-links a:not(.ld-btn) {
  color: rgba(245, 247, 247, 0.78);
}

.ld-nav-on-dark .ld-nav-links a:not(.ld-btn):hover {
  color: #ffffff;
}

.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  color: var(--ld-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  padding: 9px 13px;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ld-btn:hover {
  border-color: var(--ld-border-strong);
  background: var(--ld-panel);
}

.ld-btn-primary {
  border-color: var(--ld-primary);
  background: var(--ld-primary);
  color: #ffffff;
}

.ld-btn-primary:hover {
  border-color: var(--ld-primary-hover);
  background: var(--ld-primary-hover);
}

.ld-btn-lg {
  min-height: 46px;
  padding: 12px 18px;
}

.ld-hero {
  position: relative;
  min-height: 76svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ld-panel);
  border-bottom: 1px solid var(--ld-border);
}

.ld-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--ld-border);
}

.ld-hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ld-product-frame {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 56px;
  width: min(610px, 48vw);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  box-shadow: var(--ld-shadow);
  transform: rotate(-2deg);
}

.ld-frame-top {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--ld-border);
  padding: 0 14px;
}

.ld-frame-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ld-border-strong);
}

.ld-frame-body {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 390px;
}

.ld-preview-sidebar {
  border-right: 1px solid var(--ld-border);
  background: var(--ld-panel);
  padding: 16px 14px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.ld-preview-logo {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--ld-radius);
  background: var(--ld-text);
  color: var(--ld-surface);
  font-weight: 900;
}

.ld-preview-sidebar span:not(.ld-preview-logo) {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--ld-border-strong);
}

.ld-preview-main {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}

.ld-preview-hero,
.ld-preview-grid div,
.ld-preview-thread p {
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-bg);
}

.ld-preview-hero {
  padding: 18px;
}

.ld-preview-hero small,
.ld-preview-grid span {
  display: block;
  color: var(--ld-muted);
  font-size: 13px;
  font-weight: 800;
}

.ld-preview-hero strong {
  display: block;
  font-size: 22px;
  margin: 5px 0 8px;
}

.ld-preview-hero p {
  color: var(--ld-muted);
  font-size: 14px;
}

.ld-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ld-preview-grid div {
  padding: 12px;
}

.ld-preview-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ld-primary);
  font-size: 20px;
}

.ld-preview-thread {
  display: grid;
  gap: 10px;
}

.ld-preview-thread p {
  width: fit-content;
  max-width: 88%;
  padding: 11px 12px;
  color: var(--ld-muted);
  font-size: 14px;
}

.ld-preview-thread p:last-child {
  justify-self: end;
  background: var(--ld-primary);
  border-color: var(--ld-primary);
  color: #ffffff;
}

.ld-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 86px;
}

.ld-eyebrow {
  display: inline-flex;
  color: var(--ld-primary);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
}

.ld-hero h1 {
  max-width: 560px;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 950;
  margin-bottom: 18px;
}

.ld-hero-sub {
  max-width: 510px;
  color: var(--ld-muted);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 26px;
}

.ld-hero-actions {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ld-hero-metrics {
  gap: 8px;
  flex-wrap: wrap;
}

.ld-hero-metrics span {
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ld-muted);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 850;
}

.ld-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.ld-section-head {
  max-width: 740px;
  margin-bottom: 28px;
}

.ld-section-head h2 {
  font-size: 36px;
  line-height: 1.18;
  font-weight: 920;
}

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

.ld-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ld-card {
  min-height: 208px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.ld-card:hover {
  border-color: var(--ld-primary);
  box-shadow: 0 12px 28px rgba(34, 49, 45, 0.08);
  transform: translateY(-2px);
}

.ld-card-index {
  display: inline-flex;
  width: fit-content;
  border-radius: var(--ld-radius);
  background: var(--ld-primary-soft);
  color: var(--ld-primary);
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: auto;
}

.ld-card h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 8px;
}

.ld-card p {
  color: var(--ld-muted);
  font-size: 14px;
}

.ld-section-dark {
  width: 100%;
  max-width: none;
  background: var(--ld-dark);
  color: #edf3f1;
  border-top: 1px solid var(--ld-dark-border);
  border-bottom: 1px solid var(--ld-dark-border);
}

.ld-section-dark .ld-section-head,
.ld-section-dark .ld-steps {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.ld-section-dark .ld-eyebrow {
  color: #75c8be;
}

.ld-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}

.ld-steps li {
  border: 1px solid var(--ld-dark-border);
  border-radius: var(--ld-radius);
  background: var(--ld-dark-panel);
  padding: 18px;
  min-height: 190px;
}

.ld-step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ld-dark-border);
  border-radius: var(--ld-radius);
  background: #202b28;
  color: #75c8be;
  font-weight: 900;
  margin-bottom: 22px;
}

.ld-steps h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.ld-steps p {
  color: #a9b7b2;
  font-size: 14px;
}

.ld-faq {
  max-width: 820px;
  border-top: 1px solid var(--ld-border);
}

.ld-faq details {
  border-bottom: 1px solid var(--ld-border);
  padding: 18px 0;
}

.ld-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 850;
}

.ld-faq summary::-webkit-details-marker {
  display: none;
}

.ld-faq summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  color: var(--ld-primary);
  flex: 0 0 auto;
}

.ld-faq details[open] summary::after {
  content: "−";
}

.ld-faq p {
  max-width: 760px;
  color: var(--ld-muted);
  margin-top: 10px;
}

.ld-updates-page {
  min-height: calc(100vh - 128px);
}

.ld-updates {
  padding-top: 54px;
}

.ld-update-page-head {
  margin-bottom: 24px;
}

.ld-update-page-head h1 {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 950;
}

.ld-update-list {
  display: grid;
  gap: 14px;
}

.ld-update-entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  padding: 18px;
  box-shadow: 0 10px 28px rgba(34, 49, 45, 0.06);
}

.ld-update-date {
  width: fit-content;
  min-height: 34px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-panel);
  color: var(--ld-primary);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  padding: 8px 10px;
  white-space: nowrap;
}

.ld-update-body {
  min-width: 0;
}

.ld-update-body h2,
.ld-update-body h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.ld-update-body p {
  color: var(--ld-muted);
  margin-bottom: 12px;
}

.ld-update-body ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.ld-update-body li {
  padding-left: 2px;
}

.ld-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 26px;
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ld-cta h2 {
  max-width: 560px;
  font-size: 30px;
  line-height: 1.2;
}

.ld-cta-note {
  color: var(--ld-muted);
  font-size: 14px;
}

.ld-cta-note a {
  color: var(--ld-primary);
  font-weight: 900;
}

.ld-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--ld-border);
  color: var(--ld-muted);
  padding: 24px 0 34px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ld-product-frame {
    opacity: 0.34;
    right: -120px;
    width: 640px;
  }

  .ld-hero h1 {
    font-size: 52px;
  }

  .ld-grid-4,
  .ld-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .ld-nav {
    min-height: 64px;
    gap: 12px;
  }

  .ld-nav-links {
    gap: 8px;
    flex: 0 0 auto;
  }

  .ld-nav-links a:not(.ld-btn) {
    display: none;
  }

  .ld-product-frame {
    top: auto;
    right: -180px;
    bottom: -84px;
    opacity: 0.18;
    width: 500px;
    transform: rotate(-2deg) scale(0.92);
  }

  .ld-frame-body {
    min-height: 320px;
  }

  .ld-hero-inner {
    padding: 58px 0 84px;
  }

  .ld-hero h1 {
    font-size: 44px;
  }

  .ld-hero-sub {
    font-size: 18px;
  }

  .ld-section {
    padding: 52px 0;
  }

  .ld-section-head h2 {
    font-size: 28px;
  }

  .ld-update-page-head h1 {
    font-size: 30px;
  }

  .ld-grid-4,
  .ld-steps {
    grid-template-columns: 1fr;
  }

  .ld-update-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ld-card,
  .ld-steps li,
  .ld-update-entry {
    min-height: auto;
  }

  .ld-card-index {
    margin-bottom: 22px;
  }

  .ld-card h3 {
    margin-top: 0;
  }

  .ld-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .ld-cta h2 {
    font-size: 24px;
  }

  .ld-btn {
    min-height: 44px;
  }
}

@media (max-width: 460px) {
  .ld-nav,
  .ld-hero-inner,
  .ld-section,
  .ld-section-dark .ld-section-head,
  .ld-section-dark .ld-steps,
  .ld-cta,
  .ld-footer {
    width: min(100% - 24px, 1180px);
  }

  .ld-brand-name {
    display: none;
  }

  .ld-btn {
    padding-left: 10px;
    padding-right: 10px;
  }

  .ld-product-frame {
    right: -210px;
    bottom: -96px;
    width: 470px;
    opacity: 0.14;
  }

  .ld-hero h1 {
    font-size: 38px;
  }

  .ld-hero-actions .ld-btn {
    width: 100%;
  }

  .ld-hero-actions {
    width: 100%;
  }

  .ld-hero-metrics {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .ld-hero-metrics span,
  .ld-cta .ld-btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .ld-nav,
  .ld-hero-inner,
  .ld-section,
  .ld-section-dark .ld-section-head,
  .ld-section-dark .ld-steps,
  .ld-cta,
  .ld-footer {
    width: min(100% - 18px, 1180px);
  }

  .ld-nav-links {
    gap: 6px;
  }

  .ld-btn {
    font-size: 13px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .ld-hero h1 {
    font-size: 34px;
  }
}
