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

:root {
  --teal: #0d9488; --teal-d: #0f766e; --teal-l: #ccfbf1; --teal-f: #f0fdfa;
  --blue: #0ea5e9; --blue-d: #0284c7;
  --purple: #8b5cf6; --orange: #f59e0b; --red: #ef4444; --green: #10b981;
  --ink: #0b1220; --text: #1e293b; --muted: #64748b; --muted-2: #94a3b8;
  --line: #e5e7eb; --line-soft: #eef2f6;
  --bg: #ffffff; --bg-2: #f8fafc; --bg-3: #f1f5f9;
  --code-bg: #0b1220; --code-fg: #e5e7eb;
  --r: 14px; --r-sm: 10px; --r-lg: 18px;
  --sh-sm: 0 2px 8px rgba(15,23,42,.06);
  --sh: 0 6px 24px -4px rgba(15,23,42,.08), 0 2px 6px -2px rgba(15,23,42,.04);
  --sh-lg: 0 20px 48px -12px rgba(15,23,42,.18), 0 8px 16px -8px rgba(15,23,42,.08);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.65; overflow-x: hidden;
}
a { text-decoration: none; color: var(--teal-d); }
a:hover { color: var(--teal); }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
code, pre, .code { font-family: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace; }

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

h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(34px, 5.5vw, 56px); font-weight: 800; line-height: 1.1; }
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

p { font-size: 15.5px; }
.muted { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }

.label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  background: var(--teal-f); color: var(--teal-d);
  border: 1px solid rgba(13,148,136,.16);
  margin-bottom: 16px;
}
.label::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.18);
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px;
  font-size: 12.5px; font-weight: 600;
  background: linear-gradient(135deg, var(--teal-f), #ede9fe);
  color: var(--teal-d);
  border: 1px solid rgba(13,148,136,.18);
  margin-bottom: 22px;
}

