/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --gold:        #c8993a;
  --gold-dark:   #a07824;
  --gold-light:  #f5e6c3;
  --gold-bg:     #fffbf0;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-tint:   #eff6ff;
  --green:       #10b981;
  --green-tint:  #f0fdf4;
  --navy:        #0f172a;
  --body:        #475569;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --surface:     #f8fafc;
}

/* ── Page shell ─────────────────────────────────────────────── */
.dsa-page { padding: 0 0 100px; }
.dsa-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }

/* ── Hero — Aurora Borealis / Northern Lights ───────────────────── */
.dsa-hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: #020b12;
}

/* Star field base — twinkling */
.dsa-hero-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 8%  12%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 18% 38%, rgba(180,220,255,.85) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 27% 6%,  rgba(255,255,255,.95) 0%, transparent 100%),
    radial-gradient(1px 1px at 38% 24%, rgba(200,230,255,.8) 0%, transparent 100%),
    radial-gradient(2px 2px at 47% 16%, rgba(255,255,255,1) 0%, transparent 100%),
    radial-gradient(1px 1px at 56% 32%, rgba(160,210,255,.85) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 9%,  rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 77% 28%, rgba(255,240,200,.85) 0%, transparent 100%),
    radial-gradient(2px 2px at 86% 14%, rgba(255,255,255,1) 0%, transparent 100%),
    radial-gradient(1px 1px at 94% 40%, rgba(200,220,255,.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 6%  58%, rgba(255,255,255,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 14% 72%, rgba(180,220,255,.75) 0%, transparent 100%),
    radial-gradient(2px 2px at 24% 52%, rgba(255,255,255,1) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 68%, rgba(255,230,200,.8) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 43% 62%, rgba(200,230,255,.85) 0%, transparent 100%),
    radial-gradient(1px 1px at 54% 76%, rgba(255,255,255,.8) 0%, transparent 100%),
    radial-gradient(2px 2px at 63% 54%, rgba(255,255,255,1) 0%, transparent 100%),
    radial-gradient(1px 1px at 73% 70%, rgba(180,220,255,.85) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 82% 60%, rgba(255,240,200,.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 92% 74%, rgba(200,230,255,.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 88%, rgba(255,255,255,.75) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 36% 92%, rgba(180,220,255,.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 86%, rgba(255,230,200,.75) 0%, transparent 100%),
    radial-gradient(2px 2px at 79% 90%, rgba(255,255,255,.95) 0%, transparent 100%),
    #020b12;
  pointer-events: none;
  z-index: 0;
  animation: star-twinkle 3.5s ease-in-out infinite;
}
@keyframes star-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.dsa-hero-wrap::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 0;
  background: none;
  z-index: 5;
  pointer-events: none;
}

/* ── Aurora curtain layers ──────────────────────────────────── */
.aurora-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.aurora-band {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0;
  transform-origin: center bottom;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

.aurora-band-1 {
  width: 130%; height: 55%;
  left: -15%; top: 5%;
  background: radial-gradient(ellipse 70% 55% at 50% 50%,
    rgba(32,220,160,.95) 0%,
    rgba(0,200,140,.6) 40%,
    transparent 75%);
  animation: aurora-drift-1 5s ease-in-out infinite;
}
.aurora-band-2 {
  width: 110%; height: 45%;
  left: -5%; top: 18%;
  background: radial-gradient(ellipse 65% 50% at 50% 40%,
    rgba(50,255,120,.85) 0%,
    rgba(20,200,100,.5) 45%,
    transparent 75%);
  animation: aurora-drift-2 6s ease-in-out infinite;
}
.aurora-band-3 {
  width: 100%; height: 50%;
  left: 0%; top: 0%;
  background: radial-gradient(ellipse 60% 45% at 55% 35%,
    rgba(140,90,255,.9) 0%,
    rgba(90,50,230,.55) 50%,
    transparent 78%);
  animation: aurora-drift-3 7s ease-in-out infinite;
}
.aurora-band-4 {
  width: 80%; height: 60%;
  right: -10%; top: -10%;
  background: radial-gradient(ellipse 55% 60% at 60% 40%,
    rgba(0,230,255,.8) 0%,
    rgba(0,180,220,.45) 50%,
    transparent 78%);
  animation: aurora-drift-4 5.5s ease-in-out infinite;
}
.aurora-band-5 {
  width: 70%; height: 55%;
  left: -5%; top: -15%;
  background: radial-gradient(ellipse 55% 50% at 40% 50%,
    rgba(220,70,200,.8) 0%,
    rgba(180,50,160,.45) 55%,
    transparent 80%);
  animation: aurora-drift-5 6.5s ease-in-out infinite;
}
.aurora-band-6 {
  width: 100%; height: 70%;
  left: 0; top: 10%;
  background: radial-gradient(ellipse 80% 65% at 50% 50%,
    rgba(0,100,200,.8) 0%,
    rgba(0,50,130,.5) 55%,
    transparent 80%);
  animation: aurora-drift-6 8s ease-in-out infinite;
}
.aurora-band-7 {
  width: 75%; height: 50%;
  right: 5%; top: 25%;
  background: radial-gradient(ellipse 55% 50% at 50% 50%,
    rgba(255,150,40,.75) 0%,
    rgba(220,100,20,.4) 55%,
    transparent 80%);
  animation: aurora-drift-7 6s ease-in-out infinite;
}
.aurora-band-8 {
  width: 65%; height: 45%;
  left: 10%; top: 30%;
  background: radial-gradient(ellipse 55% 50% at 45% 50%,
    rgba(255,60,90,.7) 0%,
    rgba(200,30,70,.4) 55%,
    transparent 80%);
  animation: aurora-drift-8 7.5s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
  0%   { opacity: 1;   transform: translateX(0%)   translateY(0%)  scaleX(1)    scaleY(1); }
  25%  { opacity: .85; transform: translateX(10%)  translateY(-12%) scaleX(1.12) scaleY(.85); }
  50%  { opacity: 1;   transform: translateX(-8%)  translateY(8%)  scaleX(.9)   scaleY(1.15); }
  75%  { opacity: .9;  transform: translateX(6%)   translateY(-5%) scaleX(1.08) scaleY(.92); }
  100% { opacity: 1;  transform: translateX(0%)   translateY(0%)  scaleX(1)    scaleY(1); }
}
@keyframes aurora-drift-2 {
  0%   { opacity: .9;  transform: translateX(0%)   translateY(0%)  scaleX(1)    skewX(0deg); }
  30%  { opacity: 1;   transform: translateX(-12%)  translateY(10%) scaleX(1.15) skewX(5deg); }
  60%  { opacity: .85; transform: translateX(14%)  translateY(-8%) scaleX(.88)  skewX(-5deg); }
  100% { opacity: .9;  transform: translateX(0%)   translateY(0%)  scaleX(1)    skewX(0deg); }
}
@keyframes aurora-drift-3 {
  0%   { opacity: .85; transform: translateX(0%)  translateY(0%)   scaleY(1); }
  35%  { opacity: 1;   transform: translateX(8%)  translateY(-14%) scaleY(1.18); }
  70%  { opacity: .8;  transform: translateX(-10%) translateY(6%)   scaleY(.88); }
  100% { opacity: .85; transform: translateX(0%)  translateY(0%)   scaleY(1); }
}
@keyframes aurora-drift-4 {
  0%   { opacity: .9;  transform: translateX(0%)   translateY(0%)  scaleX(1); }
  40%  { opacity: 1;   transform: translateX(-14%) translateY(10%) scaleX(.88); }
  80%  { opacity: .85; transform: translateX(10%)  translateY(-12%) scaleX(1.12); }
  100% { opacity: .9;  transform: translateX(0%)   translateY(0%)  scaleX(1); }
}
@keyframes aurora-drift-5 {
  0%   { opacity: .8;  transform: translateX(0%)  translateY(0%); }
  45%  { opacity: 1;   transform: translateX(12%) translateY(-10%); }
  90%  { opacity: .85; transform: translateX(-8%) translateY(12%); }
  100% { opacity: .8;  transform: translateX(0%)  translateY(0%); }
}
@keyframes aurora-drift-6 {
  0%   { opacity: .85; transform: translateY(0%)   scaleX(1); }
  50%  { opacity: 1;   transform: translateY(-8%)  scaleX(1.08); }
  100% { opacity: .85; transform: translateY(0%)   scaleX(1); }
}
@keyframes aurora-drift-7 {
  0%   { opacity: .8;  transform: translateX(0%)  translateY(0%)  scaleX(1); }
  35%  { opacity: 1;   transform: translateX(-10%) translateY(-8%) scaleX(1.1); }
  70%  { opacity: .85; transform: translateX(8%)  translateY(6%)  scaleX(.92); }
  100% { opacity: .8;  transform: translateX(0%)  translateY(0%)  scaleX(1); }
}
@keyframes aurora-drift-8 {
  0%   { opacity: .75; transform: translateX(0%)  translateY(0%); }
  40%  { opacity: .95; transform: translateX(10%) translateY(-10%); }
  80%  { opacity: .8;  transform: translateX(-8%) translateY(8%); }
  100% { opacity: .75; transform: translateX(0%)  translateY(0%); }
}

/* ── Hero layout ────────────────────────────────────────────── */
.dsa-hero { display: grid; gap: 48px; grid-template-columns: 1fr 1fr; align-items: start; position: relative; z-index: 1; }
.dsa-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(200,153,58,.35);
  background: rgba(200,153,58,.1);
  color: #f5e6c3; font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.dsa-hero h1 { margin: 0 0 18px; font-size: clamp(28px, 4vw, 50px); line-height: 1.12; font-weight: 800; color: #f8fafc; letter-spacing: -.01em; }
.dsa-hero h1 span { color: #fbbf24; }
.dsa-hero p { margin: 0 0 14px; color: #cbd5e1; max-width: 58ch; font-size: 16px; line-height: 1.7; }
.dsa-hero p.dsa-hero-lead { color: #e2e8f0; font-size: 17px; font-weight: 500; margin-bottom: 24px; }
.dsa-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dsa-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: rgba(248,250,252,0.08);
  border: 1px solid rgba(248,250,252,0.15);
  border-radius: 12px;
  min-height: 75px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.dsa-hero-stat:hover {
  transform: translateY(-2px);
  background: rgba(248,250,252,0.12);
  border-color: rgba(251,191,36,0.4);
}
.dsa-hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
}
.dsa-hero-stat-label {
  font-size: 11px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 5px;
  font-weight: 600;
}

/* ── Demo panel ─────────────────────────────────────────────── */
.dsa-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px -10px rgba(15,23,42,.25), 0 4px 16px rgba(15,23,42,.08);
  padding: 28px;
  position: relative;
}
.dsa-panel::before {
  content: '';
  position: absolute;
  inset: -1px; border-radius: 21px;
  background: linear-gradient(135deg, rgba(200,153,58,.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.dsa-panel > * { position: relative; z-index: 1; }
.dsa-panel-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.dsa-panel-label::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,.08); }
}
.dsa-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dsa-section-title { margin: 0 0 8px; font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.dsa-small-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.dsa-active-key-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(16,185,129,.45); border-radius: 999px; padding: 6px 10px; background: rgba(16,185,129,.08); color: #065f46; font-size: 12px; white-space: nowrap; }
.dsa-active-key-badge[hidden] { display: none; }
.dsa-active-key-badge strong { font-weight: 700; color: #047857; }
.dsa-active-key-remove { width: 22px; height: 22px; border-radius: 999px; border: 1px solid rgba(239,68,68,.4); display: inline-flex; align-items: center; justify-content: center; background: rgba(239,68,68,.08); color: #b91c1c; box-shadow: none; padding: 0; font-size: 12px; cursor: pointer; }
.dsa-active-key-remove:hover { background: rgba(239,68,68,.15); }
.dsa-request-key-head { margin-left: auto; }

.dsa-search-row { margin-top: 16px; display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.dsa-key-gate { margin-top: 12px; display: grid; gap: 10px; }
.dsa-key-row { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.dsa-key-note { margin: 0; font-size: 13px; color: var(--muted); }
.dsa-key-note strong { color: var(--blue-dark); }
.dsa-request-key { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(16,185,129,.45); border-radius: 10px; padding: 10px 14px; text-decoration: none; color: #065f46; font-size: 13px; font-weight: 600; background: rgba(16,185,129,.08); transition: .2s ease; }
.dsa-request-key:hover { background: rgba(16,185,129,.14); }

.dsa-input { width: 100%; font: inherit; color: var(--navy); background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px; transition: .15s ease; font-size: 15px; }
.dsa-input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.12); background: #fff; }
.dsa-btn { border: 0; border-radius: 12px; padding: 12px 20px; background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(37,99,235,.28); transition: transform .12s ease, filter .12s ease, box-shadow .12s ease; white-space: nowrap; }
.dsa-btn:hover { filter: brightness(1.07); box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.dsa-btn:active { transform: translateY(1px); box-shadow: none; }
.dsa-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.dsa-btn:focus-visible, .dsa-request-key:focus-visible, .dsa-cta-btn-primary:focus-visible, .dsa-cta-btn-secondary:focus-visible { outline: 3px solid rgba(37,99,235,.35); outline-offset: 2px; }
.dsa-btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.dsa-btn-gold { background: linear-gradient(135deg, #a07824, #c8993a); box-shadow: 0 4px 16px rgba(200,153,58,.3); }
.dsa-btn-gold:hover { box-shadow: 0 6px 20px rgba(200,153,58,.4); }

#dsa-result { display: none; margin-top: 14px; border-radius: 14px; padding: 14px 16px; border: 1px solid; font-size: 15px; }
#dsa-result.available { background: var(--green-tint); color: #14532d; border-color: #bbf7d0; }
#dsa-result.taken { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
#dsa-result.error { background: #fffbeb; color: #92400e; border-color: #fde68a; }
#dsa-result.loading, #dsa-result.info { background: var(--blue-tint); color: #1e3a8a; border-color: #bfdbfe; }
.dsa-result-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dsa-result-main { min-width: 0; }
.dsa-result-title { font-size: 20px; line-height: 1.2; margin: 0; word-break: break-word; font-weight: 700; }
.dsa-result-status { margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .65; }
.dsa-result-note { margin-top: 6px; font-size: 15px; font-weight: 600; }
.dsa-result-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.dsa-result-price { font-size: 19px; color: var(--navy); font-weight: 800; line-height: 1.1; white-space: nowrap; text-align: right; }
.dsa-result-price small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 700; }
.dsa-buy-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 10px; padding: 10px 16px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 4px 12px rgba(16,185,129,.35); transition: filter .12s; }
.dsa-buy-link:hover { filter: brightness(1.07); }

/* ── Demo panel title (demo mode only) ──────────────────────── */
.dsa-demo-panel-title { margin-bottom: 6px; }
.dsa-demo-panel-h2 {
  margin: 2px 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.dsa-demo-panel-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
}

/* ── Result label ───────────────────────────────────────────── */
.dsa-result-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  margin-bottom: 4px;
}

/* ── Section shared ─────────────────────────────────────────── */
.dsa-section { padding: 64px 0; }
.dsa-section + .dsa-section { border-top: 1px solid var(--border); }
.dsa-section-header { margin-bottom: 36px; }
.dsa-section-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); background: var(--gold-bg); border: 1px solid var(--gold-light); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.dsa-section-title-lg { margin: 0 0 10px; font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -.01em; }

/* ── Integration cards ──────────────────────────────────────── */
.dsa-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsa-card {
  padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
  display: flex; flex-direction: column; gap: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.dsa-card:hover { box-shadow: 0 8px 32px rgba(15,23,42,.10); transform: translateY(-2px); }
.dsa-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.dsa-card-icon-blue  { background: var(--blue-tint); color: var(--blue-dark); }
.dsa-card-icon-gold  { background: var(--gold-bg);   color: var(--gold-dark); }
.dsa-card-icon-green { background: var(--green-tint); color: #047857; }
.dsa-card-icon-navy  { background: #f1f5f9;           color: #334155; }
.dsa-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--navy); }
.dsa-card p { margin: 0 0 14px; color: var(--body); font-size: 14px; line-height: 1.6; }
.dsa-card li { color: var(--body); font-size: 14px; line-height: 1.65; }
.dsa-card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.dsa-card ul li { display: flex; align-items: flex-start; gap: 8px; }
.dsa-card ul li::before {
  content: '';
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); margin-top: 7px; flex-shrink: 0;
}
.dsa-card-footer { margin-top: auto; padding-top: 16px; }

/* ── Code blocks ────────────────────────────────────────────── */
.dsa-code-wrap { margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid #1e293b; }
.dsa-code-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #1e293b; padding: 9px 14px;
}
.dsa-code-lang { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.dsa-code-dots { display: flex; gap: 5px; }
.dsa-code-dots span { width: 9px; height: 9px; border-radius: 50%; }
.dsa-code-dots .d-red   { background: #ef4444; opacity: .7; }
.dsa-code-dots .d-amber { background: #f59e0b; opacity: .7; }
.dsa-code-dots .d-green { background: #10b981; opacity: .7; }
.dsa-code-block {
  background: #0f172a; padding: 16px; overflow: auto;
  color: #e2e8f0; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre; margin: 0;
}
.dsa-card > .dsa-code-block { margin-top: 10px; border-radius: 12px; border: 1px solid #1e293b; }
#dsa-usage .dsa-code-block { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; overflow-x: visible; }
.dsa-copy-btn { margin-top: 10px; width: 100%; }
.dsa-code-block::-webkit-scrollbar { height: 8px; width: 8px; }
.dsa-code-block::-webkit-scrollbar-thumb { background: rgba(37,99,235,.45); border-radius: 999px; }
.dsa-code-block::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
/* Syntax highlight colours */
.t-k  { color: #93c5fd; }
.t-s  { color: #86efac; }
.t-n  { color: #fde68a; }
.t-p  { color: #f9a8d4; }
.t-c  { color: #64748b; font-style: italic; }

/* ── Pricing section ────────────────────────────────────────── */
.dsa-pricing-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsa-price-card {
  padding: 30px; border-radius: 20px; border: 1px solid var(--border);
  background: #fff; box-shadow: 0 2px 16px rgba(15,23,42,.05);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.dsa-price-card:hover { box-shadow: 0 12px 40px rgba(15,23,42,.10); transform: translateY(-3px); }
.dsa-price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(200,153,58,.2), 0 2px 8px rgba(15,23,42,.06);
  background: linear-gradient(160deg, #fffbf0 0%, #fff 60%);
}
.dsa-price-card.featured:hover { box-shadow: 0 12px 40px rgba(200,153,58,.25); }
.dsa-price-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--gold); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.dsa-price-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.dsa-price-card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--navy); }
.dsa-price-tagline { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.dsa-price-divider { height: 1px; background: var(--border); margin: 0 0 20px; }
.dsa-price-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; }
.dsa-price-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--body); line-height: 1.5; }
.dsa-price-feat-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.dsa-price-cta { margin-top: 24px; }

/* ── TLD browser panel ──────────────────────────────────────── */
.dsa-panel { border: 1px solid var(--border); background: #fff; border-radius: 20px; box-shadow: 0 4px 24px rgba(15,23,42,.07); padding: 28px; }
.dsa-tld-toolbar { margin-top: 0; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.dsa-tld-toolbar-left, .dsa-tld-toolbar-right { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dsa-tld-toolbar-right { margin-left: auto; justify-content: flex-end; }
.dsa-tld-search { max-width: 260px; }
.dsa-tld-count { font-size: 13px; color: var(--muted); }
.dsa-tld-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.dsa-tld-item {
  text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; padding: 8px 8px 7px; color: #334155; font-size: 13px; font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.dsa-tld-item:hover { background: var(--gold-bg); border-color: var(--gold-light); color: var(--gold-dark); }
.dsa-tld-item--af { background: linear-gradient(135deg, #004f71 0%, #1e6e4a 100%); border-color: #0f766e; color: #fff; }
.dsa-tld-item--af:hover { background: linear-gradient(135deg, #0f766e 0%, #045c4a 100%); border-color: #0d9488; }
.dsa-tld-item--popular { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-color: #f59e0b; color: #92400e; }
.dsa-tld-item--popular:hover { background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%); }
.dsa-tld-load-more-wrap { margin-top: 16px; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 12px 0; border-top: 1px solid var(--border); }

/* ── Docs section ───────────────────────────────────────────── */
.dsa-docs-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .dsa-docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dsa-doc-card {
  padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 2px 10px rgba(15,23,42,.04); display: flex; flex-direction: column; gap: 0;
}
.dsa-doc-step {
  width: 28px; height: 28px; border-radius: 8px; background: var(--blue-tint);
  color: var(--blue-dark); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.dsa-doc-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--navy); }
.dsa-doc-card p { margin: 0 0 10px; color: var(--body); font-size: 13.5px; line-height: 1.6; }
.dsa-doc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.dsa-doc-card li { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; color: var(--body); line-height: 1.55; }
.dsa-doc-card li::before { content: '→'; color: var(--blue); font-weight: 700; flex-shrink: 0; font-size: 12px; margin-top: 1px; }
.dsa-doc-card code { background: var(--blue-tint); color: var(--blue-dark); padding: 1px 5px; border-radius: 5px; font-size: .92em; font-family: ui-monospace, Menlo, monospace; }

/* ── CTA banner ─────────────────────────────────────────────── */
.dsa-cta-banner {
  border-radius: 24px; padding: 52px 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0c2340 100%);
  position: relative; overflow: hidden; text-align: center;
}
.dsa-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(200,153,58,.12), transparent 65%);
}
.dsa-cta-banner > * { position: relative; }
.dsa-cta-banner h2 { color: #fff; font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 0 0 12px; }
.dsa-cta-banner p { color: #94a3b8; font-size: 16px; margin: 0 0 28px; }
.dsa-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dsa-cta-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px;
  background: linear-gradient(135deg, #a07824, #c8993a); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(200,153,58,.4); transition: filter .15s, transform .12s;
}
.dsa-cta-btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.dsa-cta-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.2); color: #e2e8f0;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.dsa-cta-btn-secondary:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }

/* ── Stats Bar ──────────────────────────────────────────────── */
.dsa-stats-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
}
.dsa-stats-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.dsa-stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
}
.dsa-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #f8c347;
  letter-spacing: -0.5px;
}
.dsa-stat-lbl {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.dsa-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Why Grid ───────────────────────────────────────────────── */
.dsa-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dsa-why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow .18s, transform .18s;
}
.dsa-why-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-2px); }
.dsa-why-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.dsa-why-icon--af     { background: #eff6ff; color: #2563eb; }
.dsa-why-icon--tld    { background: #f0fdf4; color: #059669; }
.dsa-why-icon--widget { background: #fff7ed; color: #d97706; }
.dsa-why-icon--json   { background: #fdf4ff; color: #9333ea; }
.dsa-why-icon--free   { background: #fef9c3; color: #d97706; }
.dsa-why-icon--auth   { background: #f0fdf4; color: #059669; }
.dsa-why-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 10px; }
.dsa-why-card p  { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

/* ── How It Works ───────────────────────────────────────────── */
.dsa-how-section { background: #f8fafc; border-radius: 20px; padding: 48px; }
.dsa-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.dsa-how-step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.dsa-how-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  margin-top: 22px;
  flex-shrink: 0;
  opacity: .4;
}
.dsa-how-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.dsa-how-step-body h3 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 8px; padding-top: 8px; }
.dsa-how-step-body p  { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0 0 12px; }
.dsa-how-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: #2563eb; text-decoration: none;
}
.dsa-how-action:hover { text-decoration: underline; }
.dsa-how-code {
  background: #0f172a;
  color: #7dd3fc;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 12px;
  border-radius: 8px;
  padding: 10px 14px;
  white-space: nowrap;
  overflow-x: auto;
}

/* ── Use Cases Grid ─────────────────────────────────────────── */
.dsa-uc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.dsa-uc-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s;
}
.dsa-uc-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.dsa-uc-icon {
  width: 40px; height: 40px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.dsa-uc-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; }
.dsa-uc-card p  { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; }

/* ── Live API Demo ───────────────────────────────────────────── */
.dsa-demo-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}
.dsa-demo-req, .dsa-demo-res {
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.dsa-demo-label {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(255,255,255,.05);
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dsa-demo-label--green { color: #4ade80; }
.dsa-demo-badge {
  display: inline-block;
  background: #14532d;
  color: #4ade80;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
  margin-left: 8px;
  vertical-align: middle;
}
.dsa-demo-code {
  margin: 0;
  padding: 18px;
  font-family: 'JetBrains Mono','Fira Code','Cascadia Code',monospace;
  font-size: 13px;
  line-height: 1.8;
  color: #e2e8f0;
  white-space: pre;
  overflow-x: auto;
}
.dsa-tok-method { color: #f59e0b; font-weight: 700; }
.dsa-tok-key    { color: #7dd3fc; }
.dsa-tok-val    { color: #86efac; }
.dsa-tok-str    { color: #fca5a5; }
.dsa-tok-bool   { color: #a78bfa; font-weight: 700; }
.dsa-tok-num    { color: #fdba74; }
.dsa-demo-arrow { display: flex; align-items: center; justify-content: center; padding-top: 44px; color: #64748b; }
.dsa-demo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.dsa-demo-tag {
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* ── TLD Showcase ────────────────────────────────────────────── */
.dsa-tld-section { background: #f8fafc; border-radius: 20px; padding: 48px; }
.dsa-tld-groups { display: flex; flex-direction: column; gap: 24px; }
.dsa-tld-group { }
.dsa-tld-group-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #94a3b8;
  margin-bottom: 10px;
}
.dsa-tld-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dsa-tld-chip {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 8px;
  padding: 5px 12px;
  font-family: 'JetBrains Mono','Fira Code',monospace;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.dsa-tld-chip:hover { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.dsa-tld-chip--af {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  color: #fff;
  border-color: transparent;
  font-size: 14px;
  padding: 6px 14px;
}
.dsa-tld-chip--af:hover { background: linear-gradient(135deg, #1e40af, #2563eb); color: #fff; }
.dsa-tld-group--featured .dsa-tld-chips { gap: 10px; }

/* ── Comparison Table ────────────────────────────────────────── */
.dsa-cmp-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid #e2e8f0; }
.dsa-cmp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.dsa-cmp-th {
  padding: 14px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.dsa-cmp-us-col { background: #eff6ff; }
.dsa-cmp-us-badge {
  background: linear-gradient(135deg,#2563eb,#0ea5e9);
  color: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}
.dsa-cmp-feat-col { width: 44%; }
.dsa-cmp-cell {
  padding: 13px 20px;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #f1f5f9;
}
.dsa-cmp-row:last-child .dsa-cmp-cell { border-bottom: none; }
.dsa-cmp-row--odd .dsa-cmp-cell { background: #fafafa; }
.dsa-cmp-row--odd .dsa-cmp-us-col { background: #eff6ff; }
.dsa-cmp-us-col.dsa-cmp-cell { background: #eff6ff; }
.dsa-cmp-yes    { display:inline-flex;align-items:center;gap:6px;color:#059669;font-weight:600;font-size:14px; }
.dsa-cmp-no     { display:inline-flex;align-items:center;gap:6px;color:#dc2626;font-weight:600;font-size:14px; }
.dsa-cmp-partial{ display:inline-flex;align-items:center;gap:6px;color:#d97706;font-weight:600;font-size:14px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.dsa-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.dsa-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s;
}
.dsa-faq-item.is-open { border-color: #bfdbfe; }
.dsa-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
}
.dsa-faq-q:hover { background: #f8fafc; }
.dsa-faq-chevron { flex-shrink: 0; color: #94a3b8; transition: transform .2s; }
.dsa-faq-item.is-open .dsa-faq-chevron { transform: rotate(180deg); color: #2563eb; }
.dsa-faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}
.dsa-faq-a code { background: #f1f5f9; color: #0f172a; padding: 1px 5px; border-radius: 4px; font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dsa-hero, .dsa-cards, .dsa-pricing-grid { grid-template-columns: 1fr; }
  .dsa-docs-grid { grid-template-columns: repeat(2, 1fr); }
  .dsa-hero-stats { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .dsa-hero-stat { padding: 16px 12px; min-height: 80px; }
  .dsa-hero-stat-num { font-size: 20px; }
  .dsa-why-grid { grid-template-columns: repeat(2, 1fr); }
  .dsa-how-steps { flex-direction: column; gap: 20px; }
  .dsa-how-connector { width: 2px; height: 30px; align-self: center; background: linear-gradient(180deg,#3b82f6,#0ea5e9); margin: 0; }
}
@media (max-width: 800px) {
  .dsa-hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dsa-demo-wrap { grid-template-columns: 1fr; }
  .dsa-demo-arrow { padding-top: 0; transform: rotate(90deg); margin: 4px auto; }
  .dsa-tld-section { padding: 28px 20px; }
}
@media (max-width: 640px) {
  .dsa-container { width: min(1200px, calc(100% - 24px)); }
  .dsa-hero-wrap { padding: 52px 0 64px; }
  .dsa-hero-stats { gap: 10px; }
  .dsa-hero-stat { padding: 16px 12px; min-height: 75px; }
  .dsa-hero-stat-num { font-size: 22px; }
  .dsa-hero-stat-label { font-size: 11px; margin-top: 5px; }
  .dsa-result-row { flex-direction: column; align-items: flex-start; }
  .dsa-result-actions { width: 100%; justify-content: space-between; margin-left: 0; }
  .dsa-tld-toolbar { flex-direction: column; align-items: stretch; }
  .dsa-tld-toolbar-right { margin-left: 0; }
  .dsa-docs-grid { grid-template-columns: 1fr; }
  .dsa-cta-banner { padding: 36px 24px; }
  .dsa-why-grid  { grid-template-columns: 1fr; }
  .dsa-uc-grid   { grid-template-columns: 1fr; }
  .dsa-how-section { padding: 28px 20px; }
  .dsa-stats-inner { flex-wrap: wrap; gap: 12px; }
  .dsa-stat-divider { display: none; }
  .dsa-stat-item { min-width: 40%; }
  .dsa-products-grid { grid-template-columns: 1fr; }
}

/* ─── API Products Showcase ────────────────────────────────────────── */
.dsa-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(296px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dsa-product-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  position: relative;
  overflow: hidden;
}
.dsa-product-card:hover {
  box-shadow: 0 10px 40px -6px rgba(15,23,42,.10), 0 2px 8px rgba(15,23,42,.05);
  border-color: #cbd5e1;
  transform: translateY(-3px);
}
.dsa-product-card--featured {
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
}
.dsa-product-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 14px; right: -26px;
  background: #1d4ed8;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 32px;
  transform: rotate(45deg);
  transform-origin: center;
  width: 110px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(29,78,216,.35);
}

.dsa-product-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dsa-product-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  width: fit-content;
}
.dsa-product-badge--amber  { background: #fefce8; color: #a16207; border-color: #fde68a; }
.dsa-product-badge--green  { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.dsa-product-badge--purple { background: #fdf4ff; color: #7e22ce; border-color: #e9d5ff; }
.dsa-product-badge--orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

.dsa-product-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}
.dsa-product-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.dsa-product-code {
  display: block;
  background: #0f172a;
  color: #7dd3fc;
  font-family: 'SFMono-Regular', 'Fira Code', 'Consolas', monospace;
  font-size: 10.5px;
  line-height: 1.7;
  padding: 10px 14px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: nowrap;
  margin-top: 4px;
}

.dsa-product-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.dsa-product-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  color: #374151;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.dsa-product-btn:hover { background: #e2e8f0; color: #0f172a; }
.dsa-product-btn--primary {
  background: #1d4ed8;
  color: #fff;
  border-color: #1d4ed8;
}
.dsa-product-btn--primary:hover { background: #1e40af; border-color: #1e40af; color: #fff; }
