* { box-sizing: border-box; }
:root {
  --ink: #111432;
  --muted: #687087;
  --paper: #f7f8fc;
  --lavender: #e5e9fa;
  --violet: #5f5bd7;
  --line: #dde1ed;
}
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: Inter, "Microsoft YaHei", "PingFang SC", sans-serif;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky; top: 14px; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  width: min(1180px, calc(100% - 32px)); min-height: 62px; margin: 10px auto 0; padding: 7px 12px 7px 18px;
  background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.95); border-radius: 8px;
  box-shadow: 0 16px 40px rgba(46,52,98,.09); backdrop-filter: blur(18px);
}
.topbar .brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-weight: 900; }
.topbar .brand-mark {
  display: flex; flex: 0 0 38px; align-items: center; justify-content: center; gap: 6px;
  width: 38px; height: 38px;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.92), transparent 27%), linear-gradient(145deg, #7467f3, #91d7ed);
  border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: inset 0 0 15px rgba(255,255,255,.5);
}
.topbar .brand-mark span { width: 4px; height: 13px; background: #fff; border-radius: 999px; }
.topbar .brand-copy { display: grid; gap: 2px; line-height: 1.35; }
.topbar .brand-copy strong { font-size: 15px; }
.topbar .brand-copy small { color: var(--muted); font-size: 10px; font-weight: 500; }
.topbar div { display: flex; gap: 6px; align-items: center; }
.topbar div a, .topbar > a:not(.brand) { color: #5f657b; font-size: 13px; font-weight: 700; }
.topbar div a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; }
.topbar div a:hover, .topbar div a:focus-visible { color: #29256e; background: #f1f2f9; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.tool-return-row {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tool-return-row::before,
.tool-return-row::after {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 91, 255, 0.46));
}
.tool-return-row::after { transform: rotate(180deg); }
.tool-library-return {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  color: #3935a7;
  background: rgba(95, 91, 255, 0.07);
  border: 1px solid rgba(95, 91, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(44, 42, 116, 0.06);
}
.tool-library-return:hover {
  color: #211f76;
  background: rgba(95, 91, 255, 0.12);
  border-color: rgba(95, 91, 255, 0.36);
}
.tool-library-return:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.tool-return-row + .tool-hero { padding-top: 32px; }
.tool-hero, .index-hero { padding: 110px 0 72px; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 22px; }
.identity img {
  width: 76px; height: 76px; padding: 10px; object-fit: contain; background: white;
  border: 1px solid var(--line); border-radius: 8px;
}
.eyebrow { margin: 0 0 10px; color: var(--violet); font-size: 12px; font-weight: 900; }
h1 { max-width: 900px; margin: 0; font-family: "DengXian", "Microsoft YaHei", "PingFang SC", sans-serif; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; font-weight: 700; font-synthesis: none; letter-spacing: 0; }
.scene { margin: 11px 0 0; color: var(--muted); font-size: 15px; }
.summary { max-width: 850px; margin: 42px 0 0; color: #4f566e; font-size: 18px; line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.actions a, .actions .disabled {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 800;
}
.actions .primary { color: white; background: #25215f; border-color: #25215f; }
.actions .disabled { color: #969bad; }
.verification { margin: 18px 0 0; color: #7b8195; font-size: 12px; }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); }
.decision-grid article { min-height: 190px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decision-grid span { display: block; margin-bottom: 17px; color: #7e8498; font-size: 12px; font-weight: 800; }
.decision-grid strong { font-size: 15px; line-height: 1.75; }
.details { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; padding: 100px 0; }
.details h2 { max-width: 420px; margin: 0; font-family: "DengXian", "Microsoft YaHei", "PingFang SC", sans-serif; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; font-weight: 700; font-synthesis: none; }
.detail-copy article { padding: 0 0 28px; border-bottom: 1px solid var(--line); }
.detail-copy article + article { padding-top: 28px; }
.detail-copy h3 { margin: 0 0 10px; font-size: 18px; }
.detail-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.tool-section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 {
  margin: 0;
  font-family: "DengXian", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  font-synthesis: none;
}
.section-heading > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.pros-cons-grid,
.relation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pros-cons-card,
.relation-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(45, 49, 91, .05);
}
.pros-cons-card { padding: 28px; }
.pros-cons-card h3 { margin: 0 0 18px; font-size: 19px; }
.pros-cons-card ul { display: grid; gap: 13px; margin: 0; padding-left: 20px; }
.pros-cons-card li { color: #555d76; font-size: 14px; line-height: 1.75; }
.relation-card { display: grid; gap: 9px; min-height: 160px; padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.relation-card:hover,
.relation-card:focus-visible { border-color: rgba(95, 91, 215, .5); transform: translateY(-2px); }
.relation-card:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.relation-card strong { font-size: 18px; line-height: 1.45; }
.relation-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.relation-meta { color: var(--violet); font-size: 12px; font-weight: 900; }
.relation-empty { padding: 28px; background: #fff; border: 1px dashed #c9cee0; border-radius: 8px; }
.relation-empty p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; }
.relation-empty a { color: var(--violet); font-size: 14px; font-weight: 900; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0 24px; }
.faq-item summary { cursor: pointer; padding: 22px 0; font-size: 16px; font-weight: 900; line-height: 1.5; }
.faq-item summary:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.faq-item p { margin: 0; padding: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.safety-note {
  display: grid; grid-template-columns: .6fr 1.4fr; gap: 40px; margin-bottom: 100px; padding: 34px;
  background: var(--lavender); border-left: 4px solid var(--violet);
}
.safety-note strong { font-size: 23px; }
.safety-note p { margin: 0; color: #535a75; line-height: 1.8; }
footer {
  display: flex; justify-content: space-between; gap: 24px; padding: 34px max(16px, calc((100% - 1180px) / 2));
  color: #6d7388; background: #edf0f8; font-size: 13px;
}
.index-hero p:last-child { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.tool-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 50px 0 100px; }
.tool-index a { min-height: 118px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-index a:nth-child(3n+1) { border-left: 1px solid var(--line); }
.tool-index a:hover { background: white; }
.tool-index strong { display: block; margin-bottom: 9px; font-size: 17px; }
.tool-index span { color: var(--muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 720px) {
  .topbar div a:not(:last-child) { display: none; }
  .tool-return-row { min-height: 96px; }
  .tool-return-row::before,
  .tool-return-row::after { width: 22px; }
  .tool-hero, .index-hero { padding: 72px 0 50px; }
  .tool-return-row + .tool-hero { padding-top: 24px; }
  .identity { align-items: flex-start; }
  .identity img { width: 60px; height: 60px; }
  h1 { font-size: 40px; }
  .summary { margin-top: 30px; font-size: 16px; }
  .decision-grid, .details, .safety-note { grid-template-columns: 1fr; }
  .decision-grid article { min-height: 0; padding: 24px; }
  .details { gap: 38px; padding: 72px 0; }
  .safety-note { gap: 16px; margin-bottom: 72px; padding: 24px; }
  .tool-index { grid-template-columns: 1fr; }
  .tool-index a, .tool-index a:nth-child(3n+1) { border-left: 1px solid var(--line); }
  footer { flex-direction: column; }
}
@media (max-width: 760px) {
  .tool-section { padding: 64px 0; }
  .pros-cons-grid,
  .relation-grid { grid-template-columns: 1fr; }
  .pros-cons-card,
  .relation-card { padding: 22px; }
  .faq-item { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

.download-safety-note { display: grid; gap: 7px; margin-top: 14px; padding: 14px 16px; color: #5c5870; background: #fff8e8; border: 1px solid #f1d99b; border-radius: 14px; font-size: 12px; line-height: 1.7; }
.download-safety-note strong { color: #76531a; }
.download-safety-note p { margin: 0; }
.download-safety-note a { color: #6652c7; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.download-confirm-dialog { width: min(520px, calc(100% - 32px)); padding: 0; background: transparent; border: 0; }
.download-confirm-dialog::backdrop { background: rgba(17, 20, 50, .48); backdrop-filter: blur(4px); }
.download-confirm-card { display: grid; gap: 10px; padding: 26px; color: #171936; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 70px rgba(17, 20, 50, .25); }
.download-confirm-card h2, .download-confirm-card p { margin: 0; }
.download-confirm-card p { line-height: 1.75; }
.download-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.download-confirm-actions button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 800; }
.download-confirm-actions button.primary { color: #fff; background: #25215f; border-color: #25215f; }
