:root {
  --ink: #12211a;
  --muted: #627067;
  --paper: #f5f7f2;
  --surface: #ffffff;
  --surface-soft: #eef4ed;
  --line: #dce5dc;
  --brand: #11653c;
  --brand-dark: #0a4228;
  --brand-pale: #d9f3e2;
  --accent: #e79b32;
  --danger: #b3261e;
  --shadow: 0 18px 55px rgba(28, 61, 42, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(231, 155, 50, 0.12), transparent 26rem),
    radial-gradient(circle at 92% 18%, rgba(17, 101, 60, 0.12), transparent 28rem),
    var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 229, 220, 0.8);
}
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -0.03em; font-size: 20px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-size: 13px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links a:hover { color: var(--brand); }
.hero { padding: 72px 0 42px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 12px; border: 1px solid #cde2d2; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--brand); font-size: 13px; font-weight: 750; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #24a362; box-shadow: 0 0 0 4px rgba(36,163,98,.12); }
h1, h2, h3 { margin-top: 0; line-height: 1.2; letter-spacing: -0.035em; }
h1 { margin-bottom: 20px; font-size: clamp(38px, 7vw, 68px); }
.hero h1 span { color: var(--brand); }
.hero-lead { max-width: 720px; margin: 0 auto 22px; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; color: #526159; font-size: 13px; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: var(--brand); font-weight: 900; }
.tool-wrap { padding: 16px 0 70px; }
.tool-panel { max-width: 880px; margin: 0 auto; padding: clamp(18px, 4vw, 34px); background: rgba(255,255,255,.9); border: 1px solid rgba(210,224,212,.9); border-radius: 30px; box-shadow: var(--shadow); }
.tool-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.tool-heading h2 { margin-bottom: 7px; font-size: 22px; }
.tool-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-state { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; color: var(--brand-dark); background: var(--brand-pale); font-size: 12px; font-weight: 700; }
.privacy-state::before { content: "●"; margin-right: 7px; color: #1c9859; }
.privacy-state[data-ready="false"] { color: var(--danger); background: #fde9e7; }
.auth-list { display: grid; gap: 16px; }
.auth-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fbfcfa; }
.auth-card-top { display: flex; justify-content: flex-end; gap: 14px; align-items: center; margin-bottom: 18px; }
.remove-button { border: 0; background: transparent; color: #8a948d; font-size: 13px; }
.remove-button:hover { color: var(--danger); }
.field-label { display: block; margin-bottom: 7px; color: #47564d; font-size: 13px; font-weight: 720; }
.secret-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.secret-input { width: 100%; min-width: 0; padding: 13px 14px; color: var(--ink); border: 1px solid #ccd8ce; border-radius: 12px; background: white; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; outline: none; }
.secret-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(17,101,60,.1); }
.ghost-button { padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--brand); font-weight: 720; }
.code-zone { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px; margin-top: 18px; padding: 20px; border-radius: 16px; color: white; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.code-caption { margin: 0 0 2px; color: rgba(255,255,255,.68); font-size: 12px; }
.otp-code { margin: 0; border: 0; padding: 0; color: white; background: transparent; font: 800 clamp(30px, 7vw, 44px)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.otp-code:hover { color: #f8dcae; }
.countdown-box { min-width: 84px; text-align: right; }
.countdown { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 760; }
.progress { --progress: 100%; width: 84px; height: 5px; overflow: hidden; border-radius: 10px; background: rgba(255,255,255,.2); }
.progress::after { content: ""; display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--accent); transition: width .2s linear; }
.card-foot { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 11px; color: var(--muted); font-size: 12px; }
[data-status][data-type="error"] { color: var(--danger); }
[data-status][data-type="success"] { color: var(--brand); }
.copy-button { border: 0; padding: 5px 9px; border-radius: 8px; color: var(--brand); background: #e4f3e8; font-weight: 750; }
.copy-button[data-copied="true"] { color: white; background: var(--brand); }
.add-button { width: 100%; margin-top: 16px; padding: 13px; border: 1px dashed #9fb8a5; border-radius: 14px; color: var(--brand); background: #f2f8f2; font-weight: 780; }
.add-button:hover { background: #e8f3e9; }
.local-note { max-width: 880px; margin: 14px auto 0; padding: 0 8px; color: #6d786f; font-size: 12px; text-align: center; }
.section { padding: 78px 0; }
.section-white { background: rgba(255,255,255,.65); border-block: 1px solid rgba(220,229,220,.8); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 12px; font-size: clamp(29px, 4vw, 42px); }
.section-head p { margin: 0; color: var(--muted); }
.steps, .feature-grid, .link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step, .feature-card, .link-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 28px; border-radius: 50%; color: white; background: var(--brand); font-weight: 820; }
.step h3, .feature-card h3, .link-card h3 { margin-bottom: 8px; font-size: 18px; }
.step p, .feature-card p, .link-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-icon { margin-bottom: 22px; color: var(--brand); font-size: 23px; font-weight: 900; }
.safety-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 86px); align-items: start; }
.safety-card { padding: 28px; border-radius: 24px; color: white; background: var(--brand-dark); }
.safety-card h2 { margin-bottom: 12px; font-size: 30px; }
.safety-card p { margin: 0; color: rgba(255,255,255,.74); }
.safety-list { display: grid; gap: 18px; }
.safety-item { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.safety-item:last-child { border-bottom: 0; }
.safety-item h3 { margin-bottom: 6px; font-size: 17px; }
.safety-item p { margin: 0; color: var(--muted); font-size: 14px; }
.faq { max-width: 850px; }
.faq details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 780; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; }
.link-card { display: block; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.link-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(28,61,42,.08); }
.link-card small { display: block; margin-top: 18px; color: var(--brand); font-weight: 750; }
.article-hero { padding: 66px 0 36px; }
.breadcrumb { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.breadcrumb a { text-decoration: none; }
.article-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(36px, 6vw, 60px); }
.article-summary { max-width: 760px; color: var(--muted); font-size: 18px; }
.article-meta { margin-top: 20px; color: #788279; font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 730px) 250px; gap: 72px; align-items: start; padding: 34px 0 90px; }
.prose h2 { margin-top: 48px; margin-bottom: 14px; font-size: 29px; }
.prose h3 { margin-top: 30px; margin-bottom: 10px; font-size: 21px; }
.prose p, .prose li { color: #4f5e55; }
.prose code { padding: 2px 6px; border-radius: 5px; background: #e7ede7; font-family: ui-monospace, monospace; }
.callout { margin: 28px 0; padding: 20px 22px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--surface-soft); }
.article-nav { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.article-nav strong { display: block; margin-bottom: 10px; }
.article-nav a { display: block; padding: 5px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.article-nav a:hover { color: var(--brand); }
.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #edf1eb; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer-brand p { max-width: 390px; color: var(--muted); font-size: 13px; }
.footer-links strong { display: block; margin-bottom: 10px; font-size: 14px; }
.footer-links a { display: block; padding: 3px 0; color: var(--muted); font-size: 13px; text-decoration: none; }
.copyright { margin-top: 30px; padding-top: 20px; border-top: 1px solid #d7ded6; color: #7b857d; font-size: 12px; }

@media (max-width: 800px) {
  .nav-links a:not(:last-child) { display: none; }
  .hero { padding-top: 52px; }
  .tool-heading, .safety-layout { display: block; }
  .privacy-state { margin-top: 14px; }
  .steps, .feature-grid, .link-grid { grid-template-columns: 1fr; }
  .safety-card { margin-bottom: 28px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1120px); }
  .nav { min-height: 62px; }
  .brand { font-size: 18px; }
  .hero { padding-top: 42px; }
  h1 { font-size: 40px; }
  .tool-panel { border-radius: 22px; padding: 14px; }
  .auth-card { padding: 15px; }
  .code-zone { grid-template-columns: 1fr; gap: 12px; }
  .countdown-box { display: flex; align-items: center; gap: 10px; text-align: left; }
  .countdown { margin: 0; }
  .otp-code { font-size: 31px; }
  .card-foot { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
