/* ── Tokens ── */
:root {
  --bg:          #F5F2ED;
  --white:       #FFFEF6;
  --card:        #EAE4D9;
  --green:       #B7D65B;
  --green-light: #DAEABA;
  --green-text:  #6a8a2a;
  --red:         #E66A57;
  --ink:         #594A42;
  --muted:       #9a8f88;
  --border:      #e0ddd8;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
footer p { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: underline; }

/* ── Shared components ── */
.beta-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  max-width: 440px;
  width: 100%;
}
.beta-box h3 { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.beta-box > p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }

.email-form { display: flex; flex-direction: column; gap: 0.65rem; }
.email-form input {
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  width: 100%;
  transition: border-color 0.15s;
}
.email-form input:focus { border-color: var(--green); }
.email-form input::placeholder { color: var(--muted); }
.email-form button {
  padding: 0.85rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 100%;
}
.email-form button:hover { opacity: 0.88; }

.or-divider { display: flex; align-items: center; gap: 1rem; margin: 1rem 0; color: var(--muted); font-size: 0.85rem; }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.btn-signin {
  display: block;
  padding: 0.85rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.15s;
}
.btn-signin:hover { opacity: 0.85; }

.confirm-msg { font-size: 0.875rem; margin-top: 0.75rem; min-height: 1.2em; }

/* ── Fade up animation ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Interior pages ── */
.page-content { max-width: 720px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.page-content h1 { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: 3rem; line-height: 1.7; }
.page-content h2 { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 600; margin: 2.5rem 0 0.75rem; }
.page-content p { line-height: 1.8; color: #4a3e38; margin-bottom: 1rem; }
.page-content ul { margin: 0.75rem 0 1rem 1.5rem; }
.page-content ul li { line-height: 1.8; color: #4a3e38; margin-bottom: 0.35rem; }
.page-content a { color: var(--green-text); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .email-form { flex-direction: column; align-items: center; }
  .email-form input { width: 100%; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .beta-box { padding: 1.5rem; }
}
