:root {
  --bg: #0a0a0b;
  --bg-elevated: #131316;
  --bg-surface: #1a1a1f;
  --border: #2a2a30;
  --text: #e8e8ec;
  --text-secondary: #8a8a96;
  --text-tertiary: #5a5a66;
  --accent: #34d399;
  --accent-dim: #167a54;
  --accent-glow: rgba(52, 211, 153, 0.12);
  --danger: #ef4444;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, ui-monospace, Menlo, Monaco, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(circle at top, rgba(52, 211, 153, 0.08), transparent 34%),
    linear-gradient(180deg, #0a0a0b 0%, #0f1012 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 12px;
}

.brand {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

.hero {
  padding: 56px 0 22px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 560px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 20px 0 56px;
}

.card {
  display: flex;
  flex-direction: column;
  background: rgba(19, 19, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.card-highlight {
  border-color: rgba(52, 211, 153, 0.45);
  background:
    linear-gradient(180deg, rgba(52, 211, 153, 0.08), rgba(19, 19, 22, 0.94) 22%),
    rgba(19, 19, 22, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(52, 211, 153, 0.12);
}

.label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  font-size: 0.75rem;
  font-weight: 600;
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.price {
  margin: 0 0 8px;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price small {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.card-copy {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.muted {
  margin: 0;
  color: var(--text-secondary);
}

.tiny {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

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

.list li {
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 6px;
}

.input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

.input:focus {
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0 18px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), background 0.16s var(--ease);
}

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

.btn-primary {
  color: #08110d;
  background: var(--accent);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.btn-link {
  color: var(--text-secondary);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  min-height: 32px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.card-footer {
  margin-top: auto;
}

.stack {
  display: grid;
  gap: 18px;
  padding-bottom: 56px;
}

.notice {
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.08);
  padding: 16px 18px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.notice strong {
  color: var(--text);
}

.error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.panel {
  background: rgba(19, 19, 22, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.token {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  word-break: break-all;
}

.steps {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.steps li + li {
  margin-top: 8px;
}

.status {
  color: var(--text-secondary);
}

.status strong {
  color: var(--text);
}

.inline-message {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.inline-message strong {
  color: var(--text-secondary);
}

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

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links,
  .actions {
    width: 100%;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-note {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
