:root {
  --brand: #1e5bff;
  --brand-shade: #1a50e0;
  --brand-tint: #3569ff;
  --brand-2: #00b48a;
  --on-brand: #ffffff;
  --gradient: linear-gradient(135deg, #1e5bff 0%, #00b48a 100%);
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e3e8ef;
  --text: #0f172a;
  --muted: #64748b;
  --link: #1a50e0;
  --success: #0f9f6e;
  --warning: #b45309;
  --danger: #dc2626;
  --tag-bg: rgba(30, 91, 255, 0.1);
  --hover: rgba(30, 91, 255, 0.06);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 6px 20px rgba(15, 23, 42, 0.1);
  --s1: 8px;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 40px;
  --s6: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-lg: 16px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 15px;
  --fs-body: 16px;
  --fs-lg: 18px;
  --fs-xl: 24px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #4d8dff;
    --brand-shade: #4479e0;
    --brand-tint: #5f98ff;
    --on-brand: #0b1220;
    --bg: #0e1117;
    --surface: #171b23;
    --surface-2: #1d222c;
    --border: #2a303c;
    --text: #e8ecf3;
    --muted: #98a2b3;
    --link: #7aa8ff;
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;
    --tag-bg: rgba(120, 160, 255, 0.14);
    --hover: rgba(120, 160, 255, 0.08);
    --shadow: none;
    --shadow-hover: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--text); line-height: 1.25; margin: 0 0 var(--s2); }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0 0 var(--s2); padding-left: 22px; }
li { margin: 4px 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-sm); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: var(--s2); min-height: 56px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none !important; }
  .logo-dark { display: block !important; }
}
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s1); }
.nav-links { display: none; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--text); text-decoration: none; font-weight: 500; font-size: var(--fs-md); border-radius: var(--radius-btn);
}
.nav-links a:hover { background: var(--hover); }
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: var(--radius-btn); border: 1px solid var(--border);
  font-weight: 600; font-size: var(--fs-sm); padding: 0 12px; color: var(--text);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); padding: var(--s1); display: flex; flex-direction: column;
}
.menu-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-btn);
  color: var(--text); text-decoration: none; font-weight: 500;
}
.menu-panel a:hover { background: var(--hover); }
.menu-panel hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; width: 100%; }
@media (min-width: 992px) {
  .nav-links { display: flex; align-items: center; gap: 2px; }
  .menu { display: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius-btn);
  font: inherit; font-weight: 600; font-size: var(--fs-md); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-shade); box-shadow: var(--shadow-hover); }
.btn-outline { background: var(--surface); color: var(--brand); border-color: var(--border); }
.btn-outline:hover { background: var(--hover); }
.btn-clear { background: transparent; color: var(--brand); }
.btn-clear:hover { background: var(--hover); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s3) 0; }
.topbar .btn-signin { display: none; }
@media (min-width: 600px) { .topbar .btn-signin { display: inline-flex; } }

.hero { padding: var(--s5) 0 var(--s4); }
.hero-grid { display: grid; gap: var(--s4); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; line-height: 22px; color: var(--brand); background: var(--tag-bg); margin-bottom: var(--s2);
}
.lead { font-size: var(--fs-lg); color: var(--text); }
.checked { font-size: var(--fs-sm); color: var(--muted); }
.checked strong { color: var(--text); font-weight: 600; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: var(--s3); position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }
.hero-card-title { display: flex; align-items: center; gap: 10px; font-weight: 650; margin: 4px 0 var(--s2); }
.hero-card-title img { width: 28px; height: 28px; border-radius: 8px; }
@media (min-width: 900px) {
  .hero { padding: var(--s6) 0 var(--s5); }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: var(--s5); }
  h1 { font-size: 42px; }
}

