:root {
  --cream: #f4f0e6;
  --brand-green: #087C7D;
  --teal: var(--brand-green);
  --forest: var(--brand-green);
  --ink: #111513;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  background: #0b100f;
  color: white;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

.intro {
  position: fixed; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center;
  overflow: hidden; background: radial-gradient(circle at 50% 47%, #fff 0%, #fbfdfc 42%, #dfe9e7 100%); color: var(--forest);
  transition: opacity 350ms ease, visibility 350ms ease;
  clip-path: inset(0 0 0 0);
}
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,32,29,.08) 0%, transparent 24%, transparent 72%, rgba(8,32,29,.12) 100%), radial-gradient(ellipse at center, transparent 52%, rgba(7,28,26,.12) 100%); mix-blend-mode: multiply; animation: fadeIn 1.2s ease both; }
.intro::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0, rgba(255,255,255,.18) 1px, transparent 1px, transparent 3px); }
.intro.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-seen .intro { display: none; }
.intro-aura { position: absolute; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(32,121,117,.17), rgba(32,121,117,0) 66%); animation: auraIn 1.1s ease both; }
.intro-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; transform: translateY(-8svh); }
.intro-mark { position: relative; width: 220px; height: 180px; overflow: hidden; display: grid; place-items: center; background: transparent; animation: markIn .7s cubic-bezier(.16,.8,.25,1) both; }
.intro-mark img { width: 220px; height: 180px; object-fit: contain; display: block; }
.intro-rule { position: relative; z-index: 1; width: 0; height: 1px; margin-top: 24px; background: linear-gradient(90deg, transparent, var(--teal), transparent); animation: ruleDraw .5s .35s ease forwards; }
.intro p { position: relative; z-index: 1; width: min(88vw, 420px); margin: 18px 0 0; overflow: hidden; text-align: center; font-size: .79rem; font-weight: 800; letter-spacing: .32em; padding-left: .32em; text-transform: uppercase; }
.intro p span { display: block; animation: titleRise .52s .4s cubic-bezier(.16,.8,.25,1) both; }

.background, .veil {
  position: fixed;
  inset: 0;
}

