/* Radar : Tasks & Habits product website — dependency-free visual system */

:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-elevated: #08111b;
  --surface: rgba(12, 20, 31, 0.82);
  --surface-solid: #0c151f;
  --surface-soft: rgba(17, 27, 40, 0.7);
  --surface-hover: rgba(22, 35, 51, 0.86);
  --text: #f4f8fb;
  --text-soft: #a7b4c2;
  --text-faint: #718090;
  --line: rgba(163, 191, 214, 0.14);
  --line-strong: rgba(122, 174, 213, 0.27);
  --brand-white: #f4f8fb;
  --brand-tasks: #075dfa;
  --brand-and: #ff0b6f;
  --radar-blue: #2f7ef9;
  --radar-azure: #23bfe2;
  --radar-magenta: #fe2b73;
  --blue: #2e9cff;
  --cyan: #48d7ff;
  --purple: #a85cff;
  --green: #41d779;
  --yellow: #f5c84b;
  --orange: #ff8765;
  --red: #ff5268;
  --focus-ring: #8ee8ff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.25);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1180px;
  --ease: cubic-bezier(0.2, 0.72, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% -20%, rgba(40, 126, 195, 0.13), transparent 38rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

svg {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: rgba(46, 156, 255, 0.3);
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 11px 15px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.88rem;
  font-weight: 800;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 124px;
}

.site-ambient,
.ambient-grid,
.ambient-glow,
.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-ambient {
  z-index: -2;
  overflow: hidden;
}

.ambient-grid {
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(98, 145, 181, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 145, 181, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.ambient-glow {
  filter: blur(100px);
  opacity: 0.14;
}

.ambient-glow-blue {
  inset: -20% auto auto 35%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--blue);
}

.ambient-glow-purple {
  inset: 55% -10% auto auto;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--purple);
}

.cursor-light {
  inset: var(--cursor-y, -500px) auto auto var(--cursor-x, -500px);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 166, 255, 0.09), transparent 66%);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  inset: 0 0 auto;
  height: 2px;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  box-shadow: 0 0 14px rgba(72, 215, 255, 0.55);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

.nav-shell {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.nav-shell-secondary {
  grid-template-columns: 1fr auto;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  white-space: nowrap;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 14px rgba(244, 248, 251, 0.15), 0 4px 12px rgba(0, 0, 0, 0.72);
}

.brand-title strong,
.brand-title b {
  font: inherit;
}

.brand-radar-word,
.brand-habits-word {
  color: var(--brand-white);
  text-shadow: 0 0 14px rgba(244, 248, 251, 0.15), 0 4px 12px rgba(0, 0, 0, 0.72);
}

.brand-tasks-word {
  color: var(--brand-tasks);
  text-shadow: 0 0 14px rgba(7, 93, 250, 0.34), 0 4px 12px rgba(0, 0, 0, 0.72);
}

.brand-and-word {
  color: var(--brand-and);
  text-shadow: 0 0 14px rgba(255, 11, 111, 0.34), 0 4px 12px rgba(0, 0, 0, 0.72);
}

.brand-radar-word {
  margin-right: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
}

.primary-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 690;
  transition: color 160ms ease, background-color 160ms ease;
}

.primary-nav a:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.icon-button:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.93rem;
  font-weight: 780;
  line-height: 1;
  transition: transform 180ms var(--ease), box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #0767b8, #3558c7 58%, #6c35b8);
  color: white;
  box-shadow: 0 12px 30px rgba(41, 127, 234, 0.27), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  box-shadow: 0 17px 40px rgba(41, 127, 234, 0.37), inset 0 1px rgba(255, 255, 255, 0.28);
}

.button-quiet {
  border-color: var(--line);
  background: var(--surface-soft);
  color: var(--text);
}

.button-quiet:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

/* Shared typography */

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(72, 215, 255, 0.1), 0 0 16px rgba(72, 215, 255, 0.8);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 6.8vw, 6.6rem);
  font-weight: 850;
  letter-spacing: -0.073em;
  line-height: 0.94;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.7vw, 4.9rem);
  font-weight: 840;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #62dcff 2%, #2f8df4 50%, #c065fb 95%);
  -webkit-background-clip: text;
  background-clip: text;
}

.gradient-cyan {
  background-image: linear-gradient(100deg, #6ae7ff, #2e9cff 55%, #55b9ff);
}

.muted-title {
  color: var(--text-soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 630px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.06rem;
}

/* Hero */

.hero {
  padding-top: 126px;
  padding-bottom: 74px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 74% 42%, rgba(34, 152, 240, 0.15), transparent 25rem),
    radial-gradient(circle at 84% 36%, rgba(169, 80, 255, 0.1), transparent 23rem),
    linear-gradient(110deg, transparent 46%, rgba(31, 121, 196, 0.035));
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  align-items: start;
  gap: 32px;
}

.hero-left { min-width: 0; }

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 48px 0 10px;
}

.hero-headline {
  margin-bottom: 20px;
  font-size: clamp(2.9rem, 5.1vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-headline-tail {
  display: block;
  margin-top: 0.16em;
  color: transparent;
  background: linear-gradient(100deg, #62dcff 2%, #2f8df4 52%, #c065fb 96%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 0.66em;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.65;
}

.platform-block {
  margin: 0 0 26px;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-block .store-badge {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 80px;
  padding: 14px 16px;
  gap: 13px;
  border-color: rgba(184, 164, 211, 0.32);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(12, 8, 22, 0.98), rgba(5, 7, 14, 0.98));
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.035);
}

.platform-block .platform-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-block .store-badge > svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.platform-block .store-badge small {
  color: rgba(241, 235, 249, 0.76);
  font-size: 0.62rem;
  font-weight: 650;
}

.platform-block .store-badge strong {
  font-size: 1.16rem;
  font-weight: 820;
  line-height: 1.05;
}

.platform-block .store-badge.is-live {
  border-color: rgba(192, 172, 221, 0.46);
  background: linear-gradient(145deg, rgba(12, 8, 22, 0.99), rgba(5, 7, 14, 0.99));
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.05);
}

.platform-block .store-badge.is-live small { color: rgba(241, 235, 249, 0.76); }

.platform-block .store-badge.is-coming-soon {
  border-color: rgba(143, 153, 168, 0.24);
  background: rgba(6, 9, 14, 0.88);
  box-shadow: none;
  opacity: 0.5;
  filter: grayscale(1) saturate(0);
}

.hero-account-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(184, 164, 211, 0.28);
  border-radius: 999px;
  background: rgba(10, 12, 22, 0.72);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 760;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero-account-link-primary {
  border-color: rgba(98, 220, 255, 0.48);
  background: rgba(47, 126, 249, 0.12);
  color: #dff8ff;
}

.hero-account-link:hover,
.hero-account-link:focus-visible {
  border-color: rgba(98, 220, 255, 0.7);
  background: rgba(47, 126, 249, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 19px;
  margin: 0;
  padding: 0;
  color: var(--text-faint);
  font-size: 0.79rem;
  font-weight: 690;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-proof svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke-width: 2.4;
}

.hero-product {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* The four priorities, rebuilt in markup so they can breathe and react. */
.shelf-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  padding: 46px 0 22px;
  perspective: 1150px;
  perspective-origin: 50% 42%;
}

.shelf-aurora {
  position: absolute;
  z-index: 0;
  inset: -16% -26% -12%;
  filter: blur(78px);
  opacity: 0.72;
}

.shelf-aurora i {
  position: absolute;
  border-radius: 50%;
}

.shelf-aurora .warm {
  inset: 18% auto 12% -10%;
  width: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--radar-magenta) 76%, transparent), color-mix(in srgb, var(--radar-magenta) 28%, transparent) 46%, transparent 72%);
}