.api-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.api-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 24px;
}
.api-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.api-logo img { height: 28px; }
.api-logo span {
  font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -.01em;
}
.api-nav { display: flex; align-items: center; gap: 22px; }
.api-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
.api-nav a:hover { color: var(--ink); }
.api-back {
  padding: 7px 14px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-weight: 600; color: var(--text) !important;
}
.api-back:hover { background: var(--bg-3); }

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(ellipse at top left, rgba(13,148,136,.08), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(14,165,233,.06), transparent 60%);
  border-bottom: 1px solid var(--line-soft);
}
.lead {
  font-size: 18px; color: var(--text-2, #334155); max-width: 720px;
  line-height: 1.6; margin: 18px 0 28px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin: 12px 0 32px;
  padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-stats b {
  font-family: 'Manrope', sans-serif; font-size: 24px; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stats span { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.checklist { list-style: none; padding: 0; margin: 18px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.checklist li {
  font-size: 14.5px; color: var(--text); line-height: 1.55;
  padding: 12px 16px 12px 44px; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .2s;
}
.checklist li:hover { border-color: var(--teal-l); box-shadow: var(--sh-sm); }
.checklist li::before {
  content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}
.checklist li::after {
  content: ''; position: absolute; left: 19px; top: 50%; transform: translateY(-58%) rotate(45deg);
  width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
}
.checklist b { color: var(--ink); font-weight: 700; }

.rel-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 24px;
}
.rel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  transition: border-color .15s, box-shadow .2s;
}
.rel:hover { border-color: var(--teal-l); box-shadow: var(--sh-sm); }
.rel h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.rel p { font-size: 14px; line-height: 1.6; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px;
  font-weight: 700; font-size: 14.5px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  color: #fff !important; box-shadow: 0 8px 24px -8px rgba(13,148,136,.5);
  transition: transform .15s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(13,148,136,.55); color: #fff !important; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px;
  font-weight: 600; font-size: 14.5px;
  background: #fff; color: var(--ink) !important;
  border: 1px solid var(--line);
  transition: all .15s;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-d) !important; }

.hero-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin-top: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 22px;
  box-shadow: var(--sh-sm);
}
.meta-item { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.meta-k { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.meta-item code {
  font-size: 13px; color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.block { padding: 80px 0; border-bottom: 1px solid var(--line-soft); }
.block.alt { background: var(--bg-2); }

.cards {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-top: 28px;
}
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--teal-l); }
.card-ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; position: relative; overflow: hidden;
}
.card-ic svg { width: 24px; height: 24px; position: relative; z-index: 1; }
.card-ic::before {
  content: ''; position: absolute; inset: 0; opacity: .14; border-radius: 12px;
}
.card-ic.ic-teal   { color: var(--teal-d); }
.card-ic.ic-teal::before   { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.card-ic.ic-purple { color: #6d28d9; }
.card-ic.ic-purple::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.card-ic.ic-orange { color: #c2410c; }
.card-ic.ic-orange::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.card-ic.ic-blue   { color: #0284c7; }
.card-ic.ic-blue::before   { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.card h3 { font-size: 15.5px; margin-bottom: 6px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.steps { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
}
.step-num {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -4px rgba(13,148,136,.4);
}
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-size: 16px; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-body code, .step-body pre { font-size: 13px; }

.code-block {
  background: var(--code-bg); border-radius: var(--r);
  overflow: hidden; margin: 18px 0; box-shadow: var(--sh);
}
.code-head {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f56; } .dot.y { background: #ffbd2e; } .dot.g { background: #27c93f; }
.code-title { margin-left: auto; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 500; }

pre.code, .code-block pre {
  background: var(--code-bg); color: var(--code-fg);
  padding: 18px 20px; overflow-x: auto;
  font-size: 13px; line-height: 1.65;
  border-radius: var(--r); margin: 14px 0;
}
.code-block pre { margin: 0; border-radius: 0; }
pre.code code { background: transparent; padding: 0; color: inherit; font-size: inherit; }

code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-3); padding: 2px 7px;
  border-radius: 5px; font-size: 13px;
  color: var(--ink); border: 1px solid var(--line-soft);
}

.sub {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin: 24px 0 10px;
}

.ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.ul li {
  padding: 8px 0 8px 28px; position: relative;
  font-size: 14.5px; line-height: 1.6; color: var(--text);
  border-bottom: 1px dashed var(--line-soft);
}
.ul li:last-child { border-bottom: none; }
.ul li::before {
  content: '▸'; position: absolute; left: 6px; top: 8px;
  color: var(--teal); font-weight: 700;
}

.ep {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  margin-bottom: 16px; transition: border-color .15s, box-shadow .2s;
}
.ep:hover { border-color: var(--teal-l); box-shadow: var(--sh-sm); }
.ep-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.method {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  letter-spacing: .04em;
}
.method.get { background: #d1fae5; color: #065f46; }
.method.post { background: #dbeafe; color: #1e40af; }
.method.put { background: #fef3c7; color: #92400e; }
.method.delete { background: #fee2e2; color: #991b1b; }
.ep-path {
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: var(--bg-2); padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 7px;
}
.ep p { font-size: 14px; color: var(--text-2, #334155); margin-bottom: 12px; line-height: 1.6; }

.kv {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 14px 18px;
  margin: 12px 0; display: flex; flex-direction: column; gap: 6px;
}
.kv > div { font-size: 13.5px; color: var(--text); padding: 5px 0; border-bottom: 1px dashed var(--line-soft); }
.kv > div:last-child { border-bottom: none; }
.kv b { color: var(--ink); font-weight: 700; }

.flow { margin: 28px 0 8px; display: flex; flex-direction: column; gap: 16px; }
.flow-row {
  display: flex; align-items: stretch; gap: 8px;
}
.flow-step {
  flex: 1; min-width: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 16px;
  position: relative; font-size: 13.5px; line-height: 1.5;
}
.flow-step b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.flow-num {
  position: absolute; top: -10px; left: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 8px -2px rgba(13,148,136,.5);
}
.flow-arrow {
  display: flex; align-items: center; color: var(--teal);
  font-size: 22px; font-weight: 700; padding: 0 4px;
}

.errors { width: 100%; border-collapse: collapse; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.errors th { background: var(--bg-2); padding: 12px 16px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: left; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.errors td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.errors tr:last-child td { border-bottom: none; }
.errors td:first-child { width: 80px; }
.errors code { font-weight: 600; }

.cta {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at top, rgba(13,148,136,.1), transparent 60%),
    var(--ink);
  color: #fff; text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-meta {
  font-size: 12.5px; color: rgba(255,255,255,.4);
  line-height: 1.7; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.api-footer {
  padding: 24px 0; background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.api-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.api-foot-links { display: flex; gap: 22px; }
.api-foot-links a { color: var(--muted); }
.api-foot-links a:hover { color: var(--teal-d); }

@media (max-width: 900px) {
  .api-nav { gap: 12px; }
  .api-nav a:not(.api-back) { display: none; }
  .hero { padding: 60px 0 50px; }
  .lead { font-size: 16px; }
  .hero-meta { grid-template-columns: 1fr; padding: 16px; }
  .block { padding: 60px 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .step { flex-direction: column; gap: 12px; padding: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stats b { font-size: 20px; }
  .rel-grid { grid-template-columns: 1fr; }
  .rel { padding: 18px; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
  pre.code, .code-block pre { font-size: 12px; padding: 14px 16px; }
  .ep { padding: 18px; }
  .ep-path { font-size: 13px; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .api-header-inner { padding: 12px 16px; }
  .container { padding: 0 16px; }
}

.trust-section {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 28px;
  margin-bottom: 14px;
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  align-items: flex-start;
}
.trust-ic {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.trust-ic svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.trust-ic::before {
  content: ''; position: absolute; inset: 0; opacity: .14; border-radius: 14px;
}
.trust-ic.t-teal   { color: var(--teal-d); }
.trust-ic.t-teal::before   { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.trust-ic.t-purple { color: #6d28d9; }
.trust-ic.t-purple::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.trust-ic.t-orange { color: #c2410c; }
.trust-ic.t-orange::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.trust-ic.t-blue   { color: #0284c7; }
.trust-ic.t-blue::before   { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.trust-ic.t-green  { color: #047857; }
.trust-ic.t-green::before  { background: linear-gradient(135deg, #10b981, #14b8a6); }
.trust-ic.t-red    { color: #b91c1c; }
.trust-ic.t-red::before    { background: linear-gradient(135deg, #ef4444, #f97316); }

.trust-section h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.trust-section p { font-size: 14.5px; color: var(--text); line-height: 1.65; margin-bottom: 8px; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.trust-tag {
  font-size: 11.5px; font-weight: 600;
  padding: 5px 11px; border-radius: 100px;
  background: var(--bg-3); color: var(--text-2, #334155);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .02em;
}
.trust-tag.ok { background: #d1fae5; color: #065f46; }

.help-search-wrap {
  margin: 8px 0 28px; position: relative;
}
.help-search {
  width: 100%; padding: 16px 18px 16px 50px;
  font-size: 15.5px; font-family: inherit;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 12px; outline: none;
  transition: border-color .15s, box-shadow .2s;
}
.help-search:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.1); }
.help-search-ic {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--muted-2); pointer-events: none;
}
.help-search-ic svg { width: 18px; height: 18px; }

.help-cats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin-bottom: 36px;
}
.help-cat-link {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--ink) !important;
  transition: all .15s;
}
.help-cat-link:hover {
  border-color: var(--teal-l); transform: translateY(-2px);
  box-shadow: var(--sh-sm); color: var(--teal-d) !important;
}
.help-cat-count { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }

.hci {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.hci svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.hci::before { content: ''; position: absolute; inset: 0; opacity: .14; border-radius: 10px; }
.hci.ic-teal   { color: var(--teal-d); }
.hci.ic-teal::before   { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.hci.ic-blue   { color: #0284c7; }
.hci.ic-blue::before   { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.hci.ic-purple { color: #6d28d9; }
.hci.ic-purple::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.hci.ic-orange { color: #c2410c; }
.hci.ic-orange::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hci.ic-green  { color: #047857; }
.hci.ic-green::before  { background: linear-gradient(135deg, #10b981, #14b8a6); }
.hci.ic-red    { color: #b91c1c; }
.hci.ic-red::before    { background: linear-gradient(135deg, #ef4444, #f97316); }

.help-section { margin-bottom: 38px; scroll-margin-top: 80px; }
.help-section h2 { display: flex; align-items: center; gap: 14px; }
.hsec {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.hsec svg { width: 22px; height: 22px; position: relative; z-index: 1; }
.hsec::before { content: ''; position: absolute; inset: 0; opacity: .14; border-radius: 12px; }
.hsec.ic-teal   { color: var(--teal-d); }
.hsec.ic-teal::before   { background: linear-gradient(135deg, var(--teal), var(--blue)); }
.hsec.ic-blue   { color: #0284c7; }
.hsec.ic-blue::before   { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.hsec.ic-purple { color: #6d28d9; }
.hsec.ic-purple::before { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.hsec.ic-orange { color: #c2410c; }
.hsec.ic-orange::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hsec.ic-green  { color: #047857; }
.hsec.ic-green::before  { background: linear-gradient(135deg, #10b981, #14b8a6); }
.hsec.ic-red    { color: #b91c1c; }
.hsec.ic-red::before    { background: linear-gradient(135deg, #ef4444, #f97316); }

.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer;
  padding: 14px 50px 14px 18px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  position: relative; user-select: none;
  transition: background .12s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg-2); }
.acc summary::after {
  content: ''; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px;
  border: solid var(--muted); border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s;
}
.acc[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.acc-body {
  padding: 4px 18px 16px;
  font-size: 14px; color: var(--text); line-height: 1.65;
}
.acc-body p { margin-bottom: 8px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body ul { padding-left: 18px; margin: 6px 0; }
.acc-body li { margin-bottom: 4px; }
.acc-body code {
  background: var(--bg-3); padding: 1px 6px;
  border-radius: 4px; font-size: 12.5px;
}

.help-empty {
  text-align: center; padding: 40px 20px;
  color: var(--muted); font-size: 15px;
}
.help-empty.hidden { display: none; }

.legal-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; margin-top: 24px;
}
.legal-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all .15s; color: inherit;
}
.legal-card:hover { border-color: var(--teal-l); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.legal-card-ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--teal-f); color: var(--teal-d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.legal-card-ic svg { width: 20px; height: 20px; }
.legal-card-body h3 { font-size: 15.5px; margin-bottom: 4px; color: var(--ink); }
.legal-card-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.legal-card-status {
  display: inline-block; margin-top: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 100px; text-transform: uppercase;
}
.legal-card-status.ready { background: #d1fae5; color: #065f46; }
.legal-card-status.req   { background: #fef3c7; color: #92400e; }

.req-block {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 28px;
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px;
}
.req-row { display: flex; flex-direction: column; gap: 3px; }
.req-row .k { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.req-row .v { font-size: 14px; color: var(--ink); }

.disclosure-form {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  margin-top: 18px;
}
.disclosure-form h3 { font-size: 16px; margin-bottom: 8px; }
.disclosure-form p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.disclosure-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .trust-section { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .trust-ic { width: 48px; height: 48px; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .req-block { grid-template-columns: 1fr; padding: 18px 20px; }
}
@media (max-width: 480px) {
  .help-cats { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  a, button, [role="button"], input[type="submit"], input[type="button"], summary {
    -webkit-tap-highlight-color: transparent;
  }
}
