*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --accent: #cc6699;
  --border: #e8e8e8;
}

html, body {
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Layout ── */

.frame {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}


.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 560px;
  padding: 64px 0;
  gap: 0;
}

.bottom {
  width: 100%;
  max-width: 560px;
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

.bottom a:hover {
  color: var(--text);
}

/* ── Hero ── */

.logo {
  border-radius: 50%;
  margin-bottom: 36px;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 7.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.sub {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 44px;
}

.signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.email-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}

.email-input::placeholder {
  color: #b0b0b0;
}

.email-input:focus {
  border-color: #aaa;
}

.cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--text);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cta:hover {
  opacity: 0.8;
}

.feedback {
  min-height: 1.4em;
  font-size: 0.85rem;
}

.feedback.success {
  color: #2a7a4b;
}

.feedback.error {
  color: #b94040;
}

.social {
  display: flex;
  gap: 20px;
  padding-top: 10px;
}

.social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.social a:hover {
  color: var(--text);
}

/* ── Responsive ── */

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.6rem, 14vw, 3.5rem);
  }
}
