/* CloudRead landing page. Everything is scoped under body.lp; app.css supplies
   the @font-face rules and the shared colour tokens. The hero and the closing
   band are always night-sky dark; the sections between follow the OS theme. */
body.lp {
  --lp-bg: #F5F8FD; --lp-card: #FFFFFF; --lp-ink: #0B1D3A; --lp-muted: #55657F; --lp-line: #DCE5F3; --lp-soft: #EAF1FB;
  --night: #060D1F; --night-2: #0C1A36; --glass: rgba(255,255,255,.06); --glass-line: rgba(255,255,255,.12);
  --rss: #F59E0B; --vid: #FB7185;
  --grad: linear-gradient(90deg, #7DD3FC 0%, #60A5FA 30%, #A78BFA 55%, #F59E0B 80%, #7DD3FC 100%);
  background: var(--lp-bg); color: var(--lp-ink); font-family: var(--body); overflow-x: hidden;
}
@media (prefers-color-scheme: dark) {
  body.lp { --lp-bg: #070F22; --lp-card: #0E1B37; --lp-ink: #E8F0FC; --lp-muted: #93A6C6; --lp-line: #1D2F55; --lp-soft: #12234A; }
}
.lp h1, .lp h2, .lp h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.lp a:hover { text-decoration: none; }
.lp kbd { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .35em; border-radius: 6px; font: 800 .78em/1 var(--display);
  background: var(--lp-card); color: var(--lp-ink); border: 1px solid var(--lp-line); box-shadow: 0 2px 0 var(--lp-line); }
.flow { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }

/* buttons */
.lp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font: 700 15px/1.2 var(--body); border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn.solid { background: #fff; color: var(--night); box-shadow: 0 10px 30px -10px rgba(125,211,252,.6); }
.lp-btn.solid:hover { box-shadow: 0 14px 36px -10px rgba(125,211,252,.85); }
.lp-btn.ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.lp-btn.ghost:hover { background: rgba(255,255,255,.1); }
.lp-btn.lg { padding: 14px 26px; font-size: 16px; }
.lp-btn.sm { padding: 7px 15px; font-size: 14px; }
.lp-btn .arr { transition: transform .2s; }
.lp-btn:hover .arr { transform: translateX(4px); }

/* floating nav */
.lp-nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(6,13,31,.62); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.lp-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; font: 800 19px var(--display); letter-spacing: -0.03em; --card: var(--night); }
.lp-brand .mark { color: #7DD3FC; }
.lp-nav nav { display: flex; gap: 2px; margin: 0 auto; }
.lp-nav nav a { color: rgba(232,240,252,.78); font-weight: 700; font-size: 14px; padding: 7px 13px; border-radius: 999px; transition: background .2s, color .2s; }
.lp-nav nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lp-auth { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.lp-login { color: #E8F0FC; font-weight: 700; font-size: 14px; padding: 7px 12px; }
.lp-nav nav + .lp-auth { margin-left: 0; }

/* hero */
.lp-hero { position: relative; overflow: hidden; background: var(--night); color: #E8F0FC; padding: 132px 24px 90px; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -1; filter: blur(70px) saturate(1.2); opacity: .85; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -18vw; background: #1D4ED8; }
.aurora i:nth-child(2) { width: 34vw; height: 34vw; right: -6vw; top: -6vw; background: #7C3AED; opacity: .55; animation-duration: 26s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; left: 30vw; bottom: -18vw; background: #0EA5E9; opacity: .6; animation-duration: 30s; animation-delay: -12s; }
.aurora i:nth-child(4) { width: 18vw; height: 18vw; right: 22vw; bottom: -4vw; background: #F59E0B; opacity: .28; animation-duration: 24s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw,4vw) scale(1.12); } 100% { transform: translate(-4vw,2vw) scale(.94); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 80%); }
.lp-hero-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pill-live { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--glass); border: 1px solid var(--glass-line); color: #CFE3FF; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s ease-out infinite; flex: 0 0 auto; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
.lp-hero h1 { font-size: clamp(64px, 9.4vw, 132px); line-height: .9; margin: 22px 0 22px; color: #fff; letter-spacing: -0.05em; }
.lp-hero h1 .flow { padding-right: .06em; }
.lp-hero .lead { font-size: 20px; line-height: 1.55; color: #B9C9E4; max-width: 30em; margin: 0 0 30px; }
.lp-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #93A6C6; font-weight: 600; }
.ticks li::before { content: "✓"; color: #7DD3FC; font-weight: 900; margin-right: 7px; }

/* hero stage: browser window + phone */
.stage { position: relative; padding: 10px 40px 40px 0; }
.win { position: relative; border-radius: 18px; overflow: hidden; background: rgba(12,26,54,.72); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transform-origin: 30% 50%; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--glass-line); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.win-bar i:first-child { background: #FB7185; } .win-bar i:nth-child(2) { background: #FBBF24; } .win-bar i:nth-child(3) { background: #34D399; }
.win-bar .url { margin: 0 auto; font-size: 12px; color: #93A6C6; background: rgba(255,255,255,.06); padding: 3px 14px; border-radius: 999px; }
.win-body { display: grid; grid-template-columns: 250px 1fr; height: 380px; }
.q { border-right: 1px solid var(--glass-line); padding: 12px 10px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.q-head { display: flex; align-items: center; gap: 7px; font: 800 13px var(--display); color: #fff; padding: 0 6px 10px; --card: var(--night-2); }
.q-head .mark { color: #7DD3FC; }
.q-head .count { margin-left: auto; background: #F59E0B; color: var(--night); border-radius: 999px; padding: 1px 9px; font-size: 12px; transition: transform .3s; }
.q-head .count.bump { transform: scale(1.25); }
.qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; overflow: hidden; flex: 1; }
.qlist li { display: flex; gap: 9px; align-items: flex-start; padding: 9px 9px; border-radius: 10px; border-left: 3px solid var(--feed); background: rgba(255,255,255,.025);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s, background .3s, max-height .45s, padding .45s, margin .45s; max-height: 80px; }
.qlist li:first-child { background: rgba(125,211,252,.12); box-shadow: inset 0 0 0 1px rgba(125,211,252,.25); }
.qlist li.out { transform: translateX(-110%); opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -4px; }
.qlist li.in { animation: arrive .6s cubic-bezier(.2,.8,.2,1); }
@keyframes arrive { from { transform: translateY(-14px) scale(.96); opacity: 0; max-height: 0; } to { transform: none; opacity: 1; max-height: 80px; } }
.qlist li.fresh .age { color: #34D399; font-weight: 800; }
.qlist .t { font-size: 12.5px; line-height: 1.3; font-weight: 700; color: #E8F0FC; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.qlist .f { font-size: 11px; color: #93A6C6; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qlist .f b { color: #C8D6EE; font-weight: 700; }
.kind { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; }
.kind.k-rss, .kind.k-page { color: var(--rss); background: rgba(245,158,11,.14); }
.kind.k-yt, .kind.k-list { color: var(--vid); background: rgba(251,113,133,.14); }
.pane { display: flex; flex-direction: column; padding: 18px; gap: 14px; min-width: 0; }
.pane-card { flex: 1; border-radius: 12px; background: #F8FAFD; color: #0B1D3A; padding: 16px; overflow: hidden; position: relative; transition: opacity .25s, transform .25s; }
.pane-card.swap { opacity: 0; transform: translateY(6px); }
.pane-card .src { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: #55657F; }
.pane-card .src i { width: 18px; height: 18px; border-radius: 6px; background: var(--feed); }
.pane-card .h { font: 800 19px/1.15 var(--display); letter-spacing: -0.02em; margin: 10px 0 12px; }
.pane-card .ln { height: 8px; border-radius: 4px; background: #E3EAF4; margin: 0 0 8px; }
.pane-card .ln.s { width: 62%; }
.pane-card .player { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; margin: 10px 0 10px;
  background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--feed) 70%, #fff), var(--feed) 45%, #0B1D3A); }
.pane-card .player::before { content: ""; position: absolute; left: 50%; top: 50%; width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 10px; background: rgba(6,13,31,.75); }
.pane-card .player::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -4px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pane-card .player .pb { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.3); }
.pane-card .player .pb i { display: block; height: 100%; background: #F43F5E; }
.pane-card .player .resume { position: absolute; left: 10px; bottom: 12px; font-size: 11px; font-weight: 800; color: #fff; background: rgba(6,13,31,.7); border-radius: 999px; padding: 3px 9px; }
.pane-bar { display: flex; align-items: center; gap: 12px; }
.demo-next { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #34D399; color: #052e1f; font: 800 13px var(--body); transition: transform .15s; }
.demo-next:hover { transform: translateY(-1px); }
.demo-next:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.demo-next kbd { background: rgba(255,255,255,.65); border-color: transparent; box-shadow: none; color: #052e1f; }
.pane-bar .hint { font-size: 12px; color: #93A6C6; }
.phone { position: absolute; right: 0; bottom: -6px; width: 178px; height: 360px; border-radius: 32px; padding: 30px 8px 10px; background: #0B1220;
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 5px #141d33; display: flex; flex-direction: column; gap: 8px; transform: rotate(4deg); }
.phone .notch { position: absolute; top: 11px; left: 50%; width: 54px; height: 13px; margin-left: -27px; border-radius: 999px; background: #000; }
.phone .strip { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; color: #93A6C6; padding: 0 6px; }
.phone .strip .ttl { flex: 1; color: #fff; font-family: var(--display); }
.phone .strip .go { background: #34D399; color: #052e1f; padding: 2px 8px; border-radius: 999px; }
.phone .pane-card { padding: 11px; border-radius: 16px; }
.phone .pane-card .h { font-size: 14px; margin: 8px 0 8px; }
.phone .pane-card .ln { height: 6px; margin-bottom: 6px; }
.phone .pane-card .player .resume { font-size: 9px; left: 6px; bottom: 9px; padding: 2px 6px; }
.arrival { position: absolute; left: -26px; bottom: 6px; display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border-radius: 14px; font-size: 13px; font-weight: 700; color: #E8F0FC;
  background: rgba(14,27,55,.85); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; pointer-events: none; }
.arrival.show { opacity: 1; transform: none; }

/* the current: drifting source chips */
.lp-stream { background: var(--night); padding: 4px 0 70px; overflow: hidden; display: grid; gap: 14px; }
.lane { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 14px; width: max-content; animation: lane 60s linear infinite; }
.lane.rev .track { animation-direction: reverse; animation-duration: 70s; }
.lp-stream:hover .track { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(calc(-50% - 7px)); } }
.chip { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: #E8F0FC; white-space: nowrap; font-size: 14px; }
.chip .src { font-weight: 800; }
.chip .ttl { color: #93A6C6; }

/* shared section scaffolding */
.lp-sec { max-width: 1160px; margin: 0 auto; padding: 110px 24px 0; scroll-margin-top: 60px; }
.lp-head { max-width: 760px; margin-bottom: 48px; }
.kicker { display: inline-block; font: 800 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .kicker { color: #7DD3FC; } .b.calm { border-color: var(--lp-line); } }
.lp-head h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; }
.lp-head h2 .soft { color: var(--lp-muted); }
.lp-head p { font-size: 19px; line-height: 1.6; color: var(--lp-muted); margin: 18px 0 0; max-width: 40em; }

/* flow map */
.flowmap { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 120px; padding: 30px; border-radius: 28px; background: var(--lp-card); border: 1px solid var(--lp-line);
  background-image: radial-gradient(var(--lp-line) 1px, transparent 1px); background-size: 22px 22px; }
.flowmap .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: var(--lp-line); stroke-width: 2; }
.wires path.lit { stroke: url(#wire-grad); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.wires circle { filter: drop-shadow(0 0 6px currentColor); }
.flowmap .col { position: relative; display: grid; gap: 16px; }
.flowmap .col.mid { justify-items: center; }
.node { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--lp-card); border: 1px solid var(--lp-line); box-shadow: 0 10px 30px -18px rgba(11,29,58,.35); }
.node .kind { width: 38px; height: 38px; border-radius: 11px; }
.node .kind svg { width: 20px; height: 20px; }
.node b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -0.01em; }
.node span:not(.kind):not(.devi) { font-size: 13px; color: var(--lp-muted); }
.node.out { justify-self: end; min-width: 240px; }
.devi { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--lp-soft); color: var(--blue); flex: 0 0 auto; }
@media (prefers-color-scheme: dark) { .devi { color: #7DD3FC; } }
.hub { position: relative; width: 190px; height: 190px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #3B82F6, #1D4ED8 55%, #0B1D3A); box-shadow: 0 30px 60px -20px rgba(37,99,235,.7); --card: #1D4ED8; }
.hub .mark { color: #fff; margin-bottom: 6px; }
.hub b { font: 800 18px var(--display); letter-spacing: -0.02em; }
.hub span { font-size: 12px; color: #BFDBFE; font-weight: 700; }
.hub .ring { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(37,99,235,.45); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.b { position: relative; overflow: hidden; border-radius: 24px; padding: 28px; background: var(--lp-card); border: 1px solid var(--lp-line); transition: transform .3s, box-shadow .3s; }
.b:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(11,29,58,.4); }
.b h3 { font-size: 26px; line-height: 1.08; margin-bottom: 10px; }
.b p { color: var(--lp-muted); margin: 0; line-height: 1.55; }
.b.paste { grid-column: span 4; background: linear-gradient(135deg, var(--lp-card) 40%, var(--lp-soft)); }
.b.keys { grid-column: span 2; }
.b.resume, .b.topics, .b.fair { grid-column: span 2; }
.b.calm { grid-column: span 6; padding: 0; background: var(--night); border-color: transparent; }
.omnibox { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--lp-bg); border: 1.5px solid var(--blue); box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 14%, transparent); font: 600 clamp(16px, 2.2vw, 22px) ui-monospace, 'SF Mono', Menlo, Consolas, monospace; min-width: 0; }
.omnibox .plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font: 800 20px var(--display); flex: 0 0 auto; }
.omnibox .typed { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.omnibox .caret { width: 2px; height: 1.2em; background: var(--blue); margin-left: -10px; animation: blink 1s steps(1) infinite; flex: 0 0 auto; }
@keyframes blink { 50% { opacity: 0; } }
.found { display: inline-flex; margin-top: 14px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; color: #047857; background: #D1FAE5; transition: opacity .3s, transform .3s; }
.found.hide { opacity: 0; transform: translateY(6px); }
@media (prefers-color-scheme: dark) { .found { color: #6EE7B7; background: rgba(16,185,129,.16); } }
.keyrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 16px; }
.key { display: grid; justify-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; color: var(--lp-muted); text-align: center; }
.key kbd { width: 100%; height: 52px; font-size: 20px; border-radius: 12px; box-shadow: 0 4px 0 var(--lp-line); transition: transform .1s, box-shadow .1s; }
.key kbd.down { transform: translateY(3px); box-shadow: 0 1px 0 var(--lp-line); background: var(--lp-soft); }
.b .try { font-size: 13px; }
.vids { display: grid; gap: 12px; margin-top: 22px; }
.vid { display: flex; gap: 12px; align-items: center; }
.vid .th { width: 84px; aspect-ratio: 16/9; border-radius: 9px; flex: 0 0 auto; background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--c) 60%, #fff), var(--c) 50%, #0B1D3A); }
.vid .meta { flex: 1; min-width: 0; }
.vid b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vid .bar { height: 5px; border-radius: 3px; background: var(--lp-soft); margin: 6px 0 4px; overflow: hidden; }
.vid .bar i { display: block; height: 100%; background: linear-gradient(90deg, #F43F5E, #FB7185); border-radius: 3px; }
.vid span { font-size: 12px; color: var(--lp-muted); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tagc { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--t);
  background: color-mix(in srgb, var(--t) 12%, transparent); border: 1px solid color-mix(in srgb, var(--t) 30%, transparent); }
.tagc b { min-width: 24px; text-align: center; padding: 1px 7px; border-radius: 999px; background: var(--t); color: #fff; font-size: 12px; }
.b.fair { background: linear-gradient(160deg, var(--lp-card) 50%, color-mix(in srgb, #10B981 12%, var(--lp-card))); }
.calm-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 30px; padding: 42px 28px; font: 800 clamp(22px, 3.2vw, 38px) var(--display); letter-spacing: -0.03em; color: rgba(232,240,252,.4); text-align: center; }
.calm-in .hl { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 9s linear infinite; }

/* a day across devices */
.day { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: linear-gradient(90deg, transparent, var(--lp-line) 8%, var(--lp-line) 92%, transparent); }
.moment { position: relative; padding: 0 4px; }
.moment .when { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 800; font-size: 13px; color: var(--lp-muted); padding: 0 12px 0 0; background: var(--lp-bg); position: relative; }
.moment .when b { font: 800 30px var(--display); letter-spacing: -0.04em; color: var(--lp-ink); }
.moment .dev { margin: 18px 0 14px; }
.moment h3 { font-size: 21px; margin-bottom: 6px; }
.moment p { margin: 0 0 14px; color: var(--lp-muted); line-height: 1.5; }
.moment .left { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: color-mix(in srgb, #F59E0B 18%, transparent); color: #B45309; }
.moment.done .left { background: color-mix(in srgb, #10B981 18%, transparent); color: #047857; }
@media (prefers-color-scheme: dark) { .moment .left { color: #FBBF24; } .moment.done .left { color: #6EE7B7; } }
.getapp { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 48px; padding: 18px 18px 18px 22px; border-radius: 20px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.getapp > div { display: flex; align-items: center; gap: 14px; color: var(--lp-muted); }
.getapp b { color: var(--lp-ink); }
.getapp .lp-btn.solid { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(37,99,235,.7); }

/* closing band + footer */
.lp-end { position: relative; overflow: hidden; isolation: isolate; margin: 120px 24px 0; padding: 100px 24px; border-radius: 36px; background: var(--night); color: #E8F0FC; text-align: center; }
.lp-end .aurora { opacity: .7; }
.lp-end h2 { font-size: clamp(40px, 6.4vw, 84px); line-height: .98; color: #fff; letter-spacing: -0.045em; }
.lp-end p { font-size: 19px; color: #B9C9E4; margin: 22px 0 34px; }
.lp-foot { max-width: 1160px; margin: 0 auto; padding: 34px 24px 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; font-size: 14px; color: var(--lp-muted); }
.lp-foot .lp-brand { color: var(--lp-ink); font-size: 16px; --card: var(--lp-bg); }
.lp-foot .lp-brand .mark { color: var(--blue); }
.lp-foot nav { display: flex; gap: 18px; }
.lp-foot nav a { color: var(--lp-ink); font-weight: 700; }
.lp-foot > span { margin-left: auto; }

/* scroll reveal (home.js adds .reveal, then .in) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1020px) {
  .lp-hero-in { grid-template-columns: 1fr; gap: 50px; }
  .stage { max-width: 720px; }
  .flowmap { grid-template-columns: 1fr; gap: 64px; justify-items: center; }
  .flowmap .col { width: 100%; max-width: 420px; }
  .node.out { justify-self: stretch; }
  .flowmap .col.outs { grid-template-columns: 1fr 1fr; max-width: 560px; }
  .b.paste { grid-column: span 6; }
  .b.keys, .b.resume, .b.topics, .b.fair { grid-column: span 3; }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .day::before { display: none; }
}
@media (max-width: 760px) {
  .lp-nav nav { display: none; }
  .lp-nav { padding-left: 14px; }
  .lp-hero { padding: 112px 16px 64px; }
  .lp-hero .lead { font-size: 18px; }
  .stage { padding: 0 0 70px; }
  .win { transform: none; }
  .win-body { grid-template-columns: 1fr; height: 330px; }
  .pane { display: none; }
  .q { border-right: 0; }
  .phone { width: 136px; height: 280px; right: -4px; bottom: 0; }
  .arrival { left: 8px; bottom: 18px; }
  .lp-sec { padding: 80px 16px 0; }
  .lp-head p { font-size: 17px; }
  .flowmap { padding: 22px 16px; }
  .flowmap .col.outs { grid-template-columns: 1fr; }
  .hub { width: 160px; height: 160px; }
  .b { padding: 22px; }
  .b.keys, .b.resume, .b.topics, .b.fair { grid-column: span 6; }
  .day { grid-template-columns: 1fr; }
  .lp-end { margin: 80px 12px 0; padding: 70px 18px; border-radius: 28px; }
  .lp-foot > span { margin-left: 0; }
}
@media (max-width: 360px) {
  .lp-brand span { display: none; }
  .lp-hero .actions .lp-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
