/* Page styles for buy-crypto.html. Shared tokens/reset/navbar/footer live in
   base.css; this file only holds what's unique to the "pay with crypto" guide. */

:root {
  --bc-width: 680px;
}

main {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 54px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
}

.hero h1 {
  font-family: var(--font-hero);
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(120deg, #6366f1, #818cf8 55%, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero .sub {
  max-width: 540px;
  color: var(--text-sub);
  font-size: clamp(15.5px, 2vw, 17.5px);
  line-height: 1.6;
}

.trust {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust .tick {
  width: 14px;
  height: 14px;
  color: var(--accent-bright);
  flex: none;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.12s,
    box-shadow 0.15s;
}

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

.btn-primary {
  color: var(--btn-green-text);
  background: var(--btn-green-bg);
  background-size: 200% 200%;
  border: 1px solid var(--btn-green-border);
  box-shadow: var(--btn-green-shadow);
  animation: orb-shift 9s ease-in-out infinite;
}

.btn-primary:hover {
  box-shadow: var(--btn-green-shadow-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--btn-dark-text);
  background: var(--btn-dark-bg);
  border: 1px solid var(--btn-dark-border);
  box-shadow: var(--btn-shadow);
}

.btn-ghost:hover {
  background: var(--btn-dark-bg-hover);
  border-color: var(--btn-dark-border-hover);
}

/* ── Body column ── */
.bc-body {
  position: relative;
  z-index: 1;
  max-width: var(--bc-width);
  margin: 0 auto;
  padding: 8px 24px 80px;
}

.bc-why {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 6px 0 24px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}

.bc-why-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--accent-weak);
  border: 1px solid var(--accent-ring);
  color: var(--accent-bright);
}

.bc-why-ic svg {
  width: 18px;
  height: 18px;
}

.bc-why p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
}

.bc-why b {
  color: var(--text);
}

/* ── Steps ── */
.bc-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bc-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  transition: border-color 0.15s ease;
}

.bc-step:hover {
  border-color: var(--border-hover);
}

.bc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-bright);
  background: var(--accent-weak);
  border: 1px solid var(--accent-ring);
}

.bc-step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 5px;
}

.bc-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
}

.bc-step p + p {
  margin-top: 6px;
}

.bc-step b {
  color: var(--text);
}

.bc-step p a {
  color: var(--accent-bright);
  font-weight: 600;
}

.bc-step code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--ov-line);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--text-sub);
}

.bc-step .btn {
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 14px;
}

.bc-warn {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid rgb(255, 188, 60, 0.3);
  border-radius: 10px;
  background: rgb(255, 188, 60, 0.055);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-sub);
}

.bc-warn svg {
  width: 15px;
  height: 15px;
  color: var(--warn);
  flex: none;
  margin-top: 1px;
}

.bc-warn b {
  color: var(--text);
}

/* ── Done strip ── */
.bc-done {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--accent-ring);
  border-radius: var(--r-card);
  background: var(--accent-weak);
}

.bc-done-ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--accent);
  color: var(--text-on-accent);
}

.bc-done-ic svg {
  width: 17px;
  height: 17px;
}

.bc-done p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-sub);
}

.bc-done b {
  color: var(--text);
}

.bc-help {
  margin-top: 20px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.bc-help a {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ── FAQ (mirrors the landing accordion) ── */
.faq {
  position: relative;
  z-index: 1;
  max-width: var(--bc-width);
  margin: 30px auto 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--guide);
}

.faq-head {
  text-align: center;
  margin-bottom: 28px;
}

.faq-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.faq-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-top: 10px;
}

.faq-sub {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item[open] {
  border-color: var(--accent-ring);
  background: var(--surface-2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

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

.faq-item summary:focus-visible {
  color: var(--accent-bright);
}

.faq-chev {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--text-muted);
  transition:
    transform 0.25s ease,
    color 0.2s ease;
}

.faq-item[open] .faq-chev {
  transform: rotate(180deg);
  color: var(--accent-bright);
}

.faq-a {
  padding: 0 18px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-sub);
  animation: faq-in 0.22s ease both;
}

.faq-a a {
  color: var(--accent-bright);
  font-weight: 500;
}

.faq-a a:hover {
  text-decoration: underline;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .guides {
    display: none;
  }
}

@media (max-width: 580px) {
  .hero {
    padding: 64px 18px 36px;
    gap: 18px;
  }

  .bc-body {
    padding: 6px 16px 64px;
  }

  .bc-step {
    grid-template-columns: 36px 1fr;
    gap: 13px;
    padding: 16px;
  }

  .bc-step-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
