:root {
  --bg: #f4efe6;
  --panel: rgba(255, 255, 255, 0.9);
  --ink: #163028;
  --muted: #587264;
  --accent: #1f6b55;
  --danger: #b73b2d;
  --today: #d94a38;
  --week: #f1992d;
  --month: #3f9a4a;
  --line: rgba(22, 48, 40, 0.12);
  --shadow: 0 12px 32px rgba(47, 63, 55, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(140deg, #edf3e7 0%, #f7efe6 50%, #f2f5f7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.12), rgba(244, 239, 230, 0.5)),
    url("/serene-garden.svg") center top / cover no-repeat,
    url("/botanical-corner.svg") right -6rem top -2rem / min(36vw, 420px) no-repeat;
  opacity: 0.68;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.6), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255, 247, 230, 0.48), transparent 22%);
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.95);
}

textarea {
  resize: vertical;
}

.topbar,
.page-shell,
.auth-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.reminder-stack {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  display: grid;
  gap: 0.8rem;
}

.verification-banner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 107, 85, 0.22);
  background: rgba(31, 107, 85, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.verification-banner-copy strong {
  display: block;
  color: var(--ink);
}

.verification-banner-copy p {
  margin: 0.25rem 0 0;
}

.verification-banner-success {
  border-color: rgba(31, 107, 85, 0.2);
  background: rgba(31, 107, 85, 0.06);
}

.verification-banner-success p {
  margin: 0;
}

@media (max-width: 720px) {
  .verification-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .verification-banner form,
  .verification-banner .button {
    width: 100%;
  }
}

.reminder-stack-empty {
  display: none;
}

.reminder-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.reminder-toolbar-copy {
  margin: 0;
  color: var(--muted);
}

.utility-link-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
}

.utility-bell {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.utility-bell svg {
  width: 100%;
  height: 100%;
}

.utility-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  min-height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.14);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reminder-browser-toggle-hidden {
  display: none;
}

.reminder-toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  gap: 0.75rem;
  width: min(24rem, calc(100% - 2rem));
}

.reminder-toast {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.reminder-toast strong {
  display: block;
}

.reminder-toast p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.reminder-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.88);
}

.reminder-card strong {
  display: block;
}

.reminder-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.reminder-planning {
  border-left: 4px solid #b26b13;
}

.reminder-schedule {
  border-left: 4px solid #456ea6;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: 56px;
  display: block;
}

.tagline,
.small-copy,
.user-badge span,
.mini-list,
.timeline-row span,
.card p,
.todo-copy p,
.panel-note,
.muted-line,
.manage-row p {
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge {
  display: grid;
  text-align: right;
}

.page-shell,
.auth-shell {
  padding-bottom: 3rem;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 4rem);
}

.auth-card,
.panel,
.hero-card,
.signal,
.quadrant-cell,
.chain-card,
.chain-level {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.auth-card {
  width: min(520px, 100%);
  padding: 2rem;
  border-radius: 28px;
}

.auth-brand {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.auth-brand img {
  display: block;
  width: min(220px, 72%);
  height: auto;
}

.auth-copy h1,
.hero-card h1,
.panel h1,
.panel h2 {
  margin-bottom: 0.35rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.button,
.button-secondary,
.link-button,
.checkbox-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.button,
.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
}

.button {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: rgba(31, 107, 85, 0.08);
  color: var(--accent);
}

.alert {
  border: 1px solid rgba(183, 59, 45, 0.2);
  background: rgba(183, 59, 45, 0.08);
  color: var(--danger);
  padding: 0.9rem 1rem;
  border-radius: 16px;
}

.alert-success {
  border-color: rgba(31, 107, 85, 0.18);
  background: rgba(31, 107, 85, 0.09);
  color: var(--accent);
}

.hero-card {
  border-radius: 28px;
  padding: 1.5rem 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 248, 0.7)),
    url("/serene-garden.svg") center center / cover no-repeat;
}

.landing-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
  display: grid;
  gap: 1.35rem;
}

.landing-hero,
.landing-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.2rem;
  align-items: stretch;
}

.landing-hero {
  padding: 1.7rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 245, 0.72)),
    url("/serene-garden.svg") center center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.landing-hero-copy,
.landing-section-copy,
.landing-feature-list,
.landing-pricing-grid,
.landing-grid,
.landing-proof-row,
.landing-process-grid,
.landing-faq-grid,
.landing-side-stack {
  display: grid;
  gap: 1rem;
}

.landing-hero-copy h1,
.landing-story h2,
.landing-pricing h2,
.landing-process h2,
.landing-faq h2,
.landing-final-cta h2,
.landing-proof-card h2 {
  margin: 0;
}

.landing-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.landing-wordmark {
  width: auto;
  height: 76px;
  display: block;
}

.landing-kicker-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.08);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.landing-hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.landing-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.landing-actions,
.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.landing-trust {
  color: var(--muted);
  font-size: 0.95rem;
}

.landing-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-stat-pill {
  padding: 0.85rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 48, 40, 0.08);
  box-shadow: 0 10px 28px rgba(47, 63, 55, 0.06);
}

.landing-stat-pill strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.landing-stat-pill span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.landing-hero-art {
  display: grid;
  justify-items: stretch;
  gap: 0.9rem;
}

.landing-hero-image {
  width: min(100%, 470px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(47, 63, 55, 0.12));
}

.landing-hero-image-photo {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  filter: drop-shadow(0 20px 34px rgba(47, 63, 55, 0.14));
}

.landing-visual-frame {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 0.9rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.82), transparent 26%),
    linear-gradient(160deg, rgba(232, 241, 233, 0.92), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.landing-visual-caption {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 48, 40, 0.08);
}

.landing-visual-caption strong {
  display: block;
}

.landing-visual-caption p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.landing-grid,
.landing-proof-row,
.landing-pricing-grid,
.landing-process-grid,
.landing-faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-card,
.landing-proof-card,
.landing-mini-card,
.landing-price-card,
.landing-contact-card,
.landing-process-card,
.landing-faq-card,
.landing-feature-panel {
  border-radius: 26px;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.landing-card h2,
.landing-proof-card h2,
.landing-mini-card h3,
.landing-price-card h3,
.landing-contact-card h3,
.landing-process-card h3,
.landing-faq-card h3,
.landing-feature-panel h3 {
  margin-top: 0;
}

.landing-card p,
.landing-proof-card p,
.landing-mini-card p,
.landing-price-card p,
.landing-contact-card p,
.landing-process-card p,
.landing-faq-card p,
.landing-feature-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.landing-proof-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 244, 0.84));
}

.landing-proof-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-story-spotlight {
  padding: 1.35rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(241, 246, 242, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.landing-highlight-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.25rem;
}

.landing-highlight-item {
  padding-left: 1rem;
  border-left: 3px solid rgba(31, 107, 85, 0.18);
}

.landing-highlight-item strong {
  display: block;
  margin-bottom: 0.22rem;
}

.landing-highlight-item p {
  margin: 0;
  color: var(--muted);
}

.landing-feature-column {
  display: grid;
}

.landing-feature-panel {
  background: linear-gradient(180deg, rgba(31, 107, 85, 0.08), rgba(255, 255, 255, 0.92));
}

.landing-pricing {
  display: grid;
  gap: 1rem;
}

.landing-pricing-premium {
  padding: 1.4rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.94), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.landing-pricing-grid-premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.landing-price-card strong {
  display: block;
  font-size: 2.2rem;
  margin: 0.25rem 0 0.45rem;
}

.landing-price-card strong span {
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 0.2rem;
}

.landing-price-card-featured {
  background: linear-gradient(180deg, rgba(31, 107, 85, 0.14), rgba(255, 255, 255, 0.92));
  position: relative;
  transform: translateY(-0.15rem);
}

.landing-list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.landing-list li + li {
  margin-top: 0.45rem;
}

.landing-story-alt {
  align-items: start;
}

.landing-story-wide {
  padding: 1.35rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 249, 247, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.landing-side-stack {
  align-content: start;
}

.landing-process,
.landing-faq {
  display: grid;
  gap: 1rem;
}

.landing-section-copy-centered {
  justify-items: center;
  text-align: center;
}

.landing-section-copy-centered p:last-child {
  max-width: 66ch;
}

.landing-process-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(31, 107, 85, 0.1);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.landing-final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.45rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(23, 58, 48, 0.96), rgba(31, 107, 85, 0.9));
  color: #f7f4ee;
  box-shadow: var(--shadow);
}

.landing-final-cta p,
.landing-final-cta .eyebrow,
.landing-final-cta a {
  color: inherit;
}

.landing-final-cta .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 245, 237, 0.88) 0%, rgba(248, 245, 237, 0.4) 42%, rgba(248, 245, 237, 0.08) 100%),
    url("/botanical-corner.svg") right -3.5rem bottom -3rem / 320px no-repeat;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 0.72rem;
}

.hero-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.signal-grid,
.dashboard-grid,
.focus-layout,
.side-stack,
.grid,
.smart-grid,
.quadrant-grid {
  display: grid;
  gap: 1rem;
}

.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.signal {
  border-radius: 20px;
  padding: 1rem 1.1rem;
}

.signal h2,
.signal strong {
  margin: 0;
}

.signal strong {
  display: block;
  font-size: 1.7rem;
  margin-top: 0.2rem;
}

