/* Landing page — marketing chrome (nav, hero, template showcase, footer).
   Reuses app.css's color tokens/fonts for brand consistency with the
   dashboard, layers page-specific styling on top. */

body.landing { margin: 0; }

.landing-nav {
  position: sticky; top: 0; z-index: 20; background: rgba(250,246,241,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.landing-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.landing-nav .brand { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.landing-nav-links { display: flex; align-items: center; gap: 1.1rem; }

.landing-hero {
  padding: 5rem 1.5rem 4.5rem; text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--blush) 0%, var(--bg) 65%);
}
.landing-hero-inner { max-width: 640px; margin: 0 auto; }
.landing-hero .eyebrow {
  letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--accent-dark);
  font-weight: 700; margin-bottom: 1.1rem;
}
.landing-hero h1 { font-size: 2.6rem; line-height: 1.15; margin: 0 0 1rem; }
.landing-hero-subtitle { font-size: 1.08rem; color: var(--muted); margin: 0 0 2rem; line-height: 1.6; }
.landing-hero-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

@media (min-width: 640px) { .landing-hero h1 { font-size: 3.2rem; } }

.landing-section { padding: 4.5rem 1.5rem; }
.landing-section-alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.landing-section-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.landing-section h2 { font-size: 1.9rem; margin: 0 0 .6rem; }
.landing-section-subtitle { color: var(--muted); font-size: 1rem; margin: 0 0 2.75rem; }

/* ── Template showcase ──────────────────────────────────────────── */
.template-showcase { display: grid; gap: 1.75rem; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 620px) { .template-showcase { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .template-showcase { grid-template-columns: repeat(3, 1fr); } }

.template-preview-card {
  display: block; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 6px 24px rgba(43,36,32,.05); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.template-preview-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(43,36,32,.1);
}
.preview-card-inner {
  min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.25rem;
}
.preview-label { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--border); }
.preview-label strong { display: block; font-size: .98rem; margin-bottom: .2rem; }
.preview-label span { display: block; font-size: .84rem; color: var(--muted); }
.preview-label .preview-cta {
  margin-top: .6rem; color: var(--accent-dark); font-weight: 600; font-size: .82rem;
}

/* Classic Ivory preview */
.preview-classic .preview-card-inner { background: #fdfbf8; }
.preview-classic .preview-eyebrow { letter-spacing: .18em; text-transform: uppercase; font-size: .68rem; color: #c98a6b; margin-bottom: .75rem; }
.preview-classic .preview-names { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.6rem; color: #2b2420; }
.preview-classic .preview-date { font-size: .85rem; color: #7a6f63; margin-top: .5rem; }

/* Modern Minimal preview */
.preview-modern .preview-card-inner { background: #ffffff; align-items: flex-start; text-align: left; }
.preview-modern .preview-eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .62rem; color: #1a1a1a; margin-bottom: .75rem; }
.preview-modern .preview-names { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.75rem; color: #1a1a1a; letter-spacing: -.01em; }
.preview-modern .preview-names span { color: #767676; font-weight: 300; margin: 0 .2rem; }
.preview-modern .preview-date { font-size: .82rem; color: #767676; margin-top: .5rem; letter-spacing: .05em; }

/* Botanical Floral preview */
.preview-floral .preview-card-inner { background: #fff9f7; }
.preview-floral .preview-ornament { width: 70px; height: 24px; color: #c98a6b; margin-bottom: .75rem; }
.preview-floral .preview-names { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.75rem; color: #3d3128; }
.preview-floral .preview-names .amp { color: #c98a6b; font-style: italic; margin: 0 .25rem; }
.preview-floral .preview-date { font-size: .85rem; color: #8a7a6a; margin-top: .5rem; font-style: italic; }

/* Aurora Glow preview */
.preview-aurora .preview-card-inner {
  background: linear-gradient(120deg, #f8f6fc, #f3e9f7, #fbeee2, #f8f6fc);
  background-size: 300% 300%; animation: preview-aurora-shift 10s ease infinite;
}
.preview-aurora .preview-eyebrow { letter-spacing: .2em; text-transform: uppercase; font-size: .68rem; color: #9d6bd1; margin-bottom: .75rem; }
.preview-aurora .preview-names {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.75rem;
  color: #241f33;
  background: linear-gradient(90deg, #9d6bd1, #d18ba0, #e0b45c, #9d6bd1);
  background-size: 300% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: preview-aurora-text 7s linear infinite;
}
.preview-aurora .preview-names .amp { -webkit-text-fill-color: initial; background: none; color: #9d6bd1; font-style: italic; margin: 0 .2rem; }
.preview-aurora .preview-date { font-size: .85rem; color: #8b83a1; margin-top: .5rem; }
@keyframes preview-aurora-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes preview-aurora-text { to { background-position: 300% center; } }
@media (prefers-reduced-motion: reduce) {
  .preview-aurora .preview-card-inner, .preview-aurora .preview-names { animation: none; }
}

/* Heritage Elegance preview */
.preview-heritage .preview-card-inner { background: #faf6ef; }
.preview-heritage .preview-eyebrow { letter-spacing: .26em; text-transform: uppercase; font-size: .62rem; color: #b8935a; margin-bottom: .75rem; }
.preview-heritage .preview-names { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.35rem; color: #2c261f; }
.preview-heritage .preview-divider { width: 90px; height: 10px; color: #b8935a; margin: .3rem auto; }
.preview-heritage .preview-date { font-size: .82rem; letter-spacing: .08em; color: #8a7d6c; margin-top: .5rem; }

/* Noir Editorial preview */
.preview-noir .preview-card-inner { background: #141414; }
.preview-noir .preview-eyebrow { letter-spacing: .3em; text-transform: uppercase; font-size: .6rem; color: #c9a227; margin-bottom: .75rem; }
.preview-noir .preview-names { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.9rem; color: #f0ece4; letter-spacing: -.01em; }
.preview-noir .preview-names .amp { color: #c9a227; font-weight: 300; margin: 0 .25rem; }
.preview-noir .preview-date { font-size: .8rem; letter-spacing: .12em; color: #9a938a; margin-top: .5rem; }

/* ── How it works ───────────────────────────────────────────────── */
.how-steps { display: grid; gap: 2rem; grid-template-columns: 1fr; text-align: left; }
@media (min-width: 720px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step-number {
  width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 1rem;
}
.how-step h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.how-step p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

.landing-final-cta { padding: 4.5rem 1.5rem; text-align: center; background: var(--blush); }

.landing-footer { text-align: center; padding: 2.5rem 1rem 3rem; color: var(--muted); font-size: .8rem; }
