/* BBWholesale — black & gold theme */

:root {
  --black: #070707;
  --surface: #0f0f0f;
  --surface-2: #161616;
  --surface-3: #1e1e1e;
  --border: #2a2620;
  --border-strong: #3d3628;
  --gold: #d4af37;
  --gold-light: #f3d77e;
  --gold-dark: #9c7a22;
  --gold-gradient: linear-gradient(135deg, #f6e08f 0%, #d4af37 45%, #a8842a 100%);
  --text: #f5f1e6;
  --muted: #a8a194;
  --faint: #6f695e;
  --success: #6fcf97;
  --danger: #ef7d6b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--black);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1407;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  color: #1a1407;
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-gradient);
  color: #1a1407;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.logo span.gold-text {
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-toggle svg {
  margin: auto;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 20px 24px 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 14px;
  }

  .nav-cta {
    flex-direction: column;
  }
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0) 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-light);
}

.hero-stats span {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Card → stablecoin flow illustration */
.flow {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: linear-gradient(160deg, #141310 0%, #0b0b0b 100%);
  box-shadow: var(--shadow);
}

.pay-card {
  position: relative;
  aspect-ratio: 1.6;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(135deg, #1d1a12 0%, #0d0c09 60%, #2a2311 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(243, 215, 126, 0.12) 50%, transparent 70%);
}

.pay-card .chip {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  background: var(--gold-gradient);
}

.pay-card .number {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.18em;
  color: var(--text);
  font-size: 1.05rem;
}

.pay-card .card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flow-apps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-apps span,
.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.flow-arrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-arrow::before,
.flow-arrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.payout {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.coin {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1407;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.payout strong {
  display: block;
}

.payout small {
  color: var(--muted);
}

.payout .amount {
  margin-left: auto;
  font-weight: 800;
  color: var(--success);
  white-space: nowrap;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }
}

/* ---------------------------------------------------------------- steps & features */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 18px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step p {
  color: var(--muted);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
}

.feature p {
  color: var(--muted);
  margin: 0;
}

/* Headline benefit: spans the full row with a gold edge */
.feature-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 24px;
  border-color: var(--gold-dark);
  background: radial-gradient(circle at left, rgba(212, 175, 55, 0.14), transparent 60%), var(--surface-2);
}

.feature-wide .feature-icon {
  flex: none;
  width: 60px;
  height: 60px;
  margin-bottom: 0;
}

.feature-wide h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

@media (max-width: 620px) {
  .feature-wide {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 920px) {
  .steps,
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }
}

/* ---------------------------------------------------------------- pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.price-card {
  padding: 40px 36px;
  border-radius: 20px;
  border: 1px solid var(--gold-dark);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 55%), var(--surface-2);
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.price-row:last-of-type {
  border-bottom: 0;
}

.price-row .value {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.price-row .label {
  color: var(--muted);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d77e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.calculator {
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
}

.calculator label {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.calc-volume {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  margin: 4px 0 14px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.calc-results {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 2px;
}

.calc-results div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.calc-results div strong {
  color: var(--text);
}

.calc-results .total {
  border-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

.calc-results .total strong {
  color: var(--gold-light);
  font-size: 1.2rem;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 14px;
}

@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- integrations */

.integrations {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.code-block {
  margin: 0;
  padding: 26px;
  border-radius: var(--radius);
  background: #0a0a0a;
  border: 1px solid var(--border-strong);
  overflow-x: auto;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #d9d3c4;
}

.code-block .k {
  color: var(--gold);
}

.code-block .s {
  color: #b5d99c;
}

.code-block .c {
  color: var(--faint);
}

@media (max-width: 860px) {
  .integrations {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- FAQ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 4px 24px;
}

.faq details[open] {
  border-color: var(--gold-dark);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  padding-bottom: 8px;
}

/* ---------------------------------------------------------------- CTA band */

.cta-band {
  padding: 64px 48px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--gold-dark);
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.22), transparent 70%), var(--surface-2);
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 620px) {
  .cta-band {
    padding: 48px 22px;
  }
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-note {
  margin-top: 26px;
  font-size: 0.78rem;
  color: var(--faint);
}

/* ---------------------------------------------------------------- page hero (inner pages) */

.page-hero {
  padding: 72px 0 40px;
  position: relative;
}

.page-hero .lead {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- forms */

.panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-2);
  padding: 32px;
}

.panel-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-title .num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1407;
  font-size: 0.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 24px 20px;
  }
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  color: var(--text);
  font: inherit;
  font-size: 0.97rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.field input::placeholder {
  color: var(--faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.field .hint {
  font-size: 0.78rem;
  color: var(--faint);
  margin-top: 5px;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}

.form-message.error {
  display: block;
  background: rgba(239, 125, 107, 0.1);
  border: 1px solid rgba(239, 125, 107, 0.4);
  color: #f6b1a5;
}

.form-message.success {
  display: block;
  background: rgba(111, 207, 151, 0.1);
  border: 1px solid rgba(111, 207, 151, 0.4);
  color: #a9e7c2;
}

/* ---------------------------------------------------------------- scheduler */

.scheduler {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .scheduler {
    grid-template-columns: 1fr;
  }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cal-head h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  color: var(--gold-light);
  cursor: pointer;
}

.icon-btn:hover:not(:disabled) {
  border-color: var(--gold);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding-bottom: 6px;
}

.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--faint);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: default;
}

.cal-day.available {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-strong);
  cursor: pointer;
  position: relative;
}

