/* ============================================================
   谷歌验证器 · Google Safety Center 风格
   白底 + Google 蓝 #1A73E8 / 四色 logo / Google Sans / 圆角卡片
   ============================================================ */
:root {
  --blue: #1A73E8;
  --blue-d: #174EA6;
  --blue-l: #D2E3FC;
  --blue-tint: #E8F0FE;
  --red: #EA4335;
  --yellow: #FBBC04;
  --green: #34A853;
  --green-d: #188038;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --ink: #202124;
  --muted: #5F6368;
  --line: #DADCE0;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(60, 64, 67, .15), 0 2px 8px rgba(60, 64, 67, .08);
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, .1);
  --font: "Google Sans", "Roboto", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--ink); font-weight: 500; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- 头部(Google 风格) ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .g-logo { height: 24px; width: auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1.2; font-size: 17px; font-weight: 500; color: var(--muted); }
.wordmark em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 14.5px; padding: 8px 14px; border-radius: 8px; }
.main-nav a:hover { color: var(--ink); text-decoration: none; background: var(--bg-alt); }
.main-nav a.active { color: var(--blue); }
.nav-cta { margin-left: 6px; white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- 按钮(Google 蓝) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: 24px; font-weight: 500; font-size: 15px; transition: .18s; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); box-shadow: 0 1px 3px rgba(60,64,67,.3); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-outline:hover { background: var(--blue-tint); border-color: var(--blue); }
.btn-lg { padding: 13px 28px; font-size: 16px; }
.btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 段落与区块 ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--blue-tint); }
.section.dark h2, .section.dark h3 { color: var(--ink); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 32px; margin: 8px 0 12px; font-weight: 400; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; letter-spacing: .3px; color: var(--blue); }