.signal-red {
  background: linear-gradient(135deg, rgba(217, 74, 56, 0.12), rgba(255, 255, 255, 0.94));
}

.signal-orange {
  background: linear-gradient(135deg, rgba(241, 153, 45, 0.12), rgba(255, 255, 255, 0.94));
}

.signal-green {
  background: linear-gradient(135deg, rgba(63, 154, 74, 0.12), rgba(255, 255, 255, 0.94));
}

.dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.dashboard-grid-bottom {
  align-items: start;
}

.focus-layout {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  align-items: start;
  margin-bottom: 1.5rem;
}

.side-stack {
  align-items: start;
}

.panel {
  border-radius: 24px;
  padding: 1.15rem;
}

.panel-main {
  padding: 1.25rem;
}

.panel-compact {
  padding: 1rem 1.05rem;
}

.panel-header,
.manage-row,
.todo-row,
.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.inline-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.link-button {
  background: transparent;
  color: var(--accent);
  padding: 0;
}

.danger {
  color: var(--danger);
}

.progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.12);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #76bd86 0%, #1f6b55 100%);
}

.todo-row {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.todo-stack,
.timeline-stack {
  gap: 0.3rem;
}

.todo-row.done .todo-copy h3,
.todo-row.done .todo-copy p {
  text-decoration: line-through;
  opacity: 0.65;
}

.todo-empty {
  margin: 0;
  color: var(--muted);
}

.checkbox-button {
  width: 34px;
  height: 34px;
  background: rgba(31, 107, 85, 0.12);
  color: var(--accent);
  font-weight: 800;
}

.quadrant-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quadrant-cell {
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.64);
}

.quadrant-list {
  display: grid;
  gap: 0.7rem;
}

.quadrant-item-card {
  padding: 0.75rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  cursor: grab;
}

.quadrant-item-card:active {
  cursor: grabbing;
}

.quadrant-item-card.dragging {
  opacity: 0.55;
}

.quadrant-item-copy strong {
  display: block;
}

.drop-zone.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  background: rgba(216, 234, 223, 0.45);
}

.quadrant-empty {
  margin: 0;
}

.chain-card {
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 243, 0.82));
  box-shadow: 0 10px 28px rgba(47, 63, 55, 0.08);
}

.accordion-card {
  padding: 0;
  overflow: hidden;
}

.accordion-card summary {
  list-style: none;
}

.accordion-card summary::-webkit-details-marker {
  display: none;
}

.accordion-summary {
  margin-top: 0;
  border-radius: 0;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.accordion-body {
  padding: 0 1rem 1rem;
}

.accordion-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-count {
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.accordion-icon {
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.accordion-card[open] .accordion-icon {
  transform: rotate(225deg);
}

.done-accordion {
  margin-top: 0.6rem;
  border-radius: 18px;
  background: rgba(238, 243, 240, 0.88);
  border: 1px solid var(--line);
  box-shadow: none;
}

.done-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.done-summary h3 {
  margin: 0 0 0.2rem;
}

.done-body {
  padding-top: 0;
}

.nested-completed-accordion,
.manage-completed-accordion,
.completed-goal-card {
  margin-top: 0.8rem;
}

.short-goal-accordion {
  margin-top: 0.2rem;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.short-goal-summary {
  padding: 0;
}

.short-goal-summary .accordion-meta {
  justify-content: flex-end;
}

.short-goal-body {
  padding: 0.75rem 0 0;
}

.chain-branch-completed {
  margin-left: 0;
  padding-left: 0;
}

.chain-branch-completed::before {
  display: none;
}

.chain-branch,
.chain-leaf {
  position: relative;
  margin-left: 1.4rem;
  padding-left: 1.1rem;
}

.chain-branch::before,
.chain-leaf::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.2rem;
  bottom: 0.7rem;
  width: 2px;
  background: rgba(31, 107, 85, 0.18);
}

.chain-branch::after,
.chain-leaf::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.8rem;
  height: 2px;
  background: rgba(31, 107, 85, 0.18);
}

.chain-level {
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.chain-long {
  background: linear-gradient(135deg, rgba(31, 107, 85, 0.12), rgba(255, 255, 255, 0.95));
}

.chain-short {
  background: linear-gradient(135deg, rgba(241, 153, 45, 0.1), rgba(255, 255, 255, 0.95));
}

.chain-todo {
  background: linear-gradient(135deg, rgba(98, 144, 208, 0.09), rgba(255, 255, 255, 0.95));
}

.chain-done {
  opacity: 0.72;
}

.chain-copy h3,
.chain-copy h4,
.chain-copy h5 {
  margin: 0.2rem 0;
}

.chain-copy p {
  margin: 0.2rem 0 0;
}

.chain-tag {
  display: inline-block;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: var(--accent);
}

.chain-progress {
  min-width: 190px;
  display: grid;
  gap: 0.3rem;
  justify-items: end;
}

.chain-progress input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.chain-empty {
  margin-top: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed var(--line);
}

.chain-empty-nested {
  margin-left: 1.4rem;
}

.manage-list {
  display: grid;
  gap: 0.55rem;
}

.manage-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.manage-row p {
  margin: 0.25rem 0 0;
}

.admin-user-row {
  align-items: center;
}

.admin-zone {
  margin-top: 1.2rem;
}

.admin-zone-grid {
  margin-top: 0.55rem;
}

.admin-form {
  gap: 0.9rem;
}

.admin-form-grid {
  gap: 0.85rem;
}

.admin-inline-success {
  margin-bottom: 0.75rem;
}

.admin-user-filters {
  margin-bottom: 1rem;
}

.admin-user-table {
  margin-top: 0.75rem;
}

.admin-user-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.9rem;
}

.admin-user-detail {
  margin-top: 1rem;
}

.admin-confirm-row {
  align-items: flex-start;
}

.admin-pagination {
  margin-top: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.signup-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.analytics-page {
  gap: 1.1rem;
}

.analytics-filter {
  display: flex;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: -0.25rem;
}

.analytics-filter label {
  min-width: 220px;
}

.analytics-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.analytics-metric-grid-compact {
  margin-top: 0;
  align-content: start;
}

.analytics-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 28px rgba(45, 36, 31, 0.06);
}

.analytics-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.analytics-card strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.55rem;
  line-height: 1.15;
}

.analytics-card p {
  margin: 0.35rem 0 0;
}

.analytics-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 0.9rem;
  align-items: start;
  margin-top: 0.65rem;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.analytics-table th,
.analytics-table td {
  text-align: left;
  padding: 0.72rem 0.6rem;
  border-bottom: 1px solid var(--line);
}

.analytics-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.analytics-table tbody tr:last-child td {
  border-bottom: 0;
}

.analytics-table-compact {
  min-width: 640px;
}

.analytics-page .panel {
  overflow-x: auto;
}

.analytics-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .analytics-two-column {
    grid-template-columns: 1fr;
  }

  .analytics-filter {
    align-items: stretch;
  }

  .analytics-filter label,
  .analytics-filter .button {
    width: 100%;
  }
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.45rem;
}

.calendar-head {
  font-weight: 700;
  color: var(--muted);
  padding-bottom: 0.35rem;
}

