:root {
  --bg: #fdfbf6;
  --card-bg: #ffffff;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --accent: #2f7a5c;
  --accent-hover: #256349;
  --border: #e4e0d6;
  --error-bg: #fdeceb;
  --error-text: #a83226;
  --privacy-bg: #f1f7f4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 2.5rem 1rem;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  display: flex;
  justify-content: center;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.subtitle {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.field-row {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

input[type="text"],
input[type="email"] {
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

input[type="file"] {
  padding: 0.4rem 0;
}

.limits {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

button, .button-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 0.5rem;
}

button:hover, .button-link:hover {
  background: var(--accent-hover);
}

.notice {
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.notice-error {
  background: var(--error-bg);
  color: var(--error-text);
}

.notice-privacy {
  background: var(--privacy-bg);
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.notice-ok {
  background: var(--privacy-bg);
  color: var(--text);
  border: 1px solid #cfe3d8;
}

.notice-waiting {
  background: #fbf6e8;
  color: #6b5a2c;
}

/* ---------- בחירת מסלול ---------- */

.card-wide { max-width: 640px; }

.tiers {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.tier {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  background: #fffdf9;
}

.tier h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.tier p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.tier-note {
  font-size: 0.85rem !important;
  color: var(--text-muted);
  background: #fbf6e8;
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  margin: 0 0 0.9rem !important;
}

.tier-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.button-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.button-ghost:hover {
  background: var(--privacy-bg);
  color: var(--accent-hover);
}

.amount-choice {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.footnote {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.footnote a { color: var(--accent); }