.shelf-aurora .cool {
  inset: 6% -12% 16% auto;
  width: 54%;
  background: radial-gradient(circle, color-mix(in srgb, var(--radar-blue) 84%, transparent), color-mix(in srgb, var(--radar-azure) 28%, transparent) 46%, transparent 72%);
}

.shelf-phone {
  position: absolute;
  z-index: 1;
  inset: 0 auto -40px 50%;
  width: 76%;
  border: 3px solid rgba(206, 220, 234, 0.42);
  border-radius: 52px 52px 34px 34px;
  background: linear-gradient(178deg, #0b1119 0%, #060a0f 42%, #04070b 100%);
  box-shadow:
    inset 0 2px rgba(255, 255, 255, 0.22),
    inset 0 0 40px rgba(120, 170, 220, 0.06),
    0 34px 80px rgba(0, 0, 0, 0.62);
  translate: -50% 0;
  mask-image: linear-gradient(to bottom, black 86%, transparent);
}

.shelf-phone-island {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 33%;
  height: 30px;
  border-radius: 16px;
  background: #02050a;
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.06);
  translate: -50% 0;
}

/* The stack is staged in real 3D: the list holds the camera angle and each
   card sits a step closer to the viewer, so the lower cards read as larger. */
.shelf-deck {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
  /* The in-plane +2deg cancels the twist that rotateX and rotateY create
     together, so the card content stays level while the plane still recedes. */
  transform: rotateX(8deg) rotateY(-13.5deg) rotate(2deg);
  transform-style: preserve-3d;
}

.shelf-list,
.habit-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform-style: preserve-3d;
}

.habit-list {
  gap: 7px;
  margin-top: 10px;
}

.shelf-slot,
.habit-slot {
  position: relative;
  transform-style: preserve-3d;
  animation: shelf-float 7.2s ease-in-out infinite;
}

.shelf-slot-one { z-index: 1; --tilt: -1.2deg; --depth: 0px; --shift: -8px; animation-delay: -0.4s; }
.shelf-slot-two { z-index: 2; --tilt: 1.1deg; --depth: 20px; --shift: 10px; animation-delay: -2.2s; }
.shelf-slot-three { z-index: 3; --tilt: -0.9deg; --depth: 40px; --shift: -4px; animation-delay: -3.9s; }
.shelf-slot-four { z-index: 4; --tilt: 1.3deg; --depth: 60px; --shift: 7px; animation-delay: -5.5s; }

.shelf-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 15px;
  padding: 13px 16px 13px 20px;
  border: 1.5px solid color-mix(in srgb, var(--shelf-accent) 78%, transparent);
  border-radius: 22px;
  background: linear-gradient(176deg, rgba(32, 35, 40, 0.98), rgba(16, 18, 21, 0.99) 55%, rgba(10, 12, 14, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 26px color-mix(in srgb, var(--shelf-accent) 8%, transparent),
    0 2px 0 color-mix(in srgb, var(--shelf-accent) 42%, transparent),
    0 4px 0 rgba(9, 11, 14, 0.96),
    0 7px 0 rgba(7, 9, 12, 0.92),
    0 10px 0 rgba(5, 6, 9, 0.86),
    0 26px 40px rgba(0, 0, 0, 0.6);
  transform: translateZ(var(--depth)) rotate(var(--tilt));
  animation: shelf-in 820ms var(--ease) both;
  transition: transform 260ms var(--ease), border-color 260ms ease;
}

/* The bloom lives on its own layer so it can breathe without touching the slab. */
.shelf-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  box-shadow:
    0 0 16px 1px color-mix(in srgb, var(--shelf-accent) 65%, transparent),
    0 0 52px 6px color-mix(in srgb, var(--shelf-accent) 32%, transparent);
  animation: shelf-glow 6.4s ease-in-out infinite;
}

.shelf-slot-one .shelf-card { animation-delay: 90ms; }
.shelf-slot-two .shelf-card { animation-delay: 210ms; }
.shelf-slot-three .shelf-card { animation-delay: 330ms; }
.shelf-slot-four .shelf-card { animation-delay: 450ms; }

.shelf-slot-one .shelf-card::before { animation-delay: -0.4s; }
.shelf-slot-two .shelf-card::before { animation-delay: -1.9s; }
.shelf-slot-three .shelf-card::before { animation-delay: -3.4s; }
.shelf-slot-four .shelf-card::before { animation-delay: -4.9s; }

.shelf-red { --shelf-accent: var(--red); }
.shelf-yellow { --shelf-accent: var(--yellow); }
.shelf-green { --shelf-accent: var(--green); }
.shelf-blue { --shelf-accent: var(--blue); }

.shelf-card:hover {
  border-color: var(--shelf-accent);
  transform: translateZ(calc(var(--depth) + 30px)) rotate(var(--tilt));
}

.shelf-icon {
  display: grid;
  place-items: center;
  color: var(--shelf-accent);
}

.shelf-icon svg {
  width: 33px;
  height: 33px;
  stroke-width: 2;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--shelf-accent) 55%, transparent));
}

.shelf-card strong {
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.shelf-menu {
  display: grid;
  gap: 3.5px;
  justify-items: center;
}

.shelf-menu i {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #8b98a5;
}

.shelf-count {
  min-width: 44px;
  padding: 8px 0;
  border: 1.5px solid color-mix(in srgb, var(--shelf-accent) 76%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--shelf-accent) 14%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--shelf-accent) 22%, transparent);
  color: var(--shelf-accent);
  font-size: 1.06rem;
  font-weight: 830;
  line-height: 1.1;
  text-align: center;
}

.shelf-chevron {
  color: #8b98a5;
}

.shelf-chevron svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

/* Tasks sit inside their priority: smaller, inset and unmistakably items
   rather than another shelf. */
.task-list {
  display: grid;
  gap: 5px;
  /* The bottom room keeps the next priority, which sits closer to the camera,
     from creeping over the last task. */
  margin: 7px 0 15px;
  padding: 0 13px;
  list-style: none;
  transform: translateZ(calc(var(--depth) + 6px));
  transform-style: preserve-3d;
}

.task-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  padding: 7px 11px;
  border: 1px solid rgba(150, 180, 205, 0.13);
  border-radius: 11px;
  background: linear-gradient(176deg, rgba(25, 28, 32, 0.97), rgba(15, 17, 20, 0.98));
  box-shadow: 0 2px 0 rgba(8, 10, 13, 0.92), 0 10px 18px rgba(0, 0, 0, 0.45);
  animation: shelf-in 780ms var(--ease) both;
}

.task-row:nth-child(1) { animation-delay: 240ms; }
.task-row:nth-child(2) { animation-delay: 320ms; }
.task-row:nth-child(3) { animation-delay: 400ms; }

.task-icon {
  display: grid;
  place-items: center;
}

.task-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.task-icon.red { color: var(--red); }
.task-icon.yellow { color: var(--yellow); }
.task-icon.green { color: var(--green); }