.cal-day.available::after {
  content: "";
  position: absolute;
  bottom: 18%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.cal-day.available:hover {
  border-color: var(--gold);
}

.cal-day.selected {
  background: var(--gold-gradient);
  color: #1a1407;
  border-color: var(--gold);
}

.cal-day.selected::after {
  background: #1a1407;
}

.cal-day.today {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
}

.slot {
  padding: 11px 8px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.slot:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.slot.selected {
  background: var(--gold-gradient);
  color: #1a1407;
  border-color: var(--gold);
}

.empty-state {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 24px 0;
}

.tz-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 14px;
}

.selected-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  border-radius: 12px;
  border: 1px dashed var(--gold-dark);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-light);
  font-weight: 700;
}

.selected-slot.empty {
  color: var(--muted);
  font-weight: 500;
  border-color: var(--border-strong);
  background: transparent;
}

.confirmation {
  text-align: center;
  padding: 56px 32px;
}

.confirmation .coin {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
}

/* ---------------------------------------------------------------- signup / payment layouts */

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.summary-list li strong {
  color: var(--text);
  text-align: right;
}

.summary-list li:last-child {
  border-bottom: 0;
}

.ref-badge {
  display: inline-block;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------- membership page */

.membership-tier {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.membership-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.membership-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.membership-perks .coin {
  width: 38px;
  height: 38px;
  font-size: 0.95rem;
}

.membership-perks strong {
  display: block;
}

.membership-perks small {
  color: var(--muted);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.compare-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.compare-card-gold {
  border-color: var(--gold-dark);
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 60%), var(--surface-2);
  box-shadow: var(--shadow);
}

.compare-label {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.vials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 64px;
  margin-bottom: 22px;
}

.vials span {
  width: 20px;
  height: 56px;
  border-radius: 5px 5px 9px 9px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #3a3428 0 22%, #1c1a16 22% 100%);
}

.vials span.on {
  width: 26px;
  height: 64px;
  border-color: var(--gold);
  background: linear-gradient(180deg, #d4af37 0 22%, rgba(212, 175, 55, 0.18) 22% 100%);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.compare-list li {
  position: relative;
  padding-left: 28px;
}

.compare-list li::before {
  content: "\00d7";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--danger);
  font-weight: 800;
  font-size: 1.1rem;
}

.compare-card .checklist {
  margin: 0;
}

@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

.email-preview {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #141310 0%, #0b0b0b 100%);
  box-shadow: var(--shadow);
}

.email-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.email-head strong {
  display: block;
}

.email-head small {
  color: var(--muted);
}

.email-line {
  height: 10px;
  border-radius: 6px;
  background: var(--surface-3);
  margin-bottom: 12px;
}

.email-line.w90 { width: 90%; }
.email-line.w85 { width: 85%; }
.email-line.w75 { width: 75%; }
.email-line.w60 { width: 60%; margin-bottom: 22px; }

/* ---------------------------------------------------------------- demo checkout */

.demo-banner {
  background: var(--gold-gradient);
  color: #1a1407;
  font-size: 0.88rem;
}

.demo-banner-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.demo-banner a {
  color: #1a1407;
  font-weight: 800;
  white-space: nowrap;
}

.store-mark {
  font-size: 0.9rem;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.checkout {
  padding: 36px 0 24px;
}

.checkout-steps {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  flex-wrap: wrap;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--faint);
  font-weight: 700;
  font-size: 0.9rem;
}

.checkout-steps li + li::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--border-strong);
  margin-right: 2px;
}

