/* ————— the present moment™ design system —————
   the polish IS the punchline. no visual jank anywhere. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --serif: "Didot", "Bodoni 72", "Baskerville", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #4a3752;
  --ink-soft: #8b7a9e;
  --accent: linear-gradient(135deg, #b995ec, #f5a58c);
  --card-bg: rgba(255, 255, 255, 0.55);
  --card-border: rgba(255, 255, 255, 0.75);
  --slow: 1.4s cubic-bezier(0.45, 0, 0.1, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(160deg, #f6ecff 0%, #ffeede 55%, #ffe3ef 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.6;
}

/* floating ambience */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: drift 26s ease-in-out infinite alternate;
}
.orb-1 { width: 44vw; height: 44vw; background: #d9b8ff; top: -12vw; left: -10vw; }
.orb-2 { width: 36vw; height: 36vw; background: #ffd2b3; bottom: -8vw; right: -8vw; animation-delay: -8s; }
.orb-3 { width: 26vw; height: 26vw; background: #ffc4dd; top: 42%; left: 58%; animation-delay: -16s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); filter: blur(90px) hue-rotate(0deg); }
  to   { transform: translate(4vw, -3vw) scale(1.12); filter: blur(90px) hue-rotate(55deg); }
}

/* ————— falling petals + cursor sparkles ————— */
#petals { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  bottom: -50px;
  animation: floatUp linear forwards;
  opacity: 0.5;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.85; }
  50%  { transform: translateY(-55vh) translateX(4vw) rotate(160deg); }
  92%  { opacity: 0.6; }
  100% { transform: translateY(-112vh) translateX(-3vw) rotate(340deg); opacity: 0; }
}
.spark {
  position: fixed;
  z-index: 400;
  pointer-events: none;
  font-size: 0.6rem;
  transform: translate(-50%, -50%);
  animation: sparklePop 0.9s ease-out forwards;
}
@keyframes sparklePop {
  0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 0.7; }
  100% { transform: translate(-50%, -160%) scale(1.2) rotate(40deg); opacity: 0; }
}

/* ————— affirmation ticker ————— */
.ticker {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 45;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0;
}
.ticker-track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: tickermove 38s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.ticker-track span { padding-right: 3rem; }
@keyframes tickermove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ————— nav ————— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.logo { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 0.9rem; opacity: 0.75; transition: opacity var(--slow); }
.nav-links a:hover { opacity: 1; }
.mute {
  border: none; background: none; font-size: 1.1rem; cursor: pointer;
  transition: transform var(--slow);
}
.mute:hover { transform: rotate(20deg); }

/* ————— buttons ————— */
.cta {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  color: #fff;
  background: var(--accent);
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 26px rgba(175, 130, 220, 0.35);
  transition: transform var(--slow), box-shadow var(--slow), opacity var(--slow);
}
.cta:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(175, 130, 220, 0.45); }
.cta:not(.ghost) { animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(175, 130, 220, 0.35); }
  50% { box-shadow: 0 8px 40px rgba(230, 140, 210, 0.65), 0 0 24px rgba(255, 200, 240, 0.5); }
}
.cta:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.cta.big { font-size: 1.15rem; padding: 1.05rem 2.6rem; }
.cta.small { font-size: 0.85rem; padding: 0.55rem 1.3rem; }
.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(74, 55, 82, 0.3);
  box-shadow: none;
}
.linkish {
  border: none; background: none; cursor: pointer;
  color: var(--ink-soft); font-size: 0.85rem;
  text-decoration: underline; text-underline-offset: 3px;
  margin-top: 0.8rem;
}
.hidden { display: none !important; }

/* ————— hero ————— */
.hero {
  position: relative;
  z-index: 1;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}