.background {
  background-image: url("assets/mountains.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.025);
  transition: opacity 420ms ease, transform 8s ease;
}

.background.shift { opacity: 1; transform: scale(1.055); }

.veil {
  background:
    linear-gradient(180deg, rgba(5, 17, 16, .7) 0%, rgba(5, 17, 16, .18) 28%, rgba(5, 17, 16, .48) 68%, rgba(5, 17, 16, .88) 100%),
    radial-gradient(circle at 50% 44%, transparent 0%, rgba(0, 0, 0, .22) 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 24px max(17px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.page-shell { opacity: 0; transform: translateY(10px) scale(.985); transition: opacity 260ms ease, transform 300ms cubic-bezier(.2,.9,.2,1); }
.page-shell.revealed { opacity: 1; transform: none; }
.daily-feature { position: fixed; inset: 0; z-index: 11; display: grid; place-items: center; padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom)); color: white; text-align: center; overflow: hidden; background: rgba(4,16,14,.22); transition: opacity 220ms ease, transform 280ms cubic-bezier(.2,.9,.2,1), visibility 220ms ease; }
.daily-feature.leaving { opacity: 0; transform: scale(1.07); visibility: hidden; pointer-events: none; }
.daily-feature.leaving .daily-content { animation: dailyLaunch 280ms cubic-bezier(.2,.9,.2,1) both; }
.daily-feature.leaving .daily-glow { animation: launchGlow 280ms ease-out both; }
.daily-glow { position: absolute; width: min(110vw, 780px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(32,121,117,.3), transparent 66%); animation: dailyPulse 5s ease-in-out infinite alternate; }
.daily-content { position: relative; width: min(100%, 700px); display: grid; justify-items: center; }
.daily-kicker { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .28em; padding-left: .28em; text-transform: uppercase; color: rgba(255,255,255,.92); }
.daily-date { margin-top: 10px; font-size: .85rem; color: rgba(255,255,255,.68); }
.daily-quote { margin-top: clamp(34px, 7svh, 72px); max-width: 18ch; font-size: clamp(2.4rem, 9.6vw, 5rem); animation: dailyRise 800ms 120ms cubic-bezier(.16,.8,.25,1) both; }
.enter-experience { width: min(100%, 360px); min-height: 60px; margin-top: clamp(42px, 8svh, 76px); padding: 0 8px 0 24px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: var(--cream); color: var(--ink); box-shadow: 0 16px 42px rgba(0,0,0,.3); font: 800 .95rem/1 inherit; animation: dailyRise 700ms 320ms cubic-bezier(.16,.8,.25,1) both; }
.enter-experience { position: relative; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; touch-action: none; }
.enter-experience::before { content: ""; position: absolute; z-index: -1; inset: 0; right: 100%; background: color-mix(in srgb, var(--brand-green) 22%, var(--cream)); }
.enter-experience > span { position: relative; z-index: 1; }
.enter-experience.holding { transform: scale(.975); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.enter-experience.holding::before { animation: holdFill .75s linear forwards; }
.enter-experience.holding > span:first-child { letter-spacing: .035em; }
.enter-experience.holding .enter-arrow { animation: holdPulse .55s ease-in-out infinite alternate; }
.enter-experience.ready { background: var(--brand-green); color: white; transform: scale(1.025); }
.enter-experience.ready .enter-arrow { background: white; color: var(--brand-green); transform: scale(1.08); }
.enter-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: white; transition: transform 220ms ease; }
.enter-arrow svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.enter-experience:hover .enter-arrow { transform: translateX(3px); }
@keyframes dailyRise { from { opacity: 0; transform: translateY(18px); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes dailyPulse { from { transform: scale(.92); opacity: .65; } to { transform: scale(1.08); opacity: 1; } }
@keyframes holdFill { to { right: 0; } }
@keyframes holdPulse { to { transform: translateX(3px) scale(1.12); } }
@keyframes dailyLaunch { 0% { transform: scale(1); filter: blur(0); } 45% { transform: scale(.975); } 100% { transform: scale(1.09); filter: blur(5px); } }
@keyframes launchGlow { 0% { opacity: .65; transform: scale(.9); } 55% { opacity: 1; transform: scale(1.3); } 100% { opacity: 0; transform: scale(1.7); } }

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.brand-lockup { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-lockup > span { max-width: 170px; line-height: 1.5; letter-spacing: .1em; }

.logo-card {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.logo-card img { width: 43px; height: 39px; object-fit: contain; }

.quote-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 680px;
  width: 100%;
  padding: 4svh 0 2svh;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .19em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 9.8vw, 4.75rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 5px rgba(0,0,0,.72), 0 10px 32px rgba(0,0,0,.5);
}

#quote {
  padding: .01em .12em .045em;
  margin-inline: -.12em;
  border-radius: .11em;
  background: rgba(4,16,14,.46);
  box-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

#quote.animate { animation: quoteIn 540ms cubic-bezier(.2,.75,.2,1) both; }

.need-picker { margin-bottom: 13px; }
.need-picker > p { margin: 0 0 10px; color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 550; text-align: center; }
.need-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.need-options button { min-height: 38px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.72); color: var(--brand-green); border: 1px solid rgba(255,255,255,.58); backdrop-filter: blur(8px); font: 700 .8rem/1 inherit; }
.need-options button[aria-pressed="true"] { background: var(--cream); color: var(--brand-green); border-color: var(--cream); }

.journey-entry { min-height: 46px; padding: 0 17px; border-radius: 999px; border: 1px solid rgba(255,255,255,.38); background: rgba(7,29,26,.58); color: white; backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(0,0,0,.18); font: 750 .8rem/1 inherit; letter-spacing: .03em; text-transform: none; }

.actions { display: flex; align-items: center; gap: 10px; }

button {
  min-height: 54px;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.new-quote {
  flex: 1;
  border-radius: 999px;
  padding: 0 8px 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  color: var(--ink);
  border: 0;
  font: inherit;
  font-size: .95rem;
  font-weight: 750;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
}

.new-quote .next-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0; background: transparent; color: var(--ink); }
.new-quote svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.new-quote.turn .next-icon { animation: nextTurn 520ms cubic-bezier(.2,.8,.2,1); }

.share, .favorite {
  flex: 0 0 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: white;
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(10px);
}

.share svg, .favorite svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.favorite[aria-pressed="true"] { background: var(--cream); color: var(--forest); }
.favorite[aria-pressed="true"] svg { fill: currentColor; }

button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.new-quote:focus, .new-quote:focus-visible { outline: none; }
button:active { transform: scale(.98); }

.toast {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 90px;
  translate: -50% 12px;
  opacity: 0;
  pointer-events: none;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15,25,23,.92);
  color: white;
  font-size: .82rem;
  transition: .25s ease;
}

.toast.show { opacity: 1; translate: -50% 0; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 4; background: rgba(3,12,11,.58); backdrop-filter: blur(5px); }
.journey-sheet { position: fixed; z-index: 5; left: 50%; bottom: 0; width: min(100%, 680px); max-height: min(88svh, 760px); overflow-y: auto; padding: 9px 24px max(24px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #f7f5ef; color: var(--ink); box-shadow: 0 -25px 70px rgba(0,0,0,.3); transform: translate(-50%, 105%); transition: transform 360ms cubic-bezier(.2,.8,.2,1); }
.journey-sheet.open { transform: translate(-50%, 0); }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 19px; border-radius: 9px; background: #c9c7c0; }
.sheet-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.sheet-heading .eyebrow { color: #63807b; margin-bottom: 5px; }
.sheet-heading h2 { margin: 0; font: 400 2.15rem/1 Georgia, serif; letter-spacing: -.035em; }
.close-sheet { min-height: 42px; width: 42px; border-radius: 50%; background: #e9e6de; font-size: 1.7rem; line-height: 1; }
.streak-card { margin: 22px 0; padding: 18px; border-radius: 20px; display: flex; align-items: center; gap: 15px; background: var(--forest); color: white; }
.streak-number { font: 400 2.8rem/1 Georgia, serif; color: #9ed3cc; }
.streak-card div { display: grid; gap: 3px; }
.streak-card strong { font-size: .9rem; }
.streak-card div span { color: rgba(255,255,255,.65); font-size: .76rem; }
.week-trail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin: -9px 0 20px; padding: 13px 5px 7px; border: 1px solid #dce3dd; border-radius: 17px; background: #edf2ed; }
.trail-day { display: grid; justify-items: center; gap: 7px; color: #61736f; }
.trail-day small { font-size: .75rem; }
.trail-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid #cbd9d1; color: white; font-size: .8rem; }
.trail-day.done .trail-dot { background: var(--forest); border-color: var(--forest); }
.trail-day.today .trail-dot { outline: 2px solid #83a69c; outline-offset: 2px; }
.today-card { padding: 17px 18px; margin-bottom: 20px; background: #fff; border: 1px solid #e2dfd7; border-radius: 18px; }
.today-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.today-heading strong { font: 400 1.5rem/1.2 Georgia, serif; }
.today-heading span { color: var(--brand-green); font-size: .86rem; font-weight: 700; }
.today-card p { margin: 9px 0 0; font-size: .91rem; color: #52625d; }
.today-card .today-action { color: var(--forest); font-weight: 700; }
.today-card .today-reflection-label { display: block; margin-top: 16px; color: #6b7b77; font-size: .73rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.today-card .today-reflection { margin-top: 6px; padding-top: 10px; border-top: 1px solid #e8e4dc; color: #263b37; font: 400 1rem/1.5 Georgia, serif; white-space: pre-wrap; }
.today-card blockquote { margin-top: 13px; max-width: none; color: #405b55; font: italic 1.1rem/1.35 Georgia, serif; text-shadow: none; }
.privacy-note { display: flex; gap: 11px; align-items: flex-start; margin: -6px 0 21px; padding: 13px 14px; border-radius: 15px; background: #e9f0ed; color: #36524d; }
.privacy-note > span { font-size: 1.35rem; line-height: 1; color: var(--brand-green); }
.privacy-note p { margin: 0; font-size: .76rem; line-height: 1.45; }
.privacy-note strong { display: block; margin-bottom: 2px; }
.journey-step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 16px 0; border-top: 1px solid #dfdcd3; }
.journey-step > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e6ebe7; color: var(--brand-green); font-size: .62rem; font-weight: 800; }
.journey-step > div { min-width: 0; }
.sheet-needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.sheet-needs button { min-height: 42px; padding: 0 6px; border-radius: 999px; border: 1px solid #d4d8d3; background: white; color: #4e625e; font: 700 .86rem/1 inherit; }
.sheet-needs button[aria-pressed="true"] { background: var(--forest); color: white; border-color: var(--forest); }
.reflection-label, .saved-heading h3 { display: block; margin: 0; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-green); font-weight: 750; }
.reflection-prompt { margin: 10px 0; font: 400 1.25rem/1.3 Georgia, serif; }
textarea { width: 100%; resize: none; border: 1px solid #d8d5cd; border-radius: 16px; background: white; padding: 14px; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.4; outline: none; }
textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32,121,117,.18); }
.reflection-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.save-reflection, .copy-reflection { min-height: 46px; border-radius: 999px; font: 750 .78rem inherit; }
.save-reflection { background: var(--forest); color: white; }
.save-reflection.saved { background: var(--brand-green); }
.copy-reflection { background: #e9e6de; color: var(--ink); }
.save-status { min-height: 1.25rem; margin: 7px 3px 0; color: var(--brand-green); font-size: .76rem; font-weight: 650; }
.action-options { display: grid; gap: 7px; margin-top: 10px; }
.action-options button { min-height: 45px; padding: 10px 13px; border-radius: 13px; border: 1px solid #d9d6ce; background: white; color: #34423f; text-align: left; font: 650 .82rem/1.3 inherit; }
.action-options button::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; border: 1.5px solid #8d9996; vertical-align: -1px; }
.action-options button[aria-pressed="true"] { border-color: var(--brand-green); background: #edf3f0; color: var(--forest); }
.action-options button[aria-pressed="true"]::before { border: 4px solid var(--forest); }
.action-options button:disabled { cursor: default; opacity: .65; }
.complete-journey { width: 100%; margin-top: 4px; border-radius: 999px; background: var(--forest); color: white; font: 800 .9rem inherit; box-shadow: 0 10px 24px rgba(23,62,57,.18); }
.complete-journey:disabled { cursor: default; opacity: .65; }
.completion-message { margin: 11px 0 0; padding: 14px; border-radius: 13px; background: #e8f1ed; color: #31544e; text-align: center; font: 400 .92rem/1.5 inherit; }
.saved-heading { margin: 25px 0 10px; display: flex; justify-content: space-between; align-items: center; }
.saved-heading span { min-width: 26px; padding: 4px 8px; border-radius: 99px; background: #e5e2d9; text-align: center; font-size: .72rem; }
.saved-list { display: grid; gap: 8px; }
.saved-item { padding: 14px 44px 14px 15px; position: relative; border-radius: 15px; background: white; border: 1px solid #e2dfd7; font: 400 1rem/1.35 Georgia, serif; }
.saved-item button { position: absolute; right: 7px; top: 7px; min-height: 32px; width: 32px; border-radius: 50%; background: transparent; color: #6c7774; font-size: 1.25rem; }
.empty-saved { padding: 18px; border: 1px dashed #d5d1c7; border-radius: 15px; color: #6c7774; text-align: center; font-size: .82rem; }
.completed-days { display: grid; gap: 8px; padding-bottom: 4px; }
.completed-day { display: flex; gap: 11px; align-items: center; padding: 11px 13px; border: 1px solid #e2dfd7; border-radius: 14px; background: white; }
.completed-day .check { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; background: var(--forest); color: white; font-size: .72rem; }
.completed-day div { display: grid; gap: 2px; }
.completed-day strong { font-size: .8rem; }
.completed-day small { color: #6c7774; font-size: .7rem; line-height: 1.3; }

.celebration { position: fixed; inset: 0; z-index: 8; pointer-events: none; overflow: hidden; }
.celebration i { position: absolute; top: -16px; left: var(--x); width: 8px; height: 14px; border-radius: 2px; background: var(--color); opacity: 0; transform: rotate(0); }
.celebration.play i { animation: celebrate 1.4s var(--delay) cubic-bezier(.2,.7,.3,1) both; }
@keyframes celebrate {
  0% { opacity: 0; transform: translateY(-20px) rotate(0); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translateY(105svh) rotate(540deg); }
}

@keyframes quoteIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes nextTurn { 50% { transform: translateX(3px) scale(1.08); } }

@keyframes markIn {
  from { opacity: 0; transform: scale(.82); filter: blur(12px); }
  60% { opacity: 1; }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes auraIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1.15); } }
@keyframes ruleDraw { to { width: 160px; } }
@keyframes titleRise { from { opacity: 0; transform: translateY(110%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-height: 670px) {
  .page-shell { padding-top: max(14px, env(safe-area-inset-top)); }
  .logo-card { width: 42px; height: 42px; }
  .logo-card img { width: 38px; height: 34px; }
  .quote-area { padding: 2svh 0 1svh; }
  blockquote { font-size: clamp(2rem, 8.8vw, 3.45rem); }
  .need-picker { margin-bottom: 8px; }
  .need-picker > p { font-size: .82rem; }
}

@media (max-width: 400px) {
  .page-shell { padding-inline: 19px; }
  .brand-lockup { gap: 9px; }
  .brand-lockup > span { max-width: 120px; font-size: .65rem; letter-spacing: .04em; }
  .journey-entry { padding-right: 12px; }
  .need-options { grid-template-columns: 1fr 1fr; }
  .sheet-needs { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 700px) {
  .journey-sheet { bottom: 20px; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Focused daily commitment tracker */
.tracker-sheet { max-height: min(84svh, 720px); padding-bottom: max(30px, env(safe-area-inset-bottom)); }
.tracker-heading { align-items: center; }
.tracker-eyebrow { margin: 0 0 6px; color: var(--brand-green); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.tracker-heading h2 { max-width: 12ch; font-size: clamp(1.9rem, 7vw, 2.5rem); }
.journey-date { display: block; margin-top: 8px; color: #71817e; font-size: .8rem; font-weight: 650; }
.goal-setup { margin-top: 28px; }
.setup-question { margin: 0 0 15px; color: #364b47; font: 400 1.28rem/1.35 Georgia, serif; }
.goal-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.goal-presets button { min-height: 58px; padding: 9px; border: 1px solid #d8ddd8; border-radius: 16px; background: white; color: #3b4e4a; font: 750 .82rem/1.2 inherit; }
.goal-presets button[aria-pressed="true"] { border-color: var(--forest); background: var(--forest); color: white; box-shadow: 0 8px 20px rgba(23,62,57,.18); }
.custom-goal-wrap { display: grid; gap: 7px; margin-top: 15px; color: var(--brand-green); font-size: .76rem; font-weight: 750; }
.custom-goal-wrap input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #d8d5cd; border-radius: 14px; background: white; color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.2; outline: none; }
.custom-goal-wrap input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(32,121,117,.18); }
.start-goal { width: 100%; margin-top: 16px; border-radius: 999px; background: var(--forest); color: white; font: 800 .92rem inherit; box-shadow: 0 10px 24px rgba(23,62,57,.2); }
.start-goal:disabled { opacity: .38; cursor: default; }
.active-goal { margin-top: 23px; }
.streak-hero { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 20px; padding: 22px; border-radius: 24px; background: var(--forest); color: white; overflow: hidden; position: relative; }
.streak-hero::after { content:""; position:absolute; width:180px; height:180px; right:-70px; top:-90px; border-radius:50%; background:rgba(32,121,117,.18); }
.streak-ring { width: 126px; height: 126px; display: grid; place-content: center; justify-items: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 8px rgba(255,255,255,.035); }
.streak-ring.on { border-color: rgba(255,255,255,.82); box-shadow: 0 0 0 7px rgba(32,121,117,.14), 0 0 34px rgba(32,121,117,.26); }
.streak-ring span { font: 400 3.35rem/.9 Georgia, serif; color: white; }
.streak-ring small { margin-top: 7px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.streak-copy { position: relative; z-index: 1; display: grid; gap: 5px; }
.streak-copy > span { color: rgba(255,255,255,.62); font-size: .72rem; }
.streak-copy strong { font: 400 1.45rem/1.18 Georgia, serif; }
.streak-copy button { min-height: 28px; width: max-content; padding: 0; background: transparent; color: white; font: 700 .72rem inherit; text-decoration: underline; text-underline-offset: 3px; }
.tracker-trail { margin: 14px 0 18px; padding: 14px 7px 9px; }
.tracker-trail .trail-day small { text-transform: uppercase; }
.today-goal { padding: 20px; border: 1px solid #dfddd5; border-radius: 21px; background: white; text-align: center; }
.today-goal p { margin: 0 0 15px; color: #334a45; font: 400 1.18rem/1.35 Georgia, serif; }
.complete-goal { width: 100%; min-height: 60px; padding: 0 8px 0 22px; display: flex; align-items: center; justify-content: space-between; border-radius: 999px; background: var(--forest); color: white; font: 800 .92rem inherit; box-shadow: 0 10px 25px rgba(23,62,57,.23); }
.complete-check { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:var(--teal); font-size:1.15rem; transition:transform .35s cubic-bezier(.2,.9,.2,1); }
.complete-goal.completed { background:var(--brand-green); cursor:default; }
.complete-goal.completed .complete-check { background:white; color:var(--brand-green); transform:rotate(360deg) scale(1.06); }
.undo-goal { min-height: 30px; margin-top: 9px; background: transparent; color: #75817e; font: 650 .72rem inherit; text-decoration: underline; }
.next-return { margin: 13px 0 0; color: #657673; text-align: center; font-size: .79rem; }
@media (max-width: 420px) { .streak-hero { grid-template-columns: 108px 1fr; gap: 15px; padding: 18px; } .streak-ring { width: 106px; height: 106px; } .streak-ring span { font-size: 2.85rem; } .goal-presets { grid-template-columns: 1fr; } .goal-presets button { min-height: 48px; } }

/* Grounded completion feedback */
.celebration { display: grid; place-items: center; background: rgba(5,18,17,0); backdrop-filter: blur(0); opacity: 0; transition: opacity .3s ease, background .3s ease, backdrop-filter .3s ease; }
.celebration.play { opacity: 1; background: rgba(5,18,17,.72); backdrop-filter: blur(10px); }
.celebration i { display: none; }
.completion-impact { display: grid; justify-items: center; color: white; transform: scale(.82); opacity: 0; }
.celebration.play .completion-impact { animation: impactArrive 1.85s cubic-bezier(.18,.85,.2,1) both; }
.impact-rings { position: relative; width: 136px; height: 136px; display: grid; place-items: center; }
.impact-rings span { position: absolute; inset: 18px; border: 2px solid rgba(255,255,255,.62); border-radius: 50%; opacity: 0; }
.celebration.play .impact-rings span:nth-child(1) { animation: ringOut 1.15s .1s ease-out both; }
.celebration.play .impact-rings span:nth-child(2) { animation: ringOut 1.15s .28s ease-out both; }
.celebration.play .impact-rings span:nth-child(3) { animation: ringOut 1.15s .46s ease-out both; }
.impact-rings strong { position: relative; z-index: 1; width: 82px; height: 82px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-green); box-shadow: 0 16px 45px rgba(0,0,0,.28); font-size: 2rem; }
.completion-impact p { margin: 15px 0 3px; font: 400 2rem/1 Georgia, serif; letter-spacing: -.02em; }
.completion-impact small { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.streak-ring.impact { animation: streakImpact .75s cubic-bezier(.2,.9,.25,1); }
@keyframes ringOut { 0% { opacity: .8; transform: scale(.65); } 100% { opacity: 0; transform: scale(1.85); } }
@keyframes impactArrive { 0% { opacity: 0; transform: scale(.72); } 18%,75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04); } }
@keyframes streakImpact { 0% { transform: scale(.9); } 48% { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(255,255,255,.12), 0 0 48px rgba(32,121,117,.48); } 100% { transform: scale(1); } }

/* Unified translucent ETJ controls */
.enter-experience,
.new-quote,
.journey-entry,
.share,
.need-options button {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.need-options button[aria-pressed="true"] { background: rgba(255,255,255,.24); color: #fff; border-color: rgba(255,255,255,.7); }
.enter-experience::before { background: rgba(255,255,255,.18); }
.enter-experience.ready { background: rgba(255,255,255,.3); color: #fff; }
.enter-arrow,
.enter-experience.ready .enter-arrow,
.new-quote .next-icon {
  background: transparent;
  color: #fff;
  border-radius: 0;
}
.goal-presets button,
.start-goal,
.complete-goal,
.close-sheet,
.streak-copy button,
.undo-goal {
  color: var(--brand-green);
  border: 1px solid rgba(32,121,117,.35);
  background: rgba(32,121,117,.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.goal-presets button[aria-pressed="true"],
.complete-goal.completed {
  color: var(--brand-green);
  border-color: rgba(32,121,117,.65);
  background: rgba(32,121,117,.17);
}
.start-goal:disabled { opacity: .38; }
.complete-check { background: rgba(32,121,117,.14); color: var(--brand-green); }
.complete-goal.completed .complete-check { background: rgba(255,255,255,.72); color: var(--brand-green); }
