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

:root {
  --peach:   #f2c4b2;
  --peach-light: #fdf0eb;
  --sage:    #c8d9c0;
  --sage-light: #f0f5ee;
  --lavender: #d4cce8;
  --lavender-light: #f4f2fb;
  --cream:   #faf8f4;
  --ink:     #1e1c18;
  --muted:   #9a9188;
  --border:  #ede9e2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── GRAIN OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.6;
}

/* ─── FLOATING BLOBS ─── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 500px; height: 500px; background: var(--peach); top: -120px; right: -100px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: var(--sage); bottom: -80px; left: -100px; animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: var(--lavender); top: 40%; left: 40%; animation: drift 26s ease-in-out infinite 4s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.97); }
}

/* ─── LAYOUT ─── */
main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 0;
}

/* ─── LOGO ─── */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: lowercase;
  color: var(--muted);
  margin-bottom: 64px;
  animation: fadeUp 0.8s ease both;
}
.logo strong {
  color: var(--ink);
  font-weight: 400;
}

/* ─── HERO TEXT ─── */
.hero {
  text-align: center;
  max-width: 640px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b07c6a;
  background: var(--peach-light);
  border: 0.5px solid var(--peach);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.eyebrow::before { content: '✦'; font-size: 8px; }

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 8vw, 82px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  color: #c4846e;
}

.tagline {
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 48px;
}

/* ─── COUNTDOWN ─── */
.countdown {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 56px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
}
.unit-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px 8px;
  min-width: 72px;
  text-align: center;
}
.unit-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  padding-top: 10px;
}

/* ─── EMAIL FORM ─── */
.signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  animation: fadeUp 0.8s ease 0.3s both;
}
.signup-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.signup-row {
  display: flex;
  width: 100%;
  background: white;
  border: 0.5px solid var(--border);
  border-radius: 40px;
  padding: 5px 5px 5px 20px;
  gap: 8px;
  align-items: center;
  transition: border-color 0.2s;
}
.signup-row:focus-within {
  border-color: var(--peach);
}
.signup-row input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  padding: 6px 0;
  text-align: center;
}
.signup-row input::placeholder { color: #c5bdb4; }
.signup-row button {
  background: var(--ink);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 32px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.signup-row button:hover { background: #3a3630; }
.signup-row button:active { transform: scale(0.97); }

.signup-note {
  font-size: 11px;
  color: #c5bdb4;
  text-align: center;
}

.success-msg {
  display: none;
  align-items: center;
  gap: 8px;
  color: #5a8a48;
  background: var(--sage-light);
  border: 0.5px solid var(--sage);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
}

/* ─── PILLS ─── */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 64px;
  animation: fadeUp 0.8s ease 0.4s both;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  background: white;
  border: 0.5px solid var(--border);
  padding: 7px 14px;
  border-radius: 20px;
}
.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill-dot-peach   { background: var(--peach); }
.pill-dot-sage    { background: var(--sage); }
.pill-dot-lavender { background: var(--lavender); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  font-size: 11px;
  color: #c5bdb4;
  letter-spacing: 0.05em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .countdown { gap: 4px; }
  .unit { min-width: 58px; }
  .unit-num { min-width: 58px; font-size: 32px; padding: 10px 6px 6px; }
  .countdown-sep { font-size: 28px; padding-top: 8px; }
}