.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1); }
.stat-tile {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--s2) var(--s3); box-shadow: var(--shadow);
}
.stat-tile small { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.stat-tile b { font-size: var(--fs-md); font-weight: 650; color: var(--text); }
.hero-card .stat-tile { box-shadow: none; background: var(--surface-2); }

.section { padding: var(--s5) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: var(--s4); }
.answer { font-size: var(--fs-lg); }
.definition {
  border-left: 3px solid var(--brand-2); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--s2) var(--s3); margin: 0 0 var(--s3);
}
.section-alt .definition { background: var(--bg); }
.note { font-size: var(--fs-sm); color: var(--muted); max-width: 760px; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--s3); min-width: 0;
}
.section-alt .card { background: var(--surface-2); box-shadow: none; }
.card h3 { margin-bottom: var(--s1); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: 1fr; gap: var(--s2); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icon-dot {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: var(--s1);
  background: var(--gradient); color: #fff; font-weight: 700; font-size: 15px;
}

.tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; line-height: 20px; white-space: nowrap; }
.tag-blue { color: var(--brand); background: var(--tag-bg); }
.tag-green { color: var(--success); background: rgba(16, 185, 129, 0.14); }
.tag-amber { color: var(--warning); background: rgba(245, 158, 11, 0.18); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s2); }

.table-wrap {
  overflow-x: auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  text-align: left; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); background: var(--surface-2); padding: 10px 12px; border-bottom: 1px solid var(--border);
}
td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) td { background: var(--surface-2); }
td.count { width: 1%; font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--fs-lg); white-space: nowrap; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 340px)); gap: var(--s3); justify-content: center; }
.price-card { text-align: left; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }
.price-card .plan-name { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0; }
.price-card .plan-line { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0 0 var(--s2); }
.price-card .btn { width: 100%; margin-top: var(--s1); }

.placeholder {
  display: inline-block; padding: 0 6px; border-radius: 6px; font-weight: 600;
  background: rgba(245, 158, 11, 0.18); color: var(--warning); border: 1px dashed var(--warning);
}
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s1); }
.trust-list li { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.trust-list span:first-child { color: var(--muted); min-width: 150px; }
blockquote { margin: 0; padding: var(--s2) var(--s3); border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.faq { display: grid; gap: var(--s1); max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.section-alt .faq details { background: var(--surface-2); box-shadow: none; }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s2) var(--s3); min-height: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 700; font-size: 20px; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq summary h3 { margin: 0; font-size: 16px; }
.faq .faq-body { padding: var(--s2) var(--s3) var(--s1); }

.cta {
  background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: var(--s4);
  display: grid; gap: var(--s2); align-items: center;
}
.cta h2 { color: #fff; margin: 0; }
.cta p { margin: 0; color: rgba(255, 255, 255, 0.92); }
.cta .btn-light { background: #fff; color: #1a50e0; }
.cta .btn-light:hover { background: #eef3ff; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
@media (min-width: 800px) { .cta { grid-template-columns: 1fr auto; padding: var(--s5); } }

.footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--s5) 0 var(--s4); margin-top: var(--s5); font-size: var(--fs-md); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
.footer h2 { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s1); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text); text-decoration: none; }
.footer li a:hover { color: var(--brand); text-decoration: underline; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 30px; width: auto; margin-bottom: var(--s1); }
.footer-base { border-top: 1px solid var(--border); margin-top: var(--s4); padding-top: var(--s3); color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}

.simple { max-width: 560px; margin: var(--s6) auto; }
.simple .card { padding: var(--s4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.figure{margin:24px 0}
.figure img{display:block;max-width:600px;width:100%;height:auto;border-radius:12px}
.figure figcaption{font-size:13px;color:var(--muted,#64748B);margin-top:8px}

.lang-switch { margin: 0; white-space: nowrap; align-items: center; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.lang-switch a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: none; }
.topbar .lang-inline { display: none; }
.lang-menu { display: flex; flex-direction: column; }
.lang-menu .lang-switch { display: flex; padding: 0 6px; }
@media (min-width: 600px) {
  .topbar .lang-inline { display: inline-flex; }
  .lang-menu { display: none; }
}
