@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  
  --ink:            #1F2E3D;   
  --indigo:         #35618C;   
  --indigo-light:   #6693BE;
  --indigo-pale:    #E5EDF3;
  --gold:           #C9A227;   
  --gold-pale:      #F7EFD6;
  --coral:          #A8791F;   
  --coral-pale:     #F0E4C6;
  --bg:             #FAF8F4;
  --card:           #FFFFFF;
  --text:           #1F2E3D;
  --text-soft:      #62727F;
  --border:         #E3E2DA;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --header-h: 68px;
  --bottom-nav-h: 64px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 4px 14px rgba(27, 27, 58, 0.07);
  --shadow-header: 0 4px 14px rgba(27, 27, 58, 0.16);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink:            #0E1A26;
  --indigo:         #6693BE;
  --indigo-light:   #8FB3D6;
  --indigo-pale:    #1B2C3B;
  --gold:           #E0B93E;
  --gold-pale:      #332812;
  --coral:          #D4A93A;
  --coral-pale:     #332812;
  --bg:             #101B24;
  --card:           #1A2733;
  --text:           #EBEEF2;
  --text-soft:      #93A3B1;
  --border:         #283845;
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.28);
  --shadow-header: 0 4px 14px rgba(0, 0, 0, 0.4);

  color-scheme: dark;
}

:root[data-theme="dark"] .profile-avatar {
  border-color: var(--card);
}

:root[data-theme="dark"] .quote-card::before {
  opacity: 0.5;
}

body {
  transition: background-color 0.2s ease, color 0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  padding-top: var(--header-h);
  padding-bottom: calc(var(--bottom-nav-h) + 16px);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px circle at 12% -8%, var(--indigo-pale) 0%, transparent 60%),
    radial-gradient(460px circle at 104% 18%, var(--gold-pale) 0%, transparent 55%),
    radial-gradient(620px circle at 50% 115%, var(--indigo-pale) 0%, transparent 62%);
  opacity: 0.7;
}

:root[data-theme="dark"] body::before {
  opacity: 0.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  background: linear-gradient(120deg, var(--ink) 0%, var(--indigo) 100%);
  box-shadow: var(--shadow-header);
  border-bottom: 2px solid var(--gold);
}

.site-header__profile {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  justify-self: start;
  overflow: hidden;
  transition: background 0.15s ease, transform 0.15s ease;
}
.site-header__profile:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.site-header__profile svg { width: 18px; height: 18px; }
.site-header__profile-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
  justify-self: center;
  padding: 0 12px;
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  gap: 8px;
  justify-self: end;
}

.icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.26); transform: translateY(-1px); }
.icon-btn svg { width: 16px; height: 16px; }

.hero {
  position: relative;
  padding: 48px 0 32px;
  text-align: center;
  overflow: hidden;
}

.hero__trail {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 250px;
  z-index: 0;
  opacity: 0.9;
}

.hero__content { position: relative; z-index: 1; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo);
  background: var(--indigo-pale);
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1.02;
  color: var(--text);
  margin: 0;
}
.hero__title span { color: var(--gold); }

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-soft);
  max-width: 360px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

.nav-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 10px 0 32px;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 6px solid var(--indigo);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-card:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(27,27,58,0.1); }
.nav-card:active { transform: translateY(0); }

.nav-card--milestone { border-left-color: var(--coral); }
.nav-card--verse { border-left-color: var(--gold); }
.nav-card--growth { border-left-color: var(--indigo-light); }

.nav-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--indigo-pale);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-card--milestone .nav-card__icon { background: var(--coral-pale); color: var(--coral); }
.nav-card--verse .nav-card__icon { background: var(--gold-pale); color: #8A6A15; }
.nav-card__icon svg { width: 27px; height: 27px; }

.nav-card__text { flex: 1; }
.nav-card__title {
  font-weight: 800;
  font-size: 1.14rem;
  color: var(--text);
  margin: 0 0 3px;
}
.nav-card__desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0;
}

.nav-card__chevron { color: var(--text-soft); flex-shrink: 0; }
.nav-card__chevron svg { width: 18px; height: 18px; }

.page-header {
  padding: 28px 0 6px;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.05;
  color: var(--indigo);
  margin: 0;
}

.page-header__sub {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 8px 0 0;
  max-width: 400px;
}

.media-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  background: var(--indigo-pale);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-light);
  margin: 20px 0;
}
.media-frame svg { width: 40px; height: 40px; opacity: 0.6; }

.section-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin: 26px 0 12px;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.journal-box {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.journal-box::placeholder { color: #A3ADB6; }
.journal-box:focus { outline: none; }

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo) 0%, var(--border) 45%);
  margin: 28px 0;
}

.streak {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 0 6px;
}

.streak__flame {
  font-size: 2.6rem;
  animation: flicker 3s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes flicker {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.streak__count {
  text-align: left;
}
.streak__number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  display: block;
}
.streak__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--coral);
  letter-spacing: 0.04em;
}

