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

:root {
  --bg: #F5F0E6;
  --surface: #E8EDDA;
  --border: #CFA48E;
  --text: #1A1816;
  --text-muted: #A67442;
  --accent: #834225;
  --accent-hover: #6b3520;
  --success: #225833;
  --error: #CB0017;
  --teal: #0097A4;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Mono&display=swap');

html {
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  line-height: 1.6;
}

/* --- Hero (coming soon) --- */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.35rem 1.1rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Beta page --- */
.beta-page {
  max-width: 440px;
  width: 100%;
}

.beta-page h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.beta-page .subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

input:focus {
  border-color: var(--teal);
}

button {
  width: 100%;
  padding: 0.7rem;
  background: var(--teal);
  color: #F5F0E6;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover {
  background: #007a85;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.result {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.result.success {
  color: var(--success);
}

.result.error {
  color: var(--error);
}

/* Honeypot — visually hidden, still in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Prose (privacy policy) --- */
.prose {
  max-width: 640px;
  width: 100%;
}

.prose h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.prose a {
  color: var(--teal);
  text-decoration: none;
}

.prose a:hover {
  text-decoration: underline;
}

.fine-print {
  text-align: center;
  margin-top: 1rem;
}

.fine-print a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.fine-print a:hover {
  color: var(--teal);
}
