:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --soft: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 88px 0; }
.light-section { background: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--blue), #38bdf8); }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 14px; color: #334155; }
.nav-cta { color: #fff; background: var(--text); padding: 10px 15px; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 27px; }

.hero { overflow: hidden; background: radial-gradient(circle at top right, #dbeafe 0%, transparent 34%), linear-gradient(180deg, #fff, #f8fafc); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; color: var(--blue); background: #eff6ff; border: 1px solid #bfdbfe; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: .96; letter-spacing: -0.075em; margin: 20px 0 22px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.055em; margin: 16px 0; }
h3 { font-size: 19px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }
.hero-text { font-size: 19px; color: var(--muted); max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 32px 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue), #38bdf8); box-shadow: 0 16px 36px rgba(37, 99, 235, .28); }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); }
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; color: #334155; font-weight: 700; font-size: 14px; }

.hero-panel { background: rgba(255,255,255,.88); border: 1px solid var(--border); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); transform: rotate(1deg); }
.panel-top { display: flex; gap: 8px; margin-bottom: 18px; }
.panel-top span { width: 11px; height: 11px; border-radius: 999px; background: #cbd5e1; }
.status-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; margin: 12px 0; }
.status-card small, .mini-grid small { display: block; color: var(--muted); margin-top: 3px; }
.status-card b { color: var(--blue); background: #eff6ff; padding: 7px 10px; border-radius: 999px; font-size: 12px; }
.success b { color: #047857; background: #ecfdf5; }
.warning b { color: #b45309; background: #fffbeb; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.mini-grid div { background: #f8fafc; border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.mini-grid strong { font-size: 26px; letter-spacing: -0.05em; }

.section-head { max-width: 720px; margin-bottom: 34px; }
.row-head { max-width: 100%; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.issue-grid, .guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .guide-card, .steps article { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 16px 48px rgba(15, 23, 42, .055); }
.card p, .guide-card p, .steps p, .muted { color: var(--muted); }
.icon { font-size: 28px; display: inline-block; margin-bottom: 16px; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.text-link { color: var(--blue); font-weight: 800; }
.service-list { display: grid; gap: 16px; }
.service-list div { padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: white; }
.service-list span { font-weight: 800; display: block; margin-bottom: 12px; }
.service-list b { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), #38bdf8); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--text); color: white; font-weight: 900; margin-bottom: 18px; }
.guide-card { display: block; transition: transform .2s ease, border-color .2s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: #93c5fd; }
.cta-section { padding-top: 34px; }
.cta-box { text-align: center; background: linear-gradient(135deg, #0f172a, #1e3a8a); color: white; border-radius: 32px; padding: 64px 28px; box-shadow: var(--shadow); }
.cta-box p { color: #cbd5e1; max-width: 560px; margin: 0 auto; }
.centered { justify-content: center; }
.cta-box .btn-secondary { background: rgba(255,255,255,.09); color: white; border-color: rgba(255,255,255,.22); }

.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); }
.footer strong { color: var(--text); }
.footer p { margin: 0; }

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero-grid, .split-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { transform: none; }
  .issue-grid, .guide-grid, .steps { grid-template-columns: 1fr; }
  .row-head { display: block; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .trust-row { display: grid; gap: 8px; }
}

/* Knowledge base expansion */
.guide-tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.kb-cta {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.kb-cta p { margin: 0; color: var(--muted); font-weight: 700; }
.article-hero { background: linear-gradient(180deg, #eff6ff, #fff); padding: 74px 0 42px; }
.article-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.breadcrumb { color: var(--muted); font-weight: 700; font-size: 14px; margin-bottom: 26px; display: inline-block; }
.article-hero h1 { font-size: clamp(36px, 6vw, 62px); margin-bottom: 16px; }
.article-summary { font-size: 19px; color: var(--muted); }
.article-content { padding: 46px 0 82px; }
.article-content h2 { font-size: clamp(25px, 4vw, 36px); margin-top: 42px; }
.article-content h3 { margin-top: 26px; }
.article-content p, .article-content li { color: #475569; font-size: 17px; }
.article-content ul, .article-content ol { padding-left: 22px; }
.tip-box, .checklist-box {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  margin: 28px 0;
  background: #f8fafc;
}
.tip-box strong, .checklist-box strong { color: var(--text); }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-nav a { color: var(--blue); font-weight: 800; }
@media (max-width: 860px) {
  .kb-cta { display: block; }
  .kb-cta .btn { margin-top: 16px; }
  .article-wrap { width: min(100% - 28px, 820px); }
  .article-nav { flex-direction: column; }
}
