/* AI Pro Tools 11.3.0 — public Reseller program and API documentation pages.
 * Loaded only on those two templates. Builds on the bm-* section system. */

/* ------------------------------------------------------------ shared */
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.rp-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 12px; border: 1px solid var(--glass-border); border-radius: 999px;
	background: rgba(255, 255, 255, .03); color: var(--text-main);
	font-size: .8125rem; font-weight: 600;
}
.rp-chip i { color: var(--primary-color); }

.rp-card {
	position: relative;
	padding: clamp(24px, 3vw, 36px);
	background: var(--surface-bg, #1f1f23);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius, 16px);
}
.rp-card--featured {
	border-color: rgba(253, 119, 2, .45);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.rp-card__badge {
	position: absolute; top: -12px; left: 24px;
	padding: 4px 10px; border-radius: 999px;
	background: var(--primary-color); color: #fff;
	font-size: .6875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.rp-card h3 { margin: 0; font-size: 1.125rem; line-height: 1.4; color: var(--text-strong, #fff); }
.rp-card p { margin: 10px 0 0; color: var(--text-muted); line-height: 1.7; font-size: .9375rem; }

.rp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.rp-note { margin-top: 14px !important; font-size: .8125rem !important; }

/* ----------------------------------------------------------- pricing */
.rp-pricing { display: grid; gap: clamp(24px, 3vw, 32px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .rp-pricing { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.rp-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 14px; }
.rp-price strong {
	font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 800; line-height: 1;
	letter-spacing: -.03em; color: var(--text-strong, #fff);
}
.rp-price span { color: var(--text-muted); font-weight: 600; }

.rp-discount {
	display: block; margin-top: 4px;
	font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; line-height: 1;
	letter-spacing: -.03em; color: var(--primary-color);
}

.rp-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
@media (min-width: 600px) { .rp-list--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; } }
.rp-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-main); font-size: .9375rem; line-height: 1.5; }
.rp-list i { flex: 0 0 auto; margin-top: 5px; font-size: .75rem; color: var(--primary-color); }

.rp-point-icon {
	display: inline-grid; place-items: center;
	width: 40px; height: 40px; margin-bottom: 14px; border-radius: 10px;
	background: rgba(253, 119, 2, .12); color: var(--primary-color);
}

.rp-plans { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .rp-plans { grid-template-columns: 1fr 1fr; } }
.rp-plan__tag {
	display: inline-block; margin-bottom: 10px;
	font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--primary-color);
}

/* ------------------------------------------------------------- docs */
.rp-docs .bm-article__body { max-width: none; min-width: 0; }
.rp-docs .bm-article__body > section { scroll-margin-top: 90px; }
.rp-docs h2 { margin: 52px 0 14px; font-size: 1.5rem; line-height: 1.3; color: var(--text-strong, #fff); scroll-margin-top: 90px; }
.rp-docs .bm-article__body > section:first-child h2 { margin-top: 0; }
.rp-docs h3 { margin: 30px 0 10px; font-size: 1.0625rem; color: var(--text-strong, #fff); }
.rp-docs p, .rp-docs li { color: var(--text-muted); line-height: 1.75; font-size: .9375rem; }
.rp-docs p { margin: 0 0 14px; }
.rp-docs ul, .rp-docs ol { margin: 0 0 16px; padding-left: 20px; }
.rp-docs strong { color: var(--text-main); }
.rp-docs a:not(.bm-btn) { color: var(--primary-color); }
.rp-docs code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em;
	padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--text-main);
	overflow-wrap: anywhere;
}

.rp-code { margin: 14px 0 18px; border: 1px solid var(--glass-border); border-radius: 12px; background: #0d0d10; overflow: hidden; }
.rp-code__head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 8px 12px; border-bottom: 1px solid var(--glass-border);
	font-size: .75rem; color: var(--text-muted);
}
.rp-code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e4e4e7; }
.rp-code pre code { padding: 0; background: none; font-size: inherit; color: inherit; overflow-wrap: normal; }
.rp-copy {
	border: 1px solid var(--glass-border); border-radius: 6px; background: transparent;
	color: var(--text-main); font-size: .75rem; padding: 3px 9px; cursor: pointer;
}
.rp-copy:hover, .rp-copy:focus-visible { border-color: var(--primary-color); }

.rp-endpoint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 30px 0 8px; }
.rp-endpoint code { font-size: .95rem; background: none; padding: 0; color: var(--text-strong, #fff); }
.rp-method {
	display: inline-block; min-width: 52px; text-align: center;
	padding: 3px 8px; border-radius: 6px;
	font: 700 .72rem/1.4 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em;
}
.rp-method--get { background: rgba(16, 185, 129, .15); color: #34d399; }
.rp-method--post { background: rgba(253, 119, 2, .15); color: #fd9a3a; }

.rp-callout {
	margin: 18px 0; padding: 14px 16px;
	border: 1px solid var(--glass-border); border-left: 3px solid var(--primary-color);
	border-radius: 10px; background: rgba(255, 255, 255, .03);
}
.rp-callout p { margin: 0; }

.rp-docs .bm-table-wrap { margin: 10px 0 20px; }
.rp-docs .bm-table th { width: auto; min-width: 0; }
.rp-docs .bm-table th, .rp-docs .bm-table td { padding: 12px 16px 12px 0; font-size: .875rem; }
.rp-docs .bm-table code { white-space: nowrap; }
.rp-toc a.is-active { color: var(--text-strong, #fff); font-weight: 600; }

.rp-kv { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 22px; }
@media (min-width: 700px) { .rp-kv { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rp-kv div { padding: 14px 16px; border: 1px solid var(--glass-border); border-radius: 10px; background: var(--surface-bg, #1f1f23); }
.rp-kv span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.rp-kv strong { display: block; margin-top: 6px; font: 600 .875rem/1.5 ui-monospace, Menlo, Consolas, monospace; color: var(--text-strong, #fff); overflow-wrap: anywhere; }