.calendar-cell {
  min-height: 100px;
  border-radius: 14px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.calendar-cell.empty {
  background: transparent;
  border-style: dashed;
}

.calendar-list,
.mini-list {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  margin: 0.18rem 0.18rem 0 0;
}

.chip-today {
  background: rgba(217, 74, 56, 0.16);
  color: var(--today);
}

.chip-week {
  background: rgba(241, 153, 45, 0.18);
  color: #b26b13;
}

.chip-month {
  background: rgba(63, 154, 74, 0.16);
  color: var(--month);
}

.timeline-row {
  border-left: 4px solid transparent;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.schedule-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.schedule-scope-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.schedule-nav-row,
.calendar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.schedule-tab {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.schedule-tab.active {
  background: var(--accent);
  color: #fff;
}

.schedule-window-copy {
  text-align: right;
}

.schedule-layout {
  margin-top: 0;
}

.schedule-calendar-panel {
  margin-bottom: 1rem;
}

.schedule-calendar-grid {
  align-items: stretch;
}

.schedule-calendar-cell {
  min-height: 148px;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.schedule-calendar-cell.today {
  background: linear-gradient(180deg, rgba(216, 234, 223, 0.58), rgba(255, 255, 255, 0.84));
}

.schedule-calendar-date {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.schedule-calendar-date strong {
  font-size: 1.05rem;
}

.schedule-calendar-date span {
  color: var(--muted);
  font-size: 0.82rem;
}

.schedule-calendar-list {
  display: grid;
  gap: 0.45rem;
}

.schedule-calendar-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem 0.5rem;
  border-radius: 12px;
  background: rgba(31, 107, 85, 0.08);
}

.schedule-calendar-item strong {
  font-size: 0.78rem;
  color: var(--accent);
}

.schedule-calendar-item span {
  font-size: 0.84rem;
}

.schedule-day-stack {
  gap: 1.15rem;
}

.schedule-day-card {
  border-radius: 22px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
}

.schedule-day-card.today {
  background: linear-gradient(180deg, rgba(216, 234, 223, 0.58), rgba(255, 255, 255, 0.8));
}

.schedule-day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.schedule-day-header h3,
.schedule-entry-copy h4 {
  margin: 0;
}

.schedule-entry-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.schedule-entry-time {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
}

.schedule-entry-copy {
  display: grid;
  gap: 0.4rem;
}

.schedule-entry-copy p,
.schedule-tips p {
  margin: 0;
}

.schedule-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.schedule-kind-plan {
  border-left: 4px solid #6c9b81;
}

.schedule-kind-focus {
  border-left: 4px solid #1f6b55;
}

.schedule-kind-meeting {
  border-left: 4px solid #456ea6;
}

.schedule-kind-block {
  border-left: 4px solid #b26b13;
}

.schedule-kind-reminder {
  border-left: 4px solid #b73b2d;
}

.schedule-all-day {
  align-self: end;
  padding-bottom: 0.35rem;
}

.schedule-time-picker {
  border-color: rgba(20, 42, 35, 0.16);
  background: rgba(252, 255, 253, 0.88);
}

.schedule-time-picker-top,
.schedule-time-grid {
  gap: 0.75rem;
}

.schedule-time-grid.is-disabled {
  opacity: 0.64;
}

.schedule-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.schedule-preview {
  margin: 0.6rem 0 0;
}

.reflection-layout {
  margin-top: 0;
}

.reflection-form,
.reflection-week-grid {
  margin-top: 1rem;
}

.reflection-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
}

.reflection-insights-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 1rem;
}

.reflection-day-card,
.reflection-win-card {
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.reflection-day-card.today {
  background: linear-gradient(180deg, rgba(216, 234, 223, 0.6), rgba(255, 255, 255, 0.85));
}

.reflection-day-card p,
.reflection-win-card p {
  margin: 0.35rem 0 0;
}

.reflection-gratitude {
  padding-top: 0.15rem;
  color: #1f6b55;
  font-style: italic;
}

.reflection-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
  min-height: 240px;
}

.reflection-chart-column {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.reflection-bars {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.15rem;
}

.reflection-bar {
  width: 20px;
  min-height: 6px;
  border-radius: 999px 999px 6px 6px;
}

.reflection-bar-mood {
  background: linear-gradient(180deg, #82b89b, #1f6b55);
}

.reflection-bar-completion {
  background: linear-gradient(180deg, #f1c36b, #b26b13);
}

.reflection-summary-text {
  margin: 0;
  line-height: 1.65;
}

.insights-layout,
.insights-grid,
.insights-pattern-grid,
.insights-stuck-grid,
.insights-summary-grid {
  display: grid;
  gap: 1rem;
}

.insights-layout {
  margin-top: 0;
}

.insights-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-stat-card {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.insight-stat-card strong,
.insight-pattern-row strong,
.insight-stuck-card h3 {
  display: block;
}

.insight-stat-card p,
.insight-pattern-row p,
.insight-stuck-card p,
.insight-term-card p {
  margin: 0.35rem 0 0;
}

.insights-grid {
  grid-template-columns: 1.15fr 0.85fr;
  margin-top: 1rem;
}

.insight-stack {
  display: grid;
  gap: 0.85rem;
}

.insight-mix-list,
.insight-term-list {
  display: grid;
  gap: 0.7rem;
}

.insight-mix-row,
.insight-pattern-row {
  display: grid;
  gap: 0.45rem;
}

.insight-mix-meta,
.insight-pattern-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.insight-progress {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(26, 37, 31, 0.08);
}

.insight-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #82b89b, #1f6b55);
}

.insight-progress-bar-done {
  background: linear-gradient(90deg, #82b89b, #1f6b55);
}

.insight-progress-bar-partial {
  background: linear-gradient(90deg, #f1c36b, #b26b13);
}

.insight-progress-bar-carried {
  background: linear-gradient(90deg, #d8907f, #b73b2d);
}

.insight-progress-bar-active {
  background: linear-gradient(90deg, #98adc2, #456ea6);
}

.insights-pattern-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-term-list {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.insight-term-card,
.insight-stuck-card {
  border-radius: 18px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.insights-stuck-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insight-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.micro-goal-layout {
  margin-top: 0;
}

.micro-goal-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.micro-goal-card-done h3,
.micro-goal-card-done p {
  text-decoration: line-through;
  opacity: 0.72;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 107, 85, 0.12);
  background: rgba(238, 243, 240, 0.72);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.micro-goal-completed-archive {
  margin-top: 0.2rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(20, 42, 35, 0.08);
}

.micro-goal-completed-archive summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  padding: 0.38rem 0.75rem;
  border: 1px solid rgba(31, 107, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.micro-goal-completed-archive summary::-webkit-details-marker {
  display: none;
}

.micro-goal-completed-archive summary strong {
  min-width: 1.55rem;
  min-height: 1.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
}

.micro-goal-completed-archive[open] summary {
  color: var(--accent);
  background: rgba(31, 107, 85, 0.08);
}

.micro-goal-completed-archive-list {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.75rem;
}

.micro-goal-completed-archive .micro-goal-card {
  background: rgba(238, 243, 240, 0.66);
  box-shadow: none;
}

.micro-goal-copy {
  display: grid;
  gap: 0.35rem;
}

.micro-goal-copy h3,
.micro-goal-copy p {
  margin: 0;
}

.todo-history-card {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.urgency-today {
  border-left-color: var(--today);
}

.urgency-week {
  border-left-color: var(--week);
}

.urgency-month {
  border-left-color: var(--month);
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.weekday-picker {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.weekday-picker legend {
  padding: 0 0.4rem;
  font-weight: 700;
}

.weekday-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.weekday-option {
  justify-content: flex-start;
}

@media (max-width: 900px) {
  body::before {
    background:
      linear-gradient(180deg, rgba(244, 239, 230, 0.2), rgba(244, 239, 230, 0.56)),
      url("/serene-garden.svg") center top / auto 100% no-repeat;
    opacity: 0.58;
  }

  .hero-card::after {
    background:
      linear-gradient(180deg, rgba(248, 245, 237, 0.92), rgba(248, 245, 237, 0.45)),
      url("/botanical-corner.svg") right -5rem bottom -2rem / 240px no-repeat;
  }

  .signal-grid,
  .dashboard-grid,
  .focus-layout,
  .landing-hero,
  .landing-story,
  .landing-grid,
  .landing-proof-row,
  .landing-pricing-grid,
  .landing-process-grid,
  .landing-faq-grid,
  .insights-grid,
  .insights-pattern-grid,
  .insights-stuck-grid,
  .insights-summary-grid,
  .reflection-insights-grid,
  .schedule-toolbar,
  .grid.two,
  .grid.three,
  .smart-grid,
  .quadrant-grid,
  .hero-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar,
  .topbar-actions,
  .reminder-card,
  .reminder-toolbar,
  .landing-actions,
  .landing-trust,
  .landing-final-cta,
  .panel-header,
  .calendar-nav,
  .schedule-nav-row,
  .schedule-day-header,
  .manage-row,
  .chain-level,
  .accordion-meta,
  .schedule-entry-card,
  .todo-row,
  .timeline-row {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule-window-copy {
    text-align: left;
  }

  .schedule-entry-card {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar {
    align-items: stretch;
  }

  .topbar-actions {
    gap: 0.75rem;
  }

  .topbar-actions .button,
  .topbar-actions form,
  .schedule-toolbar .button,
  .schedule-nav-row .button,
  .calendar-nav .button,
  .hero-actions .button {
    width: 100%;
  }

  .topbar-actions form {
    display: contents;
  }

  .topbar-actions .user-badge,
  .schedule-window-copy {
    text-align: left;
  }

  .hero-card,
  .panel,
  .auth-card,
  .landing-hero,
  .landing-story-spotlight,
  .landing-story-wide,
  .landing-pricing-premium,
  .landing-card,
  .landing-proof-card,
  .landing-mini-card,
  .landing-price-card,
  .landing-contact-card,
  .landing-process-card,
  .landing-faq-card,
  .landing-feature-panel {
    padding: 1.1rem;
  }

  .chain-branch,
  .chain-leaf {
    margin-left: 0.9rem;
    padding-left: 0.8rem;
  }

  .chain-level,
  .schedule-day-card,
  .micro-goal-card,
  .insight-stat-card,
  .insight-term-card,
  .insight-stuck-card,
  .reflection-day-card,
  .reflection-win-card {
    padding: 0.85rem;
  }

  .schedule-scope-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }

  .schedule-tab {
    white-space: nowrap;
  }

  .reflection-chart {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(72px, 1fr));
    padding-bottom: 0.35rem;
  }

  .weekday-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero-art {
    justify-items: center;
  }

  .landing-hero-copy h1 {
    max-width: none;
  }

  .landing-stat-strip,
  .landing-pricing-grid-premium {
    grid-template-columns: 1fr;
  }

  .chain-progress {
    min-width: 0;
    justify-items: stretch;
  }
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.billing-hero .hero-actions form,
.plan-card form,
.panel-header form {
  margin: 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.plan-card strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.75rem;
}

.plan-card-featured {
  border-color: rgba(35, 108, 87, 0.35);
  box-shadow: 0 18px 40px rgba(35, 108, 87, 0.12);
}

.check-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.billing-lock-note {
  border-color: rgba(190, 125, 45, 0.3);
  background: rgba(255, 249, 236, 0.78);
}

@media (max-width: 640px) {
  .topbar,
  .page-shell,
  .auth-shell,
  .reminder-stack,
  .landing-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand-logo {
    height: 50px;
  }

  .tagline {
    margin: 0.35rem 0 0;
  }

  .hero-card h1 {
    font-size: 1.65rem;
    line-height: 1.15;
  }

  .signal strong {
    font-size: 1.45rem;
  }

  .inline-actions {
    flex-wrap: wrap;
  }

  .inline-actions .button,
  .inline-actions .button-secondary,
  .inline-actions .link-button {
    width: 100%;
    justify-content: center;
  }

  .todo-row,
  .timeline-row,
  .manage-row,
  .chain-level {
    gap: 0.7rem;
  }

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

  .accordion-summary,
  .accordion-body,
  .done-summary,
  .done-body {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .calendar-grid,
  .weekday-picker-grid,
  .insights-summary-grid,
  .landing-grid,
  .landing-proof-row,
  .landing-pricing-grid,
  .landing-process-grid,
  .landing-faq-grid,
  .billing-grid,
  .admin-form-grid,
  .schedule-time-grid,
  .schedule-time-picker-top {
    grid-template-columns: 1fr;
  }

  .landing-hero-copy h1,
  .landing-final-cta h2 {
    font-size: 2rem;
    line-height: 1.05;
  }

  .landing-wordmark {
    height: 64px;
  }

  .landing-final-cta .landing-actions {
    width: 100%;
  }

  .landing-final-cta .button,
  .landing-final-cta .button-secondary {
    width: 100%;
    justify-content: center;
  }

  .calendar-cell,
  .schedule-calendar-cell {
    min-height: 0;
  }

  .schedule-calendar-grid {
    grid-template-columns: 1fr;
  }

  .schedule-calendar-item strong,
  .schedule-calendar-item span {
    font-size: 0.85rem;
  }

  .reflection-week-grid,
  .insight-term-list {
    grid-template-columns: 1fr;
  }

  .reminder-toast-stack {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
  }
}

/* Premium clarity pass */
:root {
  --accent: #1f6b55;
  --accent-warm: #b9792d;
  --surface-0: #f6f2e9;
  --surface-1: rgba(255, 255, 255, 0.92);
  --surface-2: rgba(245, 250, 247, 0.88);
  --ink: #1a2f28;
  --muted: #5d766a;
  --line: rgba(26, 47, 40, 0.13);
  --shadow: 0 14px 28px rgba(26, 47, 40, 0.08);
}

body {
  color: var(--ink);
  line-height: 1.58;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
  letter-spacing: -0.015em;
}

p {
  max-width: 72ch;
}

.page-shell,
.landing-shell {
  gap: 1.4rem;
}

.topbar {
  align-items: start;
  gap: 1.3rem;
  padding: 1.2rem 0 0.8rem;
}

.topbar-brand {
  display: grid;
  gap: 0.4rem;
}

.topbar-main {
  display: grid;
  gap: 0.8rem;
  justify-items: end;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.5rem;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(31, 107, 85, 0.12);
  background: rgba(31, 107, 85, 0.06);
  color: var(--accent);
  min-height: 40px;
  padding: 0.48rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.nav-pill:hover {
  background: rgba(31, 107, 85, 0.13);
}

.nav-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.topbar-actions {
  gap: 0.7rem;
}

.topbar-utility-links {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #3f5f53;
}

.utility-link:hover {
  background: rgba(31, 107, 85, 0.1);
  color: var(--accent);
}

.utility-link.active {
  background: rgba(31, 107, 85, 0.16);
  color: var(--accent);
}

.user-badge {
  padding: 0.5rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  min-width: 210px;
}

.button,
.button-secondary {
  min-height: 40px;
  padding: 0.68rem 1.02rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 47, 40, 0.1);
}

.button-secondary {
  border-color: rgba(31, 107, 85, 0.14);
  background: rgba(31, 107, 85, 0.08);
}

.button:focus-visible,
.button-secondary:focus-visible,
.nav-pill:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(31, 107, 85, 0.34);
  outline-offset: 2px;
}

input,
textarea,
select {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
}

.hero-card,
.panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.7rem 1.75rem;
  gap: 1rem;
}

.hero-card h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  line-height: 1.08;
}

.hero-card p {
  margin: 0;
}

.hero-actions {
  gap: 0.6rem;
}

.panel {
  padding: 1.35rem;
}

.panel-main {
  padding: 1.45rem;
}

.panel-compact {
  padding: 1.2rem;
}

.panel-note,
.tagline,
.mini-list,
.muted-line,
.todo-copy p,
.manage-row p {
  color: var(--muted);
}

.panel-note {
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.5;
}

.todo-empty {
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
}

.landing-shell {
  gap: 1.9rem;
  padding: 1.2rem 0 3.8rem;
}

.landing-hero {
  gap: 1.5rem;
  padding: 2.05rem;
}

.landing-kicker-chip {
  background: rgba(31, 107, 85, 0.12);
}

.landing-hero-copy h1 {
  max-width: 11ch;
}

.landing-lead {
  max-width: 54ch;
  font-size: 1.08rem;
}

.landing-trust {
  font-size: 0.94rem;
}

.landing-stat-strip {
  margin-top: 0.2rem;
}

.landing-stat-pill {
  border-radius: 16px;
  padding: 0.8rem 0.85rem;
  box-shadow: none;
}

.landing-process,
.landing-pricing,
.landing-faq,
.landing-final-cta {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: var(--surface-1);
  box-shadow: var(--shadow);
  padding: 1.7rem;
}

.landing-pricing-premium {
  background: linear-gradient(180deg, rgba(249, 248, 243, 0.95), rgba(255, 255, 255, 0.88));
}

.landing-process-grid {
  margin-top: 0.3rem;
}

.landing-process-card,
.landing-price-card,
.landing-faq-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.landing-price-card strong span {
  font-size: 0.8rem;
  letter-spacing: 0;
}

.landing-price-card .button {
  margin-top: auto;
}

.landing-final-cta {
  text-align: left;
}

.landing-final-cta .landing-actions {
  margin-top: 0.65rem;
}

.signal-section {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.section-heading h2 {
  margin: 0;
}

.section-heading p {
  margin: 0.25rem 0 0;
}

.signal-grid-primary,
.signal-grid-secondary {
  margin: 0;
}

.signal-grid-secondary .signal {
  opacity: 0.92;
}

.signal-grid-secondary .signal strong {
  font-size: 1.58rem;
}

.signal-grid-secondary .signal .panel-note {
  margin: 0.36rem 0 0;
}

.signal {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: none;
  padding: 0.95rem 1rem;
}

.signal.signal-primary {
  box-shadow: 0 10px 20px rgba(26, 47, 40, 0.06);
}

.signal h2 {
  font-size: 1.03rem;
}

.signal strong {
  font-size: 1.95rem;
}

.mini-list {
  padding-left: 1rem;
}

.mini-list-empty {
  list-style: none;
  margin-left: -1rem;
}

.panel-header {
  margin-bottom: 0.2rem;
}

.panel-header h2 {
  margin: 0;
}

.panel-header p {
  margin: 0.3rem 0 0;
}

.quadrant-axis {
  display: grid;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.15rem 0 0.5rem;
}

.quadrant-axis-horizontal {
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.quadrant-axis-vertical {
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.quadrant-matrix-grid {
  gap: 0.75rem;
}

.quadrant-cell {
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0.85rem;
  box-shadow: none;
}

.quadrant-cell h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
}

.quadrant-priority-urgent_important {
  background: rgba(217, 74, 56, 0.09);
}

.quadrant-priority-not_urgent_important {
  background: rgba(63, 154, 74, 0.1);
}

.quadrant-priority-urgent_not_important {
  background: rgba(241, 153, 45, 0.1);
}

.quadrant-priority-not_urgent_not_important {
  background: rgba(149, 161, 155, 0.12);
}

.quadrant-item-card {
  border-radius: 12px;
  padding: 0.6rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
}

.quadrant-item-card:hover {
  border-color: rgba(31, 107, 85, 0.28);
}

.quadrant-empty {
  font-size: 0.86rem;
}

.calendar-cell {
  border-radius: 12px;
}

.calendar-cell-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.calendar-count {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 700;
  background: rgba(31, 107, 85, 0.12);
  color: var(--accent);
}

.dashboard-calendar-cell.today {
  border-color: rgba(31, 107, 85, 0.4);
  background: rgba(226, 241, 234, 0.7);
}

.dashboard-calendar-cell.has-items {
  border-left: 4px solid rgba(31, 107, 85, 0.55);
}

.dashboard-calendar-cell.is-open {
  background: rgba(255, 255, 255, 0.78);
}

.dashboard-calendar-cell.overdue {
  border-left-color: rgba(183, 59, 45, 0.7);
}

.schedule-toolbar {
  background: var(--surface-1);
  border: 1px solid var(--line);
}

.schedule-tab {
  border: 1px solid transparent;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.schedule-tab.active {
  box-shadow: 0 6px 16px rgba(31, 107, 85, 0.2);
}

.schedule-nav-button {
  min-width: 126px;
}

.schedule-calendar-cell {
  border-radius: 12px;
  min-height: 162px;
}

.schedule-calendar-cell.selected {
  border-color: rgba(31, 107, 85, 0.38);
}

.schedule-calendar-cell.has-entries {
  border-left: 4px solid rgba(69, 110, 166, 0.56);
}

.schedule-calendar-cell.has-deadlines {
  border-top: 3px solid rgba(185, 121, 45, 0.6);
}

.schedule-calendar-cell.overdue {
  border-top-color: rgba(183, 59, 45, 0.68);
}

.schedule-calendar-cell.completed {
  background: linear-gradient(180deg, rgba(228, 240, 232, 0.56), rgba(255, 255, 255, 0.84));
}

.calendar-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.calendar-dot {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  background: rgba(26, 47, 40, 0.08);
  color: var(--muted);
}

.dot-today {
  background: rgba(31, 107, 85, 0.16);
  color: var(--accent);
}

.dot-selected {
  background: rgba(69, 110, 166, 0.18);
  color: #365985;
}

.dot-scheduled {
  background: rgba(69, 110, 166, 0.16);
  color: #365985;
}

.dot-deadline {
  background: rgba(185, 121, 45, 0.16);
  color: #9f621f;
}

.dot-open {
  background: rgba(125, 141, 134, 0.2);
}

.dot-completed {
  background: rgba(63, 154, 74, 0.16);
  color: #2f7b39;
}

.dot-overdue {
  background: rgba(183, 59, 45, 0.18);
  color: #9f3025;
}

.schedule-calendar-item {
  border-radius: 10px;
  border: 1px solid rgba(31, 107, 85, 0.14);
  background: rgba(255, 255, 255, 0.85);
}

.schedule-day-card {
  border-radius: 16px;
}

.schedule-entry-card:hover {
  border-color: rgba(31, 107, 85, 0.28);
}

.insights-summary-clusters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-cluster-card {
  border-radius: 18px;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.insight-cluster-card h2 {
  margin: 0;
  font-size: 1rem;
}

.insight-kpi-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.52rem;
}

.insight-kpi-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.insight-kpi-row span {
  color: var(--muted);
}

.insight-kpi-row strong {
  font-size: 1.08rem;
}

.insight-stuck-card {
  border-left: 4px solid rgba(31, 107, 85, 0.45);
}

.guided-form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.guided-step {
  border: 1px solid rgba(31, 107, 85, 0.14);
  background: rgba(245, 250, 247, 0.75);
  border-radius: 14px;
  padding: 0.78rem 0.86rem;
  display: grid;
  gap: 0.55rem;
}

.guided-step-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.guided-primary-label input {
  font-size: 1rem;
}

.checkin-control {
  border: 1px solid rgba(31, 107, 85, 0.14);
  border-radius: 12px;
  padding: 0.72rem 0.74rem;
  background: rgba(245, 250, 247, 0.76);
}

.checkin-control-grid {
  gap: 0.8rem;
}

.reflection-day-card,
.reflection-win-card,
.micro-goal-card,
.insight-stat-card,
.insight-term-card,
.insight-stuck-card {
  border-radius: 14px;
}

@media (max-width: 900px) {
  .topbar-main,
  .topbar-nav {
    width: 100%;
    justify-items: stretch;
  }

  .topbar-nav {
    justify-content: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .topbar-utility-links {
    width: auto;
  }

  .user-badge {
    min-width: 0;
    width: 100%;
  }

  .landing-process,
  .landing-pricing,
  .landing-faq,
  .landing-final-cta {
    padding: 1.25rem;
  }

  .insights-summary-clusters {
    grid-template-columns: 1fr;
  }

  .quadrant-axis-vertical {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Premium confidence pass */
h1,
h2,
h3,
h4 {
  color: #142a23;
}

h1 {
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.58rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.01rem, 2vw, 1.17rem);
  line-height: 1.28;
}

.hero-card h1 {
  font-size: clamp(2rem, 4.3vw, 2.8rem);
  line-height: 1.06;
}

.hero-card-emphasis {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(235, 246, 239, 0.84)),
    url("/serene-garden.svg") center center / cover no-repeat;
  border-color: rgba(31, 107, 85, 0.2);
  box-shadow: 0 18px 36px rgba(20, 42, 35, 0.1);
}

.panel-emphasis {
  background: linear-gradient(180deg, rgba(251, 255, 252, 0.94), rgba(240, 248, 243, 0.84));
  border-color: rgba(31, 107, 85, 0.2);
  box-shadow: 0 14px 30px rgba(20, 42, 35, 0.09);
}

.panel-subtle {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(20, 42, 35, 0.1);
  box-shadow: 0 8px 18px rgba(20, 42, 35, 0.05);
}

.landing-section-contrast {
  background: linear-gradient(130deg, rgba(239, 248, 242, 0.9), rgba(255, 255, 255, 0.92));
  border-color: rgba(31, 107, 85, 0.18);
}

.landing-hero .landing-actions .button-secondary,
.landing-final-cta .landing-actions .button-secondary {
  opacity: 0.88;
}

.landing-actions .button + .button-secondary {
  margin-left: 0.1rem;
}

.signal-dominant {
  border-color: rgba(183, 59, 45, 0.28);
  box-shadow: 0 14px 28px rgba(20, 42, 35, 0.1);
}

.signal-dominant strong {
  font-size: 2.18rem;
}

.signal-grid-secondary .signal {
  border-style: solid;
  border-color: rgba(20, 42, 35, 0.09);
}

.insight-cluster-dominant {
  background: linear-gradient(160deg, rgba(231, 243, 236, 0.92), rgba(255, 255, 255, 0.9));
  border-color: rgba(31, 107, 85, 0.26);
  box-shadow: 0 12px 24px rgba(20, 42, 35, 0.08);
}

.reflection-winjar-card {
  background: linear-gradient(180deg, rgba(255, 250, 235, 0.9), rgba(255, 255, 255, 0.88));
  border-color: rgba(185, 121, 45, 0.28);
}

.guided-form-card {
  box-shadow: 0 10px 24px rgba(20, 42, 35, 0.06);
}

.guided-step {
  border-color: rgba(31, 107, 85, 0.18);
}

.quadrant-matrix-grid {
  position: relative;
  border: 1px solid rgba(20, 42, 35, 0.12);
  border-radius: 18px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.7);
}

.quadrant-matrix-grid::before,
.quadrant-matrix-grid::after {
  content: "";
  position: absolute;
  background: rgba(20, 42, 35, 0.18);
  pointer-events: none;
}

.quadrant-matrix-grid::before {
  top: 0.7rem;
  bottom: 0.7rem;
  left: calc(50% - 0.5px);
  width: 1px;
}

.quadrant-matrix-grid::after {
  left: 0.7rem;
  right: 0.7rem;
  top: calc(50% - 0.5px);
  height: 1px;
}

.quadrant-cell h3 {
  font-weight: 800;
}

.calendar-grid {
  gap: 0.52rem;
}

.calendar-cell,
.schedule-calendar-cell {
  border-color: rgba(20, 42, 35, 0.16);
}

.schedule-calendar-grid .schedule-calendar-cell:not(.empty):nth-child(2n) {
  background-color: rgba(249, 252, 250, 0.92);
}

.schedule-calendar-grid .schedule-calendar-cell:not(.empty):nth-child(2n + 1) {
  background-color: rgba(255, 255, 255, 0.92);
}

.dashboard-calendar-cell.today,
.schedule-calendar-cell.today {
  box-shadow: inset 0 0 0 1px rgba(31, 107, 85, 0.3);
}

.button,
.button-secondary,
.nav-pill,
.utility-link,
.schedule-tab,
.quadrant-item-card,
.schedule-entry-card,
.calendar-cell,
.schedule-calendar-cell,
.quadrant-cell,
.insight-cluster-card,
.insight-stuck-card,
.insight-term-card,
.micro-goal-card,
.reflection-day-card,
.reflection-win-card,
.landing-process-card,
.landing-price-card,
.landing-faq-card {
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.button:hover,
.button-secondary:hover,
.nav-pill:hover,
.utility-link:hover,
.schedule-tab:hover {
  box-shadow: 0 10px 20px rgba(20, 42, 35, 0.1);
}

.button:active,
.button-secondary:active,
.nav-pill:active,
.utility-link:active,
.schedule-tab:active,
.link-button:active {
  transform: translateY(0) scale(0.985);
}

.calendar-cell:not(.empty):hover,
.schedule-calendar-cell:not(.empty):hover,
.quadrant-cell:hover,
.quadrant-item-card:hover,
.schedule-entry-card:hover,
.insight-cluster-card:hover,
.insight-term-card:hover,
.insight-stuck-card:hover,
.micro-goal-card:hover,
.reflection-day-card:hover,
.reflection-win-card:hover {
  box-shadow: 0 10px 22px rgba(20, 42, 35, 0.08);
  border-color: rgba(31, 107, 85, 0.24);
  transform: translateY(-1px);
}

.calendar-cell:not(.empty):active,
.schedule-calendar-cell:not(.empty):active,
.quadrant-cell:active,
.quadrant-item-card:active {
  transform: translateY(0) scale(0.99);
}

.schedule-tab,
.nav-pill,
.utility-link {
  cursor: pointer;
}

.calendar-cell:not(.empty),
.schedule-calendar-cell:not(.empty) {
  cursor: pointer;
}

.panel-header {
  margin-bottom: 0.42rem;
}

.panel-header + .stack,
.panel-header + .insight-mix-list,
.panel-header + .insight-term-list,
.panel-header + .insights-stuck-grid {
  margin-top: 0.22rem;
}

.todo-empty {
  color: #4f685d;
  border-color: rgba(20, 42, 35, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 249, 245, 0.7));
}

@media (max-width: 900px) {
  .signal-dominant strong {
    font-size: 1.95rem;
  }

  .quadrant-matrix-grid::before,
  .quadrant-matrix-grid::after {
    display: none;
  }

  .calendar-cell:not(.empty):hover,
  .schedule-calendar-cell:not(.empty):hover,
  .quadrant-cell:hover,
  .quadrant-item-card:hover,
  .schedule-entry-card:hover,
  .insight-cluster-card:hover,
  .insight-term-card:hover,
  .insight-stuck-card:hover,
  .micro-goal-card:hover,
  .reflection-day-card:hover,
  .reflection-win-card:hover {
    transform: none;
  }
}

/* Final premium polish pass */
.button {
  background: linear-gradient(180deg, #227459, #1b634d);
  border-color: rgba(20, 90, 69, 0.8);
  box-shadow: 0 10px 20px rgba(20, 90, 69, 0.22);
}

.button:hover {
  background: linear-gradient(180deg, #248060, #1d6b52);
  box-shadow: 0 14px 24px rgba(20, 90, 69, 0.28);
}

.button-secondary {
  background: rgba(31, 107, 85, 0.09);
  border-color: rgba(31, 107, 85, 0.2);
  color: #1a5844;
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(31, 107, 85, 0.16);
  box-shadow: 0 8px 16px rgba(20, 42, 35, 0.1);
}

.hero-actions .button,
.landing-actions .button,
.panel-main .button {
  padding: 0.76rem 1.2rem;
}

.todo-row,
.timeline-row,
.manage-row,
.micro-goal-card,
.reflection-win-card,
.reflection-day-card,
.insight-stuck-card,
.insight-term-card,
.schedule-calendar-item {
  transition: background-color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.todo-row:hover,
.timeline-row:hover,
.manage-row:hover {
  background: rgba(249, 252, 250, 0.72);
  border-color: rgba(20, 42, 35, 0.16);
}

.calendar-head {
  color: #486559;
  letter-spacing: 0.01em;
}

.dashboard-calendar-cell.has-items {
  background: linear-gradient(180deg, rgba(244, 251, 247, 0.92), rgba(255, 255, 255, 0.88));
}

.dashboard-calendar-cell.has-items .calendar-day-number,
.schedule-calendar-cell.has-entries .schedule-calendar-date strong {
  color: #154736;
}

.dashboard-calendar-cell.today,
.schedule-calendar-cell.today,
.schedule-calendar-cell.selected {
  border-color: rgba(20, 90, 69, 0.38);
}

.calendar-cell:not(.empty):hover,
.schedule-calendar-cell:not(.empty):hover {
  background: rgba(239, 248, 242, 0.9);
  box-shadow: 0 12px 22px rgba(20, 42, 35, 0.1);
}

.commitments-calendar-panel {
  border-color: rgba(20, 42, 35, 0.14);
  box-shadow: 0 8px 18px rgba(20, 42, 35, 0.06);
}

.commitments-calendar-panel .calendar-grid {
  gap: 0.62rem;
  margin-top: 0.3rem;
}

.commitments-calendar-panel .calendar-head {
  font-size: 0.74rem;
  color: #5f7569;
  letter-spacing: 0.01em;
  padding: 0 0.1rem 0.35rem;
}

.commitments-calendar-panel .dashboard-calendar-cell {
  min-height: 136px;
  padding: 0.72rem;
  border: 1px solid rgba(20, 42, 35, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

.commitments-calendar-panel .dashboard-calendar-cell.empty {
  border-style: dashed;
  border-color: rgba(20, 42, 35, 0.08);
  background: transparent;
}

.commitments-calendar-panel .dashboard-calendar-cell.has-items {
  background: linear-gradient(180deg, rgba(248, 252, 249, 0.95), rgba(255, 255, 255, 0.9));
}

.commitments-calendar-panel .dashboard-calendar-cell.today {
  background: rgba(228, 241, 234, 0.88);
  border-color: rgba(20, 90, 69, 0.28);
  box-shadow: inset 0 0 0 1px rgba(20, 90, 69, 0.16);
}

.commitments-calendar-panel .dashboard-calendar-cell.overdue {
  border-left: 3px solid rgba(172, 135, 88, 0.48);
}

.commitments-calendar-panel .calendar-count {
  background: rgba(31, 107, 85, 0.1);
  color: #255947;
}

.commitments-calendar-panel .dashboard-calendar-cell:not(.empty):hover {
  background: rgba(244, 249, 246, 0.96);
  border-color: rgba(20, 90, 69, 0.2);
  box-shadow: 0 8px 16px rgba(20, 42, 35, 0.08);
  transform: translateY(-1px);
}

.commitments-calendar-panel .dashboard-calendar-cell:not(.empty):active {
  transform: translateY(0) scale(0.995);
}

.calendar-day-number {
  font-size: 0.74rem;
  color: #5f7569;
  font-weight: 600;
  line-height: 1;
}

.commitments-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.commitment-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 1.42rem;
  border-radius: 10px;
  padding: 0.2rem 0.52rem 0.2rem 0.92rem;
  font-size: 0.76rem;
  line-height: 1.2;
  background: rgba(250, 253, 251, 0.88);
  border: 1px solid rgba(20, 42, 35, 0.09);
}

.commitment-item::before {
  content: "";
  position: absolute;
  left: 0.42rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(97, 116, 107, 0.65);
}

.commitment-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.commitment-item-supporting {
  color: #4f675b;
  background: rgba(250, 252, 250, 0.88);
}

.commitment-item-supporting::before {
  background: rgba(115, 132, 124, 0.66);
}

.commitment-item-goal {
  color: #1d4739;
  font-weight: 650;
  background: rgba(241, 249, 245, 0.92);
  border-color: rgba(31, 107, 85, 0.18);
}

.commitment-item-goal::before {
  background: rgba(31, 107, 85, 0.72);
}

.commitment-item-schedule {
  padding-left: 0.54rem;
  background: rgba(226, 239, 248, 0.88);
  border-color: rgba(69, 110, 166, 0.24);
  color: #2f557f;
  font-weight: 600;
}

.commitment-item-schedule::before {
  display: none;
}

.commitment-overflow {
  font-size: 0.74rem;
  color: #5a7064;
  padding-left: 0.1rem;
}

.commitments-calendar-panel .legend {
  margin-top: 0.7rem;
  opacity: 0.9;
}

.commitments-calendar-panel .chip-today {
  background: rgba(31, 107, 85, 0.14);
  color: #1f6b55;
}

.commitments-calendar-panel .chip-week {
  background: rgba(69, 110, 166, 0.14);
  color: #3e6088;
}

.commitments-calendar-panel .chip-month {
  background: rgba(95, 128, 104, 0.17);
  color: #3f6a4a;
}

.quadrant-cell {
  padding: 0.95rem;
  border-color: rgba(20, 42, 35, 0.16);
}

.quadrant-cell h3 {
  font-size: 1.01rem;
  font-weight: 800;
}

.quadrant-cell:hover {
  box-shadow: inset 0 0 0 1px rgba(20, 90, 69, 0.24), 0 12px 22px rgba(20, 42, 35, 0.1);
}

.quadrant-priority-urgent_important:hover {
  background: rgba(217, 74, 56, 0.14);
}

.quadrant-priority-not_urgent_important:hover {
  background: rgba(63, 154, 74, 0.16);
}

.quadrant-priority-urgent_not_important:hover {
  background: rgba(241, 153, 45, 0.15);
}

.quadrant-priority-not_urgent_not_important:hover {
  background: rgba(149, 161, 155, 0.17);
}

.quadrant-item-card {
  border-color: rgba(20, 42, 35, 0.18);
}

.quadrant-item-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(20, 42, 35, 0.12);
}

.insight-progress {
  background: rgba(26, 37, 31, 0.12);
}

.insight-progress-bar {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.panel-main .panel-header {
  margin-bottom: 0.58rem;
}

.dashboard-today-wrap {
  margin-bottom: 1.9rem;
}

.today-command-panel {
  padding: 1.35rem 1.4rem;
  border-color: rgba(20, 90, 69, 0.22);
  background: linear-gradient(180deg, rgba(231, 244, 236, 0.88), rgba(255, 255, 255, 0.93));
  box-shadow: 0 14px 28px rgba(20, 90, 69, 0.12);
}

.today-command-panel .panel-header {
  margin-bottom: 0.78rem;
}

.page-shell > .hero-card + .panel,
.page-shell > .hero-card + .signal-section,
.page-shell > .hero-card + .schedule-toolbar {
  margin-top: 0.2rem;
}

.nav-pill-secondary {
  background: rgba(31, 107, 85, 0.045);
  border-color: rgba(31, 107, 85, 0.12);
  color: #3f5f53;
}

.nav-pill-secondary:hover {
  background: rgba(31, 107, 85, 0.1);
}

.nav-pill-secondary.active {
  background: rgba(31, 107, 85, 0.18);
  border-color: rgba(31, 107, 85, 0.2);
  color: var(--accent);
}

.dashboard-execution-page {
  gap: 1.15rem;
}

.dashboard-execution-page .dashboard-hero h1 {
  max-width: 740px;
}

.dashboard-micro-first {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: center;
}

.dashboard-micro-first h2,
.dashboard-micro-first p,
.dashboard-goal-map-cta p {
  margin: 0;
}

.dashboard-micro-first h2 {
  margin-bottom: 0.35rem;
}

.dashboard-goal-map-cta {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(31, 107, 85, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
}

.dashboard-goal-map-cta strong {
  display: block;
  color: var(--ink);
}

.dashboard-goal-map-cta p {
  color: var(--muted);
}

.dashboard-goal-map-cta a {
  justify-self: start;
  font-weight: 800;
}

.dashboard-execution-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
}

.dashboard-next-step-grid {
  margin-bottom: 1rem;
}

.dashboard-primary-action {
  border-color: rgba(31, 107, 85, 0.2);
  background: linear-gradient(180deg, rgba(231, 244, 236, 0.86), rgba(255, 255, 255, 0.92));
}

.dashboard-friction-strip {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(20, 42, 35, 0.1);
}

.dashboard-friction-strip h3,
.dashboard-friction-strip p {
  margin: 0;
}

.dashboard-friction-strip .mini-list span {
  color: var(--muted);
}

.dashboard-urgency-list {
  display: grid;
  gap: 0.7rem;
}

.dashboard-urgency-row {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(20, 42, 35, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-urgency-row > strong {
  padding-right: 2.5rem;
}

.dashboard-urgency-row > span {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  min-width: 1.8rem;
  min-height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.1);
  color: var(--accent);
  font-weight: 800;
}

.urgency-overdue > span {
  background: rgba(217, 74, 56, 0.12);
  color: var(--danger);
}

.urgency-today > span {
  background: rgba(241, 153, 45, 0.14);
  color: #9a5d11;
}

.goal-map-matrix-panel {
  margin-top: 1rem;
}

.goal-map-matrix-panel .panel-header {
  margin-bottom: 0.7rem;
}

.goal-map-quadrant-grid .quadrant-cell {
  background: rgba(255, 255, 255, 0.62);
}

.goal-map-quadrant-grid .quadrant-item-card {
  box-shadow: none;
}

.goal-map-quadrant-grid .quadrant-item-card p {
  margin: 0.2rem 0 0;
}

.goal-map-page {
  gap: 1.1rem;
}

.goal-map-hero {
  grid-template-columns: minmax(0, 1.2fr) auto;
}

.goal-map-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.goal-map-stat {
  border: 1px solid rgba(20, 42, 35, 0.12);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.78);
}

.goal-map-stat span,
.goal-map-stat p {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.goal-map-stat strong {
  display: block;
  margin: 0.16rem 0;
  font-size: 1.65rem;
  color: var(--text);
}

.goal-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.goal-map-section-header {
  margin-bottom: 0.75rem;
}

.goal-map-actions,
.goal-map-node-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: flex-end;
}

.goal-map-node-actions {
  min-width: 190px;
}

.goal-map-node-actions form {
  margin: 0;
}

.goal-map-tree {
  display: grid;
  gap: 0.85rem;
}

.goal-map-node {
  box-shadow: 0 10px 22px rgba(20, 42, 35, 0.08);
}

.goal-map-node-done {
  opacity: 0.78;
}

.goal-map-node-head {
  align-items: flex-start;
}

.goal-map-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0;
  color: var(--muted);
}

.goal-map-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.goal-map-priority-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 42, 35, 0.1);
  background: rgba(248, 250, 249, 0.92);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.goal-map-count-line {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.goal-map-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  background: rgba(183, 59, 45, 0.08);
  color: rgba(138, 56, 44, 0.95);
  font-size: 0.78rem;
  font-weight: 700;
}

.goal-map-micro {
  background: linear-gradient(135deg, rgba(31, 107, 85, 0.08), rgba(255, 255, 255, 0.95));
}

.goal-map-compact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0.7rem 0 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.goal-map-compact-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 42, 35, 0.1);
}

.goal-map-empty {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px dashed rgba(20, 42, 35, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.goal-map-empty h3,
.goal-map-empty p {
  margin: 0;
}

.goal-map-empty .button {
  justify-self: start;
}

.goal-map-task-list {
  gap: 0;
}

.goal-map-task-row {
  align-items: center;
}

.goal-map-completed-tasks {
  margin: 0.75rem 0 0 1.4rem;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(31, 107, 85, 0.12);
}

.goal-map-completed-milestones {
  margin-top: 0.95rem;
}

.goal-map-completed-tasks summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(31, 107, 85, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.goal-map-completed-tasks summary::-webkit-details-marker {
  display: none;
}

.goal-map-completed-tasks[open] summary {
  color: var(--accent);
  background: rgba(31, 107, 85, 0.08);
}

.goal-map-completed-task-list {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.65rem;
}

.goal-map-completed-milestone-list,
.goal-map-linked-micro-goal-list {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.7rem;
}

.goal-map-completed-milestone > .chain-level,
.goal-map-completed-milestone .chain-level.chain-short {
  background: rgba(238, 243, 240, 0.86);
}

.goal-map-completed-task .chain-level {
  background: rgba(238, 243, 240, 0.8);
}

.goal-map-linked-micro-goals {
  margin: 0.75rem 0 0 1.4rem;
  padding-left: 1.1rem;
  border-left: 2px solid rgba(31, 107, 85, 0.12);
}

.goal-map-linked-micro-goals summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(31, 107, 85, 0.12);
  border-radius: 999px;
  background: rgba(246, 250, 248, 0.9);
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.goal-map-linked-micro-goals summary::-webkit-details-marker {
  display: none;
}

.goal-map-linked-micro-goals summary strong {
  min-width: 1.5rem;
  min-height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
}

.goal-map-linked-micro-goals[open] summary {
  color: var(--accent);
  background: rgba(31, 107, 85, 0.08);
}

.goal-map-completed-micro-goal .chain-level {
  background: linear-gradient(135deg, rgba(31, 107, 85, 0.05), rgba(238, 243, 240, 0.9));
}

.goal-map-quadrant-label {
  margin: 0.25rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.goal-map-matrix-empty {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 0;
}

.goal-map-matrix-empty p {
  margin: 0;
}

.goal-map-matrix-empty .button {
  justify-self: start;
}

.goal-map-matrix-axes {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.goal-map-axis-heading {
  display: grid;
  gap: 0.2rem;
}

.goal-map-axis-heading strong {
  color: var(--text);
  font-size: 0.9rem;
}

.reminders-page {
  gap: 1rem;
}

.reminder-center-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.reminders-stream {
  gap: 1rem;
}

.reminder-group {
  display: grid;
  gap: 0.6rem;
}

.reminder-group h3,
.reminder-center-card p,
.reminder-center-card strong {
  margin: 0;
}

.reminder-center-card {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(20, 42, 35, 0.08);
  background: rgba(255, 255, 255, 0.76);
}

.reminder-center-card-muted {
  opacity: 0.8;
}

.reminder-center-time {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.reminder-preferences-form {
  display: grid;
  gap: 0.75rem;
}

.settings-subsection {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(20, 42, 35, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 0.6rem;
}

.settings-subsection legend {
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  line-height: 1.4;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.settings-page {
  display: grid;
  gap: 1rem;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 1rem;
}

.settings-main {
  min-width: 0;
}

.settings-hero,
.settings-split {
  display: grid;
  gap: 1rem;
}

.settings-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.settings-subsection h3 {
  margin: 0;
  font-size: 1rem;
}

.settings-subsection-nested {
  background: rgba(255, 255, 255, 0.72);
}

.settings-inline-banner {
  margin-top: 0.35rem;
}

.settings-status {
  display: flex;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(20, 42, 35, 0.08);
  color: var(--text);
}

.status-pill-success {
  background: rgba(53, 117, 92, 0.14);
  color: #214f3f;
}

.status-pill-muted {
  background: rgba(20, 42, 35, 0.08);
  color: var(--muted);
}

.settings-help-panel {
  margin-bottom: 2rem;
}

.schedule-focus-summary {
  margin-top: 0.2rem;
}

.schedule-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.schedule-focus-item {
  border-radius: 16px;
  border: 1px solid rgba(20, 42, 35, 0.1);
  background: rgba(255, 255, 255, 0.76);
  padding: 0.8rem 0.9rem;
}

.schedule-focus-item span,
.schedule-focus-item strong {
  display: block;
}

.schedule-focus-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.schedule-focus-item strong {
  margin-top: 0.2rem;
}

@media (max-width: 900px) {
  .dashboard-micro-first,
  .dashboard-execution-layout {
    grid-template-columns: 1fr;
  }

  .goal-map-hero,
  .goal-map-layout {
    grid-template-columns: 1fr;
  }

  .goal-map-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goal-map-node-actions,
  .goal-map-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .goal-map-node-head,
  .goal-map-page .chain-level {
    align-items: flex-start;
    flex-direction: column;
  }

  .goal-map-completed-tasks {
    margin-left: 0;
    padding-left: 0.8rem;
  }

  .goal-map-linked-micro-goals,
  .goal-map-compact-meta {
    margin-left: 0;
  }

  .goal-map-linked-micro-goals {
    padding-left: 0.8rem;
  }

  .reminder-center-summary,
  .settings-layout,
  .settings-split,
  .schedule-focus-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .reminder-center-card {
    flex-direction: column;
  }

  .button,
  .button-secondary {
    min-height: 42px;
  }

  .calendar-cell:not(.empty):hover,
  .schedule-calendar-cell:not(.empty):hover,
  .quadrant-item-card:hover {
    box-shadow: 0 8px 16px rgba(20, 42, 35, 0.08);
  }
}

@media (max-width: 560px) {
  .goal-map-summary {
    grid-template-columns: 1fr;
  }
}

.blog-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 4rem;
}

.legal-page {
  max-width: 980px;
}

.legal-content {
  line-height: 1.72;
}

.legal-content section {
  display: grid;
  gap: 0.55rem;
}

.legal-content h2,
.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content h2 {
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 0.4rem;
}

.blog-index-hero,
.blog-bottom-cta,
.blog-article-cta,
.blog-author-card,
.blog-related-card,
.blog-related-reading,
.blog-notice {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.blog-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  padding: 2.1rem;
  margin-bottom: 1.2rem;
}

.blog-index-hero h1,
.blog-bottom-cta h2,
.blog-article-cta h2 {
  margin: 0.25rem 0 0.55rem;
  max-width: 760px;
}

.blog-index-hero p,
.blog-bottom-cta p,
.blog-article-cta p,
.blog-notice p {
  margin: 0;
  color: var(--muted);
}

.blog-index-hero-actions,
.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(20, 42, 35, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(20, 42, 35, 0.08);
}

.blog-card-image-link {
  display: block;
  height: clamp(220px, 24vw, 300px);
  overflow: hidden;
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.55rem;
}

.blog-card-body h2,
.blog-card-body p {
  margin: 0;
}

.blog-card-body h2 {
  font-size: 1.5rem;
  line-height: 1.15;
}

.blog-card-body p {
  color: var(--muted);
  line-height: 1.65;
}

.blog-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-meta-row span:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 0.75rem;
  border-radius: 999px;
  background: rgba(31, 107, 85, 0.36);
  vertical-align: middle;
}

.blog-read-link {
  justify-self: start;
  align-self: end;
  font-weight: 700;
}

.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.blog-article-tag-row {
  margin-top: 0.85rem;
}

.blog-topic-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.24rem 0.68rem;
  border: 1px solid rgba(31, 107, 85, 0.14);
  border-radius: 999px;
  background: rgba(246, 249, 246, 0.8);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-topic-pill-primary {
  background: rgba(31, 107, 85, 0.08);
  color: var(--accent);
}

.blog-bottom-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
  padding: 1.35rem 1.45rem;
}

.blog-notice {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.blog-notice strong {
  display: block;
  margin-bottom: 0.25rem;
}

.blog-article-shell {
  width: min(1080px, calc(100% - 2rem));
}

.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.blog-reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(31, 107, 85, 0.28), rgba(31, 107, 85, 0.68));
}

.blog-article {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.blog-article-header {
  padding: 2rem 2rem 0;
}

.blog-article-header h1 {
  max-width: 900px;
  margin: 0.55rem 0 0.7rem;
  font-size: 3rem;
  line-height: 1.05;
}

.blog-subtitle {
  max-width: 800px;
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.blog-brand-line {
  margin: 0.55rem 0 0;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 800;
}

.blog-hero-figure,
.blog-inline-figure {
  margin: 0;
}

.blog-hero-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.blog-hero-image {
  height: 520px;
  border-radius: 22px 22px 0 0;
}

.blog-content {
  width: min(800px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  font-size: 1.14rem;
  line-height: 1.78;
}

.blog-content p,
.blog-content ul {
  margin: 0 0 1.15rem;
}

.blog-content li + li {
  margin-top: 0.35rem;
}

.blog-section {
  margin-top: 2.35rem;
}

.blog-section h2 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
  line-height: 1.15;
}

.blog-section .eyebrow {
  margin-bottom: 0.35rem;
}

.blog-pullquote,
.blog-cycle {
  margin: 1.45rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(31, 107, 85, 0.08);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.45;
}

.blog-related-reading {
  margin: 1.65rem 0 0.7rem;
  padding: 1.15rem 1.2rem;
  border-color: rgba(31, 107, 85, 0.14);
  background: linear-gradient(135deg, rgba(246, 249, 246, 0.86), rgba(255, 250, 241, 0.82));
  box-shadow: 0 10px 24px rgba(20, 42, 35, 0.06);
}

.blog-related-reading span {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-related-reading h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.blog-related-reading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.blog-cycle {
  border-color: rgba(241, 153, 45, 0.72);
  background: rgba(241, 153, 45, 0.1);
  font-size: 1.18rem;
  font-weight: 700;
}

.blog-contrast,
.blog-example-panel,
.blog-example-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.2rem 0;
}

.blog-contrast {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-contrast > div,
.blog-example-panel,
.blog-example-item {
  border: 1px solid rgba(20, 42, 35, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(246, 249, 246, 0.82);
}

.blog-contrast span,
.blog-example-panel span,
.blog-example-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-contrast strong,
.blog-example-item strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
}

.blog-example-panel > strong {
  display: block;
  color: var(--accent);
}

.blog-example-panel ul {
  margin-bottom: 0;
}

.blog-inline-figure {
  width: 100%;
  max-width: 800px;
  margin: 1.45rem auto 0;
  padding: 0.7rem;
  border: 1px solid rgba(20, 42, 35, 0.1);
  border-radius: 22px;
  background: rgba(246, 249, 246, 0.72);
  overflow: hidden;
}

.blog-inline-figure img {
  display: block;
  width: 100%;
  max-height: 430px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

.blog-inline-figure-illustration {
  max-width: 640px;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(237, 243, 231, 0.82), rgba(255, 250, 241, 0.9));
}

.blog-inline-figure-illustration img {
  max-height: 360px;
}

.blog-soft-cta {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
  margin: 1.4rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(31, 107, 85, 0.14);
  border-radius: 18px;
  background: rgba(31, 107, 85, 0.07);
}

.blog-soft-cta span {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-soft-cta a,
.blog-article-back a {
  font-weight: 800;
}

.blog-article-cta {
  display: grid;
  gap: 1rem;
  margin-top: 2.6rem;
  padding: 1.4rem;
  background: linear-gradient(135deg, rgba(31, 107, 85, 0.11), rgba(255, 255, 255, 0.92));
}

.blog-article-back {
  margin: 1rem 0 0;
  padding: 0 0.2rem;
}

.blog-ownership-note {
  margin-top: 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(31, 107, 85, 0.12);
  border-radius: 18px;
  background: rgba(246, 249, 246, 0.72);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.blog-article-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.blog-author-card,
.blog-related-card {
  padding: 1.2rem 1.25rem;
}

.blog-author-card span,
.blog-related-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-author-card h2,
.blog-related-card h2,
.blog-author-card p,
.blog-related-card p {
  margin: 0;
}

.blog-author-card p,
.blog-related-card p {
  color: var(--muted);
  line-height: 1.6;
}

.blog-related-card a {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(20, 42, 35, 0.1);
  border-radius: 16px;
  background: rgba(246, 249, 246, 0.76);
  font-weight: 700;
}

.blog-related-card a span {
  display: block;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}

.blog-related-card a .blog-topic-pill {
  justify-self: start;
  display: inline-flex;
  margin-bottom: 0.1rem;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.blog-related-card a em {
  color: var(--accent);
  font-size: 0.92rem;
  font-style: normal;
  font-weight: 800;
}

.blog-related-list {
  display: grid;
  gap: 0.65rem;
}

.public-footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.3rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
}

.public-footer-brand,
.public-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.public-footer-brand {
  max-width: 520px;
}

.public-footer-brand small,
.app-footer small {
  color: var(--muted);
  font-size: 0.84rem;
}

.public-footer-logo {
  width: 132px;
  height: auto;
  display: block;
}

.public-footer-links a {
  font-weight: 700;
}

.app-footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.app-footer-links a {
  font-weight: 700;
}

.app-footer span {
  color: #496154;
  font-weight: 700;
}

@media (max-width: 860px) {
  .blog-index-hero,
  .blog-bottom-cta,
  .blog-card,
  .blog-article-footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-index-hero,
  .blog-bottom-cta {
    align-items: start;
  }

  .blog-card-image-link {
    height: 220px;
  }

  .blog-article-header {
    padding: 1.25rem 1.25rem 0;
  }

  .blog-article-header h1 {
    font-size: 2.25rem;
  }

  .blog-hero-image {
    height: 360px;
  }

  .blog-inline-figure img {
    max-height: 340px;
  }

  .blog-inline-figure-illustration img {
    max-height: 300px;
  }
}

@media (max-width: 620px) {
  .blog-shell,
  .blog-article-shell {
    width: min(100% - 1rem, 1040px);
    padding-top: 0.6rem;
  }

  .blog-index-hero,
  .blog-card-body,
  .blog-bottom-cta,
  .blog-article-cta {
    padding: 1rem;
  }

  .blog-article-header h1 {
    font-size: 1.9rem;
  }

  .blog-content {
    width: min(100% - 1.4rem, 800px);
    font-size: 1.04rem;
  }

  .blog-section h2 {
    font-size: 1.55rem;
  }

  .blog-contrast {
    grid-template-columns: 1fr;
  }

  .blog-hero-image {
    height: 260px;
  }

  .blog-inline-figure {
    padding: 0.55rem;
    border-radius: 18px;
  }

  .blog-inline-figure img {
    max-height: 280px;
    border-radius: 14px;
  }

  .blog-inline-figure-illustration {
    max-width: 100%;
    padding: 0.75rem;
  }

  .blog-soft-cta,
  .public-footer,
  .app-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
