@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-canvas:      #F4F2F6;
  --bg-surface:     #FFFFFF;
  --bg-brand:       #161616;
  --accent:         #8560C1;
  --accent-light:   #B090F0;
  --text-primary:   #161616;
  --text-secondary: #7D7D7D;
  --text-tertiary:  #9F9E96;
  --border:         #D8D8D8;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-full:    100px;
  --shadow-low:     0 6px 30px rgba(22,22,22,0.04);
  --shadow-mid:     0 8px 30px rgba(22,22,22,0.08);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Commissioner', sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background orbs */
body::before, body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  opacity: 0.16;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 320px; height: 320px;
  background: #B090F0;
  top: -40px; left: -60px;
}
body::after {
  width: 300px; height: 300px;
  background: #E88569;
  bottom: 80px; right: -60px;
}

/* Layout */
.page-wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* Header / Nav */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  margin-bottom: 8px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-dot {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-brand);
  display: flex; align-items: center; justify-content: center;
}
.logo-dot svg { width: 18px; height: 18px; }
.logo-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.2px;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Hero / Page title */
.page-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.page-hero .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(133,96,193,0.08);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}
.page-hero .meta {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Content card */
.content-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-low);
  padding: 40px;
  margin-bottom: 16px;
}

/* Typography inside content */
.content-card h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-primary);
}
.content-card h2:first-child { margin-top: 0; }
.content-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--text-primary);
}
.content-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
}
.content-card ul, .content-card ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
.content-card li {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.7;
}
.content-card a {
  color: var(--accent);
  text-decoration: none;
}
.content-card a:hover { text-decoration: underline; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Commissioner', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  font-size: 14px;
  color: var(--text-secondary);
}
.faq-item.open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer p {
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 600px) {
  .page-wrap { padding: 0 16px 60px; }
  .content-card { padding: 24px; }
  .page-hero h1 { font-size: 22px; }
  .nav-links { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
