:root {
  --ink: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --brand: #4f46e5;
  --brand-soft: #e0e7ff;
  --surface: #ffffff;
}

body {
  margin: 0;
  padding: 32px;
  background: #f8fafc;
  color: var(--ink);
  font-family: system-ui, sans-serif;
  line-height: 1.7;
}

h1 { margin: 0 0 4px; font-size: 28px; }
p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgb(15 23 42 / 14%);
}

.badge {
  position: absolute;
  top: -8px;
  left: 16px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
}

.plan h2 { margin: 0; font-size: 18px; }

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 0;
}

.price strong { font-size: 36px; line-height: 1; }
.price span { color: var(--muted); font-size: 11px; }

.desc { margin: 8px 0 0; font-size: 13px; }

ul {
  flex: 1 1 auto;
  margin: 12px 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
}

.btn.ghost {
  background: transparent;
  color: #3730a3;
}

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