.checkout-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 0.78rem;
}

.checkout-steps .done {
  color: var(--muted);
}

.checkout-steps .done span {
  border-color: var(--gold-dark);
  color: var(--gold-light);
}

.checkout-steps .current {
  color: var(--text);
}

.checkout-steps .current span {
  background: var(--gold-gradient);
  border-color: var(--gold);
  color: #1a1407;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.checkout-main,
.checkout-side {
  display: grid;
  gap: 20px;
}

.checkout-side {
  position: sticky;
  top: 94px;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-side {
    position: static;
  }
}

.checkout-panel {
  padding: 26px 28px;
}

.checkout-panel h2 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.summary-panel h2 {
  margin-bottom: 8px;
}

.checkout-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto auto;
  align-items: center;
  gap: 18px;
}

.cart-thumb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18), transparent 70%), var(--black);
  border: 1px solid var(--border-strong);
}

.vial {
  width: 22px;
  height: 50px;
  border-radius: 5px 5px 9px 9px;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, #d4af37 0 24%, rgba(243, 215, 126, 0.25) 24% 100%);
}

.cart-info strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.cart-info small {
  display: block;
  color: var(--muted);
}

.cart-info .ruo-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--gold-dark);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
}

.cart-qty span {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
}

.qty-btn {
  width: 34px;
  height: 36px;
  background: var(--black);
  border: 0;
  color: var(--faint);
  font: inherit;
  font-size: 1.1rem;
}

.cart-price {
  font-weight: 800;
  font-size: 1.1rem;
}

@media (max-width: 560px) {
  .cart-item {
    grid-template-columns: 64px 1fr;
  }

  .cart-thumb {
    width: 64px;
    height: 64px;
  }

  .cart-qty {
    grid-column: 2;
    justify-self: start;
  }

  .cart-price {
    grid-column: 2;
  }
}

.link-edit {
  background: none;
  border: 0;
  color: var(--faint);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
}

.ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 560px) {
  .ship-grid {
    grid-template-columns: 1fr;
  }
}

.ship-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

.ship-grid address,
.ship-grid p {
  font-style: normal;
  line-height: 1.7;
  margin: 0;
}

.ship-method,
.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--gold-dark);
  background: rgba(212, 175, 55, 0.05);
}

.ship-method strong,
.pay-method strong {
  display: block;
}

.ship-method small,
.pay-method small {
  color: var(--muted);
}

.ship-price {
  margin-left: auto;
  font-weight: 800;
  color: var(--success);
}

.radio-dot {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--surface-2);
  background: var(--gold);
}

.pay-brands {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pay-brands span {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 560px) {
  .pay-method {
    flex-wrap: wrap;
  }

  .pay-brands {
    margin-left: 32px;
    justify-content: flex-start;
  }
}

.summary-total {
  font-size: 1.1rem;
}

.summary-list li.summary-total span,
.summary-list li.summary-total strong {
  color: var(--text);
  font-weight: 800;
}

.pay-button {
  margin-top: 18px;
  padding: 16px 26px;
  font-size: 1.05rem;
}

.pay-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 125, 107, 0.1);
  border: 1px solid rgba(239, 125, 107, 0.45);
  color: #f6b1a5;
  font-size: 0.85rem;
  line-height: 1.5;
}

.pay-warning svg {
  flex: none;
  margin-top: 1px;
  color: var(--danger);
}

.pay-warning strong {
  color: #ffd2ca;
}

.center-text {
  text-align: center;
}

