:root {
  --primary: #69DCBB;
  --accent: #B895C2;
  --text: #101114;
  --muted: #696B73;
  --soft: #F7F4F1;
  --card: #fff;
  --line: rgba(16, 17, 20, 0.08);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.hero {
  border-radius: 24px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  margin-bottom: 24px;
}
.cover {
  height: 180px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  background-size: cover;
  background-position: center;
}
.hero-body { padding: 20px; }
.avatar {
  width: 88px; height: 88px; border-radius: 50%;
  border: 4px solid #fff; margin-top: -56px;
  object-fit: cover; background: #ddd; display: block;
}
.eyebrow {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin: 12px 0 4px;
}
h1 { margin: 0 0 8px; font-size: 1.75rem; }
.headline { color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
.bio { line-height: 1.55; margin: 0 0 8px; }
.meta-line { font-size: 0.9rem; color: var(--muted); margin: 4px 0; }
.plans { margin: 32px 0 24px; }
.plans h2 { margin: 0 0 6px; font-size: 1.35rem; }
.plans-sub { color: var(--muted); margin: 0 0 16px; }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .plan-grid { grid-template-columns: 1fr; }
}
.plan-card {
  position: relative;
  text-align: left;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.plan-card.is-selected {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.plan-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.plan-price { display: block; font-size: 1.5rem; font-weight: 800; margin-top: 4px; }
.plan-period { font-size: 0.9rem; color: var(--muted); }
.plan-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  background: var(--primary); color: var(--text);
  padding: 4px 8px; border-radius: 999px;
}
.member-note { font-size: 0.9rem; color: var(--muted); margin: 14px 0 0; line-height: 1.45; }
.cta-block { text-align: center; margin-top: 8px; }
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-weight: 800; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font-family: inherit;
}
.btn-primary { background: var(--primary); color: #101114; }
.btn-secondary {
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
}
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; z-index: 10;
}
.modal-backdrop[hidden] { display: none !important; }
.modal {
  background: #fff; border-radius: 20px; padding: 24px;
  width: 100%; max-width: 420px;
}
.modal h2 { margin-top: 0; }
input[type=email], input[type=text] {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); font-size: 1rem; margin-bottom: 12px;
  font-family: inherit;
}
label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; color: var(--muted); }
.field { margin-bottom: 4px; }
.req { color: #c0392b; }
.error { color: #c0392b; font-size: 0.9rem; min-height: 1.2em; margin-bottom: 8px; }
