:root {
  --ivory: #f7f2ea;
  --oat: #efe7d8;
  --terracotta: #c0765a;
  --terracotta-dark: #a85f45;
  --sage: #8a9b7e;
  --charcoal: #2e2a26;
  --muted: #6f675e;
}

* { box-sizing: border-box; }

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

body {
  background: var(--ivory);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(192, 118, 90, 0.08), transparent 60%),
    radial-gradient(900px 500px at 50% 110%, rgba(138, 155, 126, 0.10), transparent 60%);
  color: var(--charcoal);
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.page {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 8px;
  font-weight: 400;
}

.logo {
  width: min(320px, 72vw);
  height: auto;
  display: block;
  margin: 8px auto 4px;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(42px, 8vw, 60px);
  line-height: 1.08;
  margin: 12px 0 16px;
  color: var(--charcoal);
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 28px;
}

.lede em { color: var(--terracotta-dark); font-style: italic; }

/* woven-thread divider */
.thread {
  width: 120px;
  height: 6px;
  margin: 0 0 32px;
  background: repeating-linear-gradient(
    90deg,
    var(--terracotta) 0 14px,
    var(--sage) 14px 28px,
    var(--oat) 28px 34px
  );
  border-radius: 3px;
  opacity: 0.85;
}

.waitlist { width: 100%; max-width: 460px; }

.waitlist-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 14px;
}

#waitlist-form {
  display: flex;
  gap: 8px;
}

#waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid #ddd2c0;
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#waitlist-form input:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192, 118, 90, 0.15);
}

#waitlist-form button {
  padding: 13px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--terracotta);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

#waitlist-form button:hover { background: var(--terracotta-dark); }
#waitlist-form button:active { transform: scale(0.97); }

.form-message {
  min-height: 20px;
  font-size: 14px;
  margin: 12px 0 0;
  color: var(--muted);
}

.form-message.success { color: var(--sage); font-weight: 400; }
.form-message.error { color: var(--terracotta-dark); }

.fineprint {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
  margin: 4px 0 0;
}

.features {
  margin: 36px 0 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.features .dot { color: var(--terracotta); }

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid #d8ccb8;
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s, background 0.2s;
}

.instagram:hover {
  border-color: var(--terracotta);
  background: #fff;
}

footer {
  text-align: center;
  padding: 24px 16px 32px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.75;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 520px) {
  #waitlist-form { flex-direction: column; }
  #waitlist-form button { width: 100%; }
  .page { padding-top: 40px; }
}
