/*
 * Wedding Wedge Checklist Styles
 * Version: 1.0.4
 * Date: 2026-05-24
 * Purpose: Provides branded responsive styling for the Smart Checklist SEO landing page, setup flow, and progressive checklist app.
 * Change Log:
 * - v1.0.4: Adds header top spacing alignment, improves preview badge contrast, and adds start-form helper text styling.
 * - v1.0.3: Adds landing-page sections, preview cards, feature grid, CTA blocks, and /start/ form separation styling.
 * - v1.0.2: Preserves local same-origin branding asset compatibility after v1.0.1.
 * - v1.0.1: Aligns subdomain header/logo/footer spacing with shared Wedding Wedge public branding and removes standalone placeholder header/footer styling.
 * - v1.0.0: Added setup, progressive checklist, cards, pill buttons, and mobile layouts.
 * Author: Nova, Senior Developer
 */

:root {
  --ink: #27211f;
  --muted: #6f625b;
  --line: #eadfd6;
  --cream: #fffaf3;
  --soft: #f7efe5;
  --accent: #8b5e46;
  --accent-dark: #5d3c2e;
  --accent-light: #e8d2c1;
  --success: #355e45;
  --warning: #a26320;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(61, 42, 33, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff5eb 0, transparent 38%), linear-gradient(180deg, #fffdf8 0%, #f7efe5 100%);
  min-height: 100vh;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.ww-checklist-header { margin-top: 18px; }

.ww-checklist-page,
.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.app-shell { padding: 28px 0 44px; }

.ww-site-footer .ww-footer-social-link:nth-child(4) svg,
.ww-site-footer .ww-footer-social-link:nth-child(5) svg {
  fill: currentColor;
  stroke: none;
}

.card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(234, 223, 214, 0.92);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
  margin: 18px 0;
}

.hidden { display: none !important; }

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(232, 210, 193, 0.42);
  pointer-events: none;
}

.landing-copy { position: relative; z-index: 1; }
.hero { min-height: 320px; }

.eyebrow {
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1, h2, h3 { line-height: 1.08; margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); letter-spacing: -0.055em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; }

.hero-copy,
.muted,
.fine-print {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy { max-width: 760px; font-size: 1.15rem; }
.fine-print { font-size: 0.9rem; margin: 14px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.timeline-preview {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  padding: 22px;
  box-shadow: 0 16px 44px rgba(61, 42, 33, 0.1);
}

.preview-badge {
  display: inline-flex;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fffaf3 !important;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 7px 11px;
  margin-bottom: 12px;
}

.timeline-preview ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline-preview li {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  padding: 14px 15px;
}
.timeline-preview strong { display: block; color: var(--ink); }
.timeline-preview span { display: block; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.landing-section { box-shadow: none; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.feature-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.feature-grid p { color: var(--muted); line-height: 1.65; margin: 0; }
.cta-section { text-align: center; }
.cta-section p { color: var(--muted); line-height: 1.65; }

.setup-form { margin-top: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label { display: grid; gap: 7px; font-weight: 700; color: var(--ink); }
label span { font-size: 0.92rem; }

.form-help {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: -1px 0 3px;
  font-weight: 500;
}

input, select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

button, .pill {
  appearance: none;
  border: 1px solid var(--accent-light);
  background: #fff;
  color: var(--accent-dark);
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

button:hover, .pill:hover { transform: translateY(-1px); text-decoration: none; }
button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pill.primary, button.primary { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); box-shadow: 0 10px 22px rgba(93, 60, 46, 0.22); }
.setup-form .pill { margin-top: 18px; }

.notice {
  border-radius: 18px;
  padding: 14px 16px;
  margin: 14px 0;
  background: #fff5ea;
  border: 1px solid #edd3b7;
  color: var(--warning);
  font-weight: 700;
}

.checklist-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}

.progress-wrap { text-align: right; font-weight: 800; color: var(--accent-dark); }
.progress-bar {
  height: 10px;
  background: var(--soft);
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}
.progress-bar span { display: block; height: 100%; width: 0%; background: var(--accent-dark); border-radius: 999px; }

.step-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 18px;
  margin: 10px 0 22px;
}

.step-chip {
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}
.step-chip.active { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); }
.step-chip.complete { color: var(--success); border-color: #b9d0c2; background: #f3faf5; }

.step-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
  padding: clamp(18px, 3vw, 28px);
}

.step-meta {
  display: inline-flex;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--accent-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.item-list { display: grid; gap: 14px; margin: 22px 0; }
.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}
.item-card.complete { border-color: #b9d0c2; background: #fbfffc; }
.item-card.skipped { border-style: dashed; }
.item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.item-card p { color: var(--muted); line-height: 1.65; margin: 8px 0; }
.why { font-size: 0.94rem; }
.cta-box {
  margin-top: 12px;
  border-left: 4px solid var(--accent-light);
  padding: 10px 0 10px 14px;
  color: var(--muted);
}
.step-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.step-help { color: var(--muted); font-weight: 700; }

.value-card { box-shadow: none; background: rgba(255,255,255,0.64); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .landing-hero, .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .form-grid, .checklist-topline { grid-template-columns: 1fr; }
  .progress-wrap { text-align: left; }
  h1 { letter-spacing: -0.04em; }
}

@media (max-width: 720px) {
  .ww-checklist-header { align-items: flex-start; }
  .hero-actions .pill { width: 100%; }
}
