/* Name We Share - Warm Watercolor Theme */
:root {
  --cream: #fffef9;
  --warm-white: #fdfbf7;
  --soft-gold: #d4a853;
  --golden-glow: #f5e6c8;
  --sage: #7a9a6d;
  --sage-light: #e8f0e4;
  --text: #4a4035;
  --text-light: #7a7265;
  --border: rgba(74, 64, 53, 0.08);
  --shadow: 0 4px 20px rgba(74, 64, 53, 0.06);
  --shadow-lg: 0 8px 40px rgba(74, 64, 53, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* Container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 254, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-family: system-ui, -apple-system, sans-serif;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.pill:hover {
  background: var(--golden-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--soft-gold);
  color: white;
  font-size: 14px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.3);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212, 168, 83, 0.4);
}

.btn.secondary {
  background: var(--warm-white);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn.secondary:hover {
  background: var(--golden-glow);
  border-color: var(--soft-gold);
}

/* Hero Section */
.hero {
  padding: 48px 0 40px;
  text-align: center;
}

.hero-logo {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.hero-tagline {
  margin: 0 0 12px;
  font-size: 24px;
  font-style: italic;
  color: var(--soft-gold);
  letter-spacing: 0.5px;
}

.hero-subtitle {
  margin: 0 auto 32px;
  max-width: 540px;
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Letter Gallery */
.letter-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 48px auto 0;
}

.letter-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.letter-card:hover {
  transform: translateY(-4px);
}

.letter-card img {
  width: 100%;
  height: auto;
  display: block;
}

.letter-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  background: rgba(255, 254, 249, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 13px;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-light);
  text-align: center;
}

/* Features Section */
.features {
  padding: 60px 0;
}

.features-title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--golden-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* How It Works */
.how-section {
  padding: 60px 0;
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-title {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-gold);
  color: white;
  font-size: 13px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.55;
}

/* Footer */
.footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  font-family: system-ui, -apple-system, sans-serif;
}

/* ========================================
   WIZARD STYLES
   ======================================== */

.wizard-wrap {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 24px;
}

.wizard {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.wizard-main {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 28px;
}

.wizard-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Stepper */
.stepper {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.step-dot {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.step-dot.active {
  background: var(--soft-gold);
  color: white;
  border-color: var(--soft-gold);
}

/* Form Elements */
.step h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
}

.step .lede {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-light);
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  font-size: 12px;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: all 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  border-color: var(--soft-gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

input[type="file"] {
  font-size: 13px;
  font-family: system-ui, -apple-system, sans-serif;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.smallprint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--sage-light);
  border-radius: 12px;
  font-size: 13px;
  color: var(--sage);
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

/* Preview Cards */
.preview-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.preview-title b {
  font-size: 14px;
  font-family: system-ui, -apple-system, sans-serif;
}

.badge {
  font-size: 11px;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--golden-glow);
  color: var(--soft-gold);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.frame .hint {
  padding: 16px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

/* Letter Preview in Wizard */
.letter-preview {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.letter-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 800px) {
  .brand-logo {
    height: 24px;
  }

  .hero-logo {
    max-width: 420px;
  }

  .hero-tagline {
    font-size: 20px;
  }

  .letter-gallery {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .wizard {
    grid-template-columns: 1fr;
  }

  .wizard-aside {
    order: -1;
  }

  .row {
    grid-template-columns: 1fr;
  }

  .nav-links .pill {
    display: none;
  }
}

@media (max-width: 500px) {
  .brand-logo {
    height: 22px;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero-logo {
    max-width: 300px;
    padding: 0 16px;
  }

  .hero-tagline {
    font-size: 17px;
    padding: 0 16px;
  }

  .hero-subtitle {
    font-size: 15px;
    padding: 0 8px;
  }
}
