:root {
  --yx-bg: #000;
  --yx-bg-muted: #050505;
  --yx-surface: #0a0a0a;
  --yx-surface-raised: #111;
  --yx-border: rgba(31, 41, 55, .92);
  --yx-text: #f8fafc;
  --yx-text-muted: #cbd5e1;
  --yx-text-subtle: #64748b;
  --yx-brand-300: #7dd3fc;
  --yx-brand-400: #38bdf8;
  --yx-brand-500: #0ea5e9;
  --yx-radius-card: 12px;
  --yx-radius-button: 8px;
  --yx-container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--yx-bg);
  color: var(--yx-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(100% - 32px, var(--yx-container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--yx-border);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 24px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--yx-brand-400), var(--yx-brand-300));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--yx-text-subtle);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--yx-text-muted);
  font-size: 14px;
}

.nav a:hover,
.footer a:hover {
  color: var(--yx-brand-300);
}

.mobile-menu-button {
  display: none;
  border: 1px solid var(--yx-border);
  border-radius: var(--yx-radius-button);
  background: var(--yx-surface);
  color: var(--yx-text);
  padding: 8px 10px;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  border-top: 1px solid var(--yx-border);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--yx-text-muted);
}

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid rgba(31, 41, 55, 0.6);
}

.eyebrow {
  color: var(--yx-brand-300);
  font-size: 13px;
  letter-spacing: 0;
  margin: 0 0 16px;
}

.hero-title {
  max-width: 900px;
  margin: 0;
  font-size: 72px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--yx-brand-400), var(--yx-brand-300));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--yx-text-muted);
  font-size: 18px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--yx-radius-button);
  border: 1px solid var(--yx-border);
  font-size: 14px;
  font-weight: 600;
}

.button-primary {
  color: #00111c;
  background: linear-gradient(90deg, var(--yx-brand-400), var(--yx-brand-300));
  border-color: transparent;
}

.button-ghost {
  color: var(--yx-text);
  background: var(--yx-surface-raised);
}

.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
}

.section-desc {
  margin: 10px 0 0;
  color: var(--yx-text-muted);
  line-height: 1.7;
}

.link-more {
  color: var(--yx-brand-300);
  font-size: 14px;
  white-space: nowrap;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--yx-border);
  border-radius: var(--yx-radius-card);
  background: var(--yx-surface-raised);
  padding: 22px;
  transition: border-color .2s ease, background .2s ease;
}

.card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(12, 24, 34, 0.78);
}

.card-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
  background: var(--yx-surface);
}

.card-kicker {
  color: var(--yx-brand-300);
  font-size: 12px;
  margin-bottom: 12px;
}

.card-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.card-desc {
  margin: 12px 0 0;
  color: var(--yx-text-muted);
  line-height: 1.7;
  font-size: 14px;
}

form.card p {
  margin: 0 0 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--yx-border);
  border-radius: var(--yx-radius-button);
  background: var(--yx-surface);
  color: var(--yx-text);
  font: inherit;
  line-height: 1.5;
  padding: 12px 14px;
  outline: none;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--yx-text-subtle);
}

input:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, .65);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .12);
}

.list-stack {
  border-top: 1px solid var(--yx-border);
}

.list-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--yx-border);
}

.thumb {
  min-height: 104px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(125, 211, 252, 0.38));
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

.article {
  max-width: 840px;
  margin: 0 auto;
  padding: 72px 16px;
}

.article h1 {
  margin: 0;
  font-size: 50px;
  line-height: 1.1;
}

.article-meta {
  color: var(--yx-brand-300);
  font-size: 13px;
  margin-bottom: 18px;
}

.article-body {
  margin-top: 36px;
  color: var(--yx-text-muted);
  font-size: 17px;
  line-height: 1.9;
}

.article-body,
.article-body p,
.article-body div,
.article-body section,
.article-body article,
.article-body span,
.article-body li,
.article-body td,
.article-body th {
  color: var(--yx-text-muted) !important;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6,
.article-body h1 *,
.article-body h2 *,
.article-body h3 *,
.article-body h4 *,
.article-body h5 *,
.article-body h6 *,
.article-body strong,
.article-body b {
  color: var(--yx-text) !important;
}

.article-body a,
.article-body a * {
  color: var(--yx-brand-300) !important;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid rgba(56, 189, 248, .7);
  color: var(--yx-text-muted) !important;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
}

.article-body th,
.article-body td {
  border: 1px solid var(--yx-border);
  padding: 10px 12px;
}

.footer {
  border-top: 1px solid var(--yx-border);
  padding: 42px 0;
  color: var(--yx-text-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}

.footer h3,
.footer h4 {
  color: var(--yx-text);
  margin: 0 0 12px;
}

.footer p,
.footer li {
  line-height: 1.7;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .list-item {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 28px;
  }

  .article h1 {
    font-size: 34px;
  }
}
