:root {
  --bg: #faf8f4;
  --bg-warm: #f3ead9;
  --text: #0a2540;
  --muted: #5a6b7d;
  --border: #e6e3dc;
  --card-bg: #ffffff;
  --pill-bg: #f4f1ea;
  --accent: #d97706;
  --accent-soft: #fef3c7;
  --shadow-soft: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-lift: 0 8px 24px rgba(10, 37, 64, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 5%, var(--bg-warm) 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: #b45309; }

/* ---------- HEADER / NAV ---------- */

.page-head {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.page-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.page-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.page-nav a:hover { color: var(--text); }

.page-nav .btn { font-size: 0.9rem; padding: 8px 14px; }

@media (max-width: 600px) {
  .page-head { padding: 20px 20px 0; }
  .page-nav { gap: 14px; }
  .page-nav a:not(.btn) { display: none; }
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  font-family: var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #b45309;
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--card-bg);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- LAYOUT ---------- */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}

@media (max-width: 600px) {
  main { padding: 40px 20px 24px; }
}

section {
  margin-bottom: 72px;
}

section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.section-lead {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- HERO ---------- */

.hero { margin-bottom: 80px; }

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 60ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-shot {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-lift);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot figcaption {
  padding: 12px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  border-top: 1px solid var(--border);
  background: var(--pill-bg);
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-val {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- CARDS ---------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

.card {
  padding: 22px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.card-link:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
  color: inherit;
}

.card-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* ---------- SCREENS ---------- */

.screen {
  margin: 0 0 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.screen img {
  display: block;
  width: 100%;
  height: auto;
}

.screen figcaption {
  padding: 12px 18px;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  border-top: 1px solid var(--border);
  background: var(--pill-bg);
}

/* ---------- WAITLIST ---------- */

.waitlist {
  padding: 28px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.waitlist-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  min-height: 1.2em;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.waitlist-row input[type="email"] {
  flex: 1 1 240px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--sans);
  transition: border-color 0.15s;
}

.waitlist-row input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

.waitlist-row .btn { flex: 0 0 auto; }

.waitlist-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-turnstile { display: none; }
.cf-turnstile iframe { display: none; }

.waitlist-status {
  margin: 4px 0 0;
  font-size: 0.94rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  min-height: 1.2em;
}

.waitlist-status.is-success { color: var(--accent); font-style: normal; font-weight: 500; }
.waitlist-status.is-error { color: #b91c1c; font-style: normal; font-weight: 500; }

/* ---------- DEVLOG ---------- */

.devlog-all {
  margin-top: 24px;
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */

.page-foot {
  max-width: 720px;
  margin: 32px auto 48px;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.page-foot .meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page-foot .socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
}

.page-foot .socials a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.page-foot .socials a:hover { color: var(--text); }

/* ---------- ACCESSIBILITY ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
