:root {
  color-scheme: light;
  --ink: #2c2024;
  --soft: #74656a;
  --rose: #e75870;
  --rose-dark: #bc3d59;
  --cream: #fff9f6;
  --line: rgba(58, 39, 45, 0.12);
  --card: rgba(255, 255, 255, 0.9);
  --shadow: 0 22px 70px rgba(76, 43, 52, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(231, 88, 112, 0.13), transparent 28rem),
    linear-gradient(180deg, #fffaf8 0%, #fff 46%, #fff9f6 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

a { color: var(--rose-dark); }

img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 248, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.brand strong { display: block; line-height: 1.15; }

.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: var(--soft); font-size: 14px; text-decoration: none; }
.top-nav a:hover { color: var(--rose-dark); }

.nav-cta {
  padding: 10px 16px;
  color: #fff !important;
  background: var(--rose);
  border-radius: 999px;
}

.page-hero { padding: 72px 0 46px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--soft);
  font-size: 13px;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2.2vw, 22px);
}

.page-cover {
  margin: 34px 0 0;
  overflow: hidden;
  background: #f7e8e8;
  border: 1px solid rgba(58, 39, 45, 0.1);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.page-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.page-cover figcaption {
  padding: 10px 18px 12px;
  color: var(--soft);
  background: rgba(255,255,255,.88);
  font-size: 13px;
  text-align: center;
}

.summary-box {
  margin-top: 34px;
  padding: 24px 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(231,88,112,.22);
  border-left: 5px solid var(--rose);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.summary-box strong { display: block; margin-bottom: 6px; }
.summary-box p { margin: 0; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 54px;
  padding-bottom: 90px;
}

.article-card {
  padding: clamp(28px, 5vw, 56px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.article-card h2 {
  margin: 58px 0 14px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.article-card h2:first-child { margin-top: 0; }
.article-card h3 { margin: 32px 0 10px; font-size: 21px; }
.article-card p { margin: 12px 0; color: #4f4146; }
.article-card ul,
.article-card ol { padding-left: 1.3em; }
.article-card li { margin: 8px 0; }

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

.fact-card,
.step-card,
.related-card {
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.fact-card strong,
.step-card strong { display: block; margin-bottom: 6px; }
.fact-card p,
.step-card p { margin: 0; }

.step-card span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: var(--rose);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

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

.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { padding-right: 20px; }

.side-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 24px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.side-nav strong { display: block; margin-bottom: 12px; }
.side-nav a { display: block; padding: 7px 0; color: var(--soft); font-size: 14px; text-decoration: none; }
.side-nav a:hover { color: var(--rose-dark); }

.related { padding: 0 0 90px; }
.related h2 { font-size: 30px; }
.related-card { color: var(--ink); text-decoration: none; transition: transform 180ms ease; }
.related-card:hover { transform: translateY(-3px); }
.related-card strong { display: block; font-size: 18px; }
.related-card span { color: var(--soft); font-size: 14px; }

.site-footer {
  padding: 36px 0;
  color: var(--soft);
  background: #2f2528;
}

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

.site-footer a { color: #f3d8de; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

.legal-meta {
  margin-bottom: 30px;
  padding: 18px 20px;
  color: var(--soft);
  background: var(--cream);
  border-radius: 16px;
}

@media (max-width: 820px) {
  .top-nav a:not(.nav-cta) { display: none; }
  .content-layout { grid-template-columns: 1fr; }
  .side-nav { display: none; }
  .fact-grid, .step-grid, .related-grid { grid-template-columns: 1fr; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .nav-shell, .page-shell, .footer-shell { width: min(100% - 28px, 1120px); }
  .page-hero { padding-top: 48px; }
  .page-cover { border-radius: 20px; }
  .article-card { padding: 24px 20px; border-radius: 22px; }
}
