@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── Variables ─────────────────────────────────── */
:root {
  --bg:         #0c0e0f;
  --bg-card:    #141618;
  --bg-card-2:  #1a1d1f;
  --border:     #252a2d;
  --accent:     #3ddc84;
  --accent-h:   #56f098;
  --accent-dim: rgba(61, 220, 132, .09);
  --accent-b:   rgba(61, 220, 132, .25);
  --text:       #dde1e7;
  --muted:      #7a8898;
  --dim:        #3d454e;
  --r:          6px;
  --r-lg:       10px;
  --mw:         940px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Typography ─────────────────────────────────── */
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; color: #fff; }
h2 { font-size: clamp(1.2rem, 2.8vw, 1.6rem); font-weight: 700; line-height: 1.3; color: #fff; }
h3 { font-size: 1.025rem; font-weight: 600; color: var(--accent); line-height: 1.4; }
p  { margin-bottom: 14px; color: var(--text); }
p:last-child { margin-bottom: 0; }

/* ─── Layout ─────────────────────────────────────── */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(36px, 5.5vw, 64px) 0; }

/* ─── Section divider ────────────────────────────── */
.sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(0px, 0vw, 0px) 0;
  pointer-events: none;
  user-select: none;
}
.sep::before, .sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sep span {
  color: var(--dim);
  font-size: .44rem;
  letter-spacing: 4px;
  flex-shrink: 0;
}

/* ─── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 14, 15, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .18s;
  flex-shrink: 0;
}
.logo:hover { opacity: .8; text-decoration: none; }
.logo-svg { width: 26px; height: 26px; flex-shrink: 0; }
.header-cta { display: flex; gap: 10px; align-items: center; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--r);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #0c0e0f;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-b);
}
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-lg { padding: 13px 32px; font-size: .975rem; border-radius: var(--r-lg); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12,14,15,.5) 0%, var(--bg) 78%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--mw);
  margin: 0 auto;
  padding: clamp(52px, 9vw, 96px) 20px clamp(44px, 7vw, 80px);
}
.hero-content h1 { max-width: 780px; margin-bottom: 22px; }
.hero-lead {
  font-size: 1.025rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Page hero (subpages) ───────────────────────── */
.page-hero {
  padding: clamp(36px, 6.5vw, 76px) 0 clamp(28px, 4.5vw, 52px);
  border-bottom: 1px solid var(--border);
}
.page-hero .container { display: flex; flex-direction: column; gap: 10px; }
.page-hero h1 { max-width: 720px; }
.breadcrumb { font-size: .82rem; color: var(--dim); display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); transition: color .18s; }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb-sep { color: var(--dim); }

/* ─── Section heading ────────────────────────────── */
.sec-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: clamp(18px, 3vw, 26px);
}
.drgn-icon { flex-shrink: 0; width: 20px; height: 20px; margin-top: 4px; color: var(--accent); }
.sec-head h2 { margin: 0; }

/* ─── Cards ──────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 14px;
}
.card:last-child { margin-bottom: 0; }
.card-accent { border-color: var(--accent-b); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

/* ─── Content typography ─────────────────────────── */
.content h3,
.card h3 {
  margin: 24px 0 10px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--accent);
}
.content h3:first-child,
.card h3:first-child { margin-top: 0; }
.content p { color: var(--text); margin-bottom: 14px; }
.content p:last-child { margin-bottom: 0; }
.content ul, .content ol { padding-left: 22px; margin-bottom: 14px; }
.content li { margin-bottom: 6px; color: var(--text); }
.card p { color: var(--text); }

/* Accent bullet list */
.list-a {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.list-a li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .95rem;
}
.list-a li:last-child { border-bottom: none; padding-bottom: 0; }
.list-a li::before {
  content: '◆';
  color: var(--accent);
  font-size: .45rem;
  flex-shrink: 0;
  margin-top: 10px;
}

/* Steps (numbered with circles) */
.steps-ol {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin-bottom: 16px;
}
.steps-ol li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: steps;
  margin-bottom: 12px;
  color: var(--text);
  font-size: .95rem;
}
.steps-ol li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--accent-b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}
.steps-ol li:last-child { margin-bottom: 0; }

