/* Simpl.day static landing — Noir / Designer News inspired */
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --card: #121214;
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a1a1a1;
  --muted2: #6b6b6b;
  --accent: #57a7ff;
  --maxw: 1120px;
  --nav-h: 64px;
  --header-bg: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.65) 100%);
  --header-border: rgba(255, 255, 255, 0.06);
  --hero-glow-1: rgba(87, 167, 255, 0.12);
  --phone-chassis-border: rgba(255, 255, 255, 0.1);
  --phone-chassis-bg: linear-gradient(165deg, #222228 0%, #121214 45%, #0a0a0c 100%);
  --phone-chassis-outer-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  --phone-chassis-inset-highlight: rgba(255, 255, 255, 0.09);
  /* In-phone mock stays dark in both themes (readable previews). */
  --phone-screen-bg: linear-gradient(180deg, #141418 0%, #0a0a0b 100%);
  --phone-screen-fg: #c4c4c4;
  --phone-screen-inset: rgba(0, 0, 0, 0.45);
  --pager-bar-border: rgba(255, 255, 255, 0.24);
  --pager-bar-bg: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%);
  --pager-tab-fg: #6a6a72;
  --pager-tab-fg-hover: #9898a0;
  --pager-tab-active-fg: #9fd0ff;
  --pager-tab-active-bg: rgba(87, 167, 255, 0.16);
  --pager-tab-active-ring: rgba(87, 167, 255, 0.2);
  --btn-pill-primary-bg: #ffffff;
  --btn-pill-primary-fg: #0a0a0a;
  --btn-pill-primary-hover: brightness(0.95);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.06);
  --btn-tonal-bg: rgba(255, 255, 255, 0.08);
  --btn-tonal-hover-bg: rgba(255, 255, 255, 0.12);
  --form-input-bg: rgba(0, 0, 0, 0.2);
  --form-placeholder: rgba(255, 255, 255, 0.32);
  --join-card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --chip-on-fg: #0a0a0a;
  --stepper-item-hover-bg: rgba(255, 255, 255, 0.03);
  --stepper-item-active-bg: rgba(255, 255, 255, 0.05);
  --stepper-title-border: rgba(255, 255, 255, 0.1);
  --stepper-title-border-muted: rgba(255, 255, 255, 0.06);
  --stepper-title-border-active: rgba(255, 255, 255, 0.12);
  --stepper-name-active: #ffffff;
  --stepper-name-done: rgba(255, 255, 255, 0.9);
  --stepper-strong: rgba(255, 255, 255, 0.95);
  --stepper-strong-active: rgba(255, 255, 255, 0.95);
  --stepper-strong-done: rgba(255, 255, 255, 0.86);
  --app-stepper-arrow-border: rgba(255, 255, 255, 0.14);
  --app-stepper-arrow-bg: rgba(255, 255, 255, 0.04);
  --app-stepper-arrow-fg: rgba(255, 255, 255, 0.85);
  --app-stepper-arrow-hover-bg: rgba(255, 255, 255, 0.08);
  --app-stepper-arrow-hover-fg: #ffffff;
  --app-stepper-arrow-hover-border: rgba(255, 255, 255, 0.25);
  --form-status-error: #ff8a80;
  --focus-ring: rgba(87, 167, 255, 0.5);
  --focus-ring-alt: rgba(87, 167, 255, 0.6);
  --btn-focus-ring: rgba(87, 167, 255, 0.55);
  --theme-toggle-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* —— Site header (Noir-style) —— */
/* Flex row: theme left, CTAs right — avoids overlap with absolute-centered nav on narrow screens */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  min-height: var(--nav-h);
  padding: 0.45rem clamp(1rem, 3vw, 1.5rem);
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
}

/* Theme: Dark (default) + Light (journal) */
.theme-toggle {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 3px;
  gap: 0;
  box-shadow: var(--theme-toggle-shadow, 0 1px 0 rgba(255, 255, 255, 0.04));
}
.theme-toggle__opt {
  margin: 0;
  padding: 0.35rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted2);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle__opt:hover {
  color: var(--muted);
}
.theme-toggle__opt--active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--border);
}
.theme-toggle__opt:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  z-index: 1;
}
@media (max-width: 400px) {
  .theme-toggle__opt {
    padding: 0.32rem 0.45rem;
    font-size: 0.66rem;
  }
}

.nav-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem 0.5rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}
.nav-actions .btn {
  white-space: nowrap;
}
@media (max-width: 380px) {
  .nav-actions .btn-sm {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
  }
  .site-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:active {
  transform: scale(0.98);
}

.btn-pill-primary {
  background: var(--btn-pill-primary-bg);
  color: var(--btn-pill-primary-fg);
}
.btn-pill-primary:hover {
  filter: var(--btn-pill-primary-hover);
  text-decoration: none;
}

.btn-pill-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-pill-ghost:hover {
  background: var(--btn-ghost-hover-bg);
  text-decoration: none;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 2rem;
  overflow: hidden;
}

.hero-spotlight {
  pointer-events: none;
  position: absolute;
  inset: -20% 0 40% 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, var(--hero-glow-1) 0%, transparent 55%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-spotlight {
    animation: hero-spotlight-breathe 14s ease-in-out infinite;
  }
}
@keyframes hero-spotlight-breathe {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.hero-brand-phones {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  margin: 0 auto 0.75rem;
  max-width: 100%;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  color: var(--text);
  font-weight: 400;
}
.hero-brand-phones__line {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-brand-phones__line strong {
  font-weight: 700;
}
.hero-brand-phones__tagline {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--muted);
}
.hero-brand-phones__tagline em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.outcome-bridge {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.25rem 0 1.75rem;
  text-align: center;
}
.outcome-bridge__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  padding: 0 clamp(1.1rem, 3vw, 1.5rem);
}
.outcome-bridge__text strong {
  color: var(--text);
  font-weight: 600;
}

.subhead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.55;
}

/* —— Phone carousel (one screen per app page) —— */
.phone-scroller-outer {
  max-width: 100%;
  margin: 0.75rem auto 0;
  padding: 0 0 0.5rem;
}

.phone-scroller {
  display: flex;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem max(0.75rem, calc(50% - 150px)) 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
@media (prefers-reduced-motion: reduce) {
  .phone-scroller {
    scroll-behavior: auto;
  }
}

.phone-scroller::-webkit-scrollbar {
  display: none;
}

/* Bottom tab bar under phone row (same labels as in-app tab bar) */
.phone-pager {
  width: 100%;
  max-width: min(400px, calc(100vw - 1.5rem));
  margin: 0.45rem auto 0;
  padding: 0;
  box-sizing: border-box;
}
.phone-pager__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.32rem 0.3rem;
  border: 1px solid var(--pager-bar-border);
  border-radius: 12px;
  background: var(--pager-bar-bg);
}
.phone-pager__tab {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0.48rem 0.14rem;
  border: none;
  background: transparent;
  color: var(--pager-tab-fg);
  font-family: inherit;
  font-size: clamp(0.75rem, 2.6vw, 0.95rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, font-weight 0.15s ease;
}
.phone-pager__tab:hover {
  color: var(--pager-tab-fg-hover);
}
.phone-pager__tab:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
  z-index: 1;
}
.phone-pager__tab--active {
  color: var(--pager-tab-active-fg);
  font-weight: 600;
  background: var(--pager-tab-active-bg);
  box-shadow: 0 0 0 1px var(--pager-tab-active-ring) inset;
}