.task-name {
  color: #d7dfe7;
  font-size: 0.79rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-edit {
  color: #6d7b87;
}

.task-edit svg {
  width: 15px;
  height: 15px;
}

.task-check {
  width: 18px;
  height: 18px;
  border: 1.6px solid #5c6a76;
  border-radius: 50%;
}

/* Habits ride the same 3D plane, quieter than the priorities: the colour
   lives in the check cells instead of the frame. */
.habit-slot-one { z-index: 5; --tilt: -0.9deg; --depth: 14px; --shift: -6px; animation-delay: -1.2s; }
.habit-slot-two { z-index: 6; --tilt: 1deg; --depth: 30px; --shift: 8px; animation-delay: -3.1s; }
.habit-slot-three { z-index: 7; --tilt: -0.7deg; --depth: 46px; --shift: -3px; animation-delay: -4.8s; }

.habit-card {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 11px 13px 12px;
  border: 1px solid rgba(152, 184, 210, 0.19);
  border-radius: 18px;
  background: linear-gradient(176deg, rgba(28, 31, 36, 0.98), rgba(14, 16, 19, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 2px 0 rgba(120, 150, 175, 0.16),
    0 4px 0 rgba(9, 11, 14, 0.96),
    0 7px 0 rgba(7, 9, 12, 0.9),
    0 22px 34px rgba(0, 0, 0, 0.58);
  transform: translateZ(var(--depth)) rotate(var(--tilt));
  animation: shelf-in 820ms var(--ease) both;
  transition: transform 260ms var(--ease), border-color 260ms ease;
}

.habit-card:hover {
  border-color: color-mix(in srgb, var(--habit-accent) 70%, transparent);
  transform: translateZ(calc(var(--depth) + 30px)) rotate(var(--tilt));
}

.habit-slot-one .habit-card { animation-delay: 560ms; }
.habit-slot-two .habit-card { animation-delay: 660ms; }
.habit-slot-three .habit-card { animation-delay: 760ms; }

.habit-blue { --habit-accent: #3aa8ff; }
.habit-pink { --habit-accent: var(--brand-and); }
.habit-orange { --habit-accent: #fd7425; }

.habit-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
}

.habit-icon {
  display: grid;
  place-items: center;
  color: var(--habit-accent);
}

.habit-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--habit-accent) 50%, transparent));
}

.habit-card strong {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.habit-cells {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 4px;
}

.habit-cells i {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(146, 178, 204, 0.22);
  border-radius: 6px;
}

.habit-cells .on {
  border-color: transparent;
  background: var(--habit-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--habit-accent) 40%, transparent);
}

.habit-cells .on::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #07121b;
  border-width: 0 2.4px 2.4px 0;
  rotate: 45deg;
}

.habit-cells .skip {
  border-color: transparent;
}

.habit-cells .skip::after {
  content: "";
  width: 8px;
  height: 1.6px;
  border-radius: 2px;
  background: #4c5a66;
}

.habit-cells .today {
  border-color: var(--habit-accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--habit-accent) 26%, transparent);
}

.habit-cells .today::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--habit-accent);
}

@keyframes shelf-in {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes shelf-float {
  0%, 100% { translate: var(--shift) 0; }
  50% { translate: var(--shift) -7px; }
}

@keyframes shelf-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Six real app screens, kept as proof under the hero. */
.hero-screens {
  position: relative;
  z-index: 3;
  margin-top: 58px;
}

.hero-screens-label {
  margin: 0 0 20px;
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.hero-story-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  align-items: start;
  gap: 32px;
  margin-top: 64px;
}

.hero-story-row + .hero-story-row {
  margin-top: 92px;
}

.hero-video-featured {
  position: relative;
  z-index: 4;
  width: min(100%, 390px);
  margin: 0 auto;
}

.hero-video-frame {
  position: relative;
  overflow: hidden;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(145deg, #252932, #080a0f 42%, #11141a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 32px 72px rgba(0, 0, 0, 0.58);
}

.hero-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1206 / 2622;
  border-radius: 24px;
  object-fit: cover;
}

.hero-video-featured figcaption {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 720;
  text-align: center;
}

.hero-story-message {
  position: relative;
  z-index: 3;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 0 32px 28px;
  text-align: center;
}

.hero-story-message::before {
  content: "";
  position: absolute;
  inset: auto 5% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 194, 255, 0.5), rgba(192, 101, 251, 0.46), transparent);
  box-shadow: 0 0 24px rgba(47, 141, 244, 0.28);
}

.hero-story-kicker {
  margin: 0 0 16px;
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 790;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-story-title {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.7rem, 4.5vw, 4.75rem);
  font-weight: 860;
  letter-spacing: -0.06em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-story-title span {
  display: block;
  margin-top: 0.12em;
  color: transparent;
  background: linear-gradient(100deg, #62dcff 2%, #2f8df4 52%, #c065fb 96%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-story-support {
  max-width: 32ch;
  margin: 20px auto 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-shots {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.hero-shot {
  min-width: 0;
  margin: 0;
}

.hero-shot-link {
  position: relative;
  display: block;
  border-radius: 20px;
  cursor: zoom-in;
}

.hero-shot img {
  width: 100%;
  border: 1px solid rgba(68, 185, 255, 0.3);
  border-radius: 20px;
  background: #060b11;
  box-shadow: 0 0 0 2px rgba(4, 9, 15, 0.85), 0 0 26px rgba(25, 151, 240, 0.13), 0 26px 56px rgba(0, 0, 0, 0.5);
  transition: transform 240ms var(--ease);
}

.hero-shot-link:hover img,
.hero-shot-link:focus-visible img {
  transform: translateY(-6px);
}

.hero-shot-zoom {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142, 232, 255, 0.35);
  border-radius: 10px;
  background: rgba(4, 10, 17, 0.78);
  color: var(--text);
  opacity: 0.78;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.hero-shot-zoom svg { width: 17px; height: 17px; }

.hero-shot-link:hover .hero-shot-zoom,
.hero-shot-link:focus-visible .hero-shot-zoom {
  opacity: 1;
  transform: scale(1.06);
}

.hero-shot figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
}

.hero-shot .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero-shot .dot.blue { background: var(--blue); box-shadow: 0 0 10px rgba(46, 156, 255, 0.75); }
.hero-shot .dot.cyan { background: var(--cyan); box-shadow: 0 0 10px rgba(72, 215, 255, 0.65); }
.hero-shot .dot.green { background: var(--green); box-shadow: 0 0 10px rgba(65, 215, 121, 0.6); }
.hero-shot .dot.purple { background: var(--purple); box-shadow: 0 0 10px rgba(168, 92, 255, 0.65); }
.hero-shot .dot.red { background: var(--red); box-shadow: 0 0 10px rgba(255, 82, 104, 0.65); }
.hero-shot .dot.yellow { background: var(--yellow); box-shadow: 0 0 10px rgba(245, 200, 75, 0.6); }

.screenshot-lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2vw, 24px);
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
}

.screenshot-lightbox[open] {
  display: block;
}

.screenshot-lightbox::backdrop {
  background: rgba(2, 5, 9, 0.68);
  -webkit-backdrop-filter: blur(4px) saturate(0.78);
  backdrop-filter: blur(4px) saturate(0.78);
}

.has-lightbox { overflow: hidden; scrollbar-gutter: stable; }

.screenshot-lightbox-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(56px, 1fr) minmax(0, 760px) minmax(56px, 1fr);
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  pointer-events: none;
}