/* ─── Table ──────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
  background: var(--bg-card-2);
  color: var(--accent);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .018); }

/* ─── FAQ (details/summary) ──────────────────────── */
.faq-list { margin-top: 6px; }
details {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 8px;
  overflow: hidden;
}
details[open] { border-color: var(--accent-b); }
summary {
  padding: 14px 18px;
  font-weight: 600;
  font-size: .93rem;
  cursor: pointer;
  background: var(--bg-card);
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary span.faq-q { flex: 1; }
.faq-toggle {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
  transition: transform .2s ease;
}
details[open] .faq-toggle { transform: rotate(45deg); }
.faq-body {
  padding: 6px 18px 16px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.72;
}
.faq-body p { color: var(--muted); font-size: .92rem; }

/* ─── CTA Box ────────────────────────────────────── */
.cta-box {
  background: var(--accent-dim);
  border: 1px solid var(--accent-b);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 48px) clamp(20px, 4vw, 44px);
  text-align: center;
  margin: clamp(28px, 4vw, 40px) 0;
}
.cta-box h3 {
  color: #fff;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  margin-bottom: 10px;
  border: none;
  padding: 0;
}
.cta-box p { color: var(--muted); margin-bottom: 24px; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ─── Note box ───────────────────────────────────── */
.note-box {
  background: var(--bg-card-2);
  border-left: 2px solid var(--accent-b);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 14px 16px;
  margin: 16px 0;
}
.note-box p { color: var(--muted); font-size: .9rem; }
.note-box strong { color: var(--text); }

/* Legal note */
.legal-note {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 16px;
  margin: 20px 0;
  font-size: .855rem;
  color: var(--dim);
  font-style: italic;
  line-height: 1.65;
}
.legal-note strong { color: var(--muted); font-style: normal; }

/* ─── Verdict list ───────────────────────────────── */
.verdict-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.verdict-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .95rem;
}
.verdict-list li:last-child { border-bottom: none; padding-bottom: 0; }
.vcheck { flex-shrink: 0; width: 15px; height: 15px; color: var(--accent); margin-top: 5px; }

/* ─── RG assessment list ─────────────────────────── */
.assess-list {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.assess-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  background: var(--bg-card-2);
  border-left: 2px solid var(--accent-b);
  border-radius: 0 var(--r) var(--r) 0;
  margin-bottom: 8px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.6;
}
.assess-list li::before {
  content: '?';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  font-size: .88rem;
  margin-top: 1px;
}

/* Resources grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
}
.resource-card h4 {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.resource-card p { font-size: .845rem; color: var(--muted); margin: 0; }
.resource-card a { font-size: .845rem; }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  background: #0a0c0d;
  border-top: 1px solid var(--border);
  padding: clamp(36px, 5.5vw, 60px) 0 24px;
  margin-top: clamp(20px, 3vw, 32px);
}
.footer-inner { max-width: var(--mw); margin: 0 auto; padding: 0 20px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-logo:hover { opacity: .8; text-decoration: none; }
.footer-logo svg { width: 20px; height: 20px; }
.footer-tagline { font-size: .8rem; color: var(--dim); margin-bottom: 26px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.footer-nav a { font-size: .84rem; color: var(--muted); transition: color .18s; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.footer-disclaimer { font-size: .77rem; color: var(--dim); line-height: 1.65; }
.footer-disclaimer a { color: var(--dim); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--muted); }

/* ─── Logo image ─────────────────────────────────── */
.logo-img { height: 40px; width: auto; display: block; flex-shrink: 0; }
.footer-logo .logo-img { height: 28px; }

/* ─── Inline banners (distributed through content) ── */
.banner-inline { padding: clamp(12px, 2vw, 20px) 0; }
.banner-item {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .2s, transform .18s;
  line-height: 0;
}
.banner-item:hover { border-color: var(--accent-b); transform: translateY(-2px); text-decoration: none; }
.banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .header-cta .btn-outline { display: none; }
  table { min-width: 440px; }
  .card-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { width: 100%; }
}
@media (max-width: 400px) {
  .logo span { display: none; }
}
