/* ============================================================
   Connected — Attachment Style Guide for Two
   Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500;600&family=Satisfy&display=swap');

/* ---- CSS Variables ---- */
:root {
  --cream:       #FAF7F2;
  --cream-dark:  #F2EDE4;
  --sage:        #8BAF8D;
  --sage-light:  #B8CDB9;
  --sage-dark:   #6A9370;
  --rose:        #D4A5A5;
  --rose-light:  #E8C8C8;
  --rose-dark:   #B88080;
  --lavender:    #B8A9C9;
  --lavender-light: #D4CCDF;
  --mauve:       #9B6B8A;
  --mauve-dark:  #7A4F6A;
  --charcoal:    #3D3D3D;
  --charcoal-light: #6B6B6B;
  --white:       #FFFFFF;

  /* Style colors */
  --secure-color: #8BAF8D;
  --anxious-color: #B8A9C9;
  --avoidant-color: #D4A5A5;
  --disorganized-color: #C9B8A9;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-accent:  'Satisfy', cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(61,61,61,0.06);
  --shadow-md: 0 4px 20px rgba(61,61,61,0.10);
  --shadow-lg: 0 8px 40px rgba(61,61,61,0.14);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.3;
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.35rem); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

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

img { max-width: 100%; }

/* ---- Layout ---- */
.app-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.app-container--wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-page {
  min-height: 100vh;
  padding: 48px 0 80px;
}

/* ---- Navigation ---- */
.app-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,175,141,0.18);
  padding: 12px 24px;
}

.app-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-nav__logo {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--mauve);
  white-space: nowrap;
}

.app-nav__links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
}

.app-nav__links li a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal-light);
  padding: 5px 10px;
  border-radius: 20px;
  transition: var(--transition);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-nav__links li a:hover,
.app-nav__links li a.active {
  color: var(--mauve);
  background: var(--lavender-light);
}

.app-nav__user {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--charcoal-light);
  white-space: nowrap;
}

.avatar-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary {
  background: var(--sage);
  color: white;
  box-shadow: 0 4px 15px rgba(139,175,141,0.4);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139,175,141,0.5);
  color: white;
}

.btn-secondary {
  background: var(--cream);
  color: var(--mauve);
  border: 2px solid var(--mauve);
}
.btn-secondary:hover {
  background: var(--mauve);
  color: white;
  transform: translateY(-2px);
}

.btn-rose {
  background: var(--rose);
  color: white;
  box-shadow: 0 4px 15px rgba(212,165,165,0.4);
}
.btn-rose:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  color: white;
}

.btn-mauve {
  background: var(--mauve);
  color: white;
  box-shadow: 0 4px 15px rgba(155,107,138,0.4);
}
.btn-mauve:hover {
  background: var(--mauve-dark);
  transform: translateY(-2px);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal-light);
  padding: 12px 24px;
}
.btn-ghost:hover {
  color: var(--charcoal);
  background: var(--cream-dark);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-print {
  background: var(--cream-dark);
  color: var(--charcoal-light);
  border: 1px solid rgba(61,61,61,0.15);
}
.btn-print:hover {
  background: var(--charcoal);
  color: white;
}

/* ---- Cards ---- */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.12);
}

.card--rose {
  background: white;
  border-left: 4px solid var(--rose);
}

.card--sage {
  border-left: 4px solid var(--sage);
}

.card--lavender {
  border-left: 4px solid var(--lavender);
}

.card--mauve {
  border-left: 4px solid var(--mauve);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ---- Hero Section ---- */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
}

.hero__accent {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--sage);
  margin-bottom: 16px;
  display: block;
}

.hero__title {
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--mauve);
}

.hero__tagline {
  font-size: 1.15rem;
  color: var(--charcoal-light);
  max-width: 540px;
  margin: 0 auto 32px;
  font-weight: 300;
}

.hero__illustration {
  font-size: 5rem;
  margin-bottom: 32px;
  display: block;
}

/* ---- Step Cards ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.step-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.15);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step-card__number {
  width: 36px;
  height: 36px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 auto 12px;
}

.step-card__text {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  line-height: 1.5;
}

/* ---- Callout Box ---- */
.callout {
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin: 24px 0;
}

.callout--sage {
  background: linear-gradient(135deg, rgba(139,175,141,0.12), rgba(184,201,185,0.08));
  border: 1px solid rgba(139,175,141,0.25);
}

.callout--rose {
  background: linear-gradient(135deg, rgba(212,165,165,0.12), rgba(232,200,200,0.08));
  border: 1px solid rgba(212,165,165,0.25);
}

.callout--lavender {
  background: linear-gradient(135deg, rgba(184,169,201,0.12), rgba(212,204,223,0.08));
  border: 1px solid rgba(184,169,201,0.25);
}

