:root {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Yu Gothic", sans-serif;
  color: #edf2ff;
  background: #0b0f19;
  line-height: 1.85;
  font-size: 16px;
}
body {
  margin: 0;
  background-color: #0b0f19;
}
main, header, footer {
  max-width: 820px;
  margin: auto;
  padding: 24px;
}
header {
  border-bottom: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header a.brand {
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  font-size: 1.1rem;
}
header a.brand:hover {
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.breadcrumb span.sep {
  color: #475569;
}

h1 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}
h2 {
  font-size: 1.4rem;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1e293b;
  color: #f1f5f9;
}
h3 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
}
p, li {
  color: #cbd5e1;
}
ul, ol {
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
a {
  color: #38bdf8;
  text-underline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

/* TOC (Table of Contents) */
.toc {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.toc-title {
  font-weight: 700;
  font-size: 1rem;
  color: #f3f4f6;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toc ul {
  margin: 0;
  padding-left: 1.25rem;
}
.toc li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

/* Pre / Code */
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #131d2e;
  border: 1px solid #1e2d42;
  border-radius: 10px;
  padding: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.6;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #1e293b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #7dd3fc;
}
pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Note / Callout */
.note {
  border-left: 4px solid #38bdf8;
  background: rgba(56, 189, 248, 0.06);
  padding: 12px 18px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
th, td {
  border-bottom: 1px solid #1e293b;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: #131d2e;
  color: #f1f5f9;
  font-weight: 600;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 2.5rem 0;
  text-align: center;
}
.cta-box h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #f8fafc;
}
.cta-box p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0.5rem auto 1.25rem auto;
}
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.cta-button:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Affiliate / PR styling */
.ad-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #334155;
  color: #94a3b8;
  vertical-align: middle;
  margin-left: 6px;
}
.ad-disclosure {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0.5rem 0 1rem 0;
}
.partner-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
  padding: 20px;
  margin: 1.5rem 0;
}

/* FAQ Block */
.faq-block {
  margin: 2rem 0;
}
.faq-item {
  border-bottom: 1px solid #1e293b;
  padding: 1.25rem 0;
}
.faq-q {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.faq-a {
  color: #94a3b8;
  margin: 0;
}

/* Flow step */
.step-item {
  background: #131d2e;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 1rem;
}
.step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

time {
  color: #64748b;
  font-size: 0.88rem;
}

/* Social Share Bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 10px;
}
.share-bar-label {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
}
.share-btn-x {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #000000;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #334155;
  text-decoration: none;
  transition: background 0.2s ease;
}
.share-btn-x:hover {
  background: #18181b;
  text-decoration: none;
}

footer {
  border-top: 1px solid #1e293b;
  margin-top: 3rem;
  color: #64748b;
  font-size: 0.9rem;
}