.screenshot-lightbox-figure {
  grid-column: 2;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  place-items: center;
  pointer-events: auto;
  touch-action: pan-y;
  user-select: none;
}

.screenshot-lightbox-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}

.screenshot-lightbox-media > img {
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 134px);
  border: 1px solid rgba(72, 215, 255, 0.42);
  border-radius: clamp(18px, 2.2vw, 28px);
  background: #060b11;
  box-shadow: 0 0 0 2px rgba(4, 9, 15, 0.9), 0 0 48px rgba(25, 151, 240, 0.22), 0 30px 76px rgba(0, 0, 0, 0.5);
  transition: opacity 160ms ease, transform 180ms var(--ease);
}

.screenshot-lightbox-media > img.is-loading {
  opacity: 0.42;
  transform: scale(0.988);
}

.screenshot-lightbox-close {
  position: fixed;
  z-index: 3;
  top: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(185, 220, 240, 0.34);
  border-radius: 50%;
  background: rgba(5, 11, 18, 0.9);
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.screenshot-lightbox-close:hover { border-color: rgba(142, 232, 255, 0.72); background: rgba(15, 27, 40, 0.96); }
.screenshot-lightbox-close svg { width: 22px; height: 22px; }

.screenshot-lightbox-nav {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(185, 220, 240, 0.3);
  border-radius: 50%;
  background: rgba(5, 11, 18, 0.86);
  color: var(--text);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform 160ms var(--ease), border-color 160ms ease, background 160ms ease;
}

.screenshot-lightbox-nav:hover {
  border-color: rgba(142, 232, 255, 0.72);
  background: rgba(15, 27, 40, 0.96);
  transform: scale(1.05);
}

.screenshot-lightbox-nav svg { width: 27px; height: 27px; }
.screenshot-lightbox-prev { grid-column: 1; justify-self: end; }
.screenshot-lightbox-next { grid-column: 3; justify-self: start; }

.screenshot-lightbox-figure figcaption {
  max-width: min(100%, 640px);
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
}

.screenshot-lightbox-counter {
  flex: none;
  padding: 4px 9px;
  border: 1px solid rgba(142, 232, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 11, 18, 0.7);
  color: var(--cyan);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.screenshot-lightbox-help {
  margin: 7px 0 0;
  color: rgba(163, 182, 202, 0.72);
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-align: center;
}

/* The one-pager close: what you actually do with the app. */
.hero-points {
  position: relative;
  z-index: 3;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hero-points article {
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.hero-points .feature-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
}

.hero-points .feature-icon svg { width: 19px; height: 19px; }

.hero-points h2 {
  margin-bottom: 7px;
  font-size: 1.04rem;
  font-weight: 790;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero-points p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.855rem;
  line-height: 1.55;
}

@keyframes radar-spin { to { transform: rotate(360deg); } }

/* Capability strip */

.signal-strip {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.signal-track {
  width: min(calc(100% - 40px), var(--shell));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.signal-track span { display: flex; align-items: center; gap: 8px; }
.signal-track i { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 11px currentColor; }
.signal-track i.red { color: var(--red); background: currentColor; }
.signal-track i.cyan { color: var(--cyan); background: currentColor; }
.signal-track i.green { color: var(--green); background: currentColor; }
.signal-track i.purple { color: var(--purple); background: currentColor; }
.signal-track i.yellow { color: var(--yellow); background: currentColor; }
.signal-track i.blue { color: var(--blue); background: currentColor; }

/* Bento features */

.feature-section {
  overflow: hidden;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  min-height: 340px;
  grid-column: span 4;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at var(--spot-x) var(--spot-y), rgba(62, 172, 255, 0.1), transparent 44%),
    var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transform-style: preserve-3d;
  transition: border-color 200ms ease, background-color 200ms ease, transform 240ms var(--ease), box-shadow 240ms ease;
}

.bento-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft), inset 0 1px rgba(255, 255, 255, 0.04);
}

.bento-wide {
  min-height: 410px;
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 26px;
}

.bento-tall {
  min-height: 450px;
  grid-column: span 6;
}

.bento-tall + .bento-card {
  grid-column: span 3;
}

.bento-tall + .bento-card + .bento-card {
  grid-column: span 3;
}

.feature-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 54px;
  border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, currentColor 11%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, currentColor 9%, transparent);
}

.feature-icon svg { width: 21px; height: 21px; }
.feature-icon.blue { color: var(--blue); }
.feature-icon.cyan { color: var(--cyan); }
.feature-icon.green { color: var(--green); }
.feature-icon.purple { color: var(--purple); }
.feature-icon.yellow { color: var(--yellow); }
.feature-icon.red { color: var(--red); }

.card-kicker {
  margin-bottom: 8px;
  color: var(--text-faint);
  font-size: 0.7rem;
  font-weight: 780;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bento-card > p:last-of-type,
.card-copy > p:last-of-type {
  max-width: 40ch;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
}

.bento-wide .feature-icon { margin-bottom: 70px; }

.priority-stack {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  transform: rotate(2.2deg);
}

.priority-pill {
  min-height: 52px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, currentColor 7%, var(--surface-solid));
  color: var(--text);
  box-shadow: 0 0 17px color-mix(in srgb, currentColor 7%, transparent);
  transition: transform 180ms var(--ease);
}

.priority-pill:hover { transform: translateX(-6px); }
.priority-pill span { color: currentColor; }
.priority-pill b { font-size: 0.77rem; }
.priority-pill small { min-width: 21px; padding: 2px 6px; border-radius: 5px; background: color-mix(in srgb, currentColor 15%, transparent); color: currentColor; font-weight: 800; text-align: center; }
.priority-pill.red { color: var(--red); }
.priority-pill.yellow { color: var(--yellow); }
.priority-pill.green { color: var(--green); }
.priority-pill.blue { color: var(--blue); }
.priority-pill b { color: var(--text); }

.waveform {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 38px 0 -4px;
}

.waveform i {
  width: 4px;
  height: var(--wave, 18px);
  border-radius: 999px;
  background: linear-gradient(var(--cyan), var(--blue));
  box-shadow: 0 0 13px rgba(72, 215, 255, 0.36);
  animation: wave 1.4s ease-in-out infinite alternate;
}

.waveform i:nth-child(2) { --wave: 32px; animation-delay: -0.7s; }
.waveform i:nth-child(3) { --wave: 50px; animation-delay: -0.4s; }
.waveform i:nth-child(4) { --wave: 24px; animation-delay: -0.9s; }
.waveform i:nth-child(5) { --wave: 60px; animation-delay: -0.2s; }
.waveform i:nth-child(6) { --wave: 38px; animation-delay: -0.6s; }
.waveform i:nth-child(7) { --wave: 50px; animation-delay: -0.1s; }
.waveform i:nth-child(8) { --wave: 26px; animation-delay: -0.8s; }
.waveform i:nth-child(9) { --wave: 14px; animation-delay: -0.3s; }

@keyframes wave { to { height: calc(var(--wave, 18px) * 0.45); opacity: 0.5; } }

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 31px;
  padding: 15px;
  border: 1px solid rgba(65, 215, 121, 0.23);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 69%, transparent);
  text-align: center;
}

