:root {
  --blue: #2563EB;
  --blue-dark: #1E40AF;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #eef2ff;
  --bg: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--muted); }
@media (max-width: 560px){ .nav-links { display: none; } }

/* Hero */
.hero { text-align: center; padding: 56px 0 40px; }
.hero img { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 12px 30px rgba(37,99,235,.25); }
.hero h1 { font-size: 40px; font-weight: 800; margin-top: 22px; color: var(--blue); letter-spacing: -.5px; }
.hero .slogan { color: var(--muted); font-size: 18px; margin-top: 6px; font-weight: 600; }
.hero p.desc { max-width: 560px; margin: 18px auto 0; color: #334155; font-size: 17px; }
.badges { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: 14px; opacity: .55;
}

/* Features */
.section { padding: 40px 0; }
.section h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 26px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 560px){ .grid { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--soft);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 800; }
.card p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Legal / article */
.article { padding: 40px 0 20px; }
.article h1 { font-size: 30px; font-weight: 800; }
.article .updated { color: var(--muted); font-size: 14px; margin: 6px 0 26px; }
.article h2 { font-size: 20px; font-weight: 800; margin: 28px 0 8px; }
.article p, .article li { color: #334155; font-size: 16px; margin-top: 8px; }
.article ul { padding-left: 22px; }
.article strong { color: var(--ink); }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 50px; }
footer .wrap { text-align: center; color: var(--muted); font-size: 14px; }
footer .flinks { display: flex; gap: 18px; justify-content: center; margin-bottom: 14px; flex-wrap: wrap; }
footer .flinks a { color: var(--muted); font-weight: 600; }

@media (prefers-color-scheme: dark) {
  :root { --ink:#f1f5f9; --muted:#94a3b8; --line:#1e293b; --soft:#1e293b; --bg:#0b1220; }
  .badge { background:#1e293b; }
  .nav { background: rgba(11,18,32,.9); }
}
