@font-face {
  font-family: "Lora";
  src: url("/fonts/Lora-Variable.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/fonts/Lora-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAF6F0;
  --ink: #2B2B2B;
  --ink-soft: #6B6459;
  --green: #1F4A38;
  --green-soft: #2E6350;
  --amber: #D9A441;
  --line: #E5DDD0;
  --card: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #211F1C;
    --ink: #EDE7DC;
    --ink-soft: #A79E8F;
    --green: #2E6350;
    --green-soft: #3B7A63;
    --amber: #D9A441;
    --line: #3A362F;
    --card: #2B2925;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header / nav ---- */

.site-nav {
  padding: 28px 0 0;
}

.site-nav a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.site-nav a:hover { color: var(--ink); }

/* ---- Hero (index) ---- */

.hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.cover {
  width: 132px;
  height: 176px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.cover::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 7px;
  background: rgba(0, 0, 0, 0.22);
}

.cover-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.cover-title {
  font-family: "Lora", Georgia, serif;
  color: #FAF6F0;
  font-size: 15px;
  line-height: 1.3;
  padding: 0 12px;
}

h1.brand {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.tagline {
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--amber);
  margin: 0 0 22px;
}

.pitch {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 420px;
  margin: 0 0 30px;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 26px;
}

/* ---- Waitlist form ---- */

.waitlist {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.waitlist input[type="email"]::placeholder { color: var(--ink-soft); }

.waitlist button {
  flex: 0 0 auto;
  padding: 13px 20px;
  border-radius: 10px;
  border: none;
  background: var(--green);
  color: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.waitlist button:hover { background: var(--green-soft); }

.waitlist-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---- Privacy page ---- */

.legal {
  padding: 20px 0 80px;
}

.legal h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  margin: 28px 0 6px;
}

.legal .updated {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.callout {
  background: color-mix(in srgb, var(--green) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 32px;
}

.callout p {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
}

.legal h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 18px;
  margin: 34px 0 8px;
}

.legal p, .legal li {
  font-size: 14.5px;
  color: var(--ink);
}

.legal ul { padding-left: 20px; }

.legal a.mail {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  .legal a.mail { color: #6FB89A; }
}

.legal a.mail:hover { text-decoration: underline; }

/* ---- Footer ---- */

footer {
  padding: 30px 0 40px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

footer a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}

footer a:hover { color: var(--ink); }

footer .sep {
  margin: 0 8px;
  opacity: 0.6;
}