.hero-lotus {
  font-size: 3rem;
  animation: floaty 3s ease-in-out infinite;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 0 24px rgba(255, 170, 220, 0.9));
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #8d5bd4, #e2707c, #d78a4e, #b05bd4, #8d5bd4);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hueflow 9s linear infinite;
}
@keyframes hueflow {
  from { background-position: 0% 0; }
  to   { background-position: 300% 0; }
}
.hero .sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--ink-soft);
}
.hero .sub em { font-family: var(--serif); font-style: italic; color: var(--ink); }
.hero .cta { margin-top: 2.6rem; }
.hero .hint { margin-top: 1.2rem; font-size: 0.85rem; color: var(--ink-soft); opacity: 0.8; }

/* ————— sections ————— */
.section {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6.5rem 1.5rem;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 3rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(120, 90, 160, 0.12);
}

/* ————— testimonials ————— */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.testimonial { padding: 2rem 1.8rem; }
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
}
.testimonial figcaption {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.badges {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* ————— app ————— */
.app-shell { padding: 2.2rem; }
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.month-label { font-family: var(--serif); font-size: 1.7rem; }
.day-claim { font-size: 0.88rem; color: var(--ink-soft); }
.day-claim span { color: var(--ink); font-weight: 400; }

.app-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.2rem;
  align-items: start;
}

.grid-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cell {
  position: relative;
  aspect-ratio: 1;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform var(--slow), background var(--slow);
  overflow: hidden;
}
.cell:hover { transform: scale(1.05); }
.cell.blank { background: transparent; cursor: default; pointer-events: none; }

.cell.future .num { filter: blur(5px); opacity: 0.65; }
.cell.future::after {
  content: "🪷";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1rem;
  opacity: 0.45;
}

.cell.past { opacity: 0.32; filter: grayscale(0.8) blur(1px); }

.cell.today {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(190, 140, 230, 0.55);
  transform: scale(1.06);
}
.cell.today .num { font-weight: 500; }
.now-tag {
  position: absolute;
  bottom: 6px;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* today panel */
.today-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
#empty-state {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 1.4rem 0;
  text-align: center;
  font-style: italic;
}
.event {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.7rem;
  transition: opacity 2.2s ease, transform 2.2s ease, filter 2.2s ease;
}
.event.fading { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
.event.refining {
  color: var(--ink-soft);
  font-style: italic;
  background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%);
  background-size: 240% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -40% 0; }
}
.ev-name { font-weight: 400; }
.ev-vibe { font-size: 0.82rem; color: var(--ink-soft); font-style: italic; margin-top: 2px; }
.ev-obs {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: #8a6a9e;
  background: rgba(185, 149, 236, 0.18);
  border-radius: 999px;
  padding: 2px 10px;
}

#add-form { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
#add-form input {
  border: 1px solid rgba(74, 55, 82, 0.18);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border var(--slow), box-shadow var(--slow);
}
#add-form input:focus { border-color: #b995ec; box-shadow: 0 0 0 4px rgba(185, 149, 236, 0.15); }
#add-form button[type="submit"] { transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.4, 1); position: relative; z-index: 1; }

/* ————— pricing ————— */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.tier { padding: 2.2rem 1.9rem; display: flex; flex-direction: column; position: relative; }
.tier.featured { transform: scale(1.04); box-shadow: 0 24px 60px rgba(150, 100, 200, 0.22); }
.tier .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.price { font-family: var(--serif); font-size: 2.1rem; margin: 0.5rem 0 0.2rem; }
.price span { font-size: 0.95rem; color: var(--ink-soft); }
.tier-sub { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.tier ul { list-style: none; flex: 1; margin-bottom: 1.6rem; }
.tier li { font-size: 0.9rem; padding: 0.32rem 0; }
.tier .why { color: var(--ink-soft); font-style: italic; font-size: 0.8rem; }

/* ————— footer ————— */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ————— modals ————— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(250, 243, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
}
.modal.open { opacity: 1; pointer-events: auto; }
.sheet {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(110, 70, 150, 0.25);
  padding: 2.6rem 2.4rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  max-height: 88vh;
  overflow-y: auto;
}
.sheet h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.25; }
.sheet-sub { color: var(--ink-soft); margin-top: 0.5rem; }

