:root {
  color-scheme: light;
  --daylivia-brand-primary: #125cd7;
  --daylivia-brand-soft: #4d88f0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  font-family: "Manrope", "SF Pro Display", "SF Pro Text", sans-serif;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(115, 165, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(166, 211, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #f3f7fd 46%, #f8fbff 100%);
}

.site-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 86%);
  opacity: 0.22;
}

.site-orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(64px);
}

.site-orb-a {
  top: 74px;
  left: -34px;
  width: 250px;
  height: 250px;
  background: rgba(77, 136, 240, 0.16);
}

.site-orb-b {
  right: -40px;
  bottom: 120px;
  width: 290px;
  height: 290px;
  background: rgba(169, 214, 255, 0.18);
}

.site-header-bar,
.glass-button,
.mobile-nav-panel,
.panel-shell,
.metric-card,
.feature-panel,
.benefit-card,
.screenshot-card {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.72rem 0 0.5rem;
}

.site-header-bar {
  position: relative;
  width: min(calc(100% - 2rem), 80rem);
  min-height: 4.35rem;
  border-radius: 999px;
  box-shadow:
    0 22px 70px rgba(18, 38, 74, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(18, 38, 74, 0.04);
}

.site-header-bar > * {
  position: relative;
  z-index: 1;
}

.glass-button {
  color: rgba(12, 23, 43, 0.82);
  box-shadow: 0 14px 36px rgba(18, 38, 74, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.glass-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(18, 38, 74, 0.10);
  background: rgba(255, 255, 255, 0.88);
}

.mobile-nav-panel,
.panel-shell {
  box-shadow: 0 24px 74px rgba(18, 38, 74, 0.10);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% - 0.15rem);
  right: max(1rem, calc((100vw - 80rem) / 2 + 1rem));
  z-index: 2;
  width: min(calc(100% - 2rem), 20.5rem);
  margin-inline: 0 !important;
  background:
    radial-gradient(circle at top left, rgba(182, 218, 255, 0.40), transparent 42%),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 28px 80px rgba(18, 38, 74, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform-origin: top right;
}

.mobile-nav-panel:not(.hidden) {
  animation: mobileMenuIn 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-0.45rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-link {
  border-radius: 1rem;
  padding: 0.82rem 1rem;
  transition: background 220ms ease, color 220ms ease;
}

.mobile-link:hover {
  background: rgba(226, 236, 255, 0.84);
  color: #0c172b;
}

.site-nav {
  position: relative;
  min-height: 2.9rem;
  border-radius: 999px;
  padding: 0.28rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.nav-link {
  position: relative;
  transition: color 220ms ease;
}

.nav-link:hover {
  color: #0c172b;
}

.site-nav .nav-link {
  z-index: 1;
  border-radius: 999px;
  padding: 0.62rem 0.94rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.is-active {
  color: #0c172b;
}

.theme-toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  margin-left: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0;
  color: rgba(12, 23, 43, 0.82);
  box-shadow: 0 14px 36px rgba(18, 38, 74, 0.08);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(18, 38, 74, 0.1);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
}

.theme-icon-sun,
.theme-icon-moon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 180ms ease;
}

.theme-icon-sun {
  opacity: 1;
}

.theme-icon-moon {
  opacity: 0;
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 0.55rem;
}

.mobile-header-actions .theme-toggle {
  margin: 0;
}

.menu-toggle-button {
  width: 2.35rem;
  height: 2.35rem;
  min-height: 2.35rem;
  padding: 0;
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  width: 1rem;
  height: 1rem;
}

.menu-icon-line {
  display: block;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-toggle-button.is-open .menu-icon-line:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.menu-toggle-button.is-open .menu-icon-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle-button.is-open .menu-icon-line:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
}

[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
}

.site-nav .nav-link::after {
  content: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  transition: transform 220ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0.38rem;
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.58),
    0 8px 18px rgba(18, 92, 215, 0.32);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  color: var(--daylivia-brand-primary);
}

.brand-lockup-wordmark {
  line-height: 0;
}

.brand-wordmark-image {
  display: block;
  object-fit: contain;
}

.brand-wordmark-header {
  width: 8.2rem;
  height: 2.65rem;
}

.brand-wordmark-footer {
  width: 6.4rem;
  height: 2.05rem;
}

.eyebrow-chip,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--daylivia-brand-primary);
}

.eyebrow-chip::before,
.section-kicker::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  box-shadow: 0 8px 18px rgba(12, 98, 255, 0.22);
}

.section-kicker-on-dark {
  color: rgba(255, 255, 255, 0.78);
}