.mini-calendar span { color: var(--text-faint); font-size: 0.48rem; font-weight: 760; }
.mini-calendar i { position: relative; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--text-soft); font-size: 0.58rem; font-style: normal; }
.mini-calendar i.today { border: 1px solid var(--green); color: var(--text); box-shadow: 0 0 12px rgba(65, 215, 121, 0.17); }
.mini-calendar i.has-dot::after { content: ""; position: absolute; bottom: 2px; width: 3px; height: 3px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 5px var(--blue); }
.mini-calendar i.has-dot.purple::after { background: var(--purple); box-shadow: 0 0 5px var(--purple); }

.habit-showcase {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.habit-showcase > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--bg) 66%, transparent);
}

.habit-showcase b { font-size: 0.7rem; }
.habit-showcase b em { color: var(--text-faint); font-size: 0.54rem; font-style: normal; }
.habit-showcase small { color: var(--text-faint); font-size: 0.53rem; }
.cell-line { --habit-color: var(--blue); grid-row: 1 / 3; grid-column: 2; display: flex; align-items: center; gap: 3px; }
.cell-line i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--habit-color) 35%, transparent); border-radius: 5px; background: color-mix(in srgb, var(--habit-color) 16%, var(--bg)); color: color-mix(in srgb, var(--habit-color) 78%, var(--text)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--habit-color) 8%, transparent); font-size: 0.46rem; font-style: normal; }
.cell-line i:not(:empty) { border-color: var(--habit-color); background: var(--habit-color); color: #10151a; box-shadow: 0 0 12px color-mix(in srgb, var(--habit-color) 38%, transparent); }
.cell-line i.partial { background: color-mix(in srgb, var(--habit-color) 56%, var(--surface-solid)); color: #f7fbff; box-shadow: 0 0 10px color-mix(in srgb, var(--habit-color) 24%, transparent); }
.cell-line i.off { border-color: color-mix(in srgb, var(--habit-color) 18%, transparent); background: color-mix(in srgb, var(--habit-color) 7%, var(--bg)); box-shadow: none; opacity: 0.58; }
.cell-line.yellow { --habit-color: var(--yellow); }
.cell-line.orange { --habit-color: var(--orange); }
.cell-line.blue { --habit-color: var(--blue); }

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.project-chips span {
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 0.62rem;
  font-weight: 720;
}

.project-chips .blue { color: var(--blue); }
.project-chips .green { color: var(--green); }
.project-chips .yellow { color: var(--yellow); }

.detail-preview {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.detail-preview i { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 5px; font-size: 0.52rem; font-style: normal; }
.detail-preview i.checked { border-color: var(--green); background: var(--green); color: #08130d; }
.detail-preview > span { color: var(--text-soft); font-size: 0.63rem; }
.detail-preview .attachment-summary { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; width: max-content; min-height: 34px; margin-top: 4px; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--red) 38%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--red) 7%, var(--surface-solid)); color: var(--text-soft); font-size: 0.61rem; font-weight: 700; }
.detail-preview .attachment-summary svg { width: 18px; height: 18px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.detail-preview .attachment-summary span { color: inherit; font-size: inherit; }

/* Workflow */

.workflow-section {
  overflow: hidden;
  background:
    linear-gradient(var(--line), var(--line)) center top / min(calc(100% - 40px), var(--shell)) 1px no-repeat,
    radial-gradient(circle at 15% 40%, rgba(46, 156, 255, 0.08), transparent 28rem);
}

.workflow-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  margin-bottom: 82px;
}

.workflow-intro h2 { margin-bottom: 0; }
.workflow-intro-copy { display: grid; align-items: center; gap: clamp(24px, 3vw, 38px); }
.workflow-intro-copy > p { max-width: 48ch; margin-bottom: 0; color: var(--text-soft); font-size: 1.02rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 120px;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  position: relative;
  padding-right: 40px;
}

.step-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 0 0 7px var(--bg), 0 0 28px rgba(72, 215, 255, 0.13);
}

.step-line {
  position: absolute;
  z-index: -1;
  top: 21px;
  left: 43px;
  width: calc(100% - 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line));
}

.steps-grid li:last-child .step-line { display: none; }
.steps-grid h3 { font-size: 1.2rem; }
.steps-grid p { max-width: 31ch; margin: 0; color: var(--text-soft); font-size: 0.88rem; }

.trust-panel {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px circle at var(--spot-x) var(--spot-y), rgba(65, 215, 121, 0.08), transparent 48%),
    linear-gradient(130deg, rgba(17, 47, 55, 0.56), var(--surface));
  box-shadow: var(--shadow-soft);
}

.trust-copy h2 { max-width: 620px; font-size: clamp(2.2rem, 3.6vw, 3.8rem); }
.trust-copy > p:not(.eyebrow) { max-width: 590px; color: var(--text-soft); }
.trust-copy ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 25px 0 0; padding: 0; color: var(--text-soft); font-size: 0.78rem; font-weight: 690; list-style: none; }
.trust-copy li { display: flex; align-items: center; gap: 5px; }
.trust-copy svg { width: 14px; height: 14px; color: var(--green); stroke-width: 2.5; }

.trust-visual { display: grid; place-items: center; min-height: 280px; }
.shield-orbit { position: relative; width: 210px; height: 210px; display: grid; place-items: center; border: 1px solid rgba(65, 215, 121, 0.16); border-radius: 50%; }
.shield-orbit::before { content: ""; position: absolute; inset: 24px; border: 1px dashed rgba(65, 215, 121, 0.22); border-radius: 50%; animation: radar-spin 18s linear infinite reverse; }
.shield-orbit::after { content: ""; position: absolute; inset: 52px; border: 1px solid rgba(65, 215, 121, 0.3); border-radius: 50%; box-shadow: 0 0 45px rgba(65, 215, 121, 0.1), inset 0 0 30px rgba(65, 215, 121, 0.07); }
.shield-orbit b { position: relative; z-index: 2; width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 20px; background: rgba(65, 215, 121, 0.1); color: var(--green); font-size: 1.5rem; box-shadow: 0 0 32px rgba(65, 215, 121, 0.15); }
.shield-orbit span { position: absolute; top: 18px; right: 34px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px var(--green); }
.shield-orbit i { position: absolute; bottom: 27px; left: 25px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 13px var(--cyan); }
.screen-blue { --screen-accent: var(--blue); }
.screen-cyan { --screen-accent: var(--cyan); }
.screen-purple { --screen-accent: var(--purple); }
.screen-green { --screen-accent: var(--green); }
.screen-yellow { --screen-accent: var(--yellow); }
.screen-red { --screen-accent: var(--red); }
.screen-pink { --screen-accent: #f218a8; }

@media (max-width: 1100px) {
}

/* FAQ */

.faq-section {
  background:
    linear-gradient(var(--line), var(--line)) center top / min(calc(100% - 40px), var(--shell)) 1px no-repeat,
    radial-gradient(circle at 88% 38%, rgba(168, 92, 255, 0.07), transparent 26rem);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 124px;
  align-self: start;
}

.faq-intro h2 { font-size: clamp(2.7rem, 4vw, 4.4rem); }
.faq-intro > p:not(.eyebrow) { max-width: 34ch; color: var(--text-soft); }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--cyan); font-size: 0.83rem; font-weight: 750; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 20px;
  padding: 15px 4px;
  font-size: 1.04rem;
  font-weight: 730;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq-list summary span::before,
