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

:root {
  --accent: #C4856E;
  --accent-light: #F5EAE8;
  --text: #1A1714;
  --muted: #8A8178;
  --border: #EDE9E4;
  --bg: #FDFCFB;
}

html,
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  min-height: 100svh;
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

/* subtle blobs */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #F5EAE8 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -100px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #EAF0EC 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* logo */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

/* card */
.card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 48px) clamp(32px, 6vw, 72px);
  max-width: 720px;
  width: 100%;
  box-shadow: 0 8px 48px rgba(0, 0, 0, .07);
}

.badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.sub {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 28px;
}

/* role selection */
.role-selection {
  margin-bottom: 28px;
}

h3 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.role-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 12px 20px;
  font-size: .9375rem;
  color: var(--text);
  font-weight: 400;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}

.role-btn:hover {
  border-color: var(--accent);
}

.role-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* input row */
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notify-form input {
  flex: 1 1;
  height: 50px;
  padding: 0 18px;
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-family: inherit;
  font-size: .9375rem;
  color: var(--text);
  text-align: center;
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}

.notify-form input:focus {
  border-color: var(--accent);
}

.notify-form input::placeholder {
  color: #B8AEA8;
}

.notify-form button {
  flex: 1 1;
  height: 50px;
  padding: 0 28px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}

.notify-form button:hover {
  background: #B07461;
}

.hint {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 14px;
}

.stats {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stats-label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}

.stats-list {
  font-size: .875rem;
  line-height: 1.8;
  color: var(--muted);
}

.stats-list strong {
  color: var(--text);
  font-weight: 500;
}

.footer-note {
  font-size: .8125rem;
  color: var(--muted);
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

/* success state */
.success-msg {
  display: none;
  color: var(--accent);
  font-size: .95rem;
  margin-top: 14px;
  font-weight: 500;
}

.success-msg.show {
  display: block;
}