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

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --cream:  #FCFEF8;
  --sky:    #E6EBF3;
  --mint:   #CFF3B3;
  --indigo: #182032;
  --forest: #0E3E1B;
  --teal:   #4A5D87;
}

/* ── Base ──────────────────────────────────────────────────────────────── */
html, body { height: 100%; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page-hero {
  background: var(--indigo);
  overflow: hidden;
}

body.page-doc {
  background: var(--cream);
}

/* ── Ripple canvas ─────────────────────────────────────────────────────── */
#ripple {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* ────────────────────────────────────────────────────────────────────────
   LANDING NAV — standalone fixed top-right (ripple/hero pages only)
   ──────────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 28px;
  right: 44px;
  z-index: 10;
  display: flex;
  align-items: center;
}

.site-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(252, 254, 248, 0.55);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: rgba(252, 254, 248, 1);
}

.nav-sep {
  font-size: 11px;
  color: rgba(252, 254, 248, 0.25);
  margin: 0 14px;
  user-select: none;
}

/* ────────────────────────────────────────────────────────────────────────
   SECONDARY PAGE HEADER — Kue left, nav right, all links visible
   Active link = Forest Green. Others = muted.
   ──────────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 48px;
  background: var(--cream);
}

.site-header-wordmark {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: rgba(14, 62, 27, 0.45);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-header-wordmark:hover {
  color: var(--forest);
}

.header-nav {
  display: flex;
  align-items: center;
}

.header-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(14, 62, 27, 0.35);
  transition: color 180ms ease;
}

.header-nav a:hover {
  color: var(--forest);
}

.header-nav a.active {
  color: var(--forest);
}

.header-nav .nav-sep {
  font-size: 11px;
  color: rgba(14, 62, 27, 0.18);
  margin: 0 14px;
  user-select: none;
}

/* ── Landing hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* excludes browser chrome on mobile */
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 52px;
  left: 56px;
}

.wordmark {
  font-family: 'Amiri', serif;
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 32px rgba(24, 32, 50, 0.55),
    0 1px 4px  rgba(24, 32, 50, 0.3);
}

.tagline {
  font-family: 'Amiri', serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--cream);
  margin-top: 10px;
  opacity: 0.75;
  text-shadow: 0 1px 16px rgba(24, 32, 50, 0.6);
}

/* ────────────────────────────────────────────────────────────────────────
   PAGE SHELL — shared layout wrapper for all secondary pages
   ──────────────────────────────────────────────────────────────────────── */
.page-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-spacer {
  height: 96px;
}

/* ────────────────────────────────────────────────────────────────────────
   BETA PAGE
   ──────────────────────────────────────────────────────────────────────── */

/* Hero */
.beta-hero {
  padding: 16px 0 64px;
}

.beta-hero-heading {
  font-family: 'Amiri', serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 560px;
}

.beta-hero-sub {
  font-size: 16px;
  color: rgba(24, 32, 50, 0.5);
  line-height: 1.7;
  max-width: 440px;
}

/* Cards */
.beta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.beta-card {
  background: var(--sky);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.beta-card-number {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(14, 62, 27, 0.35);
  margin-bottom: 14px;
}

.beta-card-heading {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1.3;
  margin-bottom: 6px;
}

.beta-card-body {
  font-size: 13px;
  color: rgba(24, 32, 50, 0.52);
  line-height: 1.65;
}

/* Intro text */
.beta-intro-text {
  font-size: 16px !important;
  color: rgba(24, 32, 50, 0.58) !important;
  line-height: 1.75 !important;
  max-width: 520px;
}

/* Sign-up section */
.beta-signup {
  padding: 0;
  max-width: 480px;
}

.beta-signup #form-wrapper {
  margin-top: 24px;
}

.beta-signup-heading {
  font-family: 'Amiri', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 10px;
}

.beta-signup-sub {
  font-size: 14px;
  color: rgba(24, 32, 50, 0.5);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 380px;
}

/* ── Form ──────────────────────────────────────────────────────────────── */
.beta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.email-input {
  height: 50px;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--indigo);
  background: #fff;
  border: 1.5px solid rgba(24, 32, 50, 0.13);
  border-radius: 12px;
  outline: none;
  transition: border-color 200ms ease;
  width: 100%;
}

.email-input::placeholder {
  color: rgba(24, 32, 50, 0.28);
}

.email-input:focus {
  border-color: rgba(24, 32, 50, 0.28);
}

.email-input.error {
  border-color: rgba(190, 70, 70, 0.5);
}

.device-toggle {
  display: flex;
  align-items: center;
}

.toggle-sep {
  color: rgba(14, 62, 27, 0.25);
  font-size: 15px;
  user-select: none;
  padding: 0 8px;
}

.device-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(14, 62, 27, 0.35);
  cursor: pointer;
  padding: 6px 0;
  transition: color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.device-btn.active {
  color: var(--forest);
  font-weight: 600;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 28px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  background: var(--mint);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 150ms ease, transform 120ms ease;
  -webkit-tap-highlight-color: transparent;
  align-self: flex-start;
}

.cta-btn:hover { opacity: 0.82; }
.cta-btn:active { transform: scale(0.97); }

.beta-success {
  font-family: 'Amiri', serif;
  font-size: 24px;
  color: var(--forest);
  line-height: 1.5;
}

/* ────────────────────────────────────────────────────────────────────────
   DOC PAGES (privacy, terms)
   ──────────────────────────────────────────────────────────────────────── */
.doc-content {
  padding-bottom: 80px;
}

.doc-title {
  font-family: 'Amiri', serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--forest);
  line-height: 1.1;
  padding: 24px 0 8px;
}

.doc-meta {
  font-size: 13px;
  color: rgba(24, 32, 50, 0.35);
  padding-bottom: 40px; /* spacing between meta and first section */
}

.doc-content section {
  margin-bottom: 44px;
}

.doc-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}

.doc-content p {
  font-size: 15px;
  color: rgba(24, 32, 50, 0.68);
  line-height: 1.85;
  margin-bottom: 10px;
}

.doc-content p:last-child { margin-bottom: 0; }

.doc-content ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.doc-content li {
  font-size: 15px;
  color: rgba(24, 32, 50, 0.68);
  line-height: 1.85;
  margin-bottom: 4px;
}

.doc-content a {
  color: var(--forest);
  text-underline-offset: 3px;
}

.doc-content a:hover { opacity: 0.7; }

.doc-content strong {
  color: rgba(24, 32, 50, 0.88);
  font-weight: 600;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-nav    { top: 20px; right: 24px; }
  .site-header { padding: 20px 24px; flex-direction: column; align-items: center; gap: 14px; }
  .hero-content { bottom: 36px; left: 24px; }
  .page-shell  { padding: 0 20px; }
  .beta-cards  { grid-template-columns: 1fr; }
}
