/* WBLink — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --white:      #ffffff;
  --bg:         #f8f9fb;
  --border:     #e8eaed;
  --border-lt:  #f0f2f5;
  --text-mute:  #6b7280;
  --text-body:  #374151;
  --text-head:  #111827;
  --accent:     #1d4ed8;
  --accent-dk:  #1e40af;
  --accent-lt:  #eff6ff;
  --accent-bd:  #bfdbfe;
  --nav-h:      64px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.09);
  --t:          0.18s ease;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Typography */
.label {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
h1.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--text-head); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 14px;
}
h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.8vw, 34px);
  color: var(--text-head); line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: 10px;
}
.lead { font-size: 16px; color: var(--text-mute); line-height: 1.7; max-width: 500px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: 1.5px solid transparent;
  transition: all var(--t); white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-1px); }
.btn-outline {
  background: #fff; color: var(--text-body); border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }
.btn-lg { padding: 12px 26px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* Navbar */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-mute);
  padding: 6px 12px; border-radius: 8px; transition: all var(--t);
}
.nav-links a:hover { color: var(--text-head); background: var(--bg); }
.nav-links a.active { color: var(--accent); background: var(--accent-lt); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  padding: 6px; background: none; border: none; border-radius: 6px;
}
.hamburger:hover { background: var(--bg); }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text-body); border-radius: 2px; }

/* Sections */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg); }
.section-hdr { margin-bottom: 44px; }
.section-hdr.center { text-align: center; }
.section-hdr.center .lead { margin: 0 auto; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.ic-blue   { background: #eff6ff; }
.ic-teal   { background: #f0fdfa; }
.ic-purple { background: #faf5ff; }
.ic-amber  { background: #fffbeb; }
.ic-rose   { background: #fff1f2; }
.ic-green  { background: #f0fdf4; }
.card-title { font-size: 15px; font-weight: 700; color: var(--text-head); margin-bottom: 8px; }
.card-desc  { font-size: 13px; color: var(--text-mute); line-height: 1.68; }

/* Dot list */
.dot-list { margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.dot-list li {
  font-size: 13px; color: var(--text-body);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.55;
}
.dot-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 5px;
}

/* Tag */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
  background: var(--bg); color: var(--text-body); border: 1px solid var(--border);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; gap: 14px;
  font-size: 14px; font-weight: 600; color: var(--text-head); user-select: none;
}
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px; color: var(--text-mute);
  transition: all var(--t);
}
.faq-a {
  font-size: 14px; color: var(--text-mute); line-height: 1.72;
  padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .2s ease;
}
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 18px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }

/* Page hero (inner pages) */
.page-hero {
  padding: 96px 0 52px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #f5f8ff 0%, #fff 55%, #f8f8ff 100%);
}
.page-hero-inner { max-width: 600px; }

/* Footer */
footer.site-footer {
  background: var(--text-head); color: rgba(255,255,255,.5);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .75; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.4); max-width: 200px; }
.footer-addr { font-size: 12px; line-height: 1.8; color: rgba(255,255,255,.28); margin-top: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.42); transition: color var(--t); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.38); transition: color var(--t); }
.footer-legal a:hover { color: rgba(255,255,255,.8); }

/* Legal pages */
.legal-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 52px; padding: 52px 0 72px; align-items: start; }
.legal-toc { position: sticky; top: 80px; }
.toc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--text-mute); margin-bottom: 12px; }
.toc-nav { display: flex; flex-direction: column; gap: 1px; }
.toc-nav a { font-size: 13px; color: var(--text-mute); padding: 5px 9px; border-radius: 6px; border-left: 2px solid transparent; transition: all var(--t); display: block; }
.toc-nav a:hover { color: var(--accent); background: var(--accent-lt); border-left-color: var(--accent); }
.toc-nav a.active { color: var(--accent); font-weight: 600; border-left-color: var(--accent); }
.toc-back { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.toc-back a { font-size: 13px; color: var(--text-mute); transition: color var(--t); }
.toc-back a:hover { color: var(--accent); }
.legal-body { max-width: 640px; }
.legal-sec { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border-lt); }
.legal-sec:last-child { border-bottom: none; margin-bottom: 0; }
.legal-sec-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin-bottom: 6px; }
.legal-sec h2 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text-head); margin-bottom: 12px; }
.legal-sec p { font-size: 14px; color: var(--text-body); line-height: 1.78; margin-bottom: 10px; }
.legal-sec p:last-child { margin-bottom: 0; }
.legal-sec ul { margin: 10px 0; display: flex; flex-direction: column; gap: 7px; }
.legal-sec ul li { font-size: 14px; color: var(--text-body); line-height: 1.65; padding-left: 16px; position: relative; }
.legal-sec ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.legal-note { background: var(--accent-lt); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 12px 15px; margin: 14px 0; font-size: 13px; color: var(--text-body); line-height: 1.68; }
.legal-contact { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-top: 14px; }
.legal-contact h3 { font-size: 14px; font-weight: 700; color: var(--text-head); margin-bottom: 8px; }
.legal-contact p { font-size: 13px; color: var(--text-mute); margin-bottom: 4px; }
.legal-contact a { color: var(--accent); }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .06s; }
.fade-up:nth-child(3) { transition-delay: .12s; }
.fade-up:nth-child(4) { transition-delay: .18s; }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
  .page-hero { padding: 82px 0 40px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