.phone-slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(300px, 90vw);
}
/* Center slide reads brighter; off-center slides recede (JS sets --focal after scroll) */
@media (prefers-reduced-motion: no-preference) {
  .phone-scroller[data-carousel-enhanced] .phone-slide {
    transition: opacity 0.45s cubic-bezier(0.25, 0.1, 0.2, 1), filter 0.45s cubic-bezier(0.25, 0.1, 0.2, 1);
  }
  .phone-scroller[data-carousel-enhanced] .phone-slide:not(.phone-slide--focal) {
    opacity: 0.45;
    filter: brightness(0.78) saturate(0.88);
  }
  .phone-scroller[data-carousel-enhanced] .phone-slide--focal {
    opacity: 1;
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-scroller .phone-slide {
    opacity: 1 !important;
    filter: none !important;
  }
}

/* Device frame: one outer radius, inner = outer − bezel (concentric corners). */
.phone {
  --phone-bezel: 9px;
  --phone-radius-outer: 28px;
  --phone-radius-inner: calc(var(--phone-radius-outer) - var(--phone-bezel));
  position: relative;
  width: 100%;
  /* Shorter than 1:2 — less empty vertical space in the frame */
  aspect-ratio: 2 / 3;
  max-height: min(480px, 74vh);
  border-radius: var(--phone-radius-outer);
  border: 1px solid var(--phone-chassis-border);
  background: var(--phone-chassis-bg);
  box-shadow: var(--phone-chassis-outer-shadow), inset 0 1px 0 var(--phone-chassis-inset-highlight);
}

/* Touch overlay: tap ripples + horizontal swipe, hand follows; --touch-delay per slide
   Master loop: 3.6s — keep .phone screen mock animations on the same period.
   Ripples and drag nubs are timed to the hand’s *press* keyframes in phone-finger-patrol-* (not while traveling). */
.phone-finger {
  --touch-delay: 0s;
  position: absolute;
  z-index: 6;
  inset: var(--phone-bezel);
  border-radius: var(--phone-radius-inner);
  pointer-events: none;
  overflow: hidden;
}
.phone-slide:nth-child(1) .phone-finger {
  --touch-delay: 0s;
}
.phone-slide:nth-child(2) .phone-finger {
  --touch-delay: 0.4s;
}
.phone-slide:nth-child(3) .phone-finger {
  --touch-delay: 0.8s;
}
.phone-slide:nth-child(4) .phone-finger {
  --touch-delay: 1.2s;
}
.phone-slide:nth-child(5) .phone-finger {
  --touch-delay: 1.6s;
}
.phone-slide:nth-child(6) .phone-finger {
  --touch-delay: 2s;
}

.phone-touches {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.phone-tap {
  position: absolute;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  pointer-events: none;
  transform: translateZ(0);
}
.phone-tap--1 {
  left: 50%;
  top: 16%;
}
.phone-tap--2 {
  left: 68%;
  top: 34%;
}
.phone-tap--3 {
  left: 35%;
  top: 48%;
}
.phone-tap--4 {
  left: 58%;
  top: 62%;
}
.phone-tap::before,
.phone-tap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  box-sizing: border-box;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
/* expanding ring = “touch surface” + release */
.phone-tap::before {
  border: 2px solid rgba(87, 167, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 0 rgba(87, 167, 255, 0.2);
  opacity: 0;
}
.phone-tap--1::before {
  animation: phone-tap-pulse-1 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--2::before {
  animation: phone-tap-pulse-2 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--3::before {
  animation: phone-tap-pulse-3 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--4::before {
  animation: phone-tap-pulse-4 3.6s ease-out var(--touch-delay) infinite;
}
/* inner click flash */
.phone-tap::after {
  background: radial-gradient(circle at 35% 35%, #fff, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transform: scale(0.25);
  box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.25);
}
.phone-tap--1::after {
  animation: phone-tap-tap-1 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--2::after {
  animation: phone-tap-tap-2 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--3::after {
  animation: phone-tap-tap-3 3.6s ease-out var(--touch-delay) infinite;
}
.phone-tap--4::after {
  animation: phone-tap-tap-4 3.6s ease-out var(--touch-delay) infinite;
}

/* Horizontal swipe nub: bottom of glass, flicks R→L */
.phone-swipe {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.phone-swipe__nub {
  position: absolute;
  top: 80%;
  left: 84%;
  width: 9px;
  height: 9px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(87, 167, 255, 0.4), 0 0 12px 3px rgba(87, 167, 255, 0.2), -18px 0 14px 4px rgba(87, 167, 255, 0.1);
  opacity: 0;
  animation: phone-swipe-flick 3.6s cubic-bezier(0.33, 0.1, 0.2, 1) var(--touch-delay) infinite;
}

/* Vertical drag on list area (e.g. scroll list) */
.phone-flick-y {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.phone-flick-y__nub {
  position: absolute;
  top: 30%;
  left: 80%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(87, 167, 255, 0.3), 0 10px 0 -0.5px rgba(255, 255, 255, 0.15), 0 20px 0 -0.5px rgba(255, 255, 255, 0.08);
  opacity: 0;
  animation: phone-flick-y 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}

/* Tap rings fire with hand *press* keyframes: ~8%, ~30%, ~52%, ~78% in phone-finger-patrol-* (never mid-travel) */
@keyframes phone-tap-pulse-1 {
  0%,
  7.2% {
    transform: scale(0.15);
    opacity: 0;
  }
  7.4% {
    transform: scale(0.35);
    opacity: 0.65;
  }
  7.8%,
  10.2% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  11%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes phone-tap-tap-1 {
  0%,
  7% {
    transform: scale(0.1);
    opacity: 0;
  }
  7.2%,
  10.3% {
    transform: scale(0.7);
    opacity: 0.65;
  }
  10.6%,
  100% {
    transform: scale(0.1);
    opacity: 0;
  }
}
@keyframes phone-tap-pulse-2 {
  0%,
  28% {
    transform: scale(0.15);
    opacity: 0;
  }
  28.3% {
    transform: scale(0.35);
    opacity: 0.65;
  }
  28.6%,
  32% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  32.5%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes phone-tap-tap-2 {
  0%,
  27.6% {
    transform: scale(0.1);
    opacity: 0;
  }
  28%,
  32% {
    transform: scale(0.7);
    opacity: 0.65;
  }
  32.2%,
  100% {
    transform: scale(0.1);
    opacity: 0;
  }
}
@keyframes phone-tap-pulse-3 {
  0%,
  50% {
    transform: scale(0.15);
    opacity: 0;
  }
  50.3% {
    transform: scale(0.35);
    opacity: 0.65;
  }
  50.8%,
  54.8% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  55.2%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes phone-tap-tap-3 {
  0%,
  49.5% {
    transform: scale(0.1);
    opacity: 0;
  }
  50%,
  54.8% {
    transform: scale(0.7);
    opacity: 0.65;
  }
  55%,
  100% {
    transform: scale(0.1);
    opacity: 0;
  }
}
@keyframes phone-tap-pulse-4 {
  0%,
  75% {
    transform: scale(0.15);
    opacity: 0;
  }
  75.3% {
    transform: scale(0.35);
    opacity: 0.65;
  }
  75.8%,
  80% {
    transform: scale(1.05);
    opacity: 0.45;
  }
  80.5%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes phone-tap-tap-4 {
  0%,
  75% {
    transform: scale(0.1);
    opacity: 0;
  }
  75.2%,
  80% {
    transform: scale(0.7);
    opacity: 0.65;
  }
  80.2%,
  100% {
    transform: scale(0.1);
    opacity: 0;
  }
}
/* Horizontal flick (if shown): only after 1st tap / travel — do not start during finger travel */
@keyframes phone-swipe-flick {
  0%,
  32% {
    left: 84%;
    top: 80%;
    opacity: 0;
    transform: scale(0.55);
  }
  32.5%,
  32.6% {
    left: 84%;
    top: 80%;
    opacity: 0.9;
    transform: scale(0.88);
  }
  34% {
    left: 64%;
  }
  36% {
    left: 48%;
  }
  39% {
    left: 32%;
    opacity: 0.5;
  }
  42% {
    left: 22%;
  }
  44%,
  100% {
    left: 18%;
    top: 80%;
    opacity: 0;
    transform: scale(0.45);
  }
}

/* Fallback vertical nub: runs mid-cycle after the finger has hit earlier rows (see per-screen overrides) */
@keyframes phone-flick-y {
  0%,
  55% {
    top: 32%;
    left: 80%;
    opacity: 0;
  }
  56% {
    opacity: 0.7;
  }
  60% {
    top: 44%;
  }
  64% {
    top: 54%;
  }
  68%,
  70% {
    top: 58%;
  }
  72%,
  100% {
    top: 58%;
    left: 80%;
    opacity: 0;
  }
}

.phone-finger__hand {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 20%;
  display: block;
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.65));
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  margin-left: -4px;
  margin-top: -2px;
  animation-duration: 3.6s;
  animation-timing-function: ease-in-out;
  animation-delay: var(--touch-delay);
  animation-iteration-count: infinite;
  will-change: left, top, transform;
}
.phone-finger--area .phone-finger__hand {
  animation-name: phone-finger-patrol-area;
}
.phone-finger--tasks .phone-finger__hand {
  animation-name: phone-finger-patrol-tasks;
}
.phone-finger--notes .phone-finger__hand {
  animation-name: phone-finger-patrol-notes;
}
.phone-finger--people .phone-finger__hand {
  animation-name: phone-finger-patrol-people;
}
.phone-finger--insights .phone-finger__hand {
  animation-name: phone-finger-patrol-insights;
}
.phone-finger--chat .phone-finger__hand {
  animation-name: phone-finger-patrol-chat;
}

/* 👆 only on the horizontally centered slide (class toggled in app.js; first slide in HTML) */
.phone-slide:not(.phone-slide--center) .phone-finger__hand {
  opacity: 0;
  visibility: hidden;
  animation: none;
  pointer-events: none;
}

/* Hand path + tap ring centers match each screen’s mock (same 3.6s / tap timing) */
@keyframes phone-finger-patrol-area {
  0%,
  100% {
    left: 32%;
    top: 31%;
    transform: translate(-50%, 0) scale(1) rotate(-7deg);
  }
  8%,
  10% {
    left: 32%;
    top: 31%;
    transform: translate(-50%, 0) scale(0.86) rotate(-3deg);
  }
  22% {
    left: 70%;
    top: 31%;
    transform: translate(-50%, 0) scale(0.95) rotate(3deg);
  }
  30%,
  32% {
    left: 70%;
    top: 31%;
    transform: translate(-50%, 0) scale(0.8) rotate(1deg);
  }
  45% {
    left: 32%;
    top: 46%;
    transform: translate(-50%, 0) scale(0.95) rotate(8deg);
  }
  52%,
  55% {
    left: 32%;
    top: 46%;
    transform: translate(-50%, 0) scale(0.8) rotate(5deg);
  }
  70% {
    left: 50%;
    top: 57%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 50%;
    top: 57%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 32%;
    top: 31%;
    transform: translate(-50%, 0) scale(0.92) rotate(-7deg);
  }
}
@keyframes phone-finger-patrol-tasks {
  0%,
  100% {
    left: 15%;
    top: 34%;
    transform: translate(-50%, 0) scale(1) rotate(-8deg);
  }
  8%,
  10% {
    left: 15%;
    top: 34%;
    transform: translate(-50%, 0) scale(0.86) rotate(-2deg);
  }
  22% {
    left: 15%;
    top: 42%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  30%,
  32% {
    left: 15%;
    top: 42%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  45% {
    left: 15%;
    top: 50%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  52%,
  55% {
    left: 15%;
    top: 50%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  70% {
    left: 15%;
    top: 59%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 15%;
    top: 59%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 15%;
    top: 34%;
    transform: translate(-50%, 0) scale(0.92) rotate(-8deg);
  }
}
@keyframes phone-finger-patrol-notes {
  0%,
  100% {
    left: 40%;
    top: 35%;
    transform: translate(-50%, 0) scale(1) rotate(-6deg);
  }
  8%,
  10% {
    left: 40%;
    top: 35%;
    transform: translate(-50%, 0) scale(0.86) rotate(-2deg);
  }
  22% {
    left: 40%;
    top: 44%;
    transform: translate(-50%, 0) scale(0.95) rotate(2deg);
  }
  30%,
  32% {
    left: 40%;
    top: 44%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  45% {
    left: 50%;
    top: 54%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  52%,
  55% {
    left: 50%;
    top: 54%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  70% {
    left: 50%;
    top: 68%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 50%;
    top: 68%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 40%;
    top: 35%;
    transform: translate(-50%, 0) scale(0.92) rotate(-6deg);
  }
}
@keyframes phone-finger-patrol-people {
  0%,
  100% {
    left: 24%;
    top: 33%;
    transform: translate(-50%, 0) scale(1) rotate(-5deg);
  }
  8%,
  10% {
    left: 24%;
    top: 33%;
    transform: translate(-50%, 0) scale(0.86) rotate(-2deg);
  }
  22% {
    left: 32%;
    top: 51%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  30%,
  32% {
    left: 32%;
    top: 51%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  45% {
    left: 64%;
    top: 51%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  52%,
  55% {
    left: 64%;
    top: 51%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  70% {
    left: 24%;
    top: 40%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 24%;
    top: 40%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 24%;
    top: 33%;
    transform: translate(-50%, 0) scale(0.92) rotate(-5deg);
  }
}
@keyframes phone-finger-patrol-insights {
  0%,
  100% {
    left: 50%;
    top: 36%;
    transform: translate(-50%, 0) scale(1) rotate(-4deg);
  }
  8%,
  10% {
    left: 50%;
    top: 36%;
    transform: translate(-50%, 0) scale(0.86) rotate(0);
  }
  22% {
    left: 78%;
    top: 37%;
    transform: translate(-50%, 0) scale(0.95) rotate(2deg);
  }
  30%,
  32% {
    left: 78%;
    top: 37%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  45% {
    left: 42%;
    top: 55%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  52%,
  55% {
    left: 42%;
    top: 55%;
    transform: translate(-50%, 0) scale(0.8) rotate(0);
  }
  70% {
    left: 50%;
    top: 70%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 50%;
    top: 70%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 50%;
    top: 36%;
    transform: translate(-50%, 0) scale(0.92) rotate(-4deg);
  }
}
@keyframes phone-finger-patrol-chat {
  0%,
  100% {
    left: 76%;
    top: 35%;
    transform: translate(-50%, 0) scale(1) rotate(8deg);
  }
  8%,
  10% {
    left: 76%;
    top: 35%;
    transform: translate(-50%, 0) scale(0.86) rotate(4deg);
  }
  22% {
    left: 28%;
    top: 44%;
    transform: translate(-50%, 0) scale(0.95) rotate(-4deg);
  }
  30%,
  32% {
    left: 28%;
    top: 44%;
    transform: translate(-50%, 0) scale(0.8) rotate(-4deg);
  }
  45% {
    left: 72%;
    top: 54%;
    transform: translate(-50%, 0) scale(0.95) rotate(6deg);
  }
  52%,
  55% {
    left: 72%;
    top: 54%;
    transform: translate(-50%, 0) scale(0.8) rotate(2deg);
  }
  70% {
    left: 50%;
    top: 84%;
    transform: translate(-50%, 0) scale(0.95) rotate(0);
  }
  78%,
  80% {
    left: 50%;
    top: 84%;
    transform: translate(-50%, 0) scale(0.82) rotate(0);
  }
  90% {
    left: 76%;
    top: 35%;
    transform: translate(-50%, 0) scale(0.92) rotate(8deg);
  }
}

/* Tap ripples: same moment as @keyframes phone-tap-*; positions match hand stops */
.phone-finger--area .phone-tap--1 {
  left: 32%;
  top: 31%;
}
.phone-finger--area .phone-tap--2 {
  left: 70%;
  top: 31%;
}
.phone-finger--area .phone-tap--3 {
  left: 32%;
  top: 46%;
}
.phone-finger--area .phone-tap--4 {
  left: 50%;
  top: 57%;
}
.phone-finger--tasks .phone-tap--1 {
  left: 15%;
  top: 34%;
}
.phone-finger--tasks .phone-tap--2 {
  left: 15%;
  top: 42%;
}
.phone-finger--tasks .phone-tap--3 {
  left: 15%;
  top: 50%;
}
.phone-finger--tasks .phone-tap--4 {
  left: 15%;
  top: 59%;
}
.phone-finger--notes .phone-tap--1 {
  left: 40%;
  top: 35%;
}
.phone-finger--notes .phone-tap--2 {
  left: 40%;
  top: 44%;
}
.phone-finger--notes .phone-tap--3 {
  left: 50%;
  top: 54%;
}
.phone-finger--notes .phone-tap--4 {
  left: 50%;
  top: 68%;
}
.phone-finger--people .phone-tap--1 {
  left: 24%;
  top: 33%;
}
.phone-finger--people .phone-tap--2 {
  left: 32%;
  top: 51%;
}
.phone-finger--people .phone-tap--3 {
  left: 64%;
  top: 51%;
}
.phone-finger--people .phone-tap--4 {
  left: 24%;
  top: 40%;
}
.phone-finger--insights .phone-tap--1 {
  left: 50%;
  top: 36%;
}
.phone-finger--insights .phone-tap--2 {
  left: 78%;
  top: 37%;
}
.phone-finger--insights .phone-tap--3 {
  left: 42%;
  top: 55%;
}
.phone-finger--insights .phone-tap--4 {
  left: 50%;
  top: 70%;
}
.phone-finger--chat .phone-tap--1 {
  left: 76%;
  top: 35%;
}
.phone-finger--chat .phone-tap--2 {
  left: 28%;
  top: 44%;
}
.phone-finger--chat .phone-tap--3 {
  left: 72%;
  top: 54%;
}
.phone-finger--chat .phone-tap--4 {
  left: 50%;
  top: 84%;
}

/* Horizontal “swipe” nub: only on People (between names); other screens use vertical scroll hint */
.phone-finger--area .phone-swipe,
.phone-finger--tasks .phone-swipe,
.phone-finger--notes .phone-swipe,
.phone-finger--insights .phone-swipe,
.phone-finger--chat .phone-swipe {
  display: none;
}
.phone-finger--people .phone-swipe__nub {
  top: 32%;
  left: 75%;
  animation: phone-swipe-people 3.6s cubic-bezier(0.33, 0.1, 0.2, 1) var(--touch-delay) infinite;
}
/* After 2nd row tap (hand ~32%), not during first name press or travel */
@keyframes phone-swipe-people {
  0%,
  32% {
    left: 75%;
    top: 32%;
    opacity: 0;
    transform: scale(0.55);
  }
  32.5%,
  32.6% {
    left: 75%;
    top: 32%;
    opacity: 0.9;
    transform: scale(0.88);
  }
  34% {
    left: 58%;
  }
  37% {
    left: 44%;
  }
  40% {
    left: 30%;
    opacity: 0.5;
  }
  42% {
    left: 22%;
  }
  44%,
  100% {
    left: 18%;
    top: 32%;
    opacity: 0;
    transform: scale(0.45);
  }
}
.phone-finger--people .phone-flick-y {
  display: none;
}

/* Vertical scroll nub: list / sheet / thread — matches each layout */
.phone-finger--area .phone-flick-y__nub {
  top: 54%;
  left: 50%;
  animation: phone-flick-y-area 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}
/* Sheet scroll: after 4th tap (hand on bottom row ~78–80%), not while moving between area tiles */
@keyframes phone-flick-y-area {
  0%,
  79% {
    top: 52%;
    left: 50%;
    opacity: 0;
  }
  80% {
    opacity: 0.72;
  }
  83% {
    top: 56%;
  }
  86% {
    top: 60%;
  }
  88%,
  90% {
    top: 64%;
  }
  92%,
  100% {
    top: 64%;
    left: 50%;
    opacity: 0;
  }
}
.phone-finger--tasks .phone-flick-y__nub {
  top: 38%;
  left: 86%;
  animation: phone-flick-y-tasks 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}
@keyframes phone-flick-y-tasks {
  0%,
  55% {
    top: 36%;
    left: 86%;
    opacity: 0;
  }
  56% {
    opacity: 0.7;
  }
  60% {
    top: 48%;
  }
  64% {
    top: 56%;
  }
  68%,
  70% {
    top: 62%;
  }
  72%,
  100% {
    top: 62%;
    left: 86%;
    opacity: 0;
  }
}
.phone-finger--notes .phone-flick-y__nub {
  top: 40%;
  left: 40%;
  animation: phone-flick-y-notes 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}
@keyframes phone-flick-y-notes {
  0%,
  55% {
    top: 38%;
    left: 40%;
    opacity: 0;
  }
  56% {
    opacity: 0.68;
  }
  60% {
    top: 50%;
  }
  64% {
    top: 58%;
  }
  68%,
  70% {
    top: 64%;
  }
  72%,
  100% {
    top: 64%;
    left: 40%;
    opacity: 0;
  }
}
.phone-finger--insights .phone-flick-y__nub {
  top: 44%;
  left: 50%;
  animation: phone-flick-y-insights 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}
@keyframes phone-flick-y-insights {
  0%,
  55% {
    top: 40%;
    left: 50%;
    opacity: 0;
  }
  56% {
    opacity: 0.65;
  }
  60% {
    top: 50%;
  }
  64% {
    top: 60%;
  }
  68%,
  70% {
    top: 66%;
  }
  72%,
  100% {
    top: 66%;
    left: 50%;
    opacity: 0;
  }
}
.phone-finger--chat .phone-flick-y__nub {
  top: 44%;
  left: 80%;
  animation: phone-flick-y-chat 3.6s cubic-bezier(0.4, 0, 0.2, 1) var(--touch-delay) infinite;
}
/* Thread scroll: after hand reaches lower composer area (~70–80%) */
@keyframes phone-flick-y-chat {
  0%,
  72% {
    top: 40%;
    left: 80%;
    opacity: 0;
  }
  73% {
    opacity: 0.65;
  }
  77% {
    top: 52%;
  }
  80% {
    top: 62%;
  }
  84%,
  86% {
    top: 70%;
  }
  88%,
  100% {
    top: 70%;
    left: 80%;
    opacity: 0;
  }
}

.phone .screen {
  position: absolute;
  inset: var(--phone-bezel);
  border-radius: var(--phone-radius-inner);
  background: var(--phone-screen-bg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  color: var(--phone-screen-fg);
  font-size: 16px;
  line-height: 1.38;
  text-align: left;
  padding: 8px 9px 6px;
  overflow: hidden;
  border: none;
  box-shadow: inset 0 0 0 1px var(--phone-screen-inset);
  min-height: 0;
  /* Same period as .phone-finger (3.6s) so ambient drift stays in phase with the hand */
  animation: phone-surface-drift 3.6s ease-in-out infinite;
}

/* Scrollable list region */
.screen__body {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  animation: phone-body-scroll 3.6s ease-in-out infinite;
}

/* Auto / ambient motion: whole panel + list content */
@keyframes phone-surface-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(0.2px, -1px);
  }
  66% {
    transform: translate(-0.2px, 0.5px);
  }
}

/* List nudge: later in the cycle so it doesn’t read as scrolling before the finger has crossed rows */
@keyframes phone-body-scroll {
  0%,
  12%,
  100% {
    transform: translateY(0);
  }
  57% {
    transform: translateY(-8px);
  }
  68% {
    transform: translateY(-8px);
  }
  90% {
    transform: translateY(0);
  }
}

@keyframes phone-row-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* Staggered card motion (area tiles / task rows / notes / people) */
.screen--area .screen__body .screen__area-card,
.screen--tasks .screen__body .screen__task,
.screen--notes .screen__body .screen__note-col .screen__note,
.screen--people .screen__body .screen__person,
.screen--chat .screen__body .screen__msg,
.screen--chat .screen__body .screen__chat-suggest,
.screen--insights .screen__body .screen__chart,
.screen--insights .screen__body .screen__map,
.screen--insights .screen__body .screen__locs {
  animation: phone-row-float 3.6s ease-in-out infinite;
  will-change: transform;
}
.screen--area .screen__body .screen__area-card:nth-child(1) {
  animation-delay: 0s;
}
.screen--area .screen__body .screen__area-card:nth-child(2) {
  animation-delay: 0.15s;
}
.screen--area .screen__body .screen__area-card:nth-child(3) {
  animation-delay: 0.3s;
}
.screen--area .screen__body .screen__area-card:nth-child(4) {
  animation-delay: 0.45s;
}
.screen--tasks .screen__body .screen__task:nth-child(1) {
  animation-delay: 0s;
}
.screen--tasks .screen__body .screen__task:nth-child(2) {
  animation-delay: 0.1s;
}
.screen--tasks .screen__body .screen__task:nth-child(3) {
  animation-delay: 0.2s;
}
.screen--tasks .screen__body .screen__task:nth-child(4) {
  animation-delay: 0.3s;
}
.screen--tasks .screen__body .screen__task:nth-child(5) {
  animation-delay: 0.4s;
}
.screen--tasks .screen__body .screen__task:nth-child(6) {
  animation-delay: 0.5s;
}
.screen--notes .screen__body .screen__note-col .screen__note:nth-child(1) {
  animation-delay: 0s;
}
.screen--notes .screen__body .screen__note-col .screen__note:nth-child(2) {
  animation-delay: 0.2s;
}
.screen--notes .screen__body .screen__note-col .screen__note:nth-child(3) {
  animation-delay: 0.4s;
}
.screen--people .screen__body .screen__person:nth-child(1) {
  animation-delay: 0s;
}
.screen--people .screen__body .screen__person:nth-child(2) {
  animation-delay: 0.12s;
}
.screen--people .screen__body .screen__person:nth-child(3) {
  animation-delay: 0.24s;
}
.screen--people .screen__body .screen__person:nth-child(4) {
  animation-delay: 0.36s;
}
.screen--chat .screen__body .screen__msg:nth-child(1) {
  animation-delay: 0s;
}
.screen--chat .screen__body .screen__msg:nth-child(2) {
  animation-delay: 0.1s;
}
.screen--chat .screen__body .screen__msg:nth-child(3) {
  animation-delay: 0.2s;
}
.screen--chat .screen__body .screen__msg:nth-child(4) {
  animation-delay: 0.3s;
}
.screen--chat .screen__body .screen__chat-suggest {
  animation-delay: 0.4s;
}
.screen--insights .screen__body .screen__chart {
  animation-delay: 0s;
}
.screen--insights .screen__body .screen__map {
  animation-delay: 0.2s;
}
.screen--insights .screen__body .screen__locs {
  animation-delay: 0.4s;
}

/* Pause motion on hover for easier reading / interaction */
.phone .screen:hover,
.phone .screen:hover .screen__body,
.phone .screen:hover .screen__body .screen__area-card,
.phone .screen:hover .screen__body .screen__task,
.phone .screen:hover .screen__body .screen__note,
.phone .screen:hover .screen__body .screen__person,
.phone .screen:hover .screen__body .screen__stat,
.phone .screen:hover .screen__body .screen__area-sheet,
.phone .screen:hover .screen__body .screen__area-dimmer,
.phone .screen:hover .screen__body .screen__check--auto,
.phone .screen:hover .screen__body .screen__note-pop,
.phone .screen:hover .screen__body .screen__person-cta,
.phone .screen:hover .screen__body .screen__map__pin,
.phone .screen:hover .screen__body .screen__chart__bar,
.phone .screen:hover .screen__body .screen__insights-eyebrow,
.phone .screen:hover .screen__body .screen__msg,
.phone .screen:hover .screen__body .screen__chat-suggest,
.phone .screen:hover .screen__body .screen__chat-composer,
.phone .screen:hover .screen__body .screen__chat-composer__mic,
.phone .screen:hover .screen__body .screen__chat-composer__send,
.phone .screen:hover .screen__body .screen__chat-composer__field {
  animation-play-state: paused;
}
.phone .screen:hover ~ .phone-finger .phone-finger__hand,
.phone .screen:hover ~ .phone-finger .phone-tap::before,
.phone .screen:hover ~ .phone-finger .phone-tap::after,
.phone .screen:hover ~ .phone-finger .phone-swipe__nub,
.phone .screen:hover ~ .phone-finger .phone-flick-y__nub {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .phone .screen,
  .phone .screen .screen__body,
  .phone .screen .screen__body .screen__area-card,
  .phone .screen .screen__body .screen__task,
  .phone .screen .screen__body .screen__note,
  .phone .screen .screen__body .screen__person,
  .phone .screen .screen__body .screen__area-sheet,
  .phone .screen .screen__body .screen__area-dimmer,
  .phone .screen .screen__body .screen__check--auto,
  .phone .screen .screen__body .screen__check--auto::after,
  .phone .screen .screen__body .screen__note-pop,
  .phone .screen .screen__body .screen__note-pop__line,
  .phone .screen .screen__body .screen__note-pop__state,
  .phone .screen .screen__body .screen__note-pop__mic,
  .phone .screen .screen__body .screen__note-pop__dots span,
  .phone .screen .screen__body .screen__person-cta,
  .phone .screen .screen__body .screen__map__pin,
  .phone .screen .screen__body .screen__chart__bar,
  .phone .screen .screen__body .screen__locs,
  .phone .screen .screen__body .screen__map,
  .phone .screen .screen__body .screen__chart,
  .phone .screen .screen__body .screen__insights-eyebrow,
  .phone .screen .screen__body--chat .screen__msg,
  .phone .screen .screen__body--area-scene .screen__area-card--lift,
  .phone .screen .screen__body--chat .screen__chat-suggest,
  .phone .screen .screen__body--chat .screen__chat-composer__field,
  .phone .screen .screen__body--chat .screen__chat-composer__mic,
  .phone .screen .screen__body--chat .screen__chat-composer__send {
    animation: none !important;
  }
  .phone .screen .screen__body--area-scene .screen__area-dimmer {
    opacity: 0.3 !important;
  }
  .phone .screen .screen__body--area-scene .screen__area-sheet {
    transform: none !important;
    opacity: 1 !important;
  }
  .phone .screen .screen__body--area-scene .screen__area-card--lift {
    transform: none !important;
    box-shadow: none !important;
  }
  .phone .screen .screen__body--notes-scene .screen__note-col {
    opacity: 0.9 !important;
  }
  .phone .screen .screen__body--notes-scene .screen__note-pop {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin-top: 0.35em !important;
  }
  .phone .screen .screen__body .screen__note-pop__line {
    clip-path: none !important;
    opacity: 1 !important;
  }
  .phone .screen .screen__body--people .screen__person-cta {
    transform: none !important;
    opacity: 1 !important;
  }
  .phone .screen .screen__body .screen__map__pin {
    opacity: 0.9 !important;
  }
  .phone .screen .screen__body .screen__chart__bar {
    transform: scaleY(var(--sy, 0.5)) !important;
  }
  .phone .screen .screen__body--people .screen__person--pick {
    background: rgba(87, 167, 255, 0.1) !important;
    border-color: rgba(87, 167, 255, 0.35) !important;
  }
  .phone .screen .screen__body--tasks .screen__check--auto {
    background: #57a7ff !important;
    border-color: #57a7ff !important;
  }
  .phone .screen .screen__body--tasks .screen__check--auto::after {
    opacity: 1 !important;
  }
  .phone-finger {
    display: none !important;
  }
}

.screen__body::-webkit-scrollbar {
  width: 3px;
}
.screen__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.screen__title {
  font-size: 21px;
  font-weight: 600;
  color: #e8e8e8;
  margin: 0 0 0.35em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.screen--notes .screen__note {
  margin: 0 0 0.45em;
  padding-left: 0.5em;
  border-left: 1px solid rgba(87, 167, 255, 0.4);
  color: #9a9a9a;
  font-size: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Areas: draggable cards + opened sheet (mock) —— */
.screen--area .screen__body--area-scene {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.screen__body--area-scene .screen__area-canvas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35em;
  align-content: start;
  padding: 0 0 2px;
  position: relative;
  z-index: 0;
}
.screen__area-card {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding: 0.38em 0.35em;
  font-size: 16px;
  color: #b8b8b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  line-height: 1.2;
  transition: box-shadow 0.2s;
}
.screen__area-card__name {
  font-weight: 600;
  color: #d8d8d8;
}
.screen__area-card__meta {
  font-size: 15px;
  color: #7a7a7a;
}
.screen__body--area-scene .screen__area-card--lift {
  animation: area-card-lift 3.6s ease-in-out infinite;
  will-change: transform, box-shadow;
  z-index: 2;
}
@keyframes area-card-lift {
  0%,
  3% {
    transform: translate(0, 0) scale(1) rotate(0);
    box-shadow: none;
  }
  /* With first finger press (~8–10%) */
  7.5%,
  12% {
    transform: translate(3px, -4px) scale(1.05) rotate(-1.2deg);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.45);
  }
  14%,
  20% {
    transform: translate(0, 2px) scale(1) rotate(0.5deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  }
  22%,
  50% {
    transform: translate(0, 0) scale(0.99);
    box-shadow: none;
    filter: brightness(0.88);
  }
  60%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0);
    box-shadow: none;
    filter: none;
  }
}
.screen__area-dimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  animation: area-dim-pulse 3.6s ease-in-out infinite;
}
@keyframes area-dim-pulse {
  0%,
  10% {
    opacity: 0;
  }
  /* After 1st tap / lift, with sheet */
  12%,
  52% {
    opacity: 0.5;
  }
  55%,
  100% {
    opacity: 0;
  }
}
.screen__area-sheet {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  z-index: 4;
  min-height: 46%;
  padding: 0.45em 0.4em 0.5em;
  background: linear-gradient(180deg, #1b1b20 0%, #101014 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  font-size: 15px;
  color: #9a9a9a;
  line-height: 1.3;
  transform: translateY(102%);
  opacity: 0.95;
  animation: area-sheet-slide 3.6s ease-in-out infinite;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
@keyframes area-sheet-slide {
  0%,
  10% {
    transform: translateY(102%);
  }
  12%,
  52% {
    transform: translateY(0);
  }
  55%,
  100% {
    transform: translateY(102%);
  }
}
.screen__area-sheet__handle {
  width: 22px;
  height: 3px;
  margin: 0 auto 0.4em;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}
.screen__area-sheet__head {
  font-size: 19px;
  font-weight: 600;
  color: #e8e8e8;
  margin: 0 0 0.4em;
}
.screen__area-sheet__line {
  margin: 0.25em 0;
  padding: 0.2em 0.25em;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.screen--tasks .screen__task {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0.25em 0;
  color: #b8b8b8;
  font-size: 1em;
}

.screen__check {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  min-width: 13px;
  min-height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #0a0a0a;
  background: transparent;
}
.screen__check--on {
  background: #57a7ff;
  border-color: #57a7ff;
}

/* Auto-check demo: boxes tick in sequence, then reset */
.screen__check--auto {
  position: relative;
  overflow: hidden;
  animation: task-check-box 3.6s ease-in-out infinite;
}
.screen__check--auto::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #0a0a0a;
  opacity: 0;
  animation: task-check-mark 3.6s ease-in-out infinite;
}
.screen--tasks .screen__body .screen__task:nth-child(1) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(1) .screen__check--auto::after {
  animation-delay: 0s;
}
.screen--tasks .screen__body .screen__task:nth-child(2) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(2) .screen__check--auto::after {
  animation-delay: 0.18s;
}
.screen--tasks .screen__body .screen__task:nth-child(3) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(3) .screen__check--auto::after {
  animation-delay: 0.36s;
}
.screen--tasks .screen__body .screen__task:nth-child(4) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(4) .screen__check--auto::after {
  animation-delay: 0.54s;
}
.screen--tasks .screen__body .screen__task:nth-child(5) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(5) .screen__check--auto::after {
  animation-delay: 0.72s;
}
.screen--tasks .screen__body .screen__task:nth-child(6) .screen__check--auto,
.screen--tasks .screen__body .screen__task:nth-child(6) .screen__check--auto::after {
  animation-delay: 0.9s;
}
@keyframes task-check-box {
  0%,
  3% {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
  }
  4%,
  38% {
    background: #57a7ff;
    border-color: #57a7ff;
  }
  42%,
  48% {
    background: #57a7ff;
    border-color: #57a7ff;
  }
  52%,
  100% {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
  }
}
@keyframes task-check-mark {
  0%,
  3% {
    opacity: 0;
  }
  4%,
  40% {
    opacity: 1;
  }
  52%,
  100% {
    opacity: 0;
  }
}

/* —— Notes: list + “new note” + voice —— */
.screen--notes .screen__body--notes-scene {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.screen__note-col {
  position: relative;
  z-index: 0;
  transition: filter 0.2s, opacity 0.2s;
  animation: note-col-dim 3.6s ease-in-out infinite;
}
@keyframes note-col-dim {
  0%,
  5%,
  70%,
  100% {
    opacity: 1;
    filter: none;
  }
  12%,
  64% {
    opacity: 0.38;
    filter: blur(0.2px) brightness(0.75);
  }
}
.screen__note-pop {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 0.45em 0.4em 0.35em;
  background: #16161b;
  border: 1px solid rgba(87, 167, 255, 0.3);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(110%) scale(0.9);
  opacity: 0;
  animation: note-pop-in 3.6s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes note-pop-in {
  0%,
  7%,
  68%,
  100% {
    transform: translateY(110%) scale(0.9);
    opacity: 0;
  }
  10%,
  65% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.screen__note-pop__title {
  font-size: 16px;
  font-weight: 600;
  color: #e8e8e8;
  margin: 0 0 0.4em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.screen__note-pop__voice {
  display: flex;
  align-items: center;
  gap: 0.35em;
  margin-bottom: 0.4em;
}
.screen__note-pop__mic {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff4d4d, #b01010);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  position: relative;
  flex-shrink: 0;
  animation: note-mic-breathe 1.2s ease-in-out infinite;
}
@keyframes note-mic-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 80, 80, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.2);
  }
}
.screen__note-pop__mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 1px;
  height: 3px;
  margin-left: -0.5px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 0 0 1px 1px;
}
.screen__note-pop__state {
  color: #57a7ff;
  font-size: 14px;
  font-weight: 500;
}
.screen__note-pop__dots {
  display: flex;
  gap: 1px;
  margin-left: auto;
  align-items: center;
  height: 6px;
}
.screen__note-pop__dots span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #57a7ff;
  animation: note-dot 0.45s ease-in-out infinite;
}
.screen__note-pop__dots span:nth-child(2) {
  animation-delay: 0.09s;
}
.screen__note-pop__dots span:nth-child(3) {
  animation-delay: 0.18s;
}
@keyframes note-dot {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
.screen__note-pop__field {
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.35em 0.3em;
  background: rgba(0, 0, 0, 0.25);
  min-height: 2.2em;
}
.screen__note-pop__line {
  margin: 0.15em 0;
  clip-path: inset(0 100% 0 0);
  animation: note-line-1 3.6s ease-in-out infinite;
  opacity: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: normal;
  word-wrap: break-word;
}
.screen__note-pop__line--2 {
  animation-name: note-line-2;
}
.screen__note-pop__line--3 {
  animation-name: note-line-3;
}
@keyframes note-line-1 {
  0%,
  14% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  16%,
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes note-line-2 {
  0%,
  20% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  24%,
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}
@keyframes note-line-3 {
  0%,
  32% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  36%,
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.screen--people .screen__body--people {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 1.6em;
  overflow: hidden;
}
.screen--people .screen__person {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0.25em 0;
  font-size: 1em;
  padding: 0.2em 0.3em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.screen--people .screen__person--pick {
  animation: people-select-pulse 3.6s ease-in-out infinite;
}
@keyframes people-select-pulse {
  0%,
  3%,
  55%,
  100% {
    background: transparent;
    border-color: transparent;
  }
  5%,
  48% {
    background: rgba(87, 167, 255, 0.1);
    border-color: rgba(87, 167, 255, 0.35);
  }
}
.screen__person-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  gap: 0.35em;
  justify-content: center;
  padding: 0.28em 0.2em;
  background: linear-gradient(0deg, rgba(12, 12, 16, 0.98) 0%, rgba(20, 20, 26, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transform: translateY(120%);
  opacity: 0;
  animation: people-cta-rise 3.6s ease-in-out infinite;
}
@keyframes people-cta-rise {
  0%,
  4%,
  52%,
  100% {
    transform: translateY(120%);
    opacity: 0;
  }
  6%,
  48% {
    transform: translateY(0);
    opacity: 1;
  }
}
.screen__person-cta__btn {
  padding: 0.28em 0.55em;
  border-radius: 4px;
  flex: 1;
  text-align: center;
  max-width: 50%;
  white-space: nowrap;
}
.screen__person-cta__btn--msg {
  background: rgba(87, 167, 255, 0.2);
  border: 1px solid rgba(87, 167, 255, 0.4);
  color: #a8d0ff;
  animation: people-btn-msg 0.72s ease-in-out infinite 0.1s;
}
.screen__person-cta__btn--call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #c8c8c8;
  animation: people-btn-call 0.72s ease-in-out infinite 0.1s;
}
@keyframes people-btn-msg {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}
@keyframes people-btn-call {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.1);
  }
}
.screen__avatar {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(87, 167, 255, 0.45), rgba(87, 167, 255, 0.1));
  border: 1px solid rgba(87, 167, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #e8e8e8;
}
.screen__name {
  color: #a8a8a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* —— AI-Chat: thread + composer —— */
.screen--chat .screen__body {
  animation: none;
}
.screen--chat .screen__body--chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0.2em;
  padding-bottom: 0;
  overflow: hidden;
}
.screen__chat-sub {
  margin: 0 0 0.35em;
  font-size: 14px;
  color: #7a7a8a;
  flex-shrink: 0;
}
.screen__chat-thread {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 0.15em 0.05em 0.1em 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.screen__msg {
  display: flex;
  width: 100%;
  max-width: 100%;
}
.screen__msg--user {
  justify-content: flex-end;
}
.screen__msg--assistant {
  justify-content: flex-start;
}
.screen__msg__bubble {
  display: inline-block;
  max-width: 92%;
  padding: 0.32em 0.4em;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 6px;
  word-wrap: break-word;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.screen__msg--user .screen__msg__bubble {
  background: linear-gradient(145deg, rgba(87, 167, 255, 0.5) 0%, rgba(87, 167, 255, 0.22) 100%);
  border-color: rgba(87, 167, 255, 0.35);
  color: #e8eef8;
  border-bottom-right-radius: 2px;
}
.screen__msg--assistant .screen__msg__bubble {
  background: rgba(255, 255, 255, 0.07);
  color: #b8b8c0;
  border-bottom-left-radius: 2px;
}
.screen__chat-suggest {
  flex-shrink: 0;
  font-size: 13px;
  color: #57a7ff;
  padding: 0.15em 0.2em 0.05em;
  text-align: center;
  border-top: 1px dashed rgba(87, 167, 255, 0.2);
  animation: chat-suggest-blink 3.6s ease-in-out infinite;
}
@keyframes chat-suggest-blink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}
.screen__chat-composer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin-top: auto;
  padding: 0.3em 0.25em;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.25);
}
.screen__chat-composer__field {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #6a6a70;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: chat-cursor-blink 1.8s step-end infinite;
}
@keyframes chat-cursor-blink {
  0%,
  40%,
  100% {
    border-right: 0 solid transparent;
  }
  50%,
  90% {
    border-right: 1px solid rgba(87, 167, 255, 0.5);
  }
}
.screen__chat-composer__actions {
  display: flex;
  align-items: center;
  gap: 0.25em;
  flex-shrink: 0;
}
.screen__chat-composer__mic {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff5c5c, #a01818);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: chat-mic-pulse 1.2s ease-in-out infinite;
}
.screen__chat-composer__mic::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 0;
  margin-left: -1px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-top: 2px solid rgba(0, 0, 0, 0.3);
}
@keyframes chat-mic-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}
.screen__chat-composer__send {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #57a7ff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  opacity: 0.6;
  animation: chat-send-nudge 3.6s ease-in-out infinite;
}
.screen__chat-composer__send::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 2px 0 2px 3px;
  border-color: transparent transparent transparent #0a0a0a;
  transform: translateY(-50%);
}
@keyframes chat-send-nudge {
  0%,
  100% {
    transform: none;
  }
  92% {
    transform: none;
  }
  96% {
    transform: scale(1.08);
  }
}

.screen--area .screen__greet,
.screen--tasks .screen__greet,
.screen--people .screen__greet,
.screen--notes .screen__greet,
.screen--insights .screen__greet {
  margin: 0 0 0.38em;
  color: #9a9a9a;
  font-size: 16px;
  line-height: 1.28;
  flex-shrink: 0;
}
.screen--area .screen__greet {
  font-size: 17px;
}
.phone .screen p {
  margin: 0;
}
/* —— Insights: chart + map —— */
.screen--insights .screen__body--insights {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  min-height: 0;
  overflow: hidden;
}
.screen__insights-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #7a7a8a;
  flex-shrink: 0;
}
.screen__insights-eyebrow--2 {
  margin-top: 0.15em;
}
.screen__chart {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-height: 3.2em;
  padding: 0.25em 0.1em 0.15em;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  flex-shrink: 0;
}
.screen__chart__plot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  flex: 1;
  min-height: 2.2em;
  padding: 0 0.1em 0.15em;
}
.screen__chart__bar {
  flex: 1;
  min-width: 0;
  height: 2.1em;
  position: relative;
  background: linear-gradient(180deg, rgba(87, 167, 255, 0.65) 0%, rgba(87, 167, 255, 0.1) 100%);
  border-radius: 1px 1px 0 0;
  transform-origin: bottom center;
  transform: scaleY(var(--sy, 0.5));
  animation: bar-h-pulse 3.6s ease-in-out infinite;
  align-self: flex-end;
}
.screen__chart__bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.screen__chart__bar:nth-child(1) {
  animation-delay: 0s;
}
.screen__chart__bar:nth-child(2) {
  animation-delay: 0.04s;
}
.screen__chart__bar:nth-child(3) {
  animation-delay: 0.08s;
}
.screen__chart__bar:nth-child(4) {
  animation-delay: 0.12s;
}
.screen__chart__bar:nth-child(5) {
  animation-delay: 0.16s;
}
.screen__chart__bar:nth-child(6) {
  animation-delay: 0.2s;
}
.screen__chart__bar:nth-child(7) {
  animation-delay: 0.24s;
}
.screen__chart__bar--now {
  background: linear-gradient(180deg, #6bb5ff 0%, rgba(87, 167, 255, 0.2) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  animation: bar-today 1.8s ease-in-out infinite;
}
@keyframes bar-h-pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.1);
  }
}
@keyframes bar-today {
  0%,
  100% {
    filter: brightness(1.08);
  }
  50% {
    filter: brightness(1.2);
  }
}
.screen__chart__axis {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6a6a6e;
  letter-spacing: 0.02em;
  padding: 0 0.12em 0.05em;
  pointer-events: none;
  white-space: nowrap;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.screen__map {
  position: relative;
  height: 2.2em;
  border-radius: 4px;
  background: #0c1218;
  border: 1px solid rgba(87, 167, 255, 0.2);
  overflow: hidden;
  flex-shrink: 0;
}
.screen__map__base {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #101820 0%, #0a0e14 40%, #121c28 100%);
  opacity: 0.9;
}
.screen__map__base::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 30% 45%, rgba(87, 167, 255, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.screen__map__pin {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #57a7ff;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(87, 167, 255, 0.3);
  animation: map-pin 3.6s ease-in-out infinite;
}
.screen__map__pin--1 {
  left: 18%;
  top: 42%;
  animation-delay: 0s;
}
.screen__map__pin--2 {
  left: 55%;
  top: 36%;
  animation-delay: 0.18s;
}
.screen__map__pin--3 {
  left: 68%;
  top: 58%;
  animation-delay: 0.36s;
}
@keyframes map-pin {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
.screen__locs {
  margin: 0;
  padding: 0.15em 0.25em 0;
  font-size: 14px;
  line-height: 1.3;
  color: #8a8a9a;
  list-style: none;
  flex-shrink: 0;
}
.screen__locs li {
  margin: 0.1em 0;
}
.screen__locs strong {
  color: #c8c8d8;
  font-weight: 600;
}

@media (min-width: 700px) {
  .phone .screen {
    font-size: 17px;
    padding: 10px 11px 11px;
  }
  .screen__title {
    font-size: 22px;
  }
  .screen--area .screen__greet,
  .screen--tasks .screen__greet,
  .screen--people .screen__greet,
  .screen--notes .screen__greet,
  .screen--insights .screen__greet,
  .screen__insights-eyebrow,
  .screen__locs,
  .screen__chat-sub {
    font-size: 17px;
  }
  .screen--area .screen__greet {
    font-size: 18px;
  }
}
@media (max-width: 700px) {
  .phone .screen {
    font-size: 15px;
    padding: 8px 9px 9px;
  }
  .screen__title {
    font-size: 18px;
  }
  .screen--area .screen__greet,
  .screen--tasks .screen__greet,
  .screen--people .screen__greet,
  .screen--notes .screen__greet,
  .screen--insights .screen__greet,
  .screen__insights-eyebrow,
  .screen__locs,
  .screen__chat-sub {
    font-size: 15px;
  }
  .screen--area .screen__greet {
    font-size: 16px;
  }
  .phone-scroller {
    padding-left: max(0.5rem, calc(50% - min(150px, 45vw)));
    padding-right: max(0.5rem, calc(50% - min(150px, 45vw)));
  }
  .phone-slide {
    width: min(260px, 90vw);
  }
}

/* —— Sections —— */
section {
  padding: 0 0 4rem;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

/* App flow — vertical stepper (state from scroll; no transition animation) */
.app-flow {
  max-width: 40rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
}
.app-stepper-shell {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.25rem;
  max-width: 100%;
  margin: 0 auto;
}
.app-stepper-shell .app-stepper {
  flex: 1 1 0;
  min-width: 0;
}
.app-stepper-arrow {
  flex: 0 0 auto;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: clamp(2.75rem, 6vw, 2.9rem);
  height: clamp(2.75rem, 6vw, 2.9rem);
  margin: 0;
  padding: 0;
  border: 1px solid var(--app-stepper-arrow-border);
  border-radius: 50%;
  background: var(--app-stepper-arrow-bg);
  color: var(--app-stepper-arrow-fg);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.app-stepper-arrow:hover {
  background: var(--app-stepper-arrow-hover-bg);
  color: var(--app-stepper-arrow-hover-fg);
  border-color: var(--app-stepper-arrow-hover-border);
}
.app-stepper-arrow:focus-visible {
  outline: 2px solid var(--focus-ring-alt);
  outline-offset: 2px;
}
.app-stepper-arrow__visually {
  display: flex;
  line-height: 0;
  pointer-events: none;
}
.app-stepper-pager {
  margin: 0.5rem 0 0.2rem;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted2);
}
.app-stepper-pager-hint {
  margin: 0.15rem 0 0;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted2);
  opacity: 0.9;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
/* One card visible: phone tabs choose the step */
.app-stepper--single .app-stepper__item:not(.app-stepper__item--active) {
  display: none;
}
.app-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
}
.app-stepper__item {
  display: block;
  min-height: 0;
  position: relative;
  margin: 0;
  padding: clamp(0.9rem, 2.5vw, 1.2rem);
  border-radius: 12px;
  cursor: pointer;
}
.app-stepper__item:focus-visible {
  outline: 2px solid var(--btn-focus-ring);
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .app-stepper__item:hover {
    background: var(--stepper-item-hover-bg);
  }
  .app-stepper__item--active {
    background: var(--stepper-item-active-bg);
  }
}
.app-stepper__item--upcoming .app-stepper__name,
.app-stepper__item--upcoming .app-stepper__bullets,
.app-stepper__item--upcoming .app-stepper__lede {
  color: var(--muted2);
  opacity: 0.75;
}
.app-stepper__item--done .app-stepper__name,
.app-stepper__item--done .app-stepper__bullets,
.app-stepper__item--done .app-stepper__lede,
.app-stepper__item--active .app-stepper__name,
.app-stepper__item--active .app-stepper__bullets,
.app-stepper__item--active .app-stepper__lede {
  color: var(--text);
  opacity: 1;
}
.app-stepper__item--active .app-stepper__name {
  color: var(--stepper-name-active);
}
.app-stepper__item--active .app-stepper__bullets,
.app-stepper__item--active .app-stepper__lede {
  color: var(--muted);
}
.app-stepper__item--done .app-stepper__name,
.app-stepper__item--done .app-stepper__bullets,
.app-stepper__item--done .app-stepper__lede {
  color: var(--muted);
}
.app-stepper__item--done .app-stepper__name {
  color: var(--stepper-name-done);
}
.app-stepper__content {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.app-stepper__row--title {
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--stepper-title-border);
  flex: 0 0 auto;
}
.app-stepper__row--body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  flex: 1 1 auto;
}
.app-stepper__item--upcoming .app-stepper__row--title,
.app-stepper__item--done .app-stepper__row--title {
  border-bottom-color: var(--stepper-title-border-muted);
}
.app-stepper__item--active .app-stepper__row--title {
  border-bottom-color: var(--stepper-title-border-active);
}
.app-stepper__name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--text);
  text-transform: none;
}
.app-stepper__lede {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
  letter-spacing: -0.012em;
  color: var(--muted2);
}
.app-stepper__bullets {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted2);
  list-style: disc;
}
.app-stepper__bullets li {
  margin: 0.28rem 0 0;
}
.app-stepper__bullets li:first-child {
  margin-top: 0;
}
.app-stepper__bullets strong {
  font-weight: 600;
  color: var(--stepper-strong);
  letter-spacing: -0.01em;
}
.app-stepper__item--upcoming .app-stepper__bullets strong {
  color: var(--text);
  opacity: 0.85;
}
.app-stepper__item--active .app-stepper__bullets strong {
  color: var(--stepper-strong-active);
  opacity: 1;
}
.app-stepper__item--done .app-stepper__bullets strong {
  color: var(--stepper-strong-done);
  opacity: 0.95;
}

@media (prefers-reduced-motion: no-preference) {
  .app-stepper--single .app-stepper__item--active .app-stepper__content {
    animation: app-stepper-card-in 0.4s cubic-bezier(0.22, 0.75, 0.18, 1) forwards;
  }
}
@keyframes app-stepper-card-in {
  from {
    opacity: 0.45;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-stepper--single .app-stepper__item--active .app-stepper__content {
    animation: none !important;
  }
}

/* Beta + one join card (merged) */
.get-beta {
  max-width: 40rem;
  text-align: center;
}
.get-beta h2 {
  margin-bottom: 0.5rem;
}
.get-beta__promise {
  margin: 0 auto 0.5rem;
  max-width: 30rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.get-beta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 1.4rem 0 0;
  align-items: center;
  justify-content: center;
}
.get-beta__fineprint {
  font-size: 0.8rem;
  color: var(--muted2);
  line-height: 1.5;
  margin: 0.9rem 0 0;
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-tonal {
  background: var(--btn-tonal-bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-tonal:hover {
  background: var(--btn-tonal-hover-bg);
  text-decoration: none;
}

.join-card {
  margin-top: 2.25rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--join-card-shadow);
  text-align: center;
}
.join-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.join-card__sub {
  font-size: 0.86rem;
  color: var(--muted2);
  line-height: 1.5;
  margin: 0 auto 0.65rem;
  max-width: 26rem;
}
.join-card__what-next {
  font-size: 0.8rem;
  color: var(--muted2);
  line-height: 1.5;
  margin: 0 auto 1.1rem;
  max-width: 28rem;
  opacity: 0.95;
}
.join-card .field--row .row-inline {
  justify-content: center;
}
.join-card .form-more summary {
  text-align: center;
}
.join-card #access-form input:not([type="radio"]):not([type="checkbox"]),
.join-card #access-form textarea {
  text-align: left;
}
.join-card .form-status {
  text-align: center;
}

#access-form {
  max-width: none;
}
#access-form .field {
  margin-bottom: 1rem;
}
#access-form .field--tight {
  margin-bottom: 0.85rem;
}
#access-form .field--flush {
  margin-bottom: 0;
}
#access-form label,
#access-form .field-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted2);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.join-card #access-form label,
.join-card #access-form .field-label {
  text-align: left;
}
#access-form input,
#access-form textarea,
#access-form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--form-input-bg);
  color: var(--text);
  font: inherit;
}
#access-form input::placeholder,
#access-form textarea::placeholder {
  color: var(--form-placeholder);
}
#access-form textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.field--row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.row-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text);
  font-size: 0.88rem;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip:has(:checked) {
  background: var(--accent);
  color: var(--chip-on-fg);
  border-color: var(--accent);
}

.form-more {
  margin: 0.25rem 0 0.5rem;
  border: none;
  padding: 0;
}
.form-more summary {
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--muted);
  list-style: none;
  padding: 0.4rem 0;
}
.form-more summary::-webkit-details-marker {
  display: none;
}
.join-card__submit {
  margin-top: 0.2rem;
}

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

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
  min-height: 1.25em;
}
.form-status--error {
  color: var(--form-status-error);
}

/* Footer */
.site-footer {
  text-align: center;
  max-width: 40rem;
}
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2.5rem;
}
.site-footer .footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}
.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.7rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
}
footer .tagline {
  color: var(--muted2);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.2rem 0 0;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.site-footer .visa {
  margin: 0.85rem auto 0;
  font-size: 0.72rem;
  color: var(--muted2);
  line-height: 1.55;
  max-width: 34rem;
  text-align: center;
}
.sep {
  color: var(--muted2);
  user-select: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
}

/* —— Light: warm journal / paper (page, chrome, and in-phone mock) —— */
html[data-theme="light"] {
  color-scheme: light;
  --phone-screen-bg: linear-gradient(180deg, #fefdfb 0%, #f0ebe3 100%);
  --phone-screen-fg: #44403c;
  --phone-screen-inset: rgba(0, 0, 0, 0.08);
  --bg: #f4f0e8;
  --bg-elevated: #ebe5d9;
  --card: #fffcf5;
  --border: rgba(28, 25, 23, 0.14);
  --text: #1c1917;
  --muted: #57534e;
  --muted2: #78716c;
  --accent: #1d4ed8;
  --header-bg: linear-gradient(180deg, rgba(244, 240, 232, 0.97) 0%, rgba(244, 240, 232, 0.85) 100%);
  --header-border: rgba(60, 55, 50, 0.1);
  --hero-glow-1: rgba(29, 78, 216, 0.09);
  --phone-chassis-border: rgba(60, 55, 50, 0.18);
  --phone-chassis-bg: linear-gradient(165deg, #e3ddd3 0%, #d4cdc2 45%, #c9c0b2 100%);
  --phone-chassis-outer-shadow: 0 20px 48px rgba(60, 48, 30, 0.14);
  --phone-chassis-inset-highlight: rgba(255, 255, 255, 0.55);
  --pager-bar-border: rgba(60, 55, 50, 0.14);
  --pager-bar-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(235, 229, 217, 0.95) 100%);
  --pager-tab-fg: #57534e;
  --pager-tab-fg-hover: #44403c;
  --pager-tab-active-fg: #1e3a5f;
  --pager-tab-active-bg: rgba(29, 78, 216, 0.12);
  --pager-tab-active-ring: rgba(29, 78, 216, 0.22);
  --btn-pill-primary-bg: #1c1917;
  --btn-pill-primary-fg: #faf7f0;
  --btn-pill-primary-hover: brightness(1.08);
  --btn-ghost-hover-bg: rgba(0, 0, 0, 0.05);
  --btn-tonal-bg: rgba(0, 0, 0, 0.05);
  --btn-tonal-hover-bg: rgba(0, 0, 0, 0.08);
  --form-input-bg: rgba(255, 255, 255, 0.65);
  --form-placeholder: rgba(28, 25, 23, 0.38);
  --join-card-shadow: 0 8px 28px rgba(60, 48, 30, 0.1);
  --chip-on-fg: #ffffff;
  --stepper-item-hover-bg: rgba(0, 0, 0, 0.04);
  --stepper-item-active-bg: rgba(0, 0, 0, 0.06);
  --stepper-title-border: rgba(28, 25, 23, 0.1);
  --stepper-title-border-muted: rgba(28, 25, 23, 0.06);
  --stepper-title-border-active: rgba(28, 25, 23, 0.14);
  --stepper-name-active: #1c1917;
  --stepper-name-done: #292524;
  --stepper-strong: #292524;
  --stepper-strong-active: #1c1917;
  --stepper-strong-done: #44403c;
  --app-stepper-arrow-border: rgba(60, 55, 50, 0.15);
  --app-stepper-arrow-bg: rgba(255, 255, 255, 0.5);
  --app-stepper-arrow-fg: #44403c;
  --app-stepper-arrow-hover-bg: rgba(0, 0, 0, 0.05);
  --app-stepper-arrow-hover-fg: #1c1917;
  --app-stepper-arrow-hover-border: rgba(60, 55, 50, 0.25);
  --form-status-error: #b91c1c;
  --focus-ring: rgba(29, 78, 216, 0.45);
  --focus-ring-alt: rgba(29, 78, 216, 0.5);
  --btn-focus-ring: rgba(29, 78, 216, 0.45);
  --theme-toggle-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* In-phone UI mock: journal paper, ink text, same accent as the page */
html[data-theme="light"] .phone .screen .screen__body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
}
html[data-theme="light"] .phone .screen .screen__body {
  scrollbar-color: rgba(0, 0, 0, 0.18) transparent;
}
html[data-theme="light"] .phone .screen .screen__title {
  color: #1c1917;
  border-bottom-color: rgba(28, 25, 23, 0.12);
}
html[data-theme="light"] .screen--area .screen__greet,
html[data-theme="light"] .screen--tasks .screen__greet,
html[data-theme="light"] .screen--people .screen__greet,
html[data-theme="light"] .screen--notes .screen__greet,
html[data-theme="light"] .screen--insights .screen__greet {
  color: #57534e;
}
html[data-theme="light"] .screen--notes .screen__note {
  border-left-color: rgba(29, 78, 216, 0.45);
  color: #57534e;
}
html[data-theme="light"] .screen__note-col {
  animation-name: note-col-dim-light;
}
html[data-theme="light"] .screen__area-card {
  color: #57534e;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(28, 25, 23, 0.12);
}
html[data-theme="light"] .screen__area-card__name {
  color: #292524;
}
html[data-theme="light"] .screen__area-card__meta {
  color: #78716c;
}
html[data-theme="light"] .screen__area-dimmer {
  background: rgba(0, 0, 0, 0.1);
}
html[data-theme="light"] .screen__area-sheet {
  background: linear-gradient(180deg, #fffef9 0%, #ebe5d9 100%);
  border-color: rgba(28, 25, 23, 0.1);
  color: #57534e;
  box-shadow: 0 -8px 20px rgba(60, 48, 30, 0.12);
}
html[data-theme="light"] .screen__area-sheet__handle {
  background: rgba(0, 0, 0, 0.12);
}
html[data-theme="light"] .screen__area-sheet__head {
  color: #1c1917;
}
html[data-theme="light"] .screen__area-sheet__line {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(28, 25, 23, 0.08);
}
html[data-theme="light"] .screen--tasks .screen__task {
  color: #44403c;
}
html[data-theme="light"] .screen__check {
  border-color: rgba(28, 25, 23, 0.22);
  color: #1c1917;
}
html[data-theme="light"] .screen__check--on {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
html[data-theme="light"] .screen__check--auto {
  animation-name: task-check-box-light;
}
html[data-theme="light"] .screen__check--auto::after {
  color: #fff;
}
html[data-theme="light"] .screen__note-pop {
  background: #fffef9;
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 12px 24px rgba(60, 48, 30, 0.12);
}
html[data-theme="light"] .screen__note-pop__title {
  color: #1c1917;
  border-bottom-color: rgba(28, 25, 23, 0.1);
}
html[data-theme="light"] .screen__note-pop__state {
  color: #1d4ed8;
}
html[data-theme="light"] .screen__note-pop__dots span {
  background: #1d4ed8;
}
html[data-theme="light"] .screen__note-pop__field {
  color: #57534e;
  border-color: rgba(28, 25, 23, 0.12);
  background: rgba(255, 255, 255, 0.75);
}
html[data-theme="light"] .screen--people .screen__person--pick {
  animation-name: people-select-pulse-light;
}
html[data-theme="light"] .screen__person-cta {
  background: linear-gradient(0deg, rgba(255, 254, 249, 0.98) 0%, rgba(240, 235, 227, 0.95) 100%);
  border-color: rgba(28, 25, 23, 0.1);
}
html[data-theme="light"] .screen__person-cta__btn--msg {
  background: rgba(29, 78, 216, 0.15);
  border-color: rgba(29, 78, 216, 0.4);
  color: #1e3a8a;
}
html[data-theme="light"] .screen__person-cta__btn--call {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(28, 25, 23, 0.15);
  color: #44403c;
}
html[data-theme="light"] .screen__avatar {
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.4), rgba(29, 78, 216, 0.12));
  border-color: rgba(29, 78, 216, 0.4);
  color: #1c1917;
}
html[data-theme="light"] .screen__name {
  color: #57534e;
}
html[data-theme="light"] .screen__chat-sub {
  color: #78716c;
}
html[data-theme="light"] .screen__chat-thread {
  scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}
html[data-theme="light"] .screen__msg__bubble {
  border-color: rgba(28, 25, 23, 0.08);
}
html[data-theme="light"] .screen__msg--user .screen__msg__bubble {
  background: linear-gradient(145deg, rgba(29, 78, 216, 0.28) 0%, rgba(29, 78, 216, 0.12) 100%);
  border-color: rgba(29, 78, 216, 0.4);
  color: #1e3a8a;
}
html[data-theme="light"] .screen__msg--assistant .screen__msg__bubble {
  background: rgba(0, 0, 0, 0.05);
  color: #44403c;
}
html[data-theme="light"] .screen__chat-suggest {
  color: #1d4ed8;
  border-top-color: rgba(29, 78, 216, 0.3);
}
html[data-theme="light"] .screen__chat-composer {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(28, 25, 23, 0.12);
  box-shadow: 0 -2px 8px rgba(60, 48, 30, 0.08);
}
html[data-theme="light"] .screen__chat-composer__field {
  color: #78716c;
  animation: chat-cursor-blink-light 1.8s step-end infinite;
}
html[data-theme="light"] .screen__chat-composer__send {
  background: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}
html[data-theme="light"] .screen__insights-eyebrow {
  color: #78716c;
}
html[data-theme="light"] .screen__chart {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(28, 25, 23, 0.1);
}
html[data-theme="light"] .screen__chart__bar {
  background: linear-gradient(180deg, rgba(29, 78, 216, 0.5) 0%, rgba(29, 78, 216, 0.1) 100%);
}
html[data-theme="light"] .screen__chart__bar::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}
html[data-theme="light"] .screen__chart__bar--now {
  background: linear-gradient(180deg, #3b82f6 0%, rgba(29, 78, 216, 0.2) 100%);
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.3);
}
html[data-theme="light"] .screen__chart__axis {
  color: #78716c;
  border-top-color: rgba(28, 25, 23, 0.1);
}
html[data-theme="light"] .screen__map {
  background: #e8e4dc;
  border-color: rgba(29, 78, 216, 0.28);
}
html[data-theme="light"] .screen__map__base {
  background: linear-gradient(135deg, #ddd8ce 0%, #d0c9bc 40%, #c4bdb0 100%);
  opacity: 1;
}
html[data-theme="light"] .screen__map__base::after {
  background: radial-gradient(ellipse 80% 50% at 30% 45%, rgba(29, 78, 216, 0.14) 0%, transparent 55%);
}
html[data-theme="light"] .screen__map__pin {
  background: #1d4ed8;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(29, 78, 216, 0.4);
}
html[data-theme="light"] .screen__locs {
  color: #78716c;
}
html[data-theme="light"] .screen__locs strong {
  color: #292524;
}

@keyframes note-col-dim-light {
  0%,
  5%,
  70%,
  100% {
    opacity: 1;
    filter: none;
  }
  12%,
  64% {
    opacity: 0.42;
    filter: blur(0.2px) brightness(0.94);
  }
}

@keyframes task-check-box-light {
  0%,
  3% {
    background: transparent;
    border-color: rgba(28, 25, 23, 0.22);
  }
  4%,
  38% {
    background: #1d4ed8;
    border-color: #1d4ed8;
  }
  42%,
  48% {
    background: #1d4ed8;
    border-color: #1d4ed8;
  }
  52%,
  100% {
    background: transparent;
    border-color: rgba(28, 25, 23, 0.22);
  }
}

@keyframes people-select-pulse-light {
  0%,
  3%,
  55%,
  100% {
    background: transparent;
    border-color: transparent;
  }
  5%,
  48% {
    background: rgba(29, 78, 216, 0.1);
    border-color: rgba(29, 78, 216, 0.4);
  }
}

@keyframes chat-cursor-blink-light {
  0%,
  40%,
  100% {
    border-right: 0 solid transparent;
  }
  50%,
  90% {
    border-right: 1px solid rgba(29, 78, 216, 0.55);
  }
}