.callout__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.callout__icon {
  font-size: 1.4rem;
  margin-right: 8px;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid rgba(139,175,141,0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: white;
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(139,175,141,0.15);
}

.form-input::placeholder {
  color: #C4B8B0;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--charcoal-light);
  margin-top: 6px;
}

/* ---- Toggle ---- */
.toggle-group {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.toggle-option {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(139,175,141,0.25);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  background: white;
}

.toggle-option:hover {
  border-color: var(--sage);
  background: rgba(139,175,141,0.05);
}

.toggle-option.active {
  border-color: var(--sage);
  background: rgba(139,175,141,0.12);
}

.toggle-option__icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.toggle-option__label { font-size: 0.9rem; font-weight: 500; }

/* ---- Color Picker ---- */
.color-picker {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid transparent;
  position: relative;
}

.color-swatch:hover,
.color-swatch.active {
  transform: scale(1.15);
  border-color: var(--charcoal);
}

/* ---- Quiz ---- */
.quiz-container {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-progress-bar {
  height: 6px;
  background: rgba(139,175,141,0.2);
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sage), var(--sage-dark));
  border-radius: 3px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-progress-text {
  font-size: 0.82rem;
  color: var(--charcoal-light);
  text-align: right;
  margin-bottom: 32px;
}

.quiz-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(139,175,141,0.12);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-card__greeting {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 12px;
  display: block;
}

.quiz-card__question {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--charcoal);
  margin-bottom: 36px;
  line-height: 1.4;
}

.quiz-scale {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.quiz-scale__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 2px solid rgba(139,175,141,0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  background: var(--cream);
}

.quiz-scale__option:hover {
  border-color: var(--sage);
  background: rgba(139,175,141,0.06);
}

.quiz-scale__option.selected {
  border-color: var(--sage);
  background: rgba(139,175,141,0.12);
}

.quiz-scale__option input[type="radio"] {
  display: none;
}

.quiz-scale__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(139,175,141,0.4);
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
}

.quiz-scale__option.selected .quiz-scale__dot {
  background: var(--sage);
  border-color: var(--sage);
}

.quiz-scale__option.selected .quiz-scale__dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.quiz-scale__label { font-size: 0.95rem; color: var(--charcoal); }
.quiz-scale__value {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-light);
  background: var(--cream-dark);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-tip {
  background: rgba(184,169,201,0.12);
  border: 1px solid rgba(184,169,201,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--charcoal-light);
  margin-bottom: 32px;
  font-style: italic;
}

/* ---- Results ---- */
.results-hero {
  text-align: center;
  padding: 48px 24px 32px;
}

.style-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.style-icon { font-size: 1.5rem; }

.results-body {
  padding: 0 0 60px;
}

.results-section {
  margin-bottom: 32px;
}

.results-section__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--charcoal-light);
  margin-bottom: 12px;
}

.superpower-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 12px;
}

.superpower-tag {
  background: white;
  border: 1px solid rgba(139,175,141,0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.88rem;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.needs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.needs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

.needs-list li::before {
  content: '✦';
  color: var(--sage);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.note-to-partner {
  background: linear-gradient(135deg, rgba(184,169,201,0.12), rgba(212,165,165,0.08));
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(184,169,201,0.2);
  position: relative;
}

.note-to-partner::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(155,107,138,0.15);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

/* ---- Pairing Section ---- */
.pairing-combo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  text-align: center;
  flex-wrap: wrap;
}

.pairing-combo__person {
  text-align: center;
}

.pairing-combo__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 8px;
}

.pairing-combo__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.pairing-combo__style {
  font-size: 0.8rem;
  color: var(--charcoal-light);
}

.pairing-combo__divider {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--rose);
}

.compatibility-bar {
  margin: 16px 0;
}

.compatibility-bar__track {
  height: 10px;
  background: var(--cream-dark);
  border-radius: 5px;
  overflow: hidden;
  margin: 8px 0;
}

.compatibility-bar__fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--sage), var(--lavender));
}

.compatibility-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--charcoal-light);
}

/* ---- Date Ideas ---- */
.date-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.12);
  transition: var(--transition);
}

.date-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.date-card__header {
  padding: 20px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.date-card__emoji { font-size: 2rem; }

.date-card__heart {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  transition: var(--transition);
  padding: 4px;
}

.date-card__heart:hover { transform: scale(1.2); }
.date-card__heart.hearted { color: var(--rose-dark); }
.date-card__heart:not(.hearted) { color: var(--cream-dark); filter: grayscale(1); }

.date-card__body { padding: 12px 24px 20px; }
.date-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.date-card__desc {
  font-size: 0.88rem;
  color: var(--charcoal-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.date-card__why {
  font-size: 0.83rem;
  color: var(--charcoal-light);
  font-style: italic;
  background: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.comfort-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.comfort-tag--lowkey   { background: rgba(139,175,141,0.15); color: var(--sage-dark); }
.comfort-tag--moderate { background: rgba(255,200,100,0.15); color: #9B7D30; }
.comfort-tag--adventure { background: rgba(184,169,201,0.2); color: var(--mauve); }

/* ---- Safety Guide ---- */
.safety-person-section {
  margin-bottom: 32px;
}

.safety-actions {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.safety-actions li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.93rem;
  line-height: 1.6;
}

.safety-actions li .action-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.repair-phrase {
  background: linear-gradient(135deg, rgba(212,165,165,0.12), rgba(184,169,201,0.1));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid rgba(212,165,165,0.2);
  text-align: center;
}

.repair-phrase__quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 16px 0;
}

/* ---- Journaling ---- */
.journal-category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid rgba(139,175,141,0.25);
  background: white;
  color: var(--charcoal-light);
  transition: var(--transition);
}

.tab-btn:hover { border-color: var(--sage); color: var(--sage-dark); }
.tab-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: white;
}

.journal-prompt-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.12);
  margin-bottom: 20px;
}