.faq-list summary span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; background: var(--text-soft); transform: translate(-50%, -50%); transition: transform 180ms ease; }
.faq-list summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] summary span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details[open] summary { color: var(--cyan); }
.faq-list details p { max-width: 70ch; margin: -6px 48px 26px 4px; color: var(--text-soft); font-size: 0.91rem; }

/* Final CTA and footer */

.final-cta {
  padding-top: 70px;
}

.cta-panel {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 70px 30px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 15%, rgba(46, 156, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 80% 80%, rgba(168, 92, 255, 0.16), transparent 24rem),
    linear-gradient(145deg, rgba(10, 29, 45, 0.95), rgba(10, 12, 20, 0.96));
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-animation {
  --logo-size: 50px;
  --logo-radius: 12px;
  position: relative;
  width: var(--logo-size);
  height: var(--logo-size);
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--logo-radius);
  background: radial-gradient(circle at 53% 46%, #0b1d3b 0%, #041027 48%, #01040c 100%);
  contain: layout paint style;
}

.logo-animation-fallback,
.logo-animation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.logo-animation-fallback { opacity: 1; }
.logo-animation-canvas { opacity: 0; }
.logo-animation.is-ready .logo-animation-fallback { opacity: 0; }
.logo-animation.is-ready .logo-animation-canvas { opacity: 1; }

.logo-animation--brand {
  flex-basis: var(--logo-size);
  box-shadow: 0 0 0 1px rgba(45, 115, 207, 0.2), 0 8px 24px rgba(21, 87, 203, 0.24);
}

.logo-animation--phone {
  --logo-size: 30px;
  --logo-radius: 8px;
}

.logo-animation--cta {
  --logo-size: 124px;
  --logo-radius: 28px;
  z-index: 2;
  margin-bottom: 24px;
  box-shadow: 0 0 0 1px rgba(85, 192, 255, 0.32), 0 0 60px rgba(46, 156, 255, 0.24), 0 24px 50px rgba(0, 0, 0, 0.3);
}

.cta-panel h2 { position: relative; z-index: 2; margin-bottom: 17px; font-size: clamp(3rem, 5.5vw, 5.7rem); }
.cta-panel > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 600px; margin-bottom: 27px; color: var(--text-soft); }
.cta-panel .eyebrow { position: relative; z-index: 2; }

.cta-radar {
  position: absolute;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(72, 215, 255, 0.1);
  border-radius: 50%;
  opacity: 0.75;
}

.cta-radar::before,
.cta-radar::after,
.cta-radar i { content: ""; position: absolute; inset: 16%; border: 1px solid rgba(72, 215, 255, 0.1); border-radius: 50%; }
.cta-radar::after { inset: 33%; }
.cta-radar i:nth-child(1) { inset: 49.9% 0 auto; border: 0; border-top: 1px solid rgba(72, 215, 255, 0.1); border-radius: 0; }
.cta-radar i:nth-child(2) { inset: 0 auto 0 49.9%; border: 0; border-left: 1px solid rgba(72, 215, 255, 0.1); border-radius: 0; }
.cta-radar span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 320deg, transparent 0deg 322deg, rgba(72, 215, 255, 0.13), transparent 360deg); animation: radar-spin 13s linear infinite; }

.store-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store-badge {
  min-width: 204px;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(184, 164, 211, 0.3);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(12, 8, 22, 0.96), rgba(5, 7, 14, 0.96));
  color: var(--text);
  opacity: 0.86;
  text-align: left;
}

.store-badge > svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.store-badge > span { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge small { color: var(--text-faint); font-size: 0.61rem; font-weight: 650; }
.store-badge strong { font-size: 1.06rem; letter-spacing: -0.025em; }

/* A store badge becomes a link only once that platform is live. */
.store-badge.is-live {
  opacity: 1;
  border-color: rgba(192, 172, 221, 0.46);
  background: linear-gradient(145deg, rgba(12, 8, 22, 0.98), rgba(5, 7, 14, 0.98));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 180ms var(--ease), box-shadow 180ms ease, border-color 180ms ease;
}

.store-badge.is-live:hover {
  border-color: rgba(126, 215, 255, 0.78);
  box-shadow: 0 17px 40px rgba(56, 124, 222, 0.22), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.store-badge.is-live small { color: rgba(241, 235, 249, 0.76); }
.store-badge.is-coming-soon {
  border-color: rgba(143, 153, 168, 0.24);
  background: rgba(6, 9, 14, 0.88);
  color: rgba(220, 226, 234, 0.74);
  box-shadow: none;
  opacity: 0.5;
  filter: grayscale(1) saturate(0);
}
.store-badge.is-coming-soon small { color: rgba(166, 177, 190, 0.72); }
.store-icon-google-play { overflow: visible; }
.store-badge-web > svg { fill: none; stroke: currentColor; stroke-width: 1.7; }

.site-footer {
  padding: 30px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-main {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.footer-main > p { margin: 0; color: var(--text-faint); font-size: 0.78rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-main nav a { color: var(--text-soft); font-size: 0.78rem; font-weight: 690; }
.footer-main nav a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 0.68rem; }

/* Legal pages */

.primary-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-block: 176px 100px;
  border-bottom: 1px solid var(--line);
}

.legal-hero::before,
.legal-hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border-radius: 50%;
}

.legal-hero::before {
  width: 620px;
  height: 620px;
  top: -290px;
  right: -100px;
  border: 1px solid rgba(46, 156, 255, 0.14);
  box-shadow:
    0 0 0 90px rgba(46, 156, 255, 0.025),
    0 0 0 180px rgba(168, 92, 255, 0.018);
}

.legal-hero::after {
  width: 320px;
  height: 320px;
  bottom: -245px;
  left: 8%;
  background: rgba(46, 156, 255, 0.14);
  filter: blur(90px);
}

.legal-hero-terms::before {
  border-color: rgba(168, 92, 255, 0.16);
  box-shadow:
    0 0 0 90px rgba(168, 92, 255, 0.025),
    0 0 0 180px rgba(46, 156, 255, 0.018);
}

.legal-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.legal-hero-copy h1 {
  max-width: 760px;
  margin: 22px 0 30px;
  font-size: clamp(4.2rem, 8.7vw, 7.7rem);
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.legal-lead {
  max-width: 690px;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  color: var(--text-faint);
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.legal-meta span::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px color-mix(in srgb, var(--blue) 70%, transparent);
}

.legal-summary {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(46, 156, 255, 0.08), transparent 46%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.legal-summary::after {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -105px;
  bottom: -112px;
  content: "";
  border: 1px solid rgba(72, 215, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(46, 156, 255, 0.025), 0 0 50px rgba(46, 156, 255, 0.1);
}

.legal-summary .card-kicker {
  margin: 0 0 22px;
  color: var(--text-faint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-summary ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-summary li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-solid) 68%, transparent);
}

.legal-summary strong,
.legal-summary small { display: block; }
.legal-summary strong { font-size: 0.87rem; line-height: 1.35; }
.legal-summary small { margin-top: 3px; color: var(--text-soft); font-size: 0.72rem; line-height: 1.5; }

.legal-check {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--blue) 42%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 0 18px color-mix(in srgb, var(--blue) 12%, transparent);
}

.legal-content-section { padding-block: 112px 130px; }

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: clamp(56px, 8vw, 118px);
}

.legal-toc {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-toc > p {
  margin: 0 0 13px;
  color: var(--text-faint);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc nav { display: grid; gap: 2px; }

.legal-toc nav a {
  position: relative;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.legal-toc nav a:hover {
  color: var(--text);
  background: var(--surface-hover);
  transform: translateX(3px);
}

.legal-related {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue) 7%, var(--surface-solid));
  transition: border-color 180ms ease, transform 180ms ease;
}

.legal-related:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.legal-related span { color: var(--text-faint); font-size: 0.63rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.legal-related strong { color: var(--blue); font-size: 0.78rem; }

.legal-document { min-width: 0; }

.legal-callout {
  margin-bottom: 12px;
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--blue);
  border-radius: 4px var(--radius) var(--radius) 4px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--blue) 9%, var(--surface)), var(--surface));
}

