/* Thin buy / success surfaces — transactional, not marketing. */

.buy-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.buy-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.buy-header .brand {
  font-size: 18px;
  font-weight: 700;
}

.buy-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0 64px;
}

.buy-card {
  width: min(440px, 100%);
  padding: 36px 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 14px;
  background: linear-gradient(145deg, #3a2228, var(--surface) 72%);
}

.buy-card .eyebrow {
  margin-bottom: 10px;
}

.buy-card h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.buy-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--accent);
  margin: 18px 0 6px;
}

.buy-price span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 4px;
}

.buy-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.buy-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.buy-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

.buy-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 2px;
}

.buy-card .button {
  width: 100%;
}

.buy-card .button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.buy-note,
.buy-status {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.buy-status[data-tone="error"] {
  color: #ff8a9e;
}

.buy-status[data-tone="ok"] {
  color: var(--accent);
}

.buy-foot {
  padding: 20px 0 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.buy-foot a {
  color: var(--muted);
}

.buy-foot a:hover {
  color: var(--ink);
}

.buy-success-steps {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.buy-success-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.buy-success-steps li::before {
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 520px) {
  .buy-card {
    padding: 28px 22px;
    border-radius: 12px;
  }
}