.streak__note {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 4px 0 18px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--indigo), var(--coral));
  transition: width 1.1s cubic-bezier(.3,.9,.3,1);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.stat-card__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--indigo);
  display: block;
}
.stat-card__label {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
  top: 2px; left: 14px;
  line-height: 1;
}
.quote-card__text {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.6;
  margin: 8px 0 10px 18px;
  font-style: italic;
}
.quote-card__cite {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-left: 18px;
}

.btn-next {
  width: 58px; height: 58px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--indigo), var(--ink));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(79, 82, 168, 0.35);
  margin: 8px auto 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-next:hover { transform: translateY(-2px) scale(1.03); }
.btn-next svg { width: 22px; height: 22px; }

.btn-next-wrap { display: flex; justify-content: center; padding: 6px 0 4px; }

.profile-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 10px;
}
.profile-avatar {
  position: relative;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-light), var(--ink));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--card);
  outline: 2px dashed var(--border);
  outline-offset: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s ease;
}
.profile-avatar:hover { transform: translateY(-1px); }

.profile-avatar__img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-avatar__edit {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--card);
}
.profile-avatar__edit svg { width: 15px; height: 15px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.profile-avatar svg { width: 56px; height: 56px; opacity: 0.9; }

.profile-name-wrap {
  text-align: center;
  margin-bottom: 4px;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  border: none;
  background: transparent;
  text-align: center;
  width: 100%;
}
.profile-name::placeholder { color: #A3ADB6; }
.profile-tag {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.field-group { margin-bottom: 16px; }
.field-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
  margin-bottom: 6px;
}
.field-group input,
.field-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--text);
}
.field-group input:focus,
.field-group select:focus { border-color: var(--indigo-light); outline: none; }

.btn-save {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--indigo), var(--ink));
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  margin-top: 6px;
  box-shadow: 0 10px 22px rgba(79, 82, 168, 0.3);
}

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
  box-shadow: var(--shadow-card);
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.bottom-nav__item svg { width: 20px; height: 20px; }
.bottom-nav__item.is-active { color: var(--indigo); }
.bottom-nav__item.is-active svg { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .streak__flame { animation: none; }
  .progress-fill { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.9rem; }
  .streak__number { font-size: 2.4rem; }
  .nav-card { padding: 18px 18px; gap: 14px; }
  .nav-card__icon { width: 46px; height: 46px; }
  .hero__trail { width: 240px; height: 200px; }
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 6px;
  justify-content: center;
}
.choice-btn {
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.choice-btn:hover { border-color: var(--indigo-light); transform: translateY(-1px); }
.choice-btn.is-selected {
  background: linear-gradient(120deg, var(--indigo), var(--ink));
  border-color: transparent;
  color: #fff;
}

.meter-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 22px 0 10px;
}
.meter-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}
.meter-btn:hover { border-color: var(--gold); }
.meter-btn.is-selected {
  background: linear-gradient(135deg, var(--coral), var(--gold));
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}
.meter-readout {
  text-align: center;
  font-family: var(--font-mono);
  color: var(--text-soft);
  min-height: 22px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.wizard-progress {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 6px 0 22px;
}
.wizard-progress__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.2s ease;
}
.wizard-progress__dot.is-active { background: var(--indigo); width: 24px; border-radius: 5px; }
.wizard-progress__dot.is-done { background: var(--indigo-light); }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: stepIn 0.35s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin: 0 0 16px;
  text-align: center;
}

.wizard-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 26px;
}
.wizard-nav--center { justify-content: center; }

.btn-primary {
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(120deg, var(--indigo), var(--ink));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-ghost:hover { border-color: var(--indigo-light); color: var(--indigo); }

.other-input-wrap {
  margin-top: 16px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.other-input-wrap input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.other-input-wrap input:focus { outline: none; border-color: var(--indigo-light); }

.result-pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  background: var(--indigo-pale);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.result-card { text-align: center; }
.result-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.result-stack .quote-card { text-align: left; }

.toast-region {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + 18px);
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: calc(100% - 40px);
  max-width: 380px;
}
.toast {
  pointer-events: auto;
  background: var(--ink);
  color: #fff;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  animation: toastIn 0.25s ease;
  text-align: center;
}
.toast.is-leaving { animation: toastOut 0.25s ease forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(-6px) scale(0.97); }
}