.legal-callout strong { font-size: 0.9rem; }
.legal-callout p { margin: 7px 0 0; color: var(--text-soft); font-size: 0.87rem; }

.legal-document > section {
  position: relative;
  padding-block: 60px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 108px;
}

.legal-document > section:last-child { border-bottom: 0; }

.legal-section-number {
  margin: 0 0 13px !important;
  color: var(--blue) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem !important;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-document h2 {
  max-width: 690px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.legal-document h3 {
  margin: 34px 0 10px;
  font-size: 1rem;
  line-height: 1.4;
}

.legal-document p,
.legal-document li {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.78;
}

.legal-document p { margin: 0 0 17px; }
.legal-document ul,
.legal-document ol { margin: 19px 0 20px; padding-left: 1.25rem; }
.legal-document li { padding-left: 7px; margin-bottom: 10px; }
.legal-document li::marker { color: var(--blue); }
.legal-document strong { color: var(--text); }

.legal-document a:not(.text-link) {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--blue) 36%, transparent);
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.legal-document a:not(.text-link):hover {
  color: var(--cyan);
  text-decoration-color: currentColor;
}

.legal-contact-card {
  margin-top: 60px;
  padding: 36px !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(46, 156, 255, 0.12), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.legal-contact-card h2 { margin-bottom: 15px; }
.legal-contact-card .text-link { margin-top: 4px; }
.legal-contact-note { margin: 18px 0 0 !important; color: var(--text-faint) !important; font-size: 0.76rem !important; }

.site-footer a[aria-current="page"] { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* Standalone 404 page */

.not-found { min-height: 100svh; display: grid; place-items: center; padding: 32px; text-align: center; }
.logo-animation--not-found { --logo-size: 112px; --logo-radius: 24px; margin: 0 auto 28px; box-shadow: 0 0 48px rgba(46, 156, 255, 0.26); }
.not-found h1 { margin-bottom: 18px; font-size: clamp(3rem, 10vw, 6rem); }
.not-found p { max-width: 40rem; margin: 0 auto 28px; color: var(--text-soft); }

/* Progressive reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 740ms var(--ease), transform 740ms var(--ease);
}

.js [data-reveal][data-reveal-delay="1"] { transition-delay: 110ms; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 220ms; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Keep above-the-fold content immediately paintable for a fast LCP. */
.js .hero [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Responsive */

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: 1fr auto auto; }
  .nav-shell-secondary { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; width: 100%; display: flex; justify-content: center; overflow-x: auto; }
  .js .primary-nav { position: fixed; top: 74px; right: 20px; width: min(300px, calc(100vw - 40px)); display: none; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--surface-solid) 94%, transparent); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .js .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 14px; border-radius: 10px; }
  .js .menu-toggle { display: inline-grid; justify-self: end; }
  .nav-actions { justify-self: auto; }
  .nav-shell-secondary .nav-actions { justify-self: end; }
  .hero-layout, .hero-story-row { grid-template-columns: minmax(0, 1fr) minmax(390px, 0.94fr); gap: 24px; }
  .shelf-stage { width: min(100%, 430px); }
  .signal-track { justify-content: flex-start; overflow: hidden; }
  .signal-track span:nth-child(5), .signal-track span:nth-child(6) { display: none; }
  .bento-card { grid-column: span 6; }
  .bento-wide { grid-column: 1 / -1; }
  .bento-tall { grid-column: span 6; }
  .bento-tall + .bento-card, .bento-tall + .bento-card + .bento-card { grid-column: span 6; }
}

