@font-face {
  font-family: 'FoundationLogo';
  src: url('FoundationLogo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

:root {
  --dark-top: #0D0D0D;
  --dark-bottom: #2D2D3F;
  --text-primary: #E8E8E8;
  --text-secondary: #9A9AB0;
  --input-bg: rgba(255,255,255,0.05);
  --input-border: rgba(255,255,255,0.12);
  --input-border-focus: rgba(255,255,255,0.35);
  --button-bg: #E8E8E8;
  --button-text: #0D0D0D;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  background: linear-gradient(160deg, var(--dark-top) 0%, var(--dark-bottom) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', serif;
  color: var(--text-primary);
  padding: 2rem;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(100,100,160,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  text-align: center;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.wordmark {
  font-family: 'FoundationLogo', sans-serif;
  font-size: clamp(2rem, 9vw, 6rem);
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1;
  width: 100%;
  text-align: center;
}

.divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 0 auto 2.5rem;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.subtext {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin: 0 auto;
}

.email-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.email-input::placeholder {
  color: var(--text-secondary);
}

.email-input:focus {
  border-color: var(--input-border-focus);
  background: rgba(255,255,255,0.08);
}

.submit-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 4px;
  font-family: 'FoundationLogo', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.success {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.privacy-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.footer {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'FoundationLogo', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.15);
  z-index: 1;
}
