:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --error: #dc2626;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-light);
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header, main, footer {
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111827;
}

header p {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.input-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.input-section label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: monospace;
  margin-bottom: 1rem;
  resize: vertical;
}

button {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: var(--primary-dark);
}

.hidden {
  display: none;
}

.headline {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.headline .loss-amount {
  color: var(--error);
}

.teaser-wrapper {
  margin-top: 2rem;
}

.teaser--locked {
  position: relative;
  background: #e5e7eb;
  padding: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.teaser-placeholder {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
  text-align: center;
}

.teaser-placeholder h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.teaser-placeholder p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.lock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.lock-icon {
  font-size: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.price {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 1rem 0;
  color: var(--primary);
}

.pricing-card p {
  flex-grow: 1;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-primary, .tier-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-primary:hover, .tier-link:hover {
  background-color: var(--primary-dark);
}

/* Unconfigured payment link (launch gate not yet cleared) — visibly non-clickable. */
.tier-link--disabled,
.tier-link--disabled:hover {
  background-color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.65;
}

footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