.section-kicker-on-dark::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(120, 178, 255, 0.82));
  box-shadow: none;
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: transform 220ms ease, opacity 220ms ease;
}

.app-store-badge-link:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.app-store-badge {
  display: block;
  height: 54px;
  width: auto;
}

.app-store-badge-on-dark {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.22));
}

.trust-line {
  max-width: 30rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #64748b;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  border-radius: 1.35rem;
  padding: 0.95rem 1rem 1rem;
  box-shadow: 0 12px 28px rgba(18, 38, 74, 0.05);
}

.metric-value {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 0.88rem;
  line-height: 1.52;
  color: #64748b;
}

.hero-visual-shell {
  position: relative;
  padding: 0.4rem;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at top left, rgba(175, 215, 255, 0.46), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 248, 255, 0.78));
  box-shadow: 0 28px 84px rgba(18, 38, 74, 0.12);
  padding: 1.1rem;
}

.hero-topline {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-topline-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: rgba(18, 92, 215, 0.10);
  color: var(--daylivia-brand-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-topline-copy {
  color: rgba(12, 23, 43, 0.62);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-phone-stage {
  position: relative;
  min-height: clamp(540px, 39vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.45rem;
}

.hero-glow {
  position: absolute;
  inset: 14% 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 92, 215, 0.18), rgba(117, 190, 255, 0.08), transparent 72%);
  filter: blur(22px);
}

.hero-screenshot {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-screenshot-main {
  z-index: 3;
  left: 52%;
  top: 50%;
  width: clamp(240px, 18.5vw, 290px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 28px 56px rgba(11, 22, 43, 0.18));
}

.hero-screenshot-side {
  z-index: 1;
  width: clamp(160px, 12.8vw, 205px);
  opacity: 0.96;
  filter: drop-shadow(0 18px 40px rgba(11, 22, 43, 0.14));
}

.hero-screenshot-left {
  left: 31%;
  top: 43%;
  transform: translate(-50%, -50%) rotate(-7deg);
}

.hero-screenshot-right {
  left: 75%;
  top: 61%;
  transform: translate(-50%, -50%) rotate(7deg);
}

.hero-float-note {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  max-width: 13.5rem;
  padding: 0.78rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(18, 38, 74, 0.10);
  color: #0c172b;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
}

.hero-float-note-left {
  left: 2%;
  bottom: 7%;
}

.hero-float-note-right {
  right: 2%;
  top: 14%;
}

.feature-panel {
  border-radius: 1.65rem;
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(18, 38, 74, 0.05);
}

.step-card {
  min-height: 15rem;
  border-radius: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.74);
  padding: 1.35rem;
  box-shadow: 0 12px 30px rgba(18, 38, 74, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-bottom: 2.4rem;
  border-radius: 999px;
  background: rgba(18, 92, 215, 0.09);
  color: #125cd7;
  font-size: 0.81rem;
  font-weight: 800;
}

.chart-feature-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(183, 219, 255, 0.36), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(18, 38, 74, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.chart-preview {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  padding: 1.2rem;
  background: rgba(248, 251, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 42px rgba(18, 38, 74, 0.08);
}

.chart-preview-header,
.chart-preview-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.chart-preview-header strong {
  display: block;
  margin-top: 0.28rem;
  color: #0c172b;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.chart-preview-kicker {
  color: var(--daylivia-brand-primary);
}

.chart-preview-plot {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.chart-preview-plot svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-preview-grid path {
  fill: none;
  stroke: rgba(100, 116, 139, 0.14);
  stroke-width: 1;
}

.chart-preview-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-preview-line-mood {
  stroke: #22b86a;
}

.chart-preview-line-sleep {
  stroke: var(--daylivia-brand-primary);
  stroke-dasharray: 9 8;
  stroke-width: 3.5;
}

.chart-preview.has-chart-animation .chart-preview-line {
  clip-path: inset(0 100% 0 0);
}

.chart-preview.has-chart-animation.is-chart-visible .chart-preview-line {
  animation: chart-line-reveal 1800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes chart-line-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

.chart-preview-legend {
  justify-content: flex-start;
  margin-top: 0.9rem;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
}

.chart-preview-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.chart-legend-swatch {
  display: inline-block;
  width: 1.15rem;
  height: 0.2rem;
  border-radius: 999px;
}

.chart-legend-swatch-mood {
  background: #22b86a;
}

.chart-legend-swatch-sleep {
  background: repeating-linear-gradient(90deg, var(--daylivia-brand-primary) 0 0.35rem, transparent 0.35rem 0.6rem);
}

.journal-feature-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(183, 219, 255, 0.36), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(18, 38, 74, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.entry-detail-preview {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  background: rgba(248, 251, 255, 0.9);
  padding: 1.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 42px rgba(18, 38, 74, 0.08);
}

.entry-detail-header,
.entry-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.entry-detail-header {
  color: #123f8d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entry-detail-date {
  color: #64748b;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.entry-detail-row {
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(100, 116, 139, 0.14);
}

.entry-detail-mood {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.entry-detail-habit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.entry-detail-row strong {
  display: block;
  margin-top: 0.25rem;
  color: #0c172b;
  font-size: 1.05rem;
}

.entry-detail-label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-detail-dot,
.entry-detail-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
}

.mood-dot {
  background: #65d391;
  box-shadow: 0 0 0 0.45rem rgba(101, 211, 145, 0.15);
  color: #fff;
}

.mood-face-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.habit-dot {
  background: var(--daylivia-brand-primary);
  box-shadow: 0 0 0 0.35rem rgba(12, 98, 255, 0.12);
  color: #fff;
}

.habit-walk-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.journal-feature-shell.is-visible .mood-dot {
  animation: mood-halo-reveal 900ms ease-out 420ms 1 both;
}

@keyframes mood-halo-reveal {
  0% {
    box-shadow: 0 0 0 0 rgba(101, 211, 145, 0);
  }

  100% {
    box-shadow: 0 0 0 0.45rem rgba(101, 211, 145, 0.15);
  }
}

.entry-detail-check {
  background: rgba(18, 92, 215, 0.1);
  color: var(--daylivia-brand-primary);
  font-size: 1.1rem;
  font-weight: 800;
}

.entry-detail-note {
  margin-top: 1rem;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(18, 38, 74, 0.06);
}

.entry-detail-context {
  margin-top: 1.05rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(100, 116, 139, 0.14);
}

.entry-context-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.62rem;
}

.entry-context-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(18, 92, 215, 0.12);
  border-radius: 999px;
  background: rgba(18, 92, 215, 0.06);
  padding: 0.48rem 0.68rem;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.entry-detail-note p {
  margin-top: 0.48rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
}

.entry-detail-note-copy {
  position: relative;
}

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

.typewriter-reserve {
  display: block;
  visibility: hidden;
}

.typewriter-live {
  position: absolute;
  inset: 0;
}

.entry-detail-note-copy.is-typing .typewriter-live::after {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.08em;
  vertical-align: -0.12em;
  background: #125cd7;
  content: "";
  animation: typewriter-caret 720ms steps(1, end) infinite;
}

[data-theme="dark"] .entry-detail-note-copy.is-typing .typewriter-live::after {
  background: var(--daylivia-brand-primary);
}

@keyframes typewriter-caret {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.insights-feature-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 2rem;
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(183, 219, 255, 0.38), transparent 38%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(18, 38, 74, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.insights-dashboard {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  background: rgba(248, 251, 255, 0.88);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 18px 42px rgba(18, 38, 74, 0.08);
}

.insights-dashboard-header,
.insight-chart-heading,
.insight-related-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.insights-dashboard-header {
  padding: 0.2rem 0.15rem 0.85rem;
  color: #123f8d;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insights-period {
  color: #64748b;
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.insight-chart-card {
  border: 1px solid rgba(100, 116, 139, 0.13);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.insight-chart-heading {
  align-items: flex-start;
}

.insight-chart-heading h3 {
  margin-top: 0.3rem;
  color: #0c172b;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.insight-influence {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(45, 190, 111, 0.12);
  padding: 0.52rem 0.72rem;
  color: #14733e;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.insight-chart {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.7rem;
  height: 17rem;
  margin-top: 1.1rem;
}

.insight-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2.4rem;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.insight-plot {
  position: relative;
  min-width: 0;
}

.insight-grid-lines {
  position: absolute;
  inset: 0 0 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-grid-lines span {
  display: block;
  border-top: 1px solid rgba(100, 116, 139, 0.13);
}

.insight-bars {
  position: absolute;
  inset: 0 0 2.4rem;
  display: flex;
  gap: clamp(1rem, 8vw, 3.5rem);
  justify-content: center;
}

.insight-bar-group {
  position: relative;
  flex: 1 1 0;
  max-width: 8rem;
  height: 100%;
}

.insight-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(4.5rem, 68%);
  height: var(--bar-height);
  min-height: 2rem;
  border-radius: 0.85rem 0.85rem 0.28rem 0.28rem;
  transform: translateX(-50%);
  transform-origin: center bottom;
  box-shadow: 0 14px 28px rgba(18, 92, 215, 0.14);
}

.insight-chart-card.has-insight-animation .insight-bar {
  transform: translateX(-50%) scaleY(0);
  will-change: transform;
}

.insight-chart-card.has-insight-animation.is-insight-visible .insight-bar {
  animation: insight-bar-grow 2000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes insight-bar-grow {
  from {
    transform: translateX(-50%) scaleY(0);
  }

  to {
    transform: translateX(-50%) scaleY(1);
  }
}

.insight-bar-primary {
  background: linear-gradient(180deg, #4d88f0, #125cd7);
}

.insight-bar-secondary {
  background: linear-gradient(180deg, #a8c6ff, #6d9df6);
}

.insight-bar-value {
  position: absolute;
  bottom: calc(var(--bar-height) + 0.55rem);
  left: 50%;
  color: #0c172b;
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.insight-bar-group > span {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  width: 8rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%);
}

.insight-related {
  margin-top: 1.45rem;
  padding: 0.1rem 0.2rem 0;
}

.insight-related-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 0.5fr) auto;
  margin-top: 0.72rem;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(100, 116, 139, 0.13);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}

.insight-related-row span:nth-child(2) {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-positive,
.insight-negative {
  font-size: 0.8rem;
  font-weight: 800;
}

.insight-positive {
  color: #14733e;
}

.insight-negative {
  color: #b42318;
}

.correlation-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.5rem;
  padding: 1rem;
  background: rgba(248, 251, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 18px 42px rgba(18, 38, 74, 0.08);
}

.correlation-card-header,
.correlation-comparison > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.correlation-card h3 {
  margin-top: 0.28rem;
  color: #0c172b;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.correlation-node-type {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.correlation-kicker {
  color: var(--daylivia-brand-primary);
}

.correlation-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

.correlation-node {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.22rem;
  border: 1px solid rgba(18, 92, 215, 0.16);
  border-radius: 0.95rem;
  padding: 0.68rem 0.72rem;
  background: rgba(255, 255, 255, 0.62);
}

.correlation-node-content {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  min-width: 0;
}

.correlation-node-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.22rem;
}

.correlation-node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 0.62rem;
  background: rgba(18, 92, 215, 0.12);
  color: var(--daylivia-brand-primary);
}

.correlation-node-icon svg {
  width: 1rem;
  height: 1rem;
}

.correlation-node strong {
  overflow: hidden;
  color: #0c172b;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.correlation-node-type {
  color: var(--daylivia-brand-primary);
  font-size: 0.62rem;
}

.correlation-connector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--daylivia-brand-primary);
}

.correlation-connector svg {
  width: 100%;
  height: 100%;
}

.correlation-metric {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.correlation-metric strong {
  color: var(--daylivia-brand-primary);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.correlation-card > p {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.55;
}

.correlation-comparison {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.correlation-comparison > div {
  border-top: 1px solid rgba(100, 116, 139, 0.13);
  padding-top: 0.48rem;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
}

.correlation-comparison strong {
  color: #334155;
  font-size: 0.8rem;
}

.correlation-comparison .is-highlighted {
  color: var(--daylivia-brand-primary);
}

.correlation-comparison .is-highlighted strong {
  color: var(--daylivia-brand-primary);
}

.feature-title,
.benefit-title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0c172b;
}

.feature-copy,
.benefit-copy,
.legal-section p {
  margin-top: 0.72rem;
  color: #64748b;
  line-height: 1.78;
  font-size: 0.98rem;
}

.screenshot-card {
  border-radius: 1.8rem;
  padding: 1rem;
  box-shadow: 0 20px 52px rgba(18, 38, 74, 0.08);
}

.screenshot-stage {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(1.4rem, 3vw, 2rem) 1rem;
  border-radius: 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 50% 30%, rgba(87, 145, 255, 0.20), transparent 42%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.72), transparent 38%),
    linear-gradient(180deg, #edf5ff 0%, #dfeaff 48%, #f7fbff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.screenshot-stage::before {
  content: "";
  position: absolute;
  inset: 12% 20%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(18, 92, 215, 0.16), transparent 72%);
  filter: blur(24px);
}

.product-shot {
  position: relative;
  display: block;
  width: auto;
  max-width: 78%;
  height: clamp(21rem, 58vw, 24rem);
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(18, 38, 74, 0.18));
}

.screenshot-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(18, 63, 141, 0.78);
}

.screenshot-title {
  margin-top: 0.58rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.benefit-card {
  border-radius: 1.65rem;
  padding: 1.3rem;
}

.benefit-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(18, 92, 215, 0.09);
  color: #125cd7;
  font-size: 0.81rem;
  font-weight: 800;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  border-radius: 2.1rem;
  padding: 2.3rem 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(126, 174, 255, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(130, 210, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #081327 0%, #0c2145 48%, #0f3268 100%);
  box-shadow: 0 28px 80px rgba(18, 38, 74, 0.18);
}

.cta-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 35%, transparent 68%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.cta-copy {
  color: rgba(255, 255, 255, 0.88);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #125cd7, #4b8ef3);
  padding: 0.85rem 1.35rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(18, 92, 215, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.primary-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 20px 42px rgba(18, 92, 215, 0.28);
}

.primary-cta-on-dark {
  background: #fff;
  color: #123f8d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.primary-cta-on-dark:hover {
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 12px 30px rgba(18, 38, 74, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  color: #0c172b;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #125cd7;
  font-size: 1.35rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 48rem;
  margin-top: 0.82rem;
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.78;
}

.faq-item a {
  color: #125cd7;
  font-weight: 800;
}

.legal-section h2 {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0c172b;
}

.legal-section p + p {
  margin-top: 0.8rem;
}

.legal-section a {
  color: #125cd7;
  font-weight: 700;
  text-decoration: none;
}

.legal-section a:hover {
  color: #104bb0;
}

@media (min-width: 768px) {
  .journal-feature-shell {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
    padding: 2.2rem;
  }

  .chart-feature-shell {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
    padding: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .insights-feature-shell {
    grid-template-columns: minmax(0, 0.72fr) minmax(34rem, 1.28fr);
    padding: 2.2rem;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .mobile-header-actions {
    display: inline-flex;
  }

  .hero-visual-shell {
    padding: 0;
  }

  .hero-visual-card {
    max-width: 56rem;
    margin-inline: auto;
  }

  .hero-phone-stage {
    min-height: clamp(540px, 68vw, 640px);
    border-radius: 1.45rem;
  }

  .hero-screenshot-main {
    left: 50%;
    top: 50%;
    width: clamp(230px, 29vw, 300px);
  }

  .hero-screenshot-side {
    width: clamp(155px, 20vw, 205px);
  }

  .hero-screenshot-left {
    left: 30%;
    top: 43%;
  }

  .hero-screenshot-right {
    left: 72%;
    top: 61%;
  }

  .hero-float-note {
    max-width: 12rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 5.8rem;
  }

  /* Preserve the original copy spacing while moving the product preview ahead
     of the supporting proof tiles on narrow screens. */
  .hero-grid {
    row-gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > .eyebrow-chip {
    order: 1;
  }

  .hero-copy > h1 {
    order: 2;
  }

.hero-copy > p:not(.trust-line):not(.eyebrow-chip) {
    order: 3;
  }

  .hero-copy > .hero-cta {
    order: 4;
  }

  .hero-visual-column {
    order: 5;
    margin-top: 2rem;
  }

  .hero-copy > .hero-metrics {
    order: 6;
  }

  .site-grid {
    background-size: 28px 28px;
  }

  .site-header {
    padding-top: 0.55rem;
  }

  .site-header-bar {
    min-height: 3.9rem;
  }

  .brand-wordmark-header {
    width: 7.35rem;
    height: 2.38rem;
  }

  .trust-line {
    max-width: 100%;
  }

  .metric-card {
    min-width: 0;
  }

  .app-store-badge {
    height: 50px;
  }

  .hero-visual-card {
    padding: 0.85rem;
    border-radius: 1.65rem;
  }

  .hero-topline {
    gap: 0.55rem 0.75rem;
    margin-bottom: 0.6rem;
  }

  .hero-topline-label {
    padding: 0.34rem 0.62rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero-topline-copy {
    flex: 1 1 12rem;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .hero-phone-stage {
    min-height: clamp(465px, 118vw, 560px);
    border-radius: 1.15rem;
  }

  .hero-screenshot-main {
    left: 50%;
    top: 51%;
    width: clamp(190px, 52vw, 245px);
  }

  .hero-screenshot-side {
    display: block;
    width: clamp(118px, 32vw, 150px);
  }

  .hero-screenshot-left {
    left: 23%;
    top: 48%;
  }

  .hero-screenshot-right {
    left: 77%;
    top: 63%;
  }

  .hero-float-note {
    display: inline-flex;
    max-width: 9.2rem;
    padding: 0.58rem 0.68rem;
    border-radius: 0.85rem;
    font-size: 0.72rem;
    line-height: 1.42;
  }

  .hero-float-note-left {
    left: 0.85rem;
    bottom: 0.9rem;
  }

  .hero-float-note-right {
    right: 0.85rem;
    top: 5.1rem;
  }

  .screenshot-stage {
    min-height: 430px;
    padding: 1.4rem 1rem;
  }

  .product-shot {
    max-width: 78%;
    height: clamp(20rem, 80vw, 22rem);
  }

  .cta-shell {
    padding: 2rem 1.2rem;
  }

  .primary-cta {
    width: 100%;
  }

  .journal-feature-shell {
    padding: 1.25rem;
  }

  .chart-feature-shell {
    padding: 1.25rem;
  }

  .entry-detail-preview {
    padding: 1rem;
  }

  .insight-chart-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .insight-related-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Keep the tablet hero flow consistent with mobile before the desktop split. */
  .hero-grid {
    row-gap: 0;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > .eyebrow-chip {
    order: 1;
  }

  .hero-copy > h1 {
    order: 2;
  }

.hero-copy > p:not(.trust-line):not(.eyebrow-chip) {
    order: 3;
  }

  .hero-copy > .hero-cta {
    order: 4;
  }

  .hero-visual-column {
    order: 5;
    margin-top: 2rem;
  }

  .hero-copy > .hero-metrics {
    order: 6;
  }
}

/* Dark mode keeps the same blue identity, but uses layered midnight surfaces
   and slightly softened accents for lower-glare reading. */
[data-theme="dark"] {
  color-scheme: dark;
  --daylivia-brand-primary: #2369e2;
  --daylivia-brand-soft: #3478df;
}

[data-theme="dark"] .site-shell {
  background:
    radial-gradient(circle at top left, rgba(77, 136, 240, 0.16), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(96, 164, 235, 0.12), transparent 22%),
    linear-gradient(180deg, #081327 0%, #0b1930 46%, #081327 100%);
  color: #edf4ff;
}

[data-theme="dark"] .site-grid {
  background-image:
    linear-gradient(rgba(162, 195, 239, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 195, 239, 0.08) 1px, transparent 1px);
  opacity: 0.32;
}

[data-theme="dark"] .site-orb-a {
  background: rgba(77, 136, 240, 0.2);
}

[data-theme="dark"] .site-orb-b {
  background: rgba(91, 178, 255, 0.13);
}

[data-theme="dark"] .site-header-bar,
[data-theme="dark"] .glass-button,
[data-theme="dark"] .mobile-nav-panel,
[data-theme="dark"] .panel-shell,
[data-theme="dark"] .metric-card,
[data-theme="dark"] .feature-panel,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .screenshot-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .journal-feature-shell,
[data-theme="dark"] .chart-feature-shell,
[data-theme="dark"] .insights-feature-shell,
[data-theme="dark"] .correlation-card,
[data-theme="dark"] .faq-item {
  border-color: rgba(162, 195, 239, 0.16);
  background: rgba(16, 32, 57, 0.76);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .site-header-bar {
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(210, 231, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .glass-button {
  color: rgba(237, 244, 255, 0.88);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .glass-button:hover {
  background: rgba(33, 55, 88, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .mobile-nav-panel {
  background:
    radial-gradient(circle at top left, rgba(72, 133, 224, 0.22), transparent 42%),
    rgba(16, 32, 57, 0.94);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(210, 231, 255, 0.1);
}

[data-theme="dark"] .mobile-link:hover,
[data-theme="dark"] .mobile-theme-toggle:hover {
  background: rgba(58, 92, 139, 0.34);
  color: #edf4ff;
}

[data-theme="dark"] .site-nav {
  background: rgba(10, 25, 47, 0.52);
  box-shadow: inset 0 0 0 1px rgba(162, 195, 239, 0.14);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .site-nav .nav-link:hover,
[data-theme="dark"] .site-nav .nav-link.is-active {
  color: #edf4ff;
}

[data-theme="dark"] .nav-indicator {
  background: linear-gradient(90deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  box-shadow:
    0 0 0 1px rgba(29, 102, 224, 0.24),
    0 8px 18px rgba(29, 102, 224, 0.34);
}

[data-theme="dark"] .theme-toggle {
  border-color: rgba(162, 195, 239, 0.16);
  background: rgba(16, 32, 57, 0.76);
  color: rgba(237, 244, 255, 0.88);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: rgba(162, 195, 239, 0.24);
  background: rgba(33, 55, 88, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .brand-lockup {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .brand-wordmark-image {
  /* Keep the wordmark on the same rich blue used by the app in dark mode. */
  filter: none;
}

[data-theme="dark"] .eyebrow-chip,
[data-theme="dark"] .section-kicker,
[data-theme="dark"] .screenshot-label {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .eyebrow-chip::before,
[data-theme="dark"] .section-kicker::before {
  background: linear-gradient(135deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  box-shadow: 0 8px 18px rgba(35, 105, 226, 0.26);
}

[data-theme="dark"] .trust-line,
[data-theme="dark"] .metric-label,
[data-theme="dark"] .feature-copy,
[data-theme="dark"] .benefit-copy,
[data-theme="dark"] .legal-section p,
[data-theme="dark"] .faq-item p,
[data-theme="dark"] .hero-topline-copy,
[data-theme="dark"] .entry-detail-date,
[data-theme="dark"] .entry-detail-label,
[data-theme="dark"] .insights-period,
[data-theme="dark"] .insight-bar-group > span,
[data-theme="dark"] .insight-related-row span:nth-child(2) {
  color: #9fb0ca;
}

[data-theme="dark"] .hero-visual-card {
  border-color: rgba(162, 195, 239, 0.18);
  background:
    radial-gradient(circle at top left, rgba(83, 151, 237, 0.26), transparent 35%),
    linear-gradient(180deg, rgba(24, 47, 81, 0.92), rgba(14, 31, 57, 0.88));
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .hero-topline-label,
[data-theme="dark"] .step-number,
[data-theme="dark"] .benefit-number {
  background: rgba(35, 105, 226, 0.18);
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .primary-cta {
  background: linear-gradient(135deg, var(--daylivia-brand-primary), var(--daylivia-brand-soft));
  box-shadow: 0 16px 36px rgba(35, 105, 226, 0.24);
}

[data-theme="dark"] .primary-cta:hover {
  box-shadow: 0 20px 42px rgba(35, 105, 226, 0.3);
}

[data-theme="dark"] .primary-cta-on-dark {
  color: #f4f8ff;
}

[data-theme="dark"] .hero-float-note {
  border-color: rgba(162, 195, 239, 0.18);
  background: rgba(25, 47, 79, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  color: #edf4ff;
}

[data-theme="dark"] .entry-detail-preview,
[data-theme="dark"] .chart-preview,
[data-theme="dark"] .insights-dashboard,
[data-theme="dark"] .correlation-card {
  border-color: rgba(162, 195, 239, 0.18);
  background: rgba(11, 27, 50, 0.76);
  box-shadow: inset 0 1px 0 rgba(210, 231, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .chart-preview-header strong {
  color: #edf4ff;
}

[data-theme="dark"] .chart-preview-kicker {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .chart-preview-plot {
  background: rgba(24, 45, 76, 0.62);
}

[data-theme="dark"] .chart-preview-grid path {
  stroke: rgba(159, 176, 202, 0.18);
}

[data-theme="dark"] .chart-preview-legend {
  color: #9fb0ca;
}

[data-theme="dark"] .entry-detail-header,
[data-theme="dark"] .insights-dashboard-header {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .entry-detail-row,
[data-theme="dark"] .entry-detail-context,
[data-theme="dark"] .insight-related-row,
[data-theme="dark"] .insight-grid-lines span {
  border-color: rgba(159, 176, 202, 0.18);
}

[data-theme="dark"] .entry-detail-row strong,
[data-theme="dark"] .insight-chart-heading h3,
[data-theme="dark"] .insight-bar-value,
[data-theme="dark"] .feature-title,
[data-theme="dark"] .benefit-title,
[data-theme="dark"] .faq-item summary,
[data-theme="dark"] .legal-section h2,
[data-theme="dark"] .screenshot-title {
  color: #edf4ff;
}

[data-theme="dark"] .entry-detail-note,
[data-theme="dark"] .insight-chart-card,
[data-theme="dark"] .correlation-node {
  border-color: rgba(159, 176, 202, 0.16);
  background: rgba(24, 45, 76, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] .correlation-card h3,
[data-theme="dark"] .correlation-node strong {
  color: #edf4ff;
}

[data-theme="dark"] .correlation-card > p,
[data-theme="dark"] .correlation-metric {
  color: #9fb0ca;
}

[data-theme="dark"] .correlation-kicker {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .correlation-comparison > div {
  border-color: rgba(159, 176, 202, 0.18);
  color: #9fb0ca;
}

[data-theme="dark"] .correlation-comparison strong {
  color: #c7d8ef;
}

[data-theme="dark"] .correlation-comparison .is-highlighted,
[data-theme="dark"] .correlation-comparison .is-highlighted strong {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .entry-context-chip {
  border-color: rgba(123, 177, 255, 0.24);
  background: rgba(104, 161, 245, 0.12);
  color: #c7d8ef;
}

[data-theme="dark"] .entry-detail-note p,
[data-theme="dark"] .insight-related-row {
  color: #c7d8ef;
}

[data-theme="dark"] .entry-detail-check {
  background: rgba(104, 161, 245, 0.16);
  color: #a9caff;
}

[data-theme="dark"] .insight-influence {
  background: rgba(80, 205, 145, 0.16);
  color: #8fe1b5;
}

[data-theme="dark"] .insight-positive {
  color: #8fe1b5;
}

[data-theme="dark"] .insight-negative {
  color: #ff9d96;
}

[data-theme="dark"] .insight-bar-secondary {
  background: linear-gradient(180deg, #9bbfff, #648bd4);
}

[data-theme="dark"] .insight-bar-primary {
  background: linear-gradient(180deg, var(--daylivia-brand-soft), var(--daylivia-brand-primary));
  box-shadow: 0 14px 28px rgba(35, 105, 226, 0.18);
}

[data-theme="dark"] .screenshot-stage {
  border-color: rgba(162, 195, 239, 0.18);
  background:
    radial-gradient(circle at 50% 30%, rgba(87, 145, 255, 0.22), transparent 42%),
    radial-gradient(circle at 50% 78%, rgba(93, 145, 218, 0.16), transparent 38%),
    linear-gradient(180deg, #172d4e 0%, #122642 48%, #0e1d35 100%);
}

[data-theme="dark"] .cta-shell {
  background:
    radial-gradient(circle at top left, rgba(126, 174, 255, 0.26), transparent 32%),
    radial-gradient(circle at bottom right, rgba(130, 210, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #050d1c 0%, #0a1a36 48%, #0d2a59 100%);
}

[data-theme="dark"] .faq-item summary::after,
[data-theme="dark"] .faq-item a,
[data-theme="dark"] .legal-section a {
  color: var(--daylivia-brand-primary);
}

[data-theme="dark"] .legal-section a:hover,
[data-theme="dark"] .faq-item a:hover {
  color: var(--daylivia-brand-soft);
}

[data-theme="dark"] .text-ink {
  --tw-text-opacity: 1;
  color: rgb(237 244 255 / var(--tw-text-opacity, 1)) !important;
}

[data-theme="dark"] .text-ink\/70 {
  color: rgba(221, 232, 249, 0.72) !important;
}

[data-theme="dark"] .text-ink\/75 {
  color: rgba(221, 232, 249, 0.76) !important;
}

[data-theme="dark"] .text-mist {
  --tw-text-opacity: 1;
  color: rgb(159 176 202 / var(--tw-text-opacity, 1)) !important;
}

[data-theme="dark"] .text-mist\/70 {
  color: rgba(159, 176, 202, 0.7) !important;
}

[data-theme="dark"] .text-brand-600 {
  color: var(--daylivia-brand-primary) !important;
}

[data-theme="dark"] .text-brand-700 {
  color: var(--daylivia-brand-soft) !important;
}

[data-theme="dark"] .bg-brand-600 {
  background-color: var(--daylivia-brand-primary) !important;
}

[data-theme="dark"] .bg-brand-100\/70 {
  background-color: rgba(61, 104, 169, 0.34) !important;
}

[data-theme="dark"] .bg-white\/60 {
  background-color: rgba(44, 70, 107, 0.48) !important;
}

[data-theme="dark"] .border-brand-100 {
  border-color: rgba(141, 186, 255, 0.24) !important;
}

[data-theme="dark"] .border-white\/60 {
  border-color: rgba(162, 195, 239, 0.16) !important;
}

[data-theme="dark"] .hover\:bg-white:hover {
  background-color: rgba(65, 103, 155, 0.5) !important;
}

[data-theme="dark"] .hover\:bg-brand-700:hover {
  background-color: rgb(93 151 244 / var(--tw-bg-opacity, 1)) !important;
}

@media (max-width: 359px) {
  .site-header-bar {
    padding-inline: 0.75rem;
  }

  .brand-wordmark-header {
    width: clamp(5.75rem, 32vw, 6.6rem);
    height: auto;
  }

  .mobile-header-actions {
    flex: 0 0 auto;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
