:root {
  --pink: #e83f83;
  --pink-dark: #bd2f68;
  --pink-soft: #fff0f7;
  --ink: #4b2740;
  --muted: #76586a;
  --line: #f1cfdf;
  --mint: #61cbb6;
  --yellow: #ffc857;
  --purple: #8776dd;
  --paper: #fffafd;
  --shadow: 0 18px 48px rgba(130, 54, 88, .12);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0, rgba(255, 197, 223, .45), transparent 28rem),
    radial-gradient(circle at 96% 12%, rgba(255, 218, 122, .18), transparent 22rem),
    linear-gradient(180deg, #fff7fb 0%, #fff 42%, #fff9f2 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
html[lang="zh-TW"] body {
  font-family: "PingFang TC", "LiHei Pro", "Microsoft JhengHei", "PingFang SC", system-ui, sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--pink);
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

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

.site-header { position: sticky; z-index: 50; top: 0; padding: 14px 20px 0; }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  min-height: 66px;
  margin: 0 auto;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 35px rgba(94, 42, 67, .09);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.brand:hover { text-decoration: none; }
.brand > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.brand strong { overflow: hidden; font-size: 15px; white-space: nowrap; text-overflow: ellipsis; }
.brand small { margin-top: 1px; color: #9b7187; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 8px;
  border-radius: 14px;
  background: #fff0f7;
  box-shadow: inset 0 0 0 1px #f5ccdf;
}
.brand-mark i { border-radius: 4px; background: var(--pink); }
.brand-mark i:nth-child(2) { background: var(--yellow); }
.brand-mark i:nth-child(3) { background: var(--mint); }
.brand-mark i:nth-child(4) { background: var(--purple); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 13px;
  color: #6f4c61;
  font-size: 13px;
  font-weight: 800;
}
.nav-actions a:hover { background: #fff0f7; color: var(--pink-dark); text-decoration: none; }
.nav-actions .nav-primary {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 8px 20px rgba(232, 63, 131, .2);
}
.nav-actions .nav-primary:hover { color: #fff; background: var(--pink-dark); }
.nav-actions .lang-switch {
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: .04em;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.crumb a { color: var(--muted); }
.crumb span[aria-hidden="true"] { color: #c9a3b4; }

.hero { padding: 36px 0 20px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid #f2c7da;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--pink-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}
.eyebrow i {
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: var(--mint);
  box-shadow: 14px 0 0 var(--pink), 28px 0 0 var(--yellow);
  margin-right: 28px;
}
h1 {
  max-width: 18em;
  margin: 18px 0 0;
  color: #4a263e;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.22;
  letter-spacing: -.03em;
}
.lead {
  max-width: 40em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
  color: #8d6b7d;
  font-size: 13px;
  font-weight: 700;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid #f0cfe0;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7fb, #fff4e8);
  box-shadow: var(--shadow);
}
.cta-band p { margin: 0; max-width: 34em; color: #624154; font-size: 15px; font-weight: 700; line-height: 1.7; }
.cta-band.cta-end {
  color: #fff;
  background: linear-gradient(135deg, #d93277, #ee5596 55%, #f4956d);
  border-color: transparent;
}
.cta-band.cta-end p { color: rgba(255,255,255,.92); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #f15794, #df3478);
  box-shadow: 0 10px 24px rgba(222, 52, 120, .24);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
.button:hover { color: #fff; background: linear-gradient(135deg, #e33e80, #c82969); text-decoration: none; }
.button:focus-visible { outline: 3px solid #f7b3ce; outline-offset: 3px; }
.cta-end .button { color: var(--pink-dark); background: #fff; box-shadow: 0 10px 24px rgba(105, 27, 61, .2); }
.cta-end .button:hover { color: var(--pink-dark); background: #fff7fb; }

.toc {
  margin: 8px 0 42px;
  padding: 22px 24px 8px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
}
.toc h2 { margin: 0 0 8px; font-size: 15px; }
.toc ol { margin: 0; padding: 0 0 12px 1.3em; }
.toc li { margin: 8px 0; }
.toc a { font-weight: 800; }

.article h2 {
  margin: 52px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--pink);
  color: #4b2740;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -.02em;
  scroll-margin-top: 92px;
}
.article h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}
.article p, .article li { color: #5a3d4f; }
.article p { margin: 12px 0; }
.article ul, .article ol { margin: 12px 0 18px; padding-left: 1.25em; }
.article li { margin: 8px 0; }
.article strong { color: #4a263e; }

.takeaway {
  margin: 18px 0 8px;
  padding: 16px 18px;
  border-left: 4px solid var(--mint);
  border-radius: 0 16px 16px 0;
  background: #f3fbf8;
  color: #3d5c55;
  font-size: 15px;
}

.fit-grid, .param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 8px;
}
.fit-card, .param-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}
.fit-card h3, .param-card h3 { margin: 0 0 8px; font-size: 16px; }
.fit-card p, .param-card p { margin: 0; font-size: 14px; line-height: 1.7; }
.fit-card.good { background: #f4fbf7; border-color: #cfe8dc; }
.fit-card.bad { background: #fff6f6; border-color: #f3d2d2; }
.param-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--pink-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 8px;
  font-size: 14px;
  background: #fff;
  overflow: hidden;
  border-radius: 16px;
}
th, td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { background: var(--pink-soft); color: #4b2740; font-weight: 800; }

.steps { counter-reset: step; margin: 18px 0; padding: 0; list-style: none; }
.steps li {
  position: relative;
  margin: 0 0 14px;
  padding: 16px 16px 16px 62px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: var(--pink);
  font-size: 13px;
  font-weight: 900;
}
.steps strong { display: block; margin-bottom: 4px; }

.cases { display: grid; gap: 28px; margin: 24px 0 8px; }
.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.case-pair { display: grid; grid-template-columns: 1fr 1fr; }
.case-shot { background: #fff8fb; }
.case-shot img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-shot span, .case-meta span {
  display: block;
  padding: 10px 14px 12px;
  color: #8d6b7d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.case-meta { padding: 18px 20px 22px; }
.case-meta h3 { margin: 0 0 10px; font-size: 20px; }
.bead-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.bead-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: #624154;
  font-size: 13px;
  font-weight: 800;
}
.bead-chips i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--pink);
}
.bead-chips li:nth-child(2) i { background: var(--mint); }
.bead-chips li:nth-child(3) i { background: var(--yellow); }
.bead-chips li:nth-child(4) i { background: var(--purple); }
.case-meta p { margin: 0; font-size: 14px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  padding: 18px 46px 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: var(--pink);
  background: #fff0f7;
  transform: translateY(-50%);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -4px 0 18px; color: var(--muted); font-size: 15px; }

footer { margin-top: 64px; border-top: 1px solid #f0d7e2; background: rgba(255,255,255,.72); }
.footer-shell {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 0 auto;
}
.footer-shell span { display: block; margin-top: 4px; color: #8d6b7d; font-size: 12px; }
.footer-shell nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-shell nav a { color: #76576a; font-size: 13px; font-weight: 700; }

@media (max-width: 780px) {
  .site-header { padding: 10px 12px 0; }
  .nav-shell { min-height: 58px; border-radius: 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand small, .nav-actions > a:first-child { display: none; }
  .shell, .article-shell, .footer-shell { width: min(100% - 28px, 720px); }
  .fit-grid, .param-grid, .case-pair { grid-template-columns: 1fr; }
  .cta-band { padding: 18px; }
  .button { width: 100%; }
  table { display: block; overflow-x: auto; }
}

@media (max-width: 520px) {
  h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .article h2 { font-size: 22px; }
  .footer-shell { flex-direction: column; align-items: flex-start; padding: 28px 0; }
  .footer-shell nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