/* ---------- Hero(居中) ---------- */
.hero { padding: 80px 0 64px; background: #fff; }
.hero-inner { max-width: 840px; margin: 0 auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 500; font-size: 14px; margin-bottom: 16px; }
.hero h1 { font-size: 46px; letter-spacing: -.5px; font-weight: 400; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 18px auto 30px; max-width: 640px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; justify-content: center; }
.mini-stats { display: flex; gap: 30px; flex-wrap: wrap; color: var(--muted); font-size: 14px; justify-content: center; }
.mini-stats b { color: var(--ink); display: block; font-size: 16px; font-weight: 500; }

/* ---------- Hero 盾牌视觉 ---------- */
.hero-shield { width: 128px; height: 128px; margin: 30px auto 0; }
.hero h1 { font-size: 52px; font-weight: 400; letter-spacing: -1px; }

/* ---------- 三支柱(pillars) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar { text-align: left; }
.pillar .ico { margin-bottom: 16px; width: 48px; height: 48px; border-radius: 14px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; font-weight: 500; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ---------- 产品图标网格 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: .16s; }
.pcard:hover { box-shadow: var(--shadow); border-color: transparent; }
.pcard img { width: 40px; height: 40px; flex: 0 0 auto; }
.pcard b { display: block; font-weight: 500; color: var(--ink); font-size: 15px; }
.pcard span { font-size: 12.5px; color: var(--muted); }

/* ---------- 动态口令卡片(招牌,浅色版) ---------- */
.otp-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; color: var(--ink); box-shadow: var(--shadow); max-width: 380px; margin: 34px auto 0; text-align: left; }
.otp-card .otp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.otp-card .otp-name { font-weight: 500; font-size: 16px; }
.otp-card .otp-account { font-size: 13px; color: var(--muted); }
.otp-ring { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; }
.otp-ring svg { transform: rotate(-90deg); }
.otp-ring .ring-bg { stroke: var(--blue-l); }
.otp-ring .ring-fg { stroke: var(--blue); stroke-linecap: round; }
.otp-ring .ring-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.otp-ring .ring-num b { font-size: 40px; letter-spacing: 1px; font-weight: 400; color: var(--ink); }
.otp-ring .ring-num span { font-size: 12px; color: var(--muted); }
.otp-digits { display: flex; gap: 10px; justify-content: center; }
.otp-digit { width: 46px; height: 56px; background: var(--blue-tint); border: 1px solid var(--blue-l); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.otp-note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius); padding: 28px; transition: .18s; }
.card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.card h3 { font-size: 19px; margin: 14px 0 10px; font-weight: 500; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.ico.green { background: #E6F4EA; color: var(--green-d); }
.ico.navy { background: #FEF7E0; color: #B06000; }

/* ---------- 参数一览 ---------- */
.params { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.param { background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius); padding: 24px; }
.param:hover { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.param .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.param .v { font-size: 24px; font-weight: 500; color: var(--ink); margin: 6px 0; }
.param p { font-size: 13px; color: var(--muted); }
.section.dark .param { background: #fff; }

/* ---------- 左右图文 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-text h3 { font-size: 26px; margin-bottom: 14px; font-weight: 400; }
.split-text p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.split-text ul { margin: 6px 0 0 20px; color: var(--muted); }
.split-text li { margin-bottom: 8px; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- 步骤 ---------- */
.steps { list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 0 0 26px 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-weight: 500; display: flex; align-items: center; justify-content: center; }
.steps li::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li h3 { font-size: 18px; margin-bottom: 6px; font-weight: 500; }
.steps li p { color: var(--muted); }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-alt); color: var(--ink); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
td b { color: var(--ink); font-weight: 500; }
.ok { color: var(--green-d); font-weight: 500; }
.no { color: #D93025; font-weight: 500; }

/* ---------- 平台卡片 ---------- */
.platform { background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; transition: .18s; }
.platform:hover { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ptop { padding: 18px 22px; background: var(--blue-tint); color: var(--ink); font-weight: 500; }
.ptop .pname { color: var(--ink); }
.ptop.green { background: #E6F4EA; }
.ptop.navy { background: #FEF7E0; }
.pbody { padding: 20px 22px; }
.pbody p { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 42px; }
.pbody .btn { width: 100%; }
.tag { display: inline-block; font-size: 12px; color: var(--blue); background: var(--blue-tint); border-radius: 20px; padding: 3px 10px; margin: 12px 6px 0 0; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 34px; }
.faq-group > h3 { font-size: 20px; margin-bottom: 16px; font-weight: 500; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 500; color: var(--ink); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 20px 18px; color: var(--muted); }
.faq-body a { font-weight: 500; }

/* ---------- 相关卡片 ---------- */
.related { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.rel-card { display: block; background: var(--bg-alt); border: 1px solid transparent; border-radius: 12px; padding: 18px 20px; color: var(--ink); transition: .16s; }
.rel-card:hover { text-decoration: none; border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.rel-card .rt { font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.rel-card .rd { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA 带 ---------- */
.cta-band { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 20px auto 60px; }
.cta-band h3 { color: #fff; font-size: 24px; font-weight: 400; }
.cta-band p { color: #fff; opacity: .92; }
.cta-band .btn { background: #fff; color: var(--blue); border-color: #fff; }
.cta-band .btn:hover { background: var(--blue-tint); }

/* ---------- 文章页 ---------- */
.article-hero { padding: 48px 0 28px; background: #fff; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--blue); }
.breadcrumb .sep { margin: 0 6px; color: #BDC1C6; }
.article-hero h1 { font-size: 36px; max-width: 800px; font-weight: 400; }
.article-meta { color: var(--muted); font-size: 14px; margin-top: 12px; }
.article-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding: 32px 0 64px; }
.toc { position: sticky; top: 84px; background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius); padding: 20px; }
.toc h4 { font-size: 13px; margin-bottom: 10px; color: var(--muted); letter-spacing: .3px; font-weight: 500; }
.toc a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; border-left: 2px solid transparent; padding-left: 10px; }
.toc a:hover { color: var(--blue); border-left-color: var(--blue); text-decoration: none; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 42px; }
.article-body h2 { font-size: 24px; margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-weight: 400; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 18px; margin: 22px 0 10px; color: var(--ink); font-weight: 500; }
.article-body p { color: #3C4043; margin-bottom: 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; color: #3C4043; }
.article-body li { margin-bottom: 7px; }
.article-body img { border-radius: 12px; margin: 16px 0; }
.article-body .lead-p { font-size: 17px; color: var(--ink); font-weight: 500; }
.speed-table { margin: 18px 0; }
.callout { background: var(--blue-tint); border-left: 4px solid var(--blue); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.callout b { color: var(--blue-d); font-weight: 500; }
.callout.teal { background: #E6F4EA; border-left-color: var(--green); }
.callout.teal b { color: var(--green-d); }
.callout.navy { background: #FEF7E0; border-left-color: #F9AB00; }
.callout.navy b { color: #B06000; }
.related-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-block h3 { margin-bottom: 14px; font-weight: 400; }

/* ---------- 页脚(Google 风格,浅色) ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .g-logo { height: 20px; width: auto; }
.footer-brand span { color: var(--ink); font-weight: 500; font-size: 16px; }
.footer-grid h4 { color: var(--ink); font-size: 14px; margin-bottom: 12px; font-weight: 500; }
.footer-grid a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: var(--blue); text-decoration: none; }
.footer-grid .about { font-size: 13.5px; color: var(--muted); max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; font-size: 13px; color: var(--muted); }

/* ---------- 杂项 ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: .2s; box-shadow: var(--shadow); z-index: 60; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop:hover { background: var(--blue-d); }

.search-box { display: flex; gap: 10px; max-width: 560px; margin: 20px auto; justify-content: center; }
.search-input { flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 24px; font-size: 16px; font-family: var(--font); }
.search-input:focus { outline: none; border-color: var(--blue); }

.sitemap-list { display: grid; gap: 30px; grid-template-columns: repeat(3, 1fr); }
.sitemap-list h3 { font-size: 18px; margin-bottom: 12px; font-weight: 500; }
.sitemap-list a { display: block; font-size: 14.5px; padding: 4px 0; color: var(--muted); }
.sitemap-list a:hover { color: var(--blue); }

.notfound { text-align: center; padding: 100px 0; }
.notfound .code { font-size: 100px; font-weight: 400; color: var(--blue); letter-spacing: 4px; }
.notfound h1 { font-size: 30px; margin: 10px 0 14px; font-weight: 400; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 36px; }
  .grid, .grid.c2, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .params { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; box-shadow: var(--shadow); display: none; margin-left: 0; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 6px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero h1 { font-size: 30px; }
  .grid, .grid.c2, .grid.c4, .params, .related, .sitemap-list { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-body { padding: 24px 20px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .otp-digits { gap: 6px; }
  .otp-digit { width: 38px; height: 48px; font-size: 22px; }
}