.merchant-view {
  border-style: dashed;
  border-color: var(--gold-dark);
}

.merchant-view h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.merchant-view .summary-list li.summary-total strong.gold-text {
  color: transparent;
}

.payout-compact {
  margin-top: 14px;
  padding: 12px 14px;
}

.payout-compact .coin {
  width: 36px;
  height: 36px;
}

.demo-explainer {
  padding: 80px 0 40px;
}

/* ---------------------------------------------------------------- headless checkout (pay.html) */

.pay-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.pay-wait {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pay-spinner {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--border-strong);
  border-top-color: var(--gold);
  animation: pay-spin 0.9s linear infinite;
}

.pay-spinner.small {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

@keyframes pay-spin {
  to {
    transform: rotate(360deg);
  }
}

.pay-step-tag {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pay-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--black);
  font-size: 0.92rem;
  cursor: pointer;
}

.pay-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.pay-options {
  display: grid;
  gap: 12px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pay-option:hover:not(:disabled) {
  border-color: var(--gold-dark);
}

.pay-option.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
}

.pay-option:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pay-option .radio-dot {
  background: transparent;
  box-shadow: none;
}

.pay-option.selected .radio-dot {
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--black);
}

.pay-option-body {
  flex: 1;
  min-width: 0;
}

.pay-option-body strong {
  display: block;
}

.pay-option-body small {
  color: var(--muted);
}

.pay-option-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
}

.pay-option-g {
  font-weight: 800;
  font-size: 0.95rem;
}

.pay-signin {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.pay-detail {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.pay-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.pay-cards {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.pay-card-list {
  display: grid;
  gap: 8px;
  width: 100%;
}

.pay-saved-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--black);
  color: var(--text);
  font: inherit;
  text-transform: capitalize;
  cursor: pointer;
}

.pay-saved-card small {
  color: var(--muted);
  text-transform: none;
}

.pay-saved-card.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
}

.pay-saved-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pay-quote,
.pay-fees {
  margin: 0;
}

.pay-fees {
  padding-top: 4px;
  border-top: 1px dashed var(--border-strong);
}

.pay-disclosures {
  display: grid;
  gap: 10px;
}

.pay-disclosure {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.pay-wallet-frame {
  min-height: 44px;
}

.pay-wallet-frame iframe {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
}

.pay-hidden-frame {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pay-ref {
  margin: 0 0 6px;
  font-size: 0.85rem;
}

.pay-stages {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pay-stages li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--black);
}

.pay-stages small {
  color: var(--muted);
  font-weight: 700;
}

.pay-stages .stage-success small {
  color: var(--success);
}

.pay-stages .stage-in_progress small {
  color: var(--gold-light);
}

.pay-stages .stage-failed small {
  color: var(--danger);
}

#state-processing,
#state-done,
#state-error,
#state-waiting {
  max-width: 640px;
  margin: 0 auto;
}

.pay-result {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-light);
  font-size: 1.8rem;
  font-weight: 800;
}

.pay-result.success {
  background: var(--gold-gradient);
  color: #1a1407;
}

.pay-result.failed {
  border-color: var(--danger);
  color: var(--danger);
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.78);
}

.pay-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  border-radius: 18px;
  border: 1px solid var(--gold-dark);
  background: var(--surface-2);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pay-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.pay-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.pay-modal-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.pay-modal-body.connect,
.pay-modal-body.challenge {
  height: min(680px, calc(100vh - 100px));
}

.pay-modal-body.card {
  height: min(520px, calc(100vh - 100px));
}

.pay-modal-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.pay-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .pay-wait {
    align-items: flex-start;
  }

  .pay-modal {
    padding: 0;
    place-items: stretch;
  }

  .pay-modal-panel {
    width: 100%;
    max-height: none;
    border-radius: 0;
  }

  .pay-modal-body.connect,
  .pay-modal-body.challenge,
  .pay-modal-body.card {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pay-spinner {
    animation-duration: 2.5s;
  }
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------- RUO Compliance Brief */

.brief-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .brief-band {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.brief-status-heading {
  margin: 0 0 10px;
}

/* Spam trap: hidden from people, filled in by bots. */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-field input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

.check-field label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
}
