:root {
  --bg: #07080d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --dim: #6b7086;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --pink: #f472b6;
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--text); font-weight: 600; }
.dim { color: var(--dim); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* Background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; animation: drift 22s ease-in-out infinite alternate; }
.orb-a { width: 620px; height: 620px; background: var(--violet); top: -220px; left: -160px; }
.orb-b { width: 520px; height: 520px; background: var(--blue); top: 30%; right: -200px; animation-delay: -7s; opacity: 0.32; }
.orb-c { width: 460px; height: 460px; background: var(--cyan); bottom: -260px; left: 25%; animation-delay: -13s; opacity: 0.2; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
}
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px max(24px, calc((100% - var(--max)) / 2 + 24px));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(7, 8, 13, 0.85), rgba(7, 8, 13, 0.4));
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  font-size: 13px; letter-spacing: 0.02em; box-shadow: 0 6px 24px -6px var(--violet);
}
.nav nav { display: flex; align-items: center; gap: 6px; }
.nav nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--text); background: var(--panel-2); }
.nav nav a.nav-cta { color: var(--text); border: 1px solid var(--line); background: var(--panel); }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hero */
.hero { padding: 96px 0 72px; max-width: 880px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
h1 { margin: 0; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.grad { background: linear-gradient(100deg, #c4b5fd 0%, #93c5fd 45%, #67e8f9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin: 26px 0 0; max-width: 640px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin: 52px 0 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; padding: 14px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); min-width: 150px; }
.stats strong { font-size: 20px; letter-spacing: -0.02em; }
.stats span { font-size: 13px; color: var(--dim); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 10px 30px -10px var(--violet); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px var(--violet); }
.btn-ghost { border: 1px solid var(--line); background: var(--panel); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .25); background: var(--panel-2); }

/* Sections */
.section-head { margin-bottom: 36px; }
h2 { margin: 0; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.03em; line-height: 1.08; }
.apps { padding: 56px 0; scroll-margin-top: 80px; }
.cta { scroll-margin-top: 90px; }

/* App cards */
.app {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding: 48px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.app::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 520px; height: 520px; border-radius: 50%;
  background: var(--accent); filter: blur(120px); opacity: .18; pointer-events: none;
}
.app:hover { border-color: rgba(255, 255, 255, .18); }
.app-flip .app-copy { order: 2; }
.app-flip::before { inset: auto auto -60% -20%; }
.app-score { --accent: var(--green); --accent-2: #10b981; }
.app-stack { --accent: var(--violet); --accent-2: var(--pink); }
.app-money { --accent: var(--cyan); --accent-2: var(--blue); }

.app-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.platform { font-size: 13px; color: var(--dim); }
.app h3 { margin: 0; font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.03em; }
.tagline { margin: 6px 0 16px; font-size: 18px; font-weight: 600; color: var(--accent); }
.app-copy > p { color: var(--muted); margin: 0 0 20px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--text); }
.features li { position: relative; padding-left: 22px; }
.features li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-3px);
}
.app .btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 30px -12px var(--accent); color: #05060a; }

/* Device mockups */
.app-visual { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.device {
  width: 100%; max-width: 380px; padding: 22px; border-radius: 26px;
  background: linear-gradient(180deg, #12141d, #0c0d14); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .02), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: rotateY(-8deg) rotateX(4deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
  font-size: 13px;
}
.app-flip .device { transform: rotateY(8deg) rotateX(4deg); }
.app:hover .device { transform: rotateY(0) rotateX(0) translateY(-4px); }

/* Scorekeeper mock */
.sk-head { display: grid; grid-template-columns: 1fr auto auto auto 1fr; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 14px; }
.sk-head span { font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.sk-head span:last-child { text-align: right; }
.sk-head b { font-size: 22px; }
.sk-head .tick span { color: var(--text); letter-spacing: 0; text-align: center; }
.sk-head i { font-style: normal; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.sk-card { border-radius: 12px; background: #f4efe2; color: #2b2a26; padding: 6px; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; }
.sk-row { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); border-bottom: 1px solid #d8d0bd; }
.sk-row:last-child { border-bottom: 0; }
.sk-name { padding: 10px 6px; font-size: 12px; border-right: 1px solid #d8d0bd; white-space: nowrap; overflow: hidden; }
.sk-cell { position: relative; display: grid; place-items: center; height: 46px; border-right: 1px solid #d8d0bd; }
.sk-cell:last-child { border-right: 0; }
.sk-cell em { position: absolute; right: 5px; bottom: 2px; font-size: 11px; font-weight: 700; color: #8a2b2b; }
.sk-now { background: rgba(52, 211, 153, .22); box-shadow: inset 0 0 0 2px #10b981; }
.dia { width: 16px; height: 16px; border: 1.5px solid #b9af98; transform: rotate(45deg); }
.d-hit { border-color: #2b2a26; border-left-color: #b9af98; border-top-color: #b9af98; }
.d-run { background: #2b2a26; border-color: #2b2a26; }
.sk-keys { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 14px; }
.sk-keys span { padding: 9px 0; text-align: center; border-radius: 10px; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 12px; }
.sk-keys span:nth-child(3) { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--accent); }

/* Shared odometer-style value flip; the resting state shows the final value */
.tick { display: inline-flex; flex-direction: column; height: 1.25em; line-height: 1.25em; overflow: hidden; vertical-align: bottom; }
.tick span { transform: translateY(-100%); animation: tick-sk 6s cubic-bezier(.5, 0, .2, 1) infinite; }
@keyframes tick-sk { 0%, 54% { transform: translateY(0); } 62%, 95% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* Scorekeeper play: Sogard doubles, Abreu scores, BOS goes up 5-3 */
.sk-keys span:nth-child(3) { background: rgba(255, 255, 255, .06); color: inherit; }
.sk-press { animation: sk-press 6s ease infinite; }
@keyframes sk-press {
  0%, 12%, 30%, 100% { background: rgba(255, 255, 255, .06); color: inherit; transform: none; }
  18% { background: color-mix(in srgb, var(--accent) 40%, transparent); color: #fff; transform: scale(.9); }
  24% { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--accent); transform: none; }
}
.sk-draw { animation: sk-draw 6s ease infinite; }
@keyframes sk-draw {
  0%, 22% { border-right-color: #b9af98; border-bottom-color: #b9af98; }
  34%, 95% { border-right-color: #2b2a26; border-bottom-color: #2b2a26; }
  100% { border-right-color: #b9af98; border-bottom-color: #b9af98; }
}
.sk-mark { animation: sk-mark 6s ease infinite; }
@keyframes sk-mark {
  0%, 26% { opacity: 0; transform: scale(1.8); }
  34%, 95% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
.sk-scores { animation: sk-scores 6s ease infinite; }
@keyframes sk-scores {
  0%, 42% { background-color: transparent; border-color: #b9af98 #2b2a26 #2b2a26 #b9af98; }
  52%, 95% { background-color: #2b2a26; border-color: #2b2a26; }
  100% { background-color: transparent; border-color: #b9af98 #2b2a26 #2b2a26 #b9af98; }
}

/* StackUp: habit check-ins stack up on each pillar */
.stack { width: 100%; max-width: 420px; display: flex; align-items: flex-end; gap: 22px; padding: 56px 4px 8px; }
.col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.col-health { --c1: #6ee7b7; --c2: #10b981; --c3: #065f46; }
.col-mind { --c1: #f9a8d4; --c2: #ec4899; --c3: #9d174d; }
.col-craft { --c1: #c4b5fd; --c2: #8b5cf6; --c3: #4c1d95; }
.pile { display: flex; flex-wrap: wrap-reverse; gap: 0 2px; padding: 7px 10px 0 4px; }
.blk {
  position: relative; flex: 0 0 calc(50% - 1px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 2px; font-size: 10px; font-weight: 800; color: #fff; letter-spacing: .01em;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -2px 0 rgba(0, 0, 0, .18);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.blk::before, .blk::after { content: ""; position: absolute; pointer-events: none; }
.blk::before { left: 0; bottom: 100%; width: 100%; height: 7px; background: color-mix(in srgb, var(--c1) 70%, #fff); transform: skewX(-45deg); transform-origin: bottom left; border-radius: 2px 2px 0 0; }
.blk::after { top: 0; left: 100%; width: 7px; height: 100%; background: var(--c3); transform: skewY(-45deg); transform-origin: top left; border-radius: 0 2px 2px 0; }
.pile .blk:nth-child(3n + 1) { transform: translateX(-2px); }
.pile .blk:nth-child(4n + 2) { transform: translateX(3px); }
.pile .blk:nth-child(5n + 3) { transform: translateX(-3px); }
.app-stack:hover .pile .blk { transform: none; }
.fall { transform-origin: 50% 100%; animation-duration: 12s; animation-iteration-count: infinite; animation-fill-mode: both; z-index: 1; }
@keyframes fall-1 {
  0%, 4% { transform: translate(9px, -170px) rotate(14deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  6% { opacity: 1; }
  10% { transform: translate(9px, 0) rotate(7deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  11.5% { transform: translate(9px, -6px) rotate(7deg) scale(.97, 1.04); }
  13%, 16% { transform: translate(9px, 0) rotate(7deg); }
  17% { transform: translate(9px, 0) rotate(7deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  19% { transform: translate(4px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  21% { transform: translate(0, 0) scale(1.08, .9); }
  22.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f1 { animation-name: fall-1; }
@keyframes fall-2 {
  0%, 14% { transform: translate(-8px, -170px) rotate(-12deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  16% { opacity: 1; }
  20% { transform: translate(-8px, 0) rotate(-6deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  21.5% { transform: translate(-8px, -6px) rotate(-6deg) scale(.97, 1.04); }
  23%, 26% { transform: translate(-8px, 0) rotate(-6deg); }
  27% { transform: translate(-8px, 0) rotate(-6deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  29% { transform: translate(-4px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  31% { transform: translate(0, 0) scale(1.08, .9); }
  32.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f2 { animation-name: fall-2; }
@keyframes fall-3 {
  0%, 24% { transform: translate(10px, -170px) rotate(16deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  26% { opacity: 1; }
  30% { transform: translate(10px, 0) rotate(8deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  31.5% { transform: translate(10px, -6px) rotate(8deg) scale(.97, 1.04); }
  33%, 36% { transform: translate(10px, 0) rotate(8deg); }
  37% { transform: translate(10px, 0) rotate(8deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  39% { transform: translate(5px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  41% { transform: translate(0, 0) scale(1.08, .9); }
  42.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f3 { animation-name: fall-3; }
@keyframes fall-4 {
  0%, 34% { transform: translate(-9px, -170px) rotate(-14deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  36% { opacity: 1; }
  40% { transform: translate(-9px, 0) rotate(-7deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  41.5% { transform: translate(-9px, -6px) rotate(-7deg) scale(.97, 1.04); }
  43%, 46% { transform: translate(-9px, 0) rotate(-7deg); }
  47% { transform: translate(-9px, 0) rotate(-7deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  49% { transform: translate(-5px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  51% { transform: translate(0, 0) scale(1.08, .9); }
  52.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f4 { animation-name: fall-4; }
@keyframes fall-5 {
  0%, 44% { transform: translate(8px, -170px) rotate(12deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  46% { opacity: 1; }
  50% { transform: translate(8px, 0) rotate(6deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  51.5% { transform: translate(8px, -6px) rotate(6deg) scale(.97, 1.04); }
  53%, 56% { transform: translate(8px, 0) rotate(6deg); }
  57% { transform: translate(8px, 0) rotate(6deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  59% { transform: translate(4px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  61% { transform: translate(0, 0) scale(1.08, .9); }
  62.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f5 { animation-name: fall-5; }
@keyframes fall-6 {
  0%, 54% { transform: translate(-10px, -170px) rotate(-16deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  56% { opacity: 1; }
  60% { transform: translate(-10px, 0) rotate(-8deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  61.5% { transform: translate(-10px, -6px) rotate(-8deg) scale(.97, 1.04); }
  63%, 66% { transform: translate(-10px, 0) rotate(-8deg); }
  67% { transform: translate(-10px, 0) rotate(-8deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  69% { transform: translate(-5px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  71% { transform: translate(0, 0) scale(1.08, .9); }
  72.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f6 { animation-name: fall-6; }
@keyframes fall-7 {
  0%, 64% { transform: translate(9px, -170px) rotate(14deg); opacity: 0; animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  66% { opacity: 1; }
  70% { transform: translate(9px, 0) rotate(7deg) scale(1.1, .86); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  71.5% { transform: translate(9px, -6px) rotate(7deg) scale(.97, 1.04); }
  73%, 76% { transform: translate(9px, 0) rotate(7deg); }
  77% { transform: translate(9px, 0) rotate(7deg) scale(1.08, .88); animation-timing-function: cubic-bezier(.3, .6, .5, 1); }
  79% { transform: translate(4px, -18px) rotate(0) scale(.95, 1.07); animation-timing-function: cubic-bezier(.5, 0, .8, .5); }
  81% { transform: translate(0, 0) scale(1.08, .9); }
  82.5%, 88% { transform: none; opacity: 1; }
  95%, 100% { transform: none; opacity: 0; }
}
.f7 { animation-name: fall-7; }
.plate {
  padding: 12px 6px; border-radius: 10px; text-align: center;
  font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, var(--c3), color-mix(in srgb, var(--c3) 60%, #000));
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--c1) 45%, transparent), 0 16px 26px -14px rgba(0, 0, 0, .95);
  border-top: 2px solid var(--c2);
}

/* Finance mock */
.fm-label { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.fm-total { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 14px; }
.fm-total span { color: var(--dim); font-size: 24px; }
.fm-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-bottom: 16px; }
.fm-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--cyan), rgba(59, 130, 246, .35)); }
.fm-bars .b3 { height: 30%; } .fm-bars .b4 { height: 40%; } .fm-bars .b5 { height: 55%; }
.fm-bars .b6 { height: 65%; } .fm-bars .b7 { height: 72%; } .fm-bars .b8 { height: 88%; }
.fm-row { display: flex; justify-content: space-between; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-bottom: 6px; }
.fm-row.sub { background: transparent; padding-top: 2px; color: var(--dim); }
.fm-row .pos { color: var(--green); }

/* Finance: bars grow in, a reimbursement lands, and what friends owe drops */
.fm-bars i { transform-origin: bottom; animation: fm-grow 7s cubic-bezier(.2, .8, .2, 1) infinite; }
.fm-bars i:nth-child(2) { animation-delay: .08s; } .fm-bars i:nth-child(3) { animation-delay: .16s; }
.fm-bars i:nth-child(4) { animation-delay: .24s; } .fm-bars i:nth-child(5) { animation-delay: .32s; }
.fm-bars i:nth-child(6) { animation-delay: .4s; } .fm-bars i:nth-child(7) { animation-delay: .48s; }
@keyframes fm-grow { 0% { transform: scaleY(.06); } 18%, 100% { transform: scaleY(1); } }
.fm-new {
  max-height: 48px; overflow: hidden; white-space: nowrap;
  background: rgba(52, 211, 153, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3);
  animation: fm-in 7s cubic-bezier(.2, .8, .2, 1) infinite;
}
@keyframes fm-in {
  0%, 26% { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; transform: translateX(28px); }
  36%, 94% { max-height: 48px; opacity: 1; padding-top: 11px; padding-bottom: 11px; margin-bottom: 6px; transform: none; }
  100% { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
}
.fm-row .tick span { animation-name: tick-fm; animation-duration: 7s; }
@keyframes tick-fm { 0%, 42% { transform: translateY(0); } 50%, 94% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* CTA */
.cta {
  margin: 40px 0 80px; padding: 64px 32px; text-align: center; border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, .28), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel));
}
.cta p { color: var(--muted); max-width: 520px; margin: 14px auto 28px; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 18px; }
.notfound h1 { font-size: clamp(64px, 14vw, 140px); }
.notfound p { color: var(--muted); margin: 0 0 12px; }

/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; padding: 32px 24px; gap: 36px; }
  .app-flip .app-copy { order: 0; }
  .device, .app-flip .device { transform: none; }
}
@media (max-width: 560px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 0 48px; }
  .features { grid-template-columns: 1fr; }
  .stats li { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