.goal-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 4px 0 20px;
}
.goal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
}
.goal-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.goal-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text);
  word-break: break-word;
}
.goal-card__remove {
  color: var(--text-soft);
  background: none;
  border: none;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.goal-card__remove:hover { color: var(--coral); background: var(--coral-pale); }
.goal-card__remove svg { width: 17px; height: 17px; display: block; }

.goal-card__stats {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.goal-card__flame { font-size: 1.5rem; }
.goal-card__count {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--text);
}
.goal-card__unit { color: var(--text-soft); font-size: 0.85rem; }
.goal-card__target {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
}

.goal-card__actions { display: flex; gap: 10px; margin-top: 4px; }
.goal-card__actions button {
  flex: 1;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1.5px solid transparent;
  transition: transform 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.goal-card__actions button:active { transform: scale(0.97); }
.btn-add-day { background: linear-gradient(120deg, var(--indigo), var(--ink)); color: #fff; }
.btn-reset-day { background: var(--card); border-color: var(--border); color: var(--text-soft); }
.btn-reset-day:hover { border-color: var(--coral); color: var(--coral); }

.add-goal-card {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-align: center;
  background: transparent;
}
.add-goal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--indigo);
  font-weight: 700;
  font-size: 0.95rem;
}
.add-goal-toggle svg { width: 18px; height: 18px; }
.add-goal-form { display: none; text-align: left; margin-top: 16px; }
.add-goal-form.is-open { display: block; animation: stepIn 0.25s ease; }
.add-goal-form .field-group { margin-bottom: 12px; }
.add-goal-form-actions { display: flex; gap: 10px; margin-top: 4px; }
.add-goal-form-actions button { flex: 1; }

.empty-state {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
  padding: 24px 10px;
}

.reveal-card { cursor: pointer; }
.reveal-card__extra {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.reveal-card.is-open .reveal-card__extra { display: block; animation: stepIn 0.3s ease; }
.reveal-card__hint {
  font-size: 0.76rem;
  color: var(--text-soft);
  margin: 12px 0 0 18px;
  font-family: var(--font-mono);
}
.reveal-card__label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.reveal-card__body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.reveal-only-open { display: none; }
.reveal-card.is-open .reveal-only-closed { display: none; }
.reveal-card.is-open .reveal-only-open { display: inline; }

.momentum-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, var(--indigo-pale), var(--gold-pale));
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  margin-bottom: 6px;
  color: var(--text);
  transition: transform 0.15s ease;
}
.momentum-strip:hover { transform: translateY(-1px); }
.momentum-strip__flame { font-size: 1.2rem; }
.momentum-strip__text { flex: 1; font-size: 0.88rem; }
.momentum-strip__text strong { font-family: var(--font-mono); color: var(--indigo); }
.momentum-strip svg { width: 16px; height: 16px; color: var(--text-soft); flex-shrink: 0; }

.eval-block {
  margin-bottom: 22px;
  text-align: center;
}
.eval-block__label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 10px;
}
.eval-block:last-of-type { margin-bottom: 6px; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 6px 0 24px;
}
@media (max-width: 460px) {
  .problem-grid { grid-template-columns: 1fr; }
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.problem-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(27,27,58,0.1); }
.problem-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--indigo-pale);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.problem-card__icon svg { width: 21px; height: 21px; }
.problem-card__label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 5px;
}
.problem-card__desc {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.4;
}

.growth-view { display: none; }
.growth-view.is-active { display: block; animation: stepIn 0.3s ease; }

.growth-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 6px 0;
  margin-bottom: 6px;
}
.growth-detail__back:hover { color: var(--indigo); }
.growth-detail__back svg { width: 15px; height: 15px; }

.growth-detail__header { margin: 10px 0 20px; }
.growth-detail__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--indigo-pale);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.growth-detail__icon svg { width: 26px; height: 26px; }
.growth-detail__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 8px;
}
.growth-detail__blurb {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.step-item {
  display: flex;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}
.step-item__index {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--indigo-pale);
  color: var(--indigo);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-item__body { flex: 1; min-width: 0; }
.step-item__title {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--text);
  margin: 2px 0 5px;
}
.step-item__desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}
.step-item--verse {
  border-left: 4px solid var(--gold);
}
.step-item--verse .step-item__index {
  background: var(--gold-pale);
  color: #8A6A15;
}
.step-item__verse-text {
  font-style: italic;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 2px 0 6px;
}
.step-item__verse-ref {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
}
.badge-credibility {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--indigo-pale);
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 30, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 400;
}
.modal-overlay.is-open { display: flex; }
.modal-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  text-align: center;
  animation: stepIn 0.25s ease;
}
.modal-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: #8A6A15;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.modal-card__icon svg { width: 24px; height: 24px; }
.modal-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 8px;
}
.modal-card__body {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0 0 20px;
  line-height: 1.5;
}
.modal-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.remove-avatar-btn {
  background: none;
  border: none;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.remove-avatar-btn:hover {
  background: var(--coral-pale);
}
.clear-all-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.clear-all-btn {
  background: none;
  border: none;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
}
.clear-all-btn:hover {
  background: var(--coral-pale);
  color: var(--coral);
}
.btn-danger {
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(120deg, var(--coral), var(--ink));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
  transition: transform 0.15s ease;
}
.btn-danger:hover { transform: translateY(-1px); }