.journal-prompt-card__tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 10px;
}

.journal-prompt-card__prompt {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.5;
}

.journal-textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px 20px;
  border: 2px solid rgba(139,175,141,0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  resize: vertical;
  transition: var(--transition);
  outline: none;
  line-height: 1.7;
}

.journal-textarea:focus {
  border-color: var(--sage);
  background: white;
  box-shadow: 0 0 0 3px rgba(139,175,141,0.1);
}

.journal-textarea::placeholder { color: #C4B8B0; }

.journal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ---- Dashboard ---- */
.dashboard-header {
  text-align: center;
  padding: 48px 24px 32px;
}

.progress-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.progress-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.1);
  transition: var(--transition);
}

.progress-item:hover { transform: translateX(4px); }

.progress-item__check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.progress-item__check--done { background: var(--sage); color: white; }
.progress-item__check--pending { background: var(--cream-dark); color: var(--charcoal-light); }

.progress-item__info { flex: 1; }
.progress-item__title { font-weight: 500; font-size: 0.95rem; }
.progress-item__sub { font-size: 0.8rem; color: var(--charcoal-light); }

.progress-item__action {
  font-size: 0.82rem;
  color: var(--mauve);
  font-weight: 500;
}

.milestone {
  background: linear-gradient(135deg, rgba(139,175,141,0.1), rgba(184,169,201,0.08));
  border: 1px solid rgba(139,175,141,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.milestone__icon { font-size: 1.8rem; flex-shrink: 0; }
.milestone__text { font-size: 0.92rem; line-height: 1.6; }
.milestone__title { font-weight: 600; margin-bottom: 4px; }

/* ---- Saved Dates ---- */
.saved-dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.saved-date-chip {
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212,165,165,0.2);
  font-size: 0.9rem;
}

.saved-date-chip__emoji { font-size: 1.3rem; }
.saved-date-chip__name { font-weight: 500; }

/* ---- Section Dividers ---- */
.section-divider {
  text-align: center;
  margin: 48px 0;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 40px);
  height: 1px;
  background: rgba(139,175,141,0.2);
}

.section-divider::before { left: 0; }
.section-divider::after  { right: 0; }

.section-divider span {
  background: var(--cream);
  padding: 0 12px;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--sage);
}

/* ---- Secondary style bar ---- */
.secondary-style-bar {
  margin-top: 12px;
}

.style-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.style-bar-label { width: 120px; flex-shrink: 0; color: var(--charcoal); }
.style-bar-track {
  flex: 1;
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
}

.style-bar-fill { height: 100%; border-radius: 4px; }

.style-bar-pct {
  width: 38px;
  text-align: right;
  color: var(--charcoal-light);
  font-size: 0.82rem;
}

/* ---- Welcome page extra ---- */
.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  text-align: center;
  padding: 28px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(139,175,141,0.1);
}

.feature-card__icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.feature-card__text { font-size: 0.85rem; color: var(--charcoal-light); line-height: 1.6; }

/* ---- Print Styles ---- */
@media print {
  .app-nav, .btn-print, .quiz-nav, .no-print { display: none !important; }
  body { background: white; }
  .card, .quiz-card, .journal-prompt-card { box-shadow: none; border: 1px solid #eee; }
  .section-page { padding: 20px 0; }
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .quiz-card { padding: 32px 24px; }
  .pairing-combo { gap: 12px; }
  .app-nav__links { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .toggle-group { flex-direction: column; }
  .card { padding: 24px 20px; }
  .setup-grid { grid-template-columns: 1fr !important; }
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-muted { color: var(--charcoal-light); }
.text-sage { color: var(--sage-dark); }
.text-mauve { color: var(--mauve); }
.text-rose { color: var(--rose-dark); }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ---- Fade/slide animations ---- */
.fade-in {
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pulse-soft {
  animation: pulseSoft 2s ease-in-out infinite;
}
@keyframes pulseSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ---- Section indicator dots ---- */
.section-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-dark);
  transition: var(--transition);
}

.section-dot.active { background: var(--sage); transform: scale(1.3); }
.section-dot.done   { background: var(--sage-light); }

/* Who is taking quiz indicator */
.quiz-taker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
}
