:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #070a11;
  color: #f8fafc;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% -8%, rgba(99, 102, 241, 0.2), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(14, 165, 233, 0.12), transparent 28rem),
    #070a11;
  color: #f8fafc;
}

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

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 10, 17, 0.82);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.footer-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  transition: color 200ms ease-in-out, background-color 200ms ease-in-out, transform 200ms ease-in-out;
}

.site-nav a:hover,
.footer-links a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.site-nav .primary-link,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, #5b5bd6, #2576d9);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 200ms ease-in-out, box-shadow 200ms ease-in-out, filter 200ms ease-in-out;
}

.site-nav .primary-link {
  padding: 10px 16px;
}

.button-link {
  min-height: 46px;
  padding: 0 20px;
}

.site-nav .primary-link:hover,
.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.3);
  filter: brightness(1.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
  padding: clamp(72px, 10vw, 120px) 0 72px;
}

.hero--single {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(129, 140, 248, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(99, 102, 241, 0.08);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 18px rgba(94, 234, 212, 0.75);
  content: "";
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.hero--single h1 {
  margin-right: auto;
  margin-left: auto;
}

.hero-copy {
  max-width: 710px;
  margin-bottom: 30px;
  color: #b7c2d4;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
}

.hero--single .hero-copy {
  margin-right: auto;
  margin-left: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero--single .hero-actions {
  justify-content: center;
}

.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 0 18px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 750;
  transition: transform 200ms ease-in-out, border-color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.text-link:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 32px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p,
.card p,
.step p,
.article-copy p,
.faq-item p {
  color: #9aa9bd;
  line-height: 1.8;
}

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

.card,
.step,
.faq-item,
.article-panel {
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.card {
  min-height: 210px;
  padding: 26px;
  transition: transform 200ms ease-in-out, border-color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
  background: rgba(20, 30, 52, 0.72);
}

.card-index,
.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 900;
}

.card h3,
.step h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

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

.step {
  padding: 22px;
}

.article-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 32px;
  padding: clamp(26px, 5vw, 48px);
}

.article-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.035em;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #cbd5e1;
  line-height: 1.7;
}

.check-list li::before {
  position: absolute;
  top: 0.42em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

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

.faq-item {
  padding: 22px 24px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 44px 0 80px;
  border: 1px solid rgba(129, 140, 248, 0.24);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.22), rgba(14, 116, 144, 0.14));
}

.cta-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 4vw, 36px);
  letter-spacing: -0.035em;
}

.cta-panel p {
  margin-bottom: 0;
  color: #aebbd0;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 28px 0 36px;
  color: #64748b;
  font-size: 12px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #718096;
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a {
  color: #a5b4fc;
  transition: color 200ms ease-in-out;
}

.breadcrumb a:hover {
  color: #e0e7ff;
}

.content-hero {
  padding: clamp(64px, 9vw, 108px) 0 48px;
}

.content-hero__inner {
  max-width: 860px;
}

.content-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(40px, 6.4vw, 68px);
}

.content-hero__lead {
  max-width: 760px;
  margin-bottom: 24px;
  color: #b7c2d4;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.content-meta span,
.topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(15, 23, 42, 0.54);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 750;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.content-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 26px;
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(15, 23, 42, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 200ms ease-in-out, border-color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
  background-color: rgba(20, 30, 52, 0.72);
}

.content-card h2,
.content-card h3 {
  margin: 18px 0 12px;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.content-card p {
  margin-bottom: 24px;
  color: #9aa9bd;
  line-height: 1.8;
}

.content-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #c7d2fe;
  font-size: 13px;
  font-weight: 800;
}

.content-card__link::after {
  content: "→";
  transition: transform 200ms ease-in-out;
}

.content-card:hover .content-card__link::after {
  transform: translateX(3px);
}

.principle-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  background: rgba(148, 163, 184, 0.14);
}

.principle-strip article {
  padding: 26px;
  background: #0c111d;
}

.principle-strip h3 {
  margin-bottom: 9px;
  font-size: 16px;
}

.principle-strip p {
  margin-bottom: 0;
  color: #8fa0b7;
  font-size: 14px;
  line-height: 1.75;
}

.article-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.article-header {
  padding: clamp(58px, 8vw, 92px) 0 38px;
}

.article-header h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 64px);
}

.article-lead {
  max-width: 780px;
  color: #b7c2d4;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 72px);
  padding-bottom: 72px;
}

.article-toc {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 4px;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
  padding-left: 16px;
}

.article-toc strong {
  margin-bottom: 7px;
  color: #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.article-toc a {
  border-radius: 8px;
  padding: 7px 9px;
  color: #718096;
  font-size: 12px;
  line-height: 1.45;
  transition: color 200ms ease-in-out, background-color 200ms ease-in-out;
}

.article-toc a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #c7d2fe;
}

.article-body {
  min-width: 0;
}

.article-body section {
  scroll-margin-top: 100px;
  margin-bottom: 54px;
}

.article-body h2 {
  margin-bottom: 18px;
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.article-body h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.article-body p,
.article-body li {
  color: #aebbd0;
  font-size: 16px;
  line-height: 1.95;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 9px;
  padding-left: 24px;
}

.article-body strong {
  color: #edf2f7;
}

.article-note,
.prompt-example,
.case-disclaimer {
  margin: 24px 0;
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 20px;
  padding: 22px 24px;
  background: rgba(79, 70, 229, 0.08);
}

.article-note strong,
.prompt-example strong,
.case-disclaimer strong {
  display: block;
  margin-bottom: 8px;
  color: #c7d2fe;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.article-note p,
.prompt-example p,
.case-disclaimer p {
  margin-bottom: 0;
  color: #b7c2d4;
  font-size: 14px;
  line-height: 1.8;
}

.prompt-example {
  border-color: rgba(45, 212, 191, 0.18);
  background: rgba(13, 148, 136, 0.07);
}

.prompt-example strong {
  color: #99f6e4;
}

.case-disclaimer {
  border-color: rgba(251, 191, 36, 0.2);
  background: rgba(180, 83, 9, 0.07);
}

.case-disclaimer strong {
  color: #fde68a;
}

.comparison-table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  color: #aebbd0;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.11);
  padding: 15px 17px;
  text-align: left;
  line-height: 1.65;
  vertical-align: top;
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.035);
  color: #e2e8f0;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-link {
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
  transition: transform 200ms ease-in-out, border-color 200ms ease-in-out;
}

.related-link:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.3);
}

.related-link span {
  display: block;
  margin-bottom: 7px;
  color: #718096;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-link strong {
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .site-nav a:not(.primary-link) {
    display: none;
  }

  .hero,
  .article-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    max-width: 620px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-panel,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .content-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .principle-strip {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 14px;
    background: rgba(15, 23, 42, 0.42);
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 24px, 1120px);
  }

  .site-header__inner {
    min-height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .site-nav .primary-link {
    padding: 9px 13px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(36px, 13vw, 52px);
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .card,
  .step,
  .faq-item {
    border-radius: 20px;
  }

  .content-hero,
  .article-header {
    padding-top: 46px;
  }

  .content-hero h1,
  .article-header h1 {
    font-size: clamp(34px, 11.5vw, 48px);
  }

  .content-card {
    min-height: 0;
    border-radius: 22px;
  }

  .article-shell {
    width: min(100% - 24px, 920px);
  }

  .article-toc {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }
}
