:root {
  --bg-1: #0d1023;
  --bg-2: #171132;
  --bg-3: #2f1d3d;
  --panel: rgba(255, 247, 238, 0.95);
  --panel-strong: #fff3e8;
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff8f1;
  --muted: rgba(255, 248, 241, 0.76);
  --ink: #1d1730;
  --accent: #ff7a59;
  --accent-2: #f9d65c;
  --accent-3: #7de8d1;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 122, 89, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(125, 232, 209, 0.18), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(249, 214, 92, 0.12), transparent 30%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
  font-family: "Trebuchet MS", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 90%);
}

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

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

.wrap {
  width: min(calc(100% - 32px), var(--wrap));
  margin: 0 auto;
}

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

.nav-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.brand-name {
  font-size: 1.18rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 248, 241, 0.86);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 99px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #1f1430;
  background: linear-gradient(135deg, var(--accent-2), #fff3a6);
  box-shadow: 0 12px 24px rgba(249, 214, 92, 0.24);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  margin-left: 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
  padding: 40px 0 16px;
  align-items: center;
}

.hero-copy,
.hero-panel,
.page-hero,
.section,
.content-block,
.site-footer {
  position: relative;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.96;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
}

.lead {
  max-width: 64ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
  color: #fff;
}

.comic-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 247, 238, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.comic-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.14), transparent 62%);
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.stat-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(125, 232, 209, 0.14)),
    rgba(255, 247, 238, 0.96);
}

.stat-label {
  margin-bottom: 6px;
  color: #765d4f;
  font-size: 0.88rem;
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-card span {
  color: #6f5a4d;
  font-size: 0.92rem;
}

.feature-note {
  padding: 24px;
}

.feature-note h2,
.section-head h2,
.page-hero h1,
.highlight-card h3,
.step-card h2,
.long-copy p,
.timeline-item p {
  margin-bottom: 0;
}

.feature-note h2,
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink);
}

.check-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
}

.check-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.section,
.page-main {
  padding: 28px 0 6px;
}

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

.section-head h2 {
  margin: 0;
}

.feature-grid,
.quote-grid,
.two-column,
.preview-grid,
.step-grid,
.timeline {
  display: grid;
  gap: 18px;
}

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

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

.feature-grid .comic-card,
.highlight-card,
.step-card,
.timeline-item,
.quote-card,
.preview-item,
.faq-items details {
  padding: 22px;
}

.feature-grid h3,
.highlight-card h3,
.step-card h2 {
  font-size: 1.15rem;
  color: var(--ink);
}

.feature-grid p,
.highlight-card p,
.step-card p,
.quote-card p,
.timeline-item p,
.preview-item figcaption,
.faq-items p,
.long-copy p,
.footer-grid p,
.site-footer a {
  color: #55463f;
}

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

.preview-item {
  display: grid;
  gap: 16px;
  align-content: start;
}

.preview-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(29, 23, 48, 0.16);
}

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

.highlight-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.text-link {
  margin-top: auto;
  color: #ae3b25;
  font-weight: 800;
}

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

.quote-card {
  background:
    linear-gradient(135deg, rgba(255, 122, 89, 0.08), rgba(249, 214, 92, 0.14)),
    rgba(255, 247, 238, 0.96);
}

.quote-card p {
  font-size: 1.02rem;
  color: var(--ink);
}

.quote-card cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: #7b685d;
  font-size: 0.9rem;
}

.page-main {
  padding-top: 20px;
}

.page-hero {
  padding: 26px 0 16px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
}

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

.step-card {
  min-height: 190px;
}

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

.timeline-item {
  display: grid;
  gap: 14px;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #f04786);
}

.long-copy {
  padding: 24px;
}

.long-copy p + p {
  margin-top: 14px;
}

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

.faq-items details {
  transition: transform 0.2s ease;
}

.faq-items details[open] {
  transform: translateY(-1px);
}

.faq-items summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--ink);
}

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

.faq-items summary::after {
  content: "+";
  float: right;
  color: #a65037;
  font-weight: 900;
}

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

.site-footer {
  margin-top: 36px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(8, 11, 26, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.site-footer a {
  margin-bottom: 8px;
}

.inline-btn {
  display: inline-flex;
}

.footer-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 241, 0.72);
  font-size: 0.92rem;
}

.footer-note p {
  margin-bottom: 8px;
  color: rgba(255, 248, 241, 0.72);
}

@media (max-width: 1040px) {
  .hero,
  .feature-grid,
  .preview-grid,
  .quote-grid,
  .footer-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .content-grid .two-column,
  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav.is-open {
    display: flex;
    flex-basis: 100%;
    order: 10;
    margin-left: 0;
    padding: 10px 0 4px;
    flex-wrap: wrap;
  }

  .hero,
  .feature-grid,
  .feature-grid-wide,
  .preview-grid,
  .quote-grid,
  .footer-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 24px;
  }

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

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.6rem);
  }
}
