:root {
  color-scheme: light;
  --ink: #202530;
  --muted: #687080;
  --line: #e5e7eb;
  --soft: #f6f7f9;
  --brand: #5b4cf0;
  --brand-dark: #4032c7;
  --success: #16794a;
  --warning: #8b5b00;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { background: #fff; color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: linear-gradient(180deg, #fbfbfd 0, #fff 420px); }
a { color: inherit; }

.seo-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.seo-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; }
.seo-brand small { padding: 3px 6px; border-radius: 999px; background: #efedff; color: var(--brand); font-size: 10px; letter-spacing: .05em; }
.seo-brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: #fff; background: var(--ink); font-size: 11px; }
.seo-header nav { display: flex; align-items: center; gap: 22px; }
.seo-header nav a { color: #535b69; text-decoration: none; font-size: 14px; font-weight: 650; }
.seo-header nav a:hover { color: var(--ink); }
.seo-header .nav-cta { padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--ink); }

main { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; padding: 26px 0 10px; color: #818896; font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

.landing-hero, .directory-hero { padding: 56px 0 42px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span, .verification-line span { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: #5d6573; background: rgba(255, 255, 255, .82); font-size: 12px; font-weight: 700; }
.landing-hero h1, .directory-hero h1 { max-width: 930px; margin: 20px 0 14px; font-size: clamp(36px, 6vw, 66px); line-height: 1.06; letter-spacing: -.045em; }
.hero-summary, .directory-hero > p { max-width: 840px; margin: 0; color: #586170; font-size: clamp(17px, 2vw, 21px); line-height: 1.72; }
.verification-line { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-action, .secondary-action, .inline-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 12px; text-decoration: none; font-weight: 780; }
.primary-action { color: #fff; background: var(--brand); box-shadow: 0 12px 30px rgba(91, 76, 240, .19); }
.primary-action:hover { background: var(--brand-dark); }
.secondary-action { border: 1px solid #d8dbe2; background: #fff; }
.secondary-action:hover { border-color: #b9bec8; }
.source-warning { max-width: 820px; margin: 16px 0 0; color: #7a8290; font-size: 13px; line-height: 1.65; }

.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-bottom: 42px; }
.fact-grid article { min-height: 142px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(32, 37, 48, .035); }
.fact-grid span { display: block; color: #7b8390; font-size: 12px; font-weight: 750; }
.fact-grid strong { display: block; margin-top: 14px; font-size: 17px; line-height: 1.35; }
.fact-grid small { display: block; margin-top: 8px; color: #687080; line-height: 1.5; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.content-main { display: grid; gap: 18px; }
.content-card, .sidebar-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.content-card { padding: clamp(24px, 4vw, 38px); }
.content-card h2, .sidebar-card h2, .related-section h2 { margin: 8px 0 14px; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.025em; }
.content-card p { color: #515a69; font-size: 16px; line-height: 1.82; }
.section-kicker { color: var(--brand); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.answer-card { border-color: #dcd8ff; background: linear-gradient(145deg, #fbfaff, #fff); }
.decision-note { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--brand); border-radius: 4px 12px 12px 4px; color: #474f5d; background: #f5f3ff; line-height: 1.7; }
.check-list, .risk-list, .action-list { display: grid; gap: 12px; padding-left: 22px; color: #4d5665; line-height: 1.72; }
.risk-list li::marker { color: #ca7a00; }
.action-list li::marker { color: var(--brand); font-weight: 800; }
.muted { color: #7a8290 !important; font-size: 14px !important; }
.inline-cta { min-height: 44px; margin-top: 8px; padding: 0; color: var(--brand); }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fcfcfd; }
.faq-list summary { padding: 17px 18px; cursor: pointer; font-weight: 750; }
.faq-list details p { margin: 0; padding: 0 18px 18px; font-size: 15px; }
.source-list { display: grid; gap: 9px; padding-left: 20px; }
.source-list a { color: var(--brand); font-weight: 700; overflow-wrap: anywhere; }

.decision-sidebar { position: sticky; top: 88px; display: grid; gap: 16px; }
.sidebar-card { padding: 24px; }
.grade-value { margin: 8px 0 18px; font-size: 70px; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.score-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; color: #596170; font-size: 13px; }
.score-track { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 999px; background: #eceef2; }
.score-track i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.sidebar-card dl { margin: 0; }
.sidebar-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #eef0f3; }
.sidebar-card dl div:last-child { border-bottom: 0; }
.sidebar-card dt { color: #7a8290; }
.sidebar-card dd { margin: 0; text-align: right; font-weight: 720; }

.related-section { padding: 66px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-grid a { display: flex; flex-direction: column; min-height: 178px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; background: #fff; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.related-grid a:hover { transform: translateY(-3px); border-color: #cbc6ff; box-shadow: 0 16px 34px rgba(32, 37, 48, .08); }
.related-grid span { color: var(--brand); font-size: 12px; font-weight: 800; }
.related-grid strong { margin-top: 14px; font-size: 17px; line-height: 1.45; }
.related-grid small { margin-top: auto; padding-top: 16px; color: #7a8290; }

.directory-hero { max-width: 920px; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: 70px; }
.directory-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.directory-grid article > div { display: flex; gap: 8px; }
.directory-grid article > div span { padding: 4px 8px; border-radius: 999px; color: #5f6674; background: var(--soft); font-size: 11px; font-weight: 800; }
.directory-grid h2 { margin: 17px 0 10px; font-size: 22px; line-height: 1.4; }
.directory-grid h2 a { text-decoration: none; }
.directory-grid h2 a:hover { color: var(--brand); }
.directory-grid p { min-height: 76px; color: #626a78; line-height: 1.7; }
.directory-grid dl { display: flex; gap: 30px; margin: 18px 0; }
.directory-grid dl div { display: grid; gap: 4px; }
.directory-grid dt { color: #858c98; font-size: 11px; }
.directory-grid dd { margin: 0; font-size: 13px; font-weight: 750; }
.card-link { color: var(--brand); font-size: 14px; font-weight: 780; text-decoration: none; }

.seo-footer { display: flex; justify-content: space-between; gap: 40px; padding: 42px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: #f8f9fb; }
.seo-footer p { max-width: 500px; color: #747c89; }
.seo-footer > div:last-child { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 18px; }
.seo-footer a { color: #5f6775; font-size: 13px; text-decoration: none; }

@media (max-width: 900px) {
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .decision-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .seo-header { min-height: 60px; padding: 0 16px; }
  .seo-header nav > a:not(.nav-cta) { display: none; }
  .seo-header .nav-cta { padding: 9px 11px; font-size: 12px; }
  main { width: min(calc(100% - 28px), var(--max)); }
  .landing-hero, .directory-hero { padding: 38px 0 30px; }
  .landing-hero h1, .directory-hero h1 { font-size: 39px; }
  .hero-actions { display: grid; }
  .fact-grid, .directory-grid, .decision-sidebar { grid-template-columns: 1fr; }
  .fact-grid article { min-height: 126px; }
  .directory-grid p { min-height: 0; }
  .seo-footer { display: grid; padding: 34px 18px; }
}