@media (max-width: 980px) and (min-width: 881px) {
  .platform-block .platform-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-block .store-badge-web { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .section { padding-block: 96px; }
  .hero { padding-top: 142px; padding-bottom: 72px; }
  .hero-layout, .hero-story-row { grid-template-columns: 1fr; }
  .hero-copy { order: 1; max-width: 720px; margin-inline: auto; padding-top: 0; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-proof, .platform-row, .hero-account-links { justify-content: center; }
  .platform-block .platform-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platform-block .store-badge-web { grid-column: auto; }
  .hero-product { order: 2; min-height: 0; margin-top: 34px; }
  .hero-story-row { gap: 36px; margin-top: 56px; }
  .hero-story-row + .hero-story-row { margin-top: 76px; }
  .hero-story-habits .hero-story-message { order: 1; }
  .hero-story-habits .hero-video-featured { order: 2; }
  .hero-video-featured { width: min(62vw, 340px); }
  .hero-story-message { padding: 34px 24px 10px; }
  .hero-story-message::before { inset: 0 5% auto; }
  .shelf-stage { width: min(100%, 440px); }
  .hero-screens { margin-top: 52px; }
  .hero-shots {
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding: 4px 20px 14px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .hero-shot { flex: 0 0 min(38vw, 220px); scroll-snap-align: center; }
  .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 52px; }
  .workflow-intro { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid { margin-bottom: 90px; }
  .trust-panel { grid-template-columns: 1fr; gap: 12px; padding: 44px; text-align: center; }
  .trust-visual { min-height: 230px; }
  .trust-copy > p, .trust-copy h2 { margin-inline: auto; }
  .trust-copy ul { justify-content: center; }
  .faq-layout { grid-template-columns: 1fr; gap: 52px; }
  .faq-intro { position: static; }
  .faq-intro > p:not(.eyebrow) { max-width: 50ch; }
  .footer-main { grid-template-columns: 1fr auto; }
  .footer-main > p { display: none; }
  .legal-hero { padding-block: 146px 82px; }
  .legal-hero-layout { grid-template-columns: 1fr; gap: 52px; }
  .legal-hero-copy { max-width: 760px; }
  .legal-summary { max-width: 650px; }
  .legal-content-section { padding-block: 80px 100px; }
  .legal-layout { grid-template-columns: 1fr; gap: 48px; }
  .legal-toc { position: static; }
  .legal-toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .hero-shots { width: calc(100% + 28px); margin-inline: -14px; padding-inline: 14px; }
  .section { padding-block: 80px; }
  .nav-shell { min-height: 68px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .nav-shell-secondary { grid-template-columns: 1fr auto; }
  .brand { gap: 8px; }
  .logo-animation--brand { --logo-size: 42px; --logo-radius: 10px; }
  .brand-title { font-size: 0.82rem; }
  .brand-radar-word { margin-right: 0.14em; }
  .menu-toggle { width: 39px; height: 39px; }
  .nav-cta { display: none; }
  .js .primary-nav { top: 66px; right: 14px; width: calc(100vw - 28px); }
  h1 { font-size: clamp(3.2rem, 15vw, 4.9rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.7rem); }
  .hero { padding-top: 118px; padding-bottom: 56px; }
  .hero-copy .eyebrow { font-size: 0.65rem; }
  .hero-headline { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero-story-row { gap: 28px; margin-top: 44px; }
  .hero-story-row + .hero-story-row { margin-top: 64px; }
  .hero-video-featured { width: min(74vw, 320px); }
  .hero-story-message { padding: 30px 10px 2px; }
  .hero-story-title { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .hero-story-support { font-size: 0.92rem; }
  .hero-proof { gap: 7px 13px; font-size: 0.7rem; }
  .hero-product { min-height: 0; margin-top: 26px; }
  .shelf-stage { padding: 56px 4px 26px; perspective: 900px; }
  .shelf-list { transform: rotateX(7deg) rotateY(-9deg) rotate(-0.6deg); }
  .shelf-slot-one, .shelf-slot-three { --shift: -4px; }
  .shelf-slot-two, .shelf-slot-four { --shift: 4px; }
  .shelf-slot-one { --tilt: -1.2deg; --depth: 0px; }
  .shelf-slot-two { --depth: 16px; }
  .shelf-slot-three { --depth: 32px; }
  .shelf-slot-four { --tilt: 1.3deg; --depth: 48px; }
  .shelf-card { gap: 11px; padding: 14px 12px 14px 14px; border-radius: 19px; }
  .shelf-icon svg { width: 26px; height: 26px; }
  .shelf-count { min-width: 36px; padding: 6px 0; font-size: 0.94rem; }
  .shelf-chevron svg { width: 20px; height: 20px; }
  .platform-block { margin-inline: 0; }
  .platform-block .platform-row { grid-template-columns: minmax(0, 1fr); }
  .platform-block .store-badge { width: 100%; }
  .hero-account-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  .screenshot-lightbox { padding: 12px; }
  .screenshot-lightbox-panel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) 58px;
    gap: 8px;
  }
  .screenshot-lightbox-figure { grid-column: 1 / -1; grid-row: 1; }
  .screenshot-lightbox-media > img { max-height: calc(100svh - 146px); border-radius: 18px; }
  .screenshot-lightbox-prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .screenshot-lightbox-next { grid-column: 2; grid-row: 2; justify-self: start; }
  .screenshot-lightbox-nav { width: 50px; height: 50px; }
  .screenshot-lightbox-close { top: 12px; right: 12px; width: 48px; height: 48px; }
  .screenshot-lightbox-figure figcaption { gap: 8px; font-size: 0.78rem; }
  .screenshot-lightbox-help { margin-top: 5px; }
  .hero-points { gap: 11px; margin-top: 44px; }
  .hero-points article { padding: 18px 17px 20px; }
  .hero-points .feature-icon { margin-bottom: 13px; }
  .signal-track { min-height: 58px; gap: 28px; animation: marquee 18s linear infinite; }
  .signal-track span:nth-child(5), .signal-track span:nth-child(6) { display: flex; }
  @keyframes marquee { to { transform: translateX(-73%); } }
  .section-heading { margin-bottom: 38px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-wide, .bento-tall, .bento-tall + .bento-card, .bento-tall + .bento-card + .bento-card { min-height: 330px; grid-column: 1; }
  .bento-wide { display: block; }
  .bento-wide .feature-icon, .feature-icon { margin-bottom: 38px; }
  .priority-stack { margin-top: 28px; }
  .habit-showcase { margin-inline: -12px; }
  .cell-line i { width: 19px; height: 19px; }
  .workflow-intro { margin-bottom: 52px; }
  .workflow-intro-copy { justify-items: center; gap: 24px; }
  .workflow-intro-copy > p { max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr; gap: 42px; }
  .steps-grid li { padding-left: 62px; padding-right: 0; }
  .step-number { position: absolute; top: 0; left: 0; margin: 0; }
  .step-line { top: 43px; left: 21px; width: 1px; height: calc(100% + 42px); background: linear-gradient(var(--line-strong), var(--line)); }
  .steps-grid li:last-child .step-line { display: none; }
  .trust-panel { padding: 30px 20px 36px; border-radius: 22px; }
  .trust-visual { min-height: 200px; }
  .shield-orbit { width: 180px; height: 180px; }
  .trust-copy ul { display: grid; justify-content: start; text-align: left; }
  .faq-list summary { min-height: 74px; font-size: 0.94rem; }
  .faq-list details p { margin-right: 12px; }
  .cta-panel { min-height: 570px; padding: 55px 18px; border-radius: 24px; }
  .logo-animation--cta { --logo-size: 104px; --logo-radius: 24px; }
  .cta-radar { width: 540px; height: 540px; }
  .store-row { width: 100%; }
  .store-row .store-badge { width: min(100%, 280px); }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-main nav { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
  .legal-hero { padding-block: 120px 62px; }
  .legal-hero::before { width: 430px; height: 430px; top: -205px; right: -220px; }
  .legal-hero-copy h1 { margin-block: 19px 23px; font-size: clamp(3.45rem, 17vw, 5rem); }
  .legal-lead { font-size: 0.97rem; line-height: 1.65; }
  .legal-meta { display: grid; margin-top: 24px; font-size: 0.65rem; }
  .legal-summary { padding: 19px; border-radius: 22px; }
  .legal-summary li { padding: 13px; }
  .legal-content-section { padding-block: 54px 82px; }
  .legal-layout { gap: 30px; }
  .legal-toc { padding: 17px; }
  .legal-toc nav { grid-template-columns: 1fr; }
  .legal-related { margin-top: 14px; }
  .legal-callout { padding: 21px; }
  .legal-document > section { padding-block: 46px; }
  .legal-document h2 { font-size: clamp(1.9rem, 10vw, 2.65rem); }
  .legal-document p, .legal-document li { font-size: 0.9rem; line-height: 1.75; }
  .legal-contact-card { margin-top: 46px; padding: 25px !important; border-radius: 22px; }
}

@media (max-width: 560px) {
  /* Keep every real screen readable and reachable by touch on narrow phones. */
  .hero-shot { flex: 0 0 min(72vw, 270px); scroll-snap-align: center; }
  .hero-points { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 390px) {
  .habit-showcase > div { grid-template-columns: 1fr; }
  .cell-line { grid-row: auto; grid-column: 1; margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .cursor-light { display: none; }
  .signal-track { transform: none !important; }
  .logo-animation-fallback, .logo-animation-canvas { transition: none !important; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-light { display: none; }
  [data-tilt] { transform: none !important; }
  .bento-card:hover { transform: none; }
}

@media print {
  .site-header, .site-ambient, .scroll-progress, .legal-toc { display: none !important; }
  body { background: white; color: black; }
  .section { padding-block: 40px; }
  .hero { padding-top: 30px; }
  .hero-layout, .workflow-intro, .faq-layout, .trust-panel { grid-template-columns: 1fr; }
  .bento-card, .trust-panel, .cta-panel { break-inside: avoid; box-shadow: none; }
  .logo-animation-fallback { opacity: 1 !important; }
  .logo-animation-canvas { display: none !important; }
  .legal-hero { padding-block: 30px; }
  .legal-hero-layout, .legal-layout { display: block; }
  .legal-summary { display: none; }
  .legal-document > section { padding-block: 28px; }
}
