:root {
  --bg: #f2ece0;
  --mark: #7a5030;
  --text: #2a1a0e;
  --muted: #9a7a68;
  --border: #c8b090;
  --btn-bg: #7a5030;
  --btn-text: #f2ece0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1408;
    --mark: #c87840;
    --text: #f0e4d0;
    --muted: #6a5040;
    --border: #3a2a18;
    --btn-bg: #c87840;
    --btn-text: #1e1408;
  }
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--text);
  margin: 0 0 8px;
  font-size: 2rem;
}

h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 16px;
  font-size: 1.25rem;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  text-align: center;
  width: 100%;
}

main.legal {
  text-align: left;
  max-width: 640px;
}

p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 12px;
}

p.pitch {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
}

p.muted {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* Value props */
ul.props {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

ul.props li {
  font-size: 13px;
  color: var(--muted);
}

ul.props li::before {
  content: '· ';
  color: var(--mark);
}

/* Waitlist form */
.form-wrap {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
}

p.form-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

input[type="text"],
input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  outline: none;
  font-family: inherit;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: var(--muted);
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--mark);
}

button[type="submit"] {
  width: 100%;
  padding: 11px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

button[type="submit"]:hover {
  opacity: 0.88;
}

/* Subscribe — tier cards */
.tier-grid {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.tier-card {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
}

.tier-name {
  font-family: Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 2rem;
  font-family: Georgia, serif;
  color: var(--mark);
}

.price-period {
  font-size: 13px;
  color: var(--muted);
}

.tier-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* Success page */
.mark-text {
  font-size: 2rem;
  color: var(--mark);
  margin-bottom: 8px;
}

/* Footer nav */
footer {
  margin-top: 32px;
}

footer nav {
  font-size: 12px;
  color: var(--muted);
}

footer nav a {
  color: var(--muted);
  text-decoration: none;
}

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

a {
  color: var(--mark);
}

/* Mark animation — bottom-up splash, plays once then stays solid */
.mark-anim {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.mark-anim svg ellipse {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: mark-appear 0.45s cubic-bezier(0.2, 0, 0.4, 1) forwards;
}

/* Smallest (bottom) ellipse first, largest (top) last */
.mark-anim svg .e4 { animation-delay: 0s; }
.mark-anim svg .e3 { animation-delay: 0.18s; }
.mark-anim svg .e2 { animation-delay: 0.36s; }
.mark-anim svg .e1 { animation-delay: 0.54s; }

@keyframes mark-appear {
  0%   { opacity: 0; transform: scaleX(0.4); }
  60%  { opacity: 1; transform: scaleX(1.06); }
  100% { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .mark-anim svg ellipse { animation: none; opacity: 1; }
}