/* breathing */
.breath-stage { display: grid; place-items: center; height: 220px; margin: 1.4rem 0 0.6rem; }
#breath-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e8d3ff, #c9a4f2 60%, #f3a98e);
  box-shadow: 0 0 60px rgba(190, 150, 240, 0.55);
  transition: transform 3.2s ease-in-out;
}
#breath-phase { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-soft); min-height: 1.8em; }
#breath-done { margin-top: 1.2rem; }

/* journaling */
.journal-sheet { text-align: left; }
.journal-sheet h3, .journal-sheet .sheet-sub { text-align: center; }
.jq { margin-top: 1.4rem; }
.jq label { display: block; font-size: 0.92rem; margin-bottom: 0.4rem; font-style: italic; }
.jq textarea {
  width: 100%;
  border: 1px solid rgba(74, 55, 82, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  resize: vertical;
  outline: none;
}
.jq textarea:focus { border-color: #b995ec; }
.jq .count { font-size: 0.75rem; color: var(--ink-soft); margin-top: 3px; text-align: right; }
#journal-submit { margin-top: 1.6rem; width: 100%; }

/* appointment */
.appt-date {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 1.4rem 0 1.6rem;
}
.waitlist-status { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-soft); font-style: italic; min-height: 1.4em; }

/* ————— fake notification ————— */
.notif {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  width: 330px;
  max-width: calc(100vw - 28px);
  background: rgba(248, 248, 250, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  padding: 0.8rem 1rem;
  color: #1c1c1e;
  transform: translateX(120%);
  transition: transform 0.9s cubic-bezier(0.3, 1.2, 0.3, 1);
}
.notif.show { transform: translateX(0); }
.notif-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(180deg, #6fdd6f, #2fb44e);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.notif-app { font-size: 0.65rem; letter-spacing: 0.06em; color: #6c6c70; }
.notif-title { font-weight: 600; font-size: 0.92rem; font-family: var(--sans); }
.notif-text { font-size: 0.88rem; }

/* ————— big serene notification ————— */
.bignote {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  pointer-events: none;
  padding: 1.5rem;
}
.bignote-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 34px;
  padding: 2.4rem 3.2rem;
  text-align: center;
  max-width: min(88vw, 640px);
  box-shadow: 0 30px 90px rgba(140, 90, 190, 0.35), 0 0 80px rgba(255, 190, 220, 0.5);
  transform: scale(0.7) translateY(20px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.2, 1.4, 0.3, 1), opacity 0.7s ease;
}
.bignote.show .bignote-card { transform: scale(1) translateY(0); opacity: 1; }
.bignote-emoji { font-size: 3.2rem; line-height: 1; animation: floaty 2.4s ease-in-out infinite; }
.bignote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  margin-top: 0.9rem;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ————— arriving overlay ————— */
.arriving {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #f6ecff, #ffe9db);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.arriving.show { opacity: 1; pointer-events: auto; }
.arriving span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--ink-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* ————— day view: your day, curated live ————— */
.day-sheet {
  max-width: 660px;
  text-align: left;
}
.day-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.day-head h3 { font-size: 1.5rem; }
.day-head .linkish { margin-top: 0.3rem; white-space: nowrap; }
.day-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0.5rem 0 1rem;
}
.timeline-wrap {
  max-height: 56vh;
  overflow-y: auto;
  border-radius: 18px;
  border: 1px solid rgba(74, 55, 82, 0.12);
  background: rgba(255, 255, 255, 0.55);
}
.timeline { position: relative; margin: 0.4rem 0.6rem; }
.hour-row {
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  border-top: 1px dashed rgba(74, 55, 82, 0.14);
}
.hour-label {
  position: absolute;
  top: -0.62em;
  left: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: transparent;
}
.tl-event {
  position: absolute;
  left: 58px;
  right: 10px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(185, 149, 236, 0.35), rgba(245, 165, 140, 0.35));
  border: 1px solid rgba(185, 149, 236, 0.45);
  padding: 0.28rem 0.8rem;
  overflow: visible;
  transition: top 2.4s cubic-bezier(0.5, 0, 0.1, 1), opacity 2s ease, filter 2s ease, transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 6px 18px rgba(150, 100, 200, 0.18);
}
.tl-event.drifting {
  box-shadow: 0 10px 34px rgba(230, 140, 210, 0.55), 0 0 24px rgba(255, 200, 240, 0.6);
  z-index: 5;
}
/* moving: a bright, scaled block that glides slowly enough to follow */
.tl-event.moving {
  box-shadow: 0 16px 48px rgba(230, 120, 205, 0.7), 0 0 40px rgba(255, 190, 235, 0.85);
  transform: scale(1.05);
  z-index: 8;
}
/* releasing: swells, then the dove carries it off */
.tl-event.releasing {
  transform: scale(1.07);
  box-shadow: 0 18px 54px rgba(150, 100, 200, 0.55), 0 0 44px rgba(255, 200, 240, 0.7);
  z-index: 8;
}
.tl-event.fading { opacity: 0; filter: blur(6px); transform: scale(0.9); }
.tl-name {
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tl-name.renaming { text-decoration: line-through; opacity: 0.45; transition: opacity 0.55s ease; }
.tl-name.renamed { animation: namepop 0.6s cubic-bezier(0.2, 1.5, 0.3, 1); }
@keyframes namepop {
  0%   { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.tl-orig {
  font-size: 0.7rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ghost left at the old time slot */
.tl-ghost {
  position: absolute;
  left: 58px;
  right: 10px;
  height: 40px;
  border-radius: 12px;
  border: 2px dashed rgba(150, 110, 190, 0.5);
  display: flex;
  align-items: center;
  padding: 0 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  opacity: 0.95;
  transition: opacity 3.2s ease;
  pointer-events: none;
}
.tl-ghost.fade { opacity: 0; }
.tl-ghost span { text-decoration: line-through; }

/* the before → after badge that pops on the block */
.tl-badge {
  position: absolute;
  top: -13px;
  right: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 5px 16px rgba(150, 100, 200, 0.45);
  opacity: 0;
  transform: translateY(8px) scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 1.5, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}
.tl-badge.show { opacity: 1; transform: translateY(0) scale(1); }

/* the dove that flies off on release */
.release-dove {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 1.7rem;
  transform: translate(-50%, -50%);
  transition: transform 2.3s cubic-bezier(0.3, 0, 0.4, 1), opacity 2.3s ease-out;
  pointer-events: none;
  z-index: 11;
}
.release-dove.fly { transform: translate(38px, -150px) rotate(20deg); opacity: 0; }

.cal-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.8rem;
}

.panel-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 1.2rem;
  text-align: center;
}

#tl-empty {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.95rem;
}

.tl-event.refining {
  color: var(--ink-soft);
  font-style: italic;
  font-size: 0.82rem;
  display: grid;
  align-items: center;
  background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.9) 50%, transparent 70%);
  background-size: 240% 100%;
  animation: shimmer 1.6s linear infinite;
}

/* journaling can open on top of the day view */
#journal-modal { z-index: 130; }

/* ————— responsive ————— */
@media (max-width: 860px) {
  .nav { padding: 0.8rem 1.1rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links a[href="#philosophy"] { display: none; }
  .logo { white-space: nowrap; }
  .testimonials, .pricing { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .app-body { grid-template-columns: 1fr; }
  .app-shell { padding: 1.4rem; }
  .grid, .grid-head { gap: 5px; }
  .section { padding: 4.5rem 1.1rem; }
}

@media (max-width: 520px) {
  .logo { font-size: 0.92rem; }
  .nav-links { gap: 0.6rem; }
  .nav-links a[href="#app"] { display: none; }
  .nav-links a { font-size: 0.8rem; }
  .cta.small { padding: 0.45rem 1rem; font-size: 0.8rem; }
}
