/* ==========================================================================
   T2Do marketing site — styles
   Brand: dark navy canvas + thin red "now" horizon (from the app icon),
   project colours from TwoDoColor.
   ========================================================================== */

:root {
  --bg: #070a14;
  --bg-2: #0b1020;
  --bg-3: #10172b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --text-2: #a7afc4;
  --text-3: #6d7690;

  --needle: #f2404a;          /* TwoDoColor.timelineNeedle */
  --overdue: #ed5951;         /* TwoDoColor.overdue */
  --accent: #3380f5;          /* TwoDoColor.accentBlue */
  --blue: #599ef2;
  --orange: #f58c38;
  --yellow: #f2c740;
  --purple: #9e7ae6;
  --green: #73b859;
  --coral: #f26b61;

  --radius: 20px;
  --radius-s: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }

/* ---------- typography ---------- */
h1, h2 { letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--needle); margin-bottom: 18px;
}
.split-copy > p, .center-copy > p { color: var(--text-2); font-size: clamp(17px, 1.4vw, 20px); margin-top: 22px; max-width: 56ch; }
.center-copy { text-align: center; max-width: 780px; margin-inline: auto; }
.center-copy > p { margin-inline: auto; }
em { font-style: normal; color: var(--text); }

/* ---------- cursor glow + progress ---------- */
.cursor-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(51, 128, 245, .10), transparent 60%);
  transition: background .2s;
}
.progress-line {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 100;
  background: linear-gradient(90deg, var(--needle), #ff8a6b);
  transform-origin: left; transform: scaleX(var(--progress, 0));
  box-shadow: 0 0 12px rgba(242, 64, 74, .8);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 90;
  width: min(1180px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 10px 14px 10px 14px; border-radius: 999px;
  background: rgba(7, 10, 20, .55); border: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: border-color .4s, background .4s, box-shadow .4s, transform .5s var(--ease);
  animation: nav-in 1s var(--ease) both;
}
.nav.scrolled { border-color: var(--border); background: rgba(7, 10, 20, .75); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.nav.hidden { transform: translateY(-120%); }
@keyframes nav-in { from { transform: translateY(-30px); opacity: 0; } }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.brand-icon {
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--border), 0 4px 12px rgba(0, 0, 0, .4), 0 0 14px rgba(51, 128, 245, 0.2);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease);
}
.brand:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 6px 18px rgba(0, 0, 0, .5), 0 0 20px rgba(51, 128, 245, 0.45);
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); position: relative;
  transition: color .3s, background .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .35s, background .3s, border-color .3s;
  will-change: transform;
}
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-large { padding: 16px 26px; font-size: 16px; }
.btn-primary {
  background: linear-gradient(180deg, #fff, #dfe6f5); color: #0a0f1f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 30px -8px rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -8px rgba(255, 255, 255, .45); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn .arrow { display: inline-block; transition: transform .3s var(--spring); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 140px 0 80px; overflow: hidden; isolation: isolate;
}
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(80px) saturate(140%); opacity: .75; }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.blob-a { width: 55vw; height: 55vw; left: -10%; top: 0; background: radial-gradient(circle, #1d3a8a, transparent 65%); animation: drift-a 26s ease-in-out infinite alternate; }
.blob-b { width: 45vw; height: 45vw; right: -5%; top: 10%; background: radial-gradient(circle, #3b1d5e, transparent 65%); animation: drift-b 32s ease-in-out infinite alternate; }
.blob-c { width: 35vw; height: 35vw; left: 35%; bottom: -10%; background: radial-gradient(circle, #6b1f2a, transparent 65%); animation: drift-c 22s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-14vw, 20vh) scale(.9); } }
@keyframes drift-c { to { transform: translate(-10vw, -18vh) scale(1.2); } }

.grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}

/* the red horizon line, straight from the app icon */
.horizon {
  position: absolute; left: 0; right: 0; top: 58%; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--needle) 15%, var(--needle) 85%, transparent);
  transform-origin: left; animation: horizon-in 1.6s var(--ease) .3s both;
  box-shadow: 0 0 16px rgba(242, 64, 74, .6);
}
.horizon-dot {
  position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--needle);
  box-shadow: 0 0 0 4px rgba(242, 64, 74, .2), 0 0 20px var(--needle);
  animation: horizon-dot 14s linear 1.9s infinite;
}
@keyframes horizon-in { from { transform: scaleX(0); opacity: 0; } }
@keyframes horizon-dot { from { left: 8%; } to { left: 92%; } }

.hero-inner {
  width: min(1180px, 100% - 48px); display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: clamp(32px, 5vw, 80px); position: relative;
}
.hero-copy, .hero-device { min-width: 0; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; } .hero-copy { display: flex; flex-direction: column; align-items: center; } .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px 28px; } .hero-actions { justify-content: center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  color: var(--text-2); padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(115,184,89,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(115,184,89,0); } 100% { box-shadow: 0 0 0 0 rgba(115,184,89,0); } }

.headline { font-size: clamp(44px, 6.4vw, 88px); max-width: 12ch; }
@media (max-width: 960px) { .headline { max-width: none; } }
.headline .word {
  display: inline-block; margin-right: .22em; opacity: 0; transform: translateY(40px) rotate(3deg);
  animation: word-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 200ms);
  transform-origin: left bottom;
}
.headline .word.accent { background: linear-gradient(90deg, #fff 0%, #ffb3a7 40%, var(--needle) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes word-in { to { opacity: 1; transform: none; } }

.lede { color: var(--text-2); font-size: clamp(17px, 1.5vw, 21px); margin-top: 26px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-actions.center { justify-content: center; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 26px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--text-3); }

/* reveal system */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-scale { opacity: 0; transform: translateY(40px) scale(.94); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.in-view.reveal, .in-view.reveal-scale, .hero .reveal.in-view { opacity: 1; transform: none; }

/* ---------- phone ---------- */
.hero-device { position: relative; display: grid; place-items: center; perspective: 1600px; animation: device-in 1.4s var(--ease) .5s both; }
@keyframes device-in { from { opacity: 0; transform: translateY(80px) scale(.9); } }
.phone {
  width: clamp(280px, 26vw, 340px); aspect-ratio: 9 / 19.2; border-radius: 52px; position: relative;
  background: #0d1220; padding: 10px;
  box-shadow:
    0 0 0 2px #2a3146, 0 0 0 5px #0a0d18, 0 0 0 6px #3a4157,
    0 60px 120px -30px rgba(0, 0, 0, .8), 0 30px 60px -20px rgba(51, 128, 245, .25);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
  transition: transform .6s var(--ease); transform-style: preserve-3d; will-change: transform;
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float { 50% { translate: 0 -14px; } }
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 32%; height: 26px; background: #05070d; border-radius: 20px; z-index: 3; }
.phone-screen {
  position: absolute; inset: 10px; border-radius: 44px; overflow: hidden;
  background: #fff; color: #111; padding: 62px 16px 0; font-size: 12.5px; display: flex; flex-direction: column;
}
.phone-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.35), transparent 40%); mix-blend-mode: overlay; }
.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-title { display: flex; align-items: baseline; gap: 6px; }
.cal-icon { font-size: 9px; font-weight: 700; border: 1.5px solid #2f6fe0; color: #2f6fe0; border-radius: 4px; padding: 0 3px; line-height: 12px; align-self: center; }
.app-title-text { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.app-title-date { color: #8a8f9c; font-size: 14px; font-weight: 500; }
.app-sun { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #f2b400; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #f2b40055; }

.strip { margin-bottom: 14px; }
.strip-label { font-size: 10.5px; font-weight: 600; color: #333; display: flex; align-items: center; gap: 5px; justify-content: flex-end; margin-bottom: 5px; }
.strip-label em { color: #8a8f9c; font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.blue { background: var(--accent); }
.strip-track { position: relative; height: 24px; border-radius: 6px; background: #f0f1f4; overflow: visible;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 24 - 1px), rgba(0,0,0,.08) calc(100% / 24 - 1px) calc(100% / 24)); }
.strip-block { position: absolute; top: 4px; bottom: 4px; left: var(--l); width: var(--w); border-radius: 3px; opacity: .85; transform-origin: left; animation: block-grow .8s var(--spring) both; animation-delay: calc(1.2s + var(--l) * .01); }
@keyframes block-grow { from { transform: scaleX(0); } }
.strip-needle { position: absolute; top: -4px; bottom: -2px; left: 41%; width: 1.5px; background: var(--needle); }
.strip-needle::before { content: ""; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--needle); }

.section-head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #333; margin: 6px 0 4px; }
.section-head.overdue-head { color: #b3261e; }
.section-head .count { font-weight: 700; }
.section-head .count.muted { color: #999; }
.section-head.big { font-size: 13px; margin: 0 0 10px; }

.tasks { display: flex; flex-direction: column; }
.task {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #eceef2; position: relative; overflow: hidden;
  transition: opacity .5s var(--ease), transform .5s var(--ease), max-height .5s var(--ease), padding .5s;
  max-height: 60px;
}
.task.overdue .task-title { color: #b3261e; }
.task-title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; position: relative; }
.task-title::after { content: ""; position: absolute; left: 0; top: 55%; height: 1.5px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.task.done .task-title { color: #8a8f9c !important; }
.task.done .task-title::after { transform: scaleX(1); }
.task.done .meta { opacity: .35; }
.task.gone { opacity: 0; transform: translateX(40px); max-height: 0; padding: 0; border-color: transparent; }
.check { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #b9bec9; position: relative; transition: background .25s, border-color .25s; }
.check.repeat { border-style: dashed; }
.task.done .check { background: var(--accent); border-color: var(--accent); }
.task.done .check::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(45deg); }
.meta { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: #7b5bd6; font-weight: 500; white-space: nowrap; }
.meta b { font-weight: 500; color: #b3261e; }
.blue-meta b { color: #2f6fe0; }
.tasks.big .task { grid-template-columns: 24px 1fr auto; padding: 14px 0; font-size: 16px; cursor: pointer; max-height: 80px; }
.tasks.big .check { width: 22px; height: 22px; }
.tasks.big .check::after { left: 7px; top: 3px; width: 5px; height: 10px; }
.tasks.big .meta { font-size: 13px; }
.tasks.big .task:hover .check { border-color: var(--accent); }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 22px; border-top: 1px solid #eceef2; font-size: 9px; color: #999; font-weight: 600; background: #fafafc; margin-inline: -16px; }
.tab.active { color: #2f6fe0; }

/* icons */
.ico { display: inline-block; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; }
.ico.clock::after { content: ""; position: absolute; left: 4px; top: 2px; width: 2px; height: 3px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.ico.pin { border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.ico.tel { border-radius: 3px; width: 8px; }
.ico.people { border-radius: 4px; width: 14px; }
.ico.cloud { width: 14px; height: 9px; border-radius: 6px; }

/* floating chips */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 13px; font-weight: 600; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); color: var(--text);
  animation: chip-in 1s var(--spring) both;
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chip-free { right: -8%; top: 22%; animation-delay: 1.2s; }
.chip-notify { left: -26%; top: 58%; padding: 10px 14px 10px 10px; animation-delay: 1.5s; }
.chip-notify img { border-radius: 5px; }
.chip-notify div { display: flex; flex-direction: column; line-height: 1.2; }
.chip-notify span { font-weight: 400; color: var(--text-2); font-size: 12px; }
.chip-sync { right: -4%; bottom: 14%; animation-delay: 1.8s; color: var(--blue); }
@keyframes chip-in { from { opacity: 0; transform: scale(.6) translateY(20px); } }
.float-a { animation: chip-in 1s var(--spring) 1.2s both, float 6s ease-in-out 2.2s infinite; }
.float-b { animation: chip-in 1s var(--spring) 1.5s both, float 7s ease-in-out 2.5s infinite reverse; }
.float-c { animation: chip-in 1s var(--spring) 1.8s both, float 5.5s ease-in-out 2.8s infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
@media (max-width: 960px) { .chip-notify { left: -4%; top: 62%; } .chip-free { right: 0; } .chip-sync { right: 0; } }
@media (max-width: 520px) { .chip-notify, .chip-sync { display: none; } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--text-3); border-radius: 14px; opacity: .7; animation: fade-in 1s 2.5s both; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--needle); translate: -50% 0; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 60% { transform: translateY(16px); opacity: 0; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 20px 0; background: var(--bg-2); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--needle); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse .split-visual { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-visual { order: 0; } }
.split-visual { position: relative; }
.checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 16px; }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px; background: linear-gradient(135deg, var(--accent), var(--purple)); box-shadow: 0 0 0 4px rgba(51,128,245,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' stroke='%23fff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(135deg, var(--accent), var(--purple)); background-size: 100% 100%; }

/* ---------- cards ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
}
.overdue-card { padding: 28px; color: var(--text); position: relative; z-index: 1; }
.overdue-card .section-head.overdue-head { color: var(--overdue); }
.overdue-card .task { border-color: var(--border); }
.overdue-card .task.overdue .task-title { color: #ff8d86; }
.overdue-card .meta { color: var(--purple); }
.overdue-card .meta b { color: var(--overdue); }
.overdue-card .check { border-color: rgba(255,255,255,.35); }
.overdue-card .task.done .task-title { color: var(--text-3) !important; }
.overdue-card .empty {
  text-align: center; padding: 34px 0 10px; color: var(--text-2); font-size: 16px;
  animation: pop .7s var(--spring) both;
}
.overdue-card .empty strong { display: block; font-size: 40px; margin-bottom: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
.replay { margin-top: 18px; font-size: 13px; color: var(--text-3); width: 100%; justify-content: center; }
.glow-ring { position: absolute; inset: -20%; z-index: 0; background: radial-gradient(circle at 50% 50%, rgba(237,89,81,.28), transparent 60%); filter: blur(40px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.count.bump { animation: bump .4s var(--spring); }
@keyframes bump { 50% { transform: scale(1.5); } }

/* ---------- timeline / schedule ---------- */
.timeline-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 100%, rgba(51,128,245,.16), transparent 60%); }
.schedule { margin-top: 56px; padding: 24px; color: var(--text); }
.schedule-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.free-pill { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); transition: transform .3s var(--spring); }
.free-pill.bump { transform: scale(1.08); }
.scrub { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); }
.scrub input { width: min(320px, 50vw); accent-color: var(--needle); }
.schedule-grid { display: grid; grid-template-columns: 56px 1fr; --hour: 62px; --hours: 9; }
.hours { display: flex; flex-direction: column; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.hours span { height: var(--hour); translate: 0 -7px; }
.lanes {
  position: relative; height: calc(var(--hour) * var(--hours));
  background-image: linear-gradient(var(--border) 1px, transparent 1px); background-size: 100% var(--hour);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 10px; padding-right: 8px;
}
.block {
  position: absolute; left: calc((var(--col) - 1) * 50% + (var(--col) - 1) * 5px); width: calc(var(--span) * 50% - (2 - var(--span)) * 5px - 8px);
  top: calc(var(--start) * var(--hour)); height: calc(var(--len) * var(--hour) - 4px);
  border-radius: 10px; padding: 6px 10px 6px 12px; overflow: hidden;
  background: color-mix(in srgb, var(--c, var(--blue)) 26%, transparent);
  border-left: 3px solid var(--c, var(--blue)); font-size: 13px; line-height: 1.25;
  transform-origin: top; animation: block-drop .9s var(--spring) both; animation-delay: calc(var(--start) * .09s + .2s);
  transition: background .4s, opacity .4s, box-shadow .4s;
}
.block strong { display: block; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.block span { color: var(--text-2); font-size: 11.5px; }
.block.cal { --c: var(--blue); background: color-mix(in srgb, var(--blue) 22%, transparent); }
.block .ico { position: absolute; right: 10px; top: 8px; color: var(--text-2); }
.block.past { opacity: .45; }
.block.now { box-shadow: 0 0 0 1px var(--c), 0 10px 30px -10px var(--c); background: color-mix(in srgb, var(--c, var(--blue)) 40%, transparent); }
@keyframes block-drop { from { opacity: 0; transform: translateY(-16px) scaleY(.6); } }
.needle { position: absolute; left: -8px; right: 0; top: calc(1 * var(--hour)); height: 2px; background: var(--needle); z-index: 3; box-shadow: 0 0 14px rgba(242,64,74,.7); transition: top .15s linear; }
.needle::before { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--needle); }
.needle-time { position: absolute; right: 0; top: -24px; font-size: 11px; font-weight: 700; color: #fff; background: var(--needle); padding: 2px 8px; border-radius: 6px; font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(242,64,74,.45); }
.schedule-note { margin-top: 16px; font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
@media (max-width: 640px) { .schedule-grid { --hour: 54px; } .block span { display: none; } }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { padding: 28px; position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.08), transparent 45%); opacity: 0; transition: opacity .4s; }
.feature:hover { border-color: rgba(255,255,255,.18); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(51,128,245,.15); }
.feature:hover::before { opacity: 1; }
.feature p { color: var(--text-2); margin-top: 10px; font-size: 15px; }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(51,128,245,.25), rgba(158,122,230,.15)); border: 1px solid var(--border); }
.feature-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon svg path, .feature-icon svg circle, .feature-icon svg rect { stroke-dasharray: 200; stroke-dashoffset: 200; }
.in-view .feature-icon svg path, .in-view .feature-icon svg circle, .in-view .feature-icon svg rect { animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--d, 0s) + .3s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.feature-icon .fill { fill: var(--accent); stroke: var(--accent); }
.feature-icon .fill-red { stroke: var(--needle); stroke-width: 3; }
.feature-icon .fill-orange { fill: var(--orange); stroke: none; }
.feature-icon .fill-blue { fill: var(--blue); stroke: none; }
.feature-icon .fill-purple { fill: var(--purple); stroke: none; }

/* ---------- screens compare ---------- */
.screens::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(158,122,230,.12), transparent 60%); }
.screen-compare {
  position: relative; margin: 56px auto 0; max-width: 900px; aspect-ratio: 1380 / 1530; border-radius: 24px; overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px var(--border); user-select: none; cursor: ew-resize; touch-action: none;
  --split: 50%;
}
.screen-compare .screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen-compare .screen.dark { clip-path: inset(0 0 0 var(--split)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; background: var(--needle); translate: -50% 0; box-shadow: 0 0 20px rgba(242,64,74,.8); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%;
  background: var(--needle); box-shadow: 0 8px 24px rgba(0,0,0,.4); display: grid; place-items: center;
}
.compare-handle span::before { content: "⟷"; color: #fff; font-size: 18px; font-weight: 700; }
.hint { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 16px; }

/* ---------- sync orbit ---------- */
.orbit { position: relative; width: min(440px, 90vw); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.orbit-core { width: 110px; height: 110px; border-radius: 28px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--border); box-shadow: 0 0 0 12px rgba(51,128,245,.08), 0 0 80px rgba(51,128,245,.4), 0 0 40px rgba(242,64,74,.25); z-index: 2; }
.orbit-core img { border-radius: 18px; box-shadow: 0 4px 18px rgba(0, 0, 0, .6); }
.orbit-ring { position: absolute; inset: var(--inset); border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin var(--dur) linear infinite; }
.orbit-ring.r1 { --inset: 22%; --dur: 18s; animation-delay: -4s; }
.orbit-ring.r2 { --inset: 9%; --dur: 28s; animation-direction: reverse; animation-delay: -12s; }
.orbit-ring.r3 { --inset: -4%; --dur: 40s; animation-delay: -27s; }
@keyframes spin { to { transform: rotate(360deg); } }
.sat { animation-delay: inherit; position: absolute; top: 50%; left: 0; translate: -50% -50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: spin var(--dur) linear infinite reverse; }
.orbit-ring.r2 .sat { animation-direction: normal; }
.sat.iphone { width: 26px; height: 48px; border-radius: 7px; }
.sat.iphone::after { content: ""; width: 60%; height: 3px; border-radius: 2px; background: var(--text-3); position: absolute; bottom: 4px; }
.sat.ipad { width: 54px; height: 40px; border-radius: 8px; }
.sat.cloud { width: 48px; height: 48px; border-radius: 50%; color: var(--blue); }
.packet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); left: 50%; top: 50%; offset-path: circle(30% at 50% 50%); animation: packet 4s linear infinite; }
.packet.p2 { animation-delay: 1.3s; background: var(--needle); box-shadow: 0 0 12px var(--needle); offset-path: circle(41% at 50% 50%); }
.packet.p3 { animation-delay: 2.6s; background: var(--green); box-shadow: 0 0 12px var(--green); offset-path: circle(54% at 50% 50%); animation-direction: reverse; }
@keyframes packet { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------- steps ---------- */
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; position: relative; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }
.step-list::before { content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--needle), transparent); opacity: .5; }
@media (max-width: 760px) { .step-list::before { display: none; } }
.step { text-align: center; padding: 20px; }
.step .num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 22px; background: var(--bg); border: 1px solid var(--needle); color: var(--needle); font-weight: 700; font-size: 18px; box-shadow: 0 0 30px rgba(242,64,74,.35); position: relative; }
.step p { color: var(--text-2); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta { overflow: hidden; text-align: center; padding-bottom: 140px; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% 120%, rgba(242,64,74,.25), transparent 55%),
  radial-gradient(ellipse at 50% 0%, rgba(51,128,245,.18), transparent 60%); }
.cta-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--needle), transparent); box-shadow: 0 0 20px var(--needle); }
.cta-icon {
  border-radius: 30px;
  margin: 0 auto 32px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 70px -15px rgba(0, 0, 0, .85), 0 0 80px rgba(51, 128, 245, .45), 0 0 120px rgba(242, 64, 74, .25);
  animation: phone-float 6s ease-in-out infinite;
}
.cta p { color: var(--text-2); font-size: 18px; margin-top: 20px; }
.qr { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-box { width: 96px; height: 96px; border-radius: 12px; background: repeating-conic-gradient(rgba(255,255,255,.85) 0 25%, transparent 0 50%) 0 0 / 16px 16px; opacity: .25; position: relative; overflow: hidden; }
.qr-box span { position: absolute; left: 0; right: 0; height: 2px; background: var(--needle); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 0; } 50% { top: 100%; } }
.qr p { font-size: 13px !important; color: var(--text-3) !important; margin: 0 !important; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg-2); }
.footer-inner { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer p { color: var(--text-3); font-size: 12px; max-width: 56ch; }
.footer nav { display: flex; gap: 20px; font-size: 14px; color: var(--text-2); }
.footer nav a:hover { color: var(--text); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-scale, .headline .word { opacity: 1; transform: none; }
  .phone { transform: none; }
  html { scroll-behavior: auto; }
}
/* ?static — QA mode: jump every animation to its finished state */
html.static *, html.static *::before, html.static *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
html.static .reveal, html.static .reveal-scale, html.static .headline .word { opacity: 1; transform: none; }
html.static .hero { min-height: 0; }
