/* Base */
:root {
  --bg: #faf7f4;
  --bg-alt: #f3ede8;
  --fg: #1c1411;
  --fg-muted: #7a6b63;
  --accent: #8b1f3d;
  --accent-warm: #c44a2b;
  --accent-sage: #3d6b5a;
  --border: #e0d6cc;
  --card-bg: #ffffff;
  --wine: #8b1f3d;
  --cream: #faf7f4;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Header */
.site-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.header-nav { display: flex; align-items: center; gap: 0.75rem; }
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Section base */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 3rem;
}

/* Hero */
.hero {
  padding: 5rem 2rem 5rem;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}
.hero-visual-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.strip-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.strip-card--second {
  border-left-color: var(--accent-sage);
}
.strip-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.strip-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.strip-meta {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Hero right column — date card */
.hero-atmosphere {
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(28, 20, 17, 0.12);
  width: 100%;
  max-width: 340px;
}
.date-card-header {
  background: var(--fg);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.date-card-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(250, 247, 244, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.date-card-badge {
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.date-card-steps {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.date-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0.15rem 0.75rem;
}
.step-time {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.1rem;
}
.step-body {
  font-size: 0.9rem;
  color: var(--fg);
  font-weight: 500;
}
.step-meta {
  grid-column: 2;
  font-size: 0.78rem;
  color: var(--fg-muted);
  padding-bottom: 0.85rem;
}
.step-connector {
  width: 2px;
  height: 20px;
  background: var(--border);
  margin: 0.25rem 0 0.25rem calc(35px - 1px);
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin-bottom: 0.75rem;
}
.waitlist-input {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-input:focus { border-color: var(--accent); }
.waitlist-input::placeholder { color: var(--fg-muted); opacity: 0.7; }
.waitlist-btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, opacity 0.2s;
}
.waitlist-btn:hover:not(:disabled) { background: #7a1a33; }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-error {
  font-size: 0.82rem;
  color: var(--accent-warm);
  margin-top: 0.25rem;
}
.waitlist-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}
.waitlist-thanks {
  background: var(--card-bg);
  border: 1.5px solid var(--accent-sage);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  max-width: 460px;
  margin-bottom: 0.75rem;
}
.thanks-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.35rem;
}
.thanks-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* How it works */
.howitworks {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 0;
}
.step { position: relative; }
.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}
.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2rem 1.75rem;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-title {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* Pricing philosophy */
.pricing-philosophy {
  padding: 6rem 2rem;
  background: var(--bg-alt);
}
.phil-content { margin-bottom: 3rem; }
.phil-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}
.phil-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 55ch;
}
.phil-visual {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}
.tier-block {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tier-free { border-top: 3px solid var(--accent-sage); }
.tier-premium { border-top: 3px solid var(--accent); }
.tier-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
}
.tier-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.tier-divider {
  display: flex;
  align-items: center;
  color: var(--fg-muted);
  padding-top: 1.75rem;
}

/* Closing */
.closing {
  padding: 5rem 2rem;
  background: var(--fg);
}
.closing-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  color: var(--bg);
  line-height: 1.4;
  max-width: 24ch;
  margin: 0 auto;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}
.footer-meta {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Generator section */
.generator {
  padding: 6rem 2rem;
  background: var(--bg);
}
.generator-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.generator-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.gen-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.gen-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.gen-label-opt {
  font-weight: 400;
  color: var(--fg-muted);
}
.gen-input {
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.gen-input:focus { border-color: var(--accent); }
.gen-input::placeholder { color: var(--fg-muted); opacity: 0.7; }

.gen-field {
  position: relative;
}
.gen-input {
  padding-right: 3rem;
}
.geo-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg-muted);
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s;
}
.geo-btn:hover { color: var(--accent); }
.geo-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.gen-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: -0.25rem;
}

/* Mood grid */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.mood-option { display: contents; }
.mood-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--card-bg);
}
.mood-card:hover { border-color: var(--accent); }
.mood-option input { display: none; }
.mood-option input:checked + .mood-card {
  border-color: var(--accent);
  background: var(--bg-alt);
}
.mood-icon {
  color: var(--fg-muted);
  display: flex;
  align-items: center;
}
.mood-option input:checked + .mood-card .mood-icon { color: var(--accent); }
.mood-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
}

/* Budget grid */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.budget-option { display: contents; }
.budget-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.1rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--card-bg);
}
.budget-card:hover { border-color: var(--accent); }
.budget-option input { display: none; }
.budget-option input:checked + .budget-card {
  border-color: var(--accent);
  background: var(--bg-alt);
}
.budget-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.budget-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* Submit button */
.gen-submit-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  align-self: center;
  min-width: 240px;
}
.gen-submit-btn:hover:not(:disabled) { background: #7a1a33; }
.gen-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.gen-error {
  font-size: 0.85rem;
  color: var(--accent-warm);
  text-align: center;
}

/* Loading */
.gen-loading {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
}
.gen-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.gen-loading-dots {
  display: flex;
  gap: 0.5rem;
}
.gen-loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: gen-pulse 1.2s ease-in-out infinite;
}
.gen-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.gen-loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes gen-pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.gen-loading-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* Results */
.gen-results { padding-top: 2rem; }
.results-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(28, 20, 17, 0.08);
}
.results-header {
  background: var(--fg);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.results-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(250, 247, 244, 0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.results-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  text-transform: capitalize;
}
.results-steps {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.results-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.rs-icon {
  width: 32px;
  height: 32px;
  background: var(--bg-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.rs-body { flex: 1; }
.rs-time {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.rs-activity {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.1rem;
}
.rs-venue {
  font-size: 0.82rem;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}
.rs-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 0.35rem;
}
.rs-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-sage);
  display: inline-block;
  margin-right: 0.75rem;
}
.rs-backup {
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-style: italic;
}
.rs-connector {
  width: 2px;
  height: 16px;
  background: var(--border);
  margin: 0.4rem 0 0.4rem 15px;
}
.rs-address {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}
.rs-maps-link {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  margin-bottom: 0.4rem;
}
.rs-maps-link:hover { border-bottom-color: var(--accent); }
.rs-rating {
  font-size: 0.72rem;
  color: #c47a1e;
  margin-left: 0.4rem;
  font-weight: 600;
}
.rs-venue--unverified { opacity: 0.75; }
.rs-unverified-badge {
  display: inline-block;
  font-size: 0.65rem;
  background: #f5f0ea;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 0.4rem;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.gen-results-empty {
  text-align: center;
  color: var(--fg-muted);
  padding: 2rem;
}

/* Share bar — shown post-generation when a slug is returned */
.gen-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e0d6cc;
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
}
.gen-share-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}
.gen-share-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gen-share-url {
  font-size: 0.85rem;
  color: #8b1f3d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gen-share-btn {
  background: #8b1f3d;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.gen-share-btn:hover { background: #701831; }

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-atmosphere { display: none; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .phil-visual { flex-direction: column; }
  .tier-divider { transform: rotate(90deg); padding: 0; align-self: center; }
  .section-title { margin-bottom: 2rem; }
  .howitworks, .features, .pricing-philosophy { padding: 4rem 2rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.5rem 3rem; }
  .howitworks, .features, .pricing-philosophy { padding: 3rem 1.5rem; }
  .closing { padding: 3.5rem 1.5rem; }
}