/* FlickFlor landing page.
   Hero (desktop orbital stage + phone composition) > groups phone > world > live app demo > footer.
   Shared tokens and components are in base.css. */

/* =====================================================================
   HERO FRAME: the desktop hero is drawn on a fixed 1672 x 941 stage and
   scaled to the window (js/home.js, plus a tiny inline fit before paint).
   ===================================================================== */
.frame { position: relative; width: 100%; overflow: hidden; background: var(--bg-950); isolation: isolate; }
.frame > .stage { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; transform-origin: 0 0; pointer-events: auto; }
.frame > .m-hero { display: none; }
.frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: clamp(90px, 11vw, 170px); pointer-events: none; background: linear-gradient(180deg, rgba(4, 7, 13, 0) 0%, rgba(4, 7, 13, .7) 55%, var(--bg-950) 100%); }
@media (min-width: 1025px) { .frame { aspect-ratio: 1672 / 941; } }
@media (max-width: 1024px) {
  .frame > .stage { display: none; }
  .frame > .m-hero { display: block; }
}

/* motion toggle (WCAG 2.2.2: everything that moves for more than five seconds can be paused) */
.lp-motion { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7, 19, 32, .8); color: var(--ink-muted); font: 500 13px/1 var(--font-sans); cursor: pointer; }
.lp-motion:hover { color: var(--ink); border-color: var(--cyan-400); }
.lp-motion svg { width: 12px; height: 12px; fill: currentColor; }
.lp-motion .play { display: none; }
.is-paused .lp-motion .play { display: block; }
.is-paused .lp-motion .pause { display: none; }
@media (max-width: 1024px) { .lp-motion { position: relative; right: auto; bottom: auto; display: flex; margin: 0 auto 12px; } }
@media (prefers-reduced-motion: reduce) { .lp-motion { display: none !important; } }

/* ---------- desktop hero stage ---------- */
.hero { position: relative; width: 1672px; height: 941px; overflow: hidden; background: linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 62%, var(--bg-950) 100%); --px: 0; --py: 0; }
.hero > * { position: absolute; }
.hero__glow { inset: 0; background: radial-gradient(620px 430px at 1080px 400px, rgba(20, 110, 190, .42), transparent 70%), radial-gradient(520px 320px at 1570px 150px, rgba(255, 182, 46, .04), transparent 70%), radial-gradient(720px 280px at 0 640px, rgba(30, 155, 255, .30), transparent 70%); }
.hero__floor { inset: 0; background: radial-gradient(560px 110px at 1180px 722px, rgba(255, 182, 46, .12), transparent 70%), radial-gradient(760px 150px at 610px 716px, rgba(30, 155, 255, .34), transparent 70%), radial-gradient(420px 300px at 1672px 560px, rgba(30, 155, 255, .30), transparent 70%); animation: tf-breathe 6s var(--tf-ease-float) infinite; }
.hero__floor--2 { animation-delay: -3s; background: radial-gradient(820px 170px at 420px 860px, rgba(30, 155, 255, .30), transparent 70%), radial-gradient(700px 160px at 1250px 850px, rgba(255, 182, 46, .26), transparent 70%), radial-gradient(1000px 120px at 836px 941px, rgba(20, 110, 190, .28), transparent 70%); }
.hero__stars { inset: 0; }
.hero__stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 8px var(--cyan-400); animation: tf-twinkle 3s var(--tf-ease-float) infinite; }
.hero__stars i:nth-child(3n) { background: var(--gold-300); box-shadow: 0 0 8px var(--gold-500); }
.waves { inset: 0; width: 1672px; height: 941px; max-width: none; pointer-events: none; }
.waves path { fill: none; stroke-linecap: round; }
.wave { transform-box: fill-box; transform-origin: center; animation: tf-swell 9s var(--tf-ease-float) infinite; }
.wave--3 { animation-duration: 13s; animation-delay: -7s; }
.glint { stroke-dasharray: .1 1.9; stroke-dashoffset: 1; animation: tf-glint 7s linear infinite; }
.orbits { inset: 0; width: 1672px; height: 941px; max-width: none; pointer-events: none; overflow: visible; }
.hero .tf-nav { display: flex; align-items: center; left: 0; top: 0; width: 1672px; height: 84px; padding: 0 38px 0 68px; z-index: 5; }
.tf-nav__end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tf-nav .tf-lockup img { width: 60px; height: 60px; margin: 4px; }
.copy { left: 80px; top: 146px; width: 580px; z-index: 4; }
.copy .tf-display { margin-top: 30px; font-size: 58px; line-height: 62px; }
.copy .tf-lead { margin-top: 20px; width: 520px; }
.copy .actions { display: flex; align-items: center; gap: 25px; margin-top: 29px; }
.copy .tf-platforms { margin: 28px 0 0; }
.tf-rise { animation: tf-rise var(--tf-dur-enter) var(--tf-ease-out) both; animation-delay: calc(var(--i, 0) * var(--tf-stagger)); }
.hero .stage { inset: 0; z-index: 3; pointer-events: none; }
.hero .stage .tf-float { pointer-events: auto; }
.tf-float { position: absolute; animation: tf-float var(--dur, 7s) var(--tf-ease-float) var(--delay, 0s) infinite; translate: calc(var(--px, 0) * var(--depth, 12) * 1px) calc(var(--py, 0) * var(--depth, 12) * 1px); transition: translate .5s var(--tf-ease-out); }

/* ---------- the hub and the logo bloom ---------- */
@keyframes tf-hub-glow { 0%, 100% { filter: drop-shadow(-10px -8px 26px rgba(30, 155, 255, .55)) drop-shadow(12px 14px 30px rgba(255, 182, 46, .45)); } 50% { filter: drop-shadow(-12px -10px 40px rgba(39, 196, 245, .8)) drop-shadow(14px 16px 44px rgba(255, 201, 77, .7)); } }
/* the mark sleeps like a closed flower, then wakes up with the morning light */
@keyframes tf-bloom {
  0%, 14% { scale: .76 .84; rotate: -10deg; filter: brightness(.5) saturate(.55) drop-shadow(0 0 4px rgba(39, 196, 245, .12)) drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
  30% { scale: 1.07 1.05; rotate: -2deg; filter: brightness(1.35) saturate(1.2) drop-shadow(0 0 34px rgba(127, 227, 255, .95)) drop-shadow(0 0 22px rgba(255, 201, 77, .45)); }
  40% { scale: 1 1; rotate: -4deg; filter: brightness(1.08) saturate(1.05) drop-shadow(0 0 22px rgba(39, 196, 245, .7)) drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
  74% { scale: 1 1; rotate: -4deg; filter: brightness(1) saturate(1) drop-shadow(0 0 18px rgba(39, 196, 245, .55)) drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
  100% { scale: .76 .84; rotate: -10deg; filter: brightness(.5) saturate(.55) drop-shadow(0 0 4px rgba(39, 196, 245, .12)) drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); }
}
.tf-hub { position: relative; width: 370px; height: 328px; animation: tf-pop 1.1s var(--tf-ease-out) .35s both; }
.hero .tf-hub { scale: .72; }
.tf-hub__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: tf-hub-glow 5s var(--tf-ease-float) infinite; }
.tf-hub__mark { position: absolute; left: 95px; top: 35px; width: 186px; height: 186px; rotate: -4deg; transform-origin: 50% 90%; filter: drop-shadow(0 0 18px rgba(39, 196, 245, .55)) drop-shadow(0 8px 14px rgba(0, 0, 0, .4)); --amp: 4px; animation: tf-float 5s var(--tf-ease-float) infinite, tf-bloom 12s cubic-bezier(.45, 0, .25, 1) infinite; }
.tf-hub__sheen { animation: tf-shine 6s var(--tf-ease-float) 1.5s infinite; }

/* ---------- cards orbiting the hub on the ring (centre 1140,440; rx 310; ry 268) ---------- */
@keyframes tf-orb-x { from { transform: translateX(-310px); } to { transform: translateX(310px); } }
@keyframes tf-orb-y { from { transform: translateY(268px); } to { transform: translateY(-268px); } }
.tf-orb { position: absolute; left: 1140px; top: 440px; pointer-events: auto; animation: tf-orb-x 30s cubic-bezier(.37, 0, .63, 1) infinite alternate both; }
.tf-orb-y { animation: tf-orb-y 30s cubic-bezier(.37, 0, .63, 1) infinite alternate both; }
.tf-orb:hover, .tf-orb:hover .tf-orb-y { animation-play-state: paused; }
.tf-orb__c { transform: translate(-50%, -50%); }

/* ---------- the card story: one Gold Desk conversation told by six cards ----------
   One shared loop keeps every card in step:
   0-22% Leo is typing / 27% his message lands, unread 4 -> 5 / 42-68% Maya's voice reply plays / 76% ticks turn read */
@keyframes tf-glow-lock { 0%, 100% { filter: drop-shadow(0 0 5px rgba(39, 196, 245, .4)); } 50% { filter: drop-shadow(0 0 14px rgba(127, 227, 255, .85)); } }
@keyframes tf-typing { 0%, 21% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes tf-msg-in { 0%, 23% { opacity: 0; transform: translateY(6px); } 28%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes tf-count-old { 0%, 26% { opacity: 1; transform: none; } 29%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes tf-count-new { 0%, 26% { opacity: 0; transform: translateY(8px); } 30%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tf-badge-pop { 0%, 27% { transform: scale(1); } 30% { transform: scale(1.18); } 34%, 100% { transform: scale(1); } }
@keyframes tf-preview { 0%, 25% { opacity: 1; } 27%, 28% { opacity: 0; } 31%, 100% { opacity: 1; } }
@keyframes tf-voice-live { 0%, 41% { opacity: 0; } 44%, 66% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes tf-voice-rest { 0%, 41% { opacity: 1; } 44%, 66% { opacity: 0; } 70%, 100% { opacity: 1; } }
@keyframes tf-play-lit { 0%, 40% { box-shadow: 0 0 10px rgba(39, 196, 245, .35), inset 0 1.5px 0 rgba(255, 255, 255, .5); transform: scale(1); } 44%, 66% { box-shadow: 0 0 26px rgba(127, 227, 255, .95), 0 0 0 5px rgba(39, 196, 245, .18), inset 0 1.5px 0 rgba(255, 255, 255, .7); transform: scale(1.06); } 71%, 100% { box-shadow: 0 0 10px rgba(39, 196, 245, .35), inset 0 1.5px 0 rgba(255, 255, 255, .5); transform: scale(1); } }
@keyframes tf-ticks-read { 0%, 74% { stroke: rgba(208, 216, 228, .6); filter: none; } 79%, 96% { stroke: var(--cyan-300); filter: drop-shadow(0 0 4px rgba(39, 196, 245, .9)); } 100% { stroke: rgba(208, 216, 228, .6); filter: none; } }
@keyframes tf-state-a { 0%, 74% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes tf-state-b { 0%, 76% { opacity: 0; } 80%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tf-act-1 { 0%, 9% { border-color: var(--cyan-300); } 16%, 100% { border-color: rgba(160, 225, 255, .45); } }
@keyframes tf-act-2 { 0%, 22% { border-color: rgba(160, 225, 255, .45); } 26%, 36% { border-color: var(--cyan-300); } 42%, 100% { border-color: rgba(160, 225, 255, .45); } }
@keyframes tf-act-3 { 0%, 41% { border-color: rgba(160, 225, 255, .45); } 45%, 66% { border-color: var(--cyan-300); } 72%, 100% { border-color: rgba(160, 225, 255, .45); } }
@keyframes tf-act-4 { 0%, 74% { border-color: rgba(160, 225, 255, .45); } 79%, 92% { border-color: var(--cyan-300); } 98%, 100% { border-color: rgba(160, 225, 255, .45); } }
@keyframes tf-share { 0%, 8% { color: var(--cyan-300); } 16%, 100% { color: var(--ink-muted); } }

.tf-card { --loop: 10s; --enter: tf-pop var(--tf-dur-enter) var(--tf-ease-out) calc(600ms + var(--i, 0) * 110ms) both; position: relative; display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--font-sans); border-radius: var(--radius-lg); border: 1.5px solid rgba(160, 225, 255, .45); background: linear-gradient(135deg, rgba(96, 170, 230, .38) 0%, rgba(22, 58, 96, .78) 45%, rgba(10, 32, 58, .9) 100%); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), inset 0 -10px 18px rgba(39, 196, 245, .12), 0 6px 0 -1px rgba(120, 200, 245, .16), var(--shadow-card); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: var(--tilt, none); animation: var(--enter); white-space: nowrap; }
.tf-card__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 21px; letter-spacing: -.005em; color: var(--ink); }
.tf-card__title--sm { font-size: 16px; }
.tf-card__meta { display: block; margin-top: 3px; font-size: 15px; line-height: 19px; color: var(--ink-muted); }
.tf-time { font-size: 13px; line-height: 16px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
.tf-ln { display: flex; align-items: center; gap: 8px; }
.tf-ln--between { justify-content: space-between; gap: 14px; }
.tf-avs { display: flex; flex: none; }
.tf-av { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid #0c2340; font: 700 13px/1 var(--font-display); color: var(--ink); flex: none; }
.tf-avs .tf-av + .tf-av { margin-left: -11px; }
.tf-av--violet { background: linear-gradient(145deg, var(--violet-500), var(--blue-600)); }
.tf-av--gold { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); color: var(--on-gold); }
.tf-av--teal { background: linear-gradient(145deg, var(--cyan-400), var(--teal-600)); }
.tf-av--sm { width: 28px; height: 28px; font-size: 11px; border-width: 1.5px; }
.tf-online { position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan-400); border: 2px solid #0c2340; box-shadow: 0 0 10px var(--cyan-400); }
.tf-ticks { width: 18px; height: 12px; flex: none; fill: none; stroke: rgba(208, 216, 228, .6); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: tf-ticks-read var(--loop) linear infinite; }
.tf-ticks--on { stroke: var(--cyan-300); animation: none; filter: drop-shadow(0 0 3px rgba(39, 196, 245, .7)); }
/* 1 chart shared in Gold Desk */
.tf-card--chart { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; width: 252px; animation: var(--enter), tf-act-1 var(--loop) linear infinite; }
.tf-card--chart .tf-ln--between { align-items: flex-start; }
.tf-card--chart .tf-card__title { font-size: 16px; line-height: 19px; }
.tf-share { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 13px; line-height: 17px; color: var(--ink-muted); animation: tf-share var(--loop) linear infinite; }
.tf-share svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tf-ticker { display: flex; align-items: baseline; justify-content: space-between; }
.tf-ticker b { font: 700 16px/1 var(--font-display); color: var(--ink); }
.tf-ticker span { font: 700 15px/1 var(--font-display); color: var(--gold-400); font-variant-numeric: tabular-nums; }
.tf-mini { display: block; width: 100%; height: auto; border-radius: 12px; background: rgba(4, 12, 22, .55); }
.tf-mini .c-last { transform-box: fill-box; transform-origin: bottom; animation: tf-flicker 2.4s var(--tf-ease-float) infinite; }
/* 2 Gold Desk in the chat list */
.tf-card--group { padding: 13px 18px 13px 13px; gap: 12px; }
.tf-card--group .tf-card__meta { animation: tf-preview var(--loop) linear infinite; }
.tf-card__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-left: 6px; }
.tf-unread { position: relative; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; overflow: hidden; background: linear-gradient(160deg, var(--red-400), var(--red-500) 60%); color: var(--ink); font: 800 13px/1 var(--font-display); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .4), 0 3px 10px rgba(222, 39, 67, .5); animation: tf-badge-pop var(--loop) linear infinite; }
.tf-unread b { grid-area: 1 / 1; font: inherit; }
.tf-unread .old { animation: tf-count-old var(--loop) linear infinite; }
.tf-unread .new { animation: tf-count-new var(--loop) linear infinite; }
/* 3 Leo's new message */
.tf-card--msg { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 10px; border-radius: 20px 20px 20px 6px; background: linear-gradient(135deg, rgba(30, 155, 255, .4) 0%, rgba(14, 60, 110, .84) 55%, rgba(8, 30, 56, .92) 100%); animation: var(--enter), tf-act-2 var(--loop) linear infinite; }
.tf-msg__body { display: grid; min-height: 20px; }
.tf-msg__body > * { grid-area: 1 / 1; }
.tf-msg__text { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; line-height: 21px; color: var(--ink); animation: tf-msg-in var(--loop) var(--tf-ease-out) infinite; }
.tf-typing { display: flex; align-items: center; gap: 4px; animation: tf-typing var(--loop) linear infinite; }
.tf-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-300); animation: tf-dot-bounce 1s var(--tf-ease-float) infinite; }
.tf-typing i:nth-child(2) { animation-delay: .15s; }
.tf-typing i:nth-child(3) { animation-delay: .3s; }
/* 4 Maya's voice reply: quiet at rest, live while it plays */
.tf-card--voice { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px 12px 12px; animation: var(--enter), tf-act-3 var(--loop) linear infinite; }
.tf-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: linear-gradient(145deg, var(--cyan-300), var(--blue-600)); animation: tf-play-lit var(--loop) var(--tf-ease-float) infinite; }
.tf-play svg { width: 14px; height: 14px; margin-left: 2px; fill: var(--ink); }
.tf-wavebox { display: grid; }
.tf-wavebox > * { grid-area: 1 / 1; }
.tf-wave { display: flex; align-items: center; gap: 3px; height: 30px; animation: tf-voice-rest var(--loop) linear infinite; }
.tf-wave i { display: block; width: 3.5px; border-radius: 2px; background: rgba(208, 216, 228, .45); transform: scaleY(.6); }
.tf-wave--live { animation-name: tf-voice-live; }
.tf-wave--live i { background: linear-gradient(180deg, var(--cyan-300), var(--blue-500)); transform-origin: center; animation: tf-wave 1.1s var(--tf-ease-float) infinite; }
.tf-dur { font: 700 15px/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
/* 5 delivered, then read */
.tf-card--live { padding: 12px 18px 12px 12px; border-radius: 18px; animation: var(--enter), tf-act-4 var(--loop) linear infinite; }
.tf-state { display: grid; }
.tf-state > * { grid-area: 1 / 1; }
.tf-state__a { animation: tf-state-a var(--loop) linear infinite; }
.tf-state__b { color: var(--cyan-300); animation: tf-state-b var(--loop) linear infinite; }
/* 6 encrypted messaging */
.tf-card--secure { gap: 12px; padding: 13px 20px 13px 13px; border-color: rgba(127, 227, 255, .55); background: radial-gradient(90px 70px at 24px 50%, rgba(39, 196, 245, .26), transparent 70%), linear-gradient(160deg, rgba(22, 58, 96, .82), rgba(6, 20, 38, .92)); }
.tf-lock { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1.5px solid rgba(127, 227, 255, .5); background: radial-gradient(circle at 50% 35%, rgba(127, 227, 255, .26), rgba(10, 32, 58, .6) 70%); }
.tf-lock svg { width: 22px; height: 22px; fill: none; stroke: var(--cyan-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: tf-glow-lock 3.2s var(--tf-ease-float) infinite; }

/* ---------- phone/tablet composition: logo in the middle, three cards, full-size type ---------- */
.m-hero { position: relative; overflow: hidden; padding: 0 16px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); color: var(--ink); font-family: var(--font-sans); background: radial-gradient(420px 320px at 50% 74%, rgba(20, 110, 190, .42), transparent 70%), radial-gradient(360px 200px at 100% 100%, rgba(255, 182, 46, .16), transparent 70%), linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 62%, var(--bg-950) 100%); }
.m-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 72px; }
.m-nav .tf-lockup img { width: 44px; height: 44px; }
.m-nav .tf-lockup__name { font-size: 24px; line-height: 26px; }
.m-nav .tf-lockup__tag { font-size: 12.5px; line-height: 16px; }
.m-nav .tf-nav__end { gap: 8px; }
.m-copy { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; max-width: 680px; }
.m-copy .tf-eyebrow { font-size: 11.5px; letter-spacing: .26em; line-height: 20px; }
.m-copy .tf-display { font-size: clamp(30px, 8.4vw, 46px); line-height: 1.1; }
.m-copy .tf-display span { white-space: normal; }
.m-copy .tf-lead { font-size: 17px; line-height: 25px; }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.m-actions .tf-btn { flex: 1 1 auto; min-height: 54px; }
.m-platforms { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; max-width: 460px; }
.m-platforms .tf-platform { flex: 1 1 0; width: auto; min-width: 0; }
.m-platforms .tf-platform__tile { width: 100%; max-width: 83px; }
.m-scene { position: relative; display: flex; flex-direction: column; align-items: center; margin: 34px auto 0; padding: 6px 0; max-width: 560px; }
.m-ring { position: absolute; left: 2%; right: 2%; top: 70px; bottom: 44px; border-radius: 50%; border: 2px solid; border-color: var(--cyan-300) var(--gold-500) var(--gold-300) var(--blue-500); opacity: .8; filter: drop-shadow(0 0 8px rgba(30, 155, 255, .5)); }
.m-float { position: relative; animation: tf-float var(--dur, 7s) var(--tf-ease-float) var(--delay, 0s) infinite; }
.m-float--l { align-self: flex-start; }
.m-float--r { align-self: flex-end; }
.m-hub { position: relative; width: 278px; height: 246px; margin: 16px 0 10px; }
.m-hub .tf-hub { position: absolute; left: 0; top: 0; transform: scale(.75); transform-origin: 0 0; }
@media (max-width: 560px) { .m-nav .tf-ghost-sm { display: none; } }
@media (max-width: 420px) { .m-nav .tf-lockup__tag { display: none; } .m-nav .tf-btn--sm { padding: 0 16px; } }
@media (max-width: 359px) { .m-nav .tf-lockup__name { font-size: 21px; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.lp-sec { padding-block: clamp(72px, 9vw, 136px); }
.lp-p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-muted); max-width: 58ch; text-wrap: pretty; }
.lp-h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.lp-h2 em, .lp-world__msg em { font-style: italic; padding-right: .06em; background: linear-gradient(100deg, var(--gold-500) 0%, var(--gold-400) 30%, var(--gold-300) 45%, var(--gold-400) 60%, var(--gold-500) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tf-sheen-text 6s linear infinite; }
.lp-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 11vw, 170px); pointer-events: none; background: linear-gradient(180deg, rgba(4, 7, 13, 0) 0%, rgba(4, 7, 13, .7) 55%, var(--bg-950) 100%); }
.lp-scene::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(90px, 11vw, 170px); pointer-events: none; z-index: 1; background: linear-gradient(180deg, var(--bg-950) 0%, rgba(4, 7, 13, 0) 100%); }
.lp-final::before, .lp-final::after { display: none; }
.js .lp-reveal { opacity: 0; }
.js .lp-reveal.in { opacity: 1; animation: tf-rise var(--tf-dur-enter) var(--tf-ease-out) both; animation-delay: calc(var(--n, 0) * 160ms); }
.is-paused .lp-reveal { opacity: 1; animation: none; }

/* shared chat atoms */
.lp-av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font: 700 14px/1 var(--font-display); color: var(--ink); position: relative; }
.lp-av--sm { width: 30px; height: 30px; font-size: 11px; }
.lp-av--gold { background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); color: var(--on-gold); }
.lp-av--violet { background: linear-gradient(145deg, var(--violet-500), var(--blue-600)); }
.lp-av--teal { background: linear-gradient(145deg, var(--cyan-400), var(--teal-600)); }
.lp-av--blue { background: linear-gradient(145deg, var(--blue-500), var(--blue-600)); }
.lp-av--rose { background: linear-gradient(145deg, var(--rose-500), var(--red-500)); }
.lp-av--you { background: linear-gradient(145deg, #2a4a6e, #13304d); }
.lp-av i { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan-400); border: 2px solid var(--lp-panel); box-shadow: 0 0 8px var(--cyan-400); }
.lp-ticks { width: 18px; height: 12px; flex: none; fill: none; stroke: var(--ink-subtle); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-ticks.read { stroke: var(--cyan-300); filter: drop-shadow(0 0 3px rgba(39, 196, 245, .8)); }
.lp-chart { display: block; width: 100%; max-width: 340px; height: auto; border-radius: 12px; background: rgba(2, 8, 16, .72); }
.lp-voice { display: flex; align-items: center; gap: 12px; }
.lp-play { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; border: 0; cursor: pointer; background: linear-gradient(145deg, var(--cyan-300), var(--blue-600)); box-shadow: 0 0 12px rgba(39, 196, 245, .4); transition: box-shadow .3s, transform .3s; }
.lp-play svg { width: 15px; height: 15px; fill: var(--ink); }
.lp-voice.on .lp-play { box-shadow: 0 0 26px rgba(127, 227, 255, .95), 0 0 0 5px rgba(39, 196, 245, .18); transform: scale(1.05); }
.lp-bars { display: flex; align-items: center; gap: 3px; height: 30px; }
.lp-bars i { width: 3.5px; border-radius: 2px; background: rgba(208, 216, 228, .45); transform: scaleY(.6); }
.lp-voice.on .lp-bars i { background: linear-gradient(180deg, var(--cyan-300), var(--blue-500)); animation: tf-wave 1.1s var(--tf-ease-float) infinite; }
.lp-dur { font: 700 14px/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* ---------- groups: one phone, one group conversation ---------- */
.lp-groups { margin-top: -100px; padding-block: 120px clamp(64px, 7vw, 100px); background: none; }
.lp-groups::before { display: none; }
.lp-groups__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-groups__copy { display: flex; flex-direction: column; gap: 22px; max-width: 520px; margin-left: clamp(0px, 6vw, 96px); }
.lp-groups .lp-h2 { font-size: clamp(36px, 3.6vw, 46px); }
.lp-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.lp-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lp-rule); background: rgba(255, 255, 255, .04); font-size: 14px; line-height: 18px; color: var(--ink-muted); }
.lp-points svg { width: 16px; height: 16px; fill: none; stroke: var(--cyan-300); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ph-stage { position: relative; display: grid; place-items: center; min-height: 620px; }
.ph-float { position: relative; animation: tf-float 9s var(--tf-ease-float) infinite; --amp: 6px; }
.ph { position: relative; width: 296px; height: 600px; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2a4d74, #0c1f33 40%, #08162a 70%, #2c2a24); box-shadow: 0 0 0 1.5px rgba(127, 227, 255, .45), -30px -20px 70px -30px rgba(30, 155, 255, .8), 30px 30px 70px -30px rgba(255, 182, 46, .2), 0 50px 90px -30px rgba(0, 0, 0, .9); }
.ph__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 35px; overflow: hidden; background: #061424; }
.ph__status { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 22px 0 26px; font: 700 13px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.ph__status svg { width: 46px; height: 12px; fill: var(--ink); }
.ph__bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; border-bottom: 1px solid var(--lp-rule); background: linear-gradient(180deg, rgba(14, 40, 66, .95), rgba(8, 26, 44, .95)); }
.ph__bar > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph__bar .lp-av { width: 36px; height: 36px; font-size: 12px; }
.ph__who { flex: 1 1 auto; min-width: 0; }
.ph__who b { display: block; font: 700 15px/19px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph__who span { display: block; font-size: 12px; line-height: 15px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph__acts { display: flex; gap: 16px; }
.ph__acts svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph__chat { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 12px 12px 10px; overflow: hidden; background: radial-gradient(260px 200px at 20% 10%, rgba(30, 155, 255, .14), transparent 70%), radial-gradient(240px 200px at 90% 90%, rgba(255, 182, 46, .10), transparent 70%), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22120%22%20height%3D%22120%22%20viewBox%3D%220%200%20120%20120%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%237fe3ff%22%20stroke-opacity%3D%22.07%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2014h22v14H20l-6%205v-5h-2z%22%2F%3E%3Cpath%20d%3D%22M78%2020v16M74%2024h8v8h-8zM90%2014v22M86%2018h8v12h-8z%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2276%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22M24%2090a8%208%200%200%201%2012%200%22%2F%3E%3Cpath%20d%3D%22M70%2072l8%208%2016-16%22%2F%3E%3Cpath%20d%3D%22M14%20104c8-6%2014%202%2022-4s14%204%2022-2%22%2F%3E%3Cpath%20d%3D%22M96%2096h14v10h-9l-5%204z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"), #061424; background-size: auto, auto, 120px 120px, auto; }
.ph-m { display: flex; flex-direction: column; gap: 4px; max-width: 82%; align-self: flex-start; padding: 7px 11px 6px; border-radius: 16px 16px 16px 5px; background: linear-gradient(135deg, #1b4269, #143556); border: 1px solid rgba(127, 227, 255, .24); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .9); transform-origin: left bottom; }
.ph-m--out { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, #0f6aa8, #0b5287); border-color: rgba(127, 227, 255, .5); transform-origin: right bottom; }
.ph-m__who { font: 700 12px/15px var(--font-display); }
.ph-m__row { display: flex; align-items: flex-end; gap: 10px; }
.ph-m__txt { font-size: 14px; line-height: 18px; }
.ph-m__t { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; line-height: 14px; color: #a9b8cc; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ph-m--out .ph-m__t { color: #d6e6f5; }
.ph-m .lp-chart { max-width: 190px; border-radius: 10px; }
.ph-m__cap { font: 700 13px/16px var(--font-display); }
.ph-react { align-self: flex-end; display: inline-flex; align-items: center; gap: 5px; margin: -14px 10px 0 0; padding: 3px 9px; border-radius: 999px; background: #0c2340; border: 1px solid rgba(127, 227, 255, .35); font: 700 12px/16px var(--font-display); color: var(--ink); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); position: relative; z-index: 1; }
.ph-react svg { width: 13px; height: 13px; fill: var(--gold-400); }
.ph-m .lp-voice { gap: 9px; }
.ph-m .lp-play { width: 34px; height: 34px; }
.ph-m .lp-play svg { width: 12px; height: 12px; }
.ph-m .lp-bars { height: 24px; gap: 2.5px; }
.ph-m .lp-bars i { width: 3px; }
.ph-m .lp-dur { font-size: 12.5px; }
.ph-typing { align-self: flex-start; display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #143556; border: 1px solid rgba(127, 227, 255, .2); }
.ph-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-300); animation: tf-dot-bounce 1s var(--tf-ease-float) infinite; }
.ph-typing i:nth-child(2) { animation-delay: .15s; }
.ph-typing i:nth-child(3) { animation-delay: .3s; }
.ph [data-step] { display: none; }
.ph [data-step].on { display: flex; animation: tf-pop .5s var(--tf-ease-out) both; }
.ph-react.on { display: inline-flex !important; }
.ph__compose { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; background: rgba(6, 20, 36, .96); }
.ph__field { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--lp-rule); color: var(--ink-subtle); font-size: 14.5px; }
.ph__field svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--ink-subtle); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ph__field span { flex: 1 1 auto; }
.ph__mic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 45%, var(--gold-600)); box-shadow: var(--glow-gold); }
.ph__mic svg { width: 20px; height: 20px; fill: none; stroke: var(--on-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph__home { height: 18px; display: grid; place-items: center; background: rgba(6, 20, 36, .96); }
.ph__home i { width: 110px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .5); }
@media (max-width: 900px) {
  .lp-groups__grid { grid-template-columns: minmax(0, 1fr); }
  .lp-groups__copy { max-width: none; margin-left: 0; }
  .ph-stage { min-height: 0; padding-block: 20px; }
}
@media (max-width: 380px) { .ph { width: 272px; height: 560px; } }

/* ---------- world: traders everywhere, one message apart ---------- */
@keyframes lp-say { 0%, 7% { opacity: 0; transform: translateY(6px) scale(.85); } 10%, 32% { opacity: 1; transform: none; } 38%, 100% { opacity: 0; transform: translateY(-4px) scale(.96); } }
@keyframes lp-dots { 0% { opacity: 0; } 1.5%, 6.5% { opacity: 1; } 8%, 100% { opacity: 0; } }
@keyframes lp-ring { 0%, 1% { opacity: 0; transform: scale(1); } 3% { opacity: .85; } 13%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes lp-heart { 0%, 17% { opacity: 0; transform: scale(.3); } 20% { opacity: 1; transform: scale(1.25); } 22%, 32% { opacity: 1; transform: scale(1); } 38%, 100% { opacity: 0; transform: scale(.8); } }
.lp-world-sec { padding-block: 0; }
.lp-world { position: relative; min-height: clamp(640px, 62vw, 820px); display: grid; place-items: center; padding-block: clamp(40px, 6vw, 80px); }
.lp-world__center { display: flex; flex-direction: column; align-items: center; }
.lp-world__msg { position: relative; z-index: 2; max-width: 900px; margin: 0; padding-inline: max(16px, env(safe-area-inset-left, 0px)); text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 2.9vw, 38px); line-height: 1.24; letter-spacing: -.02em; text-wrap: balance; }
.lp-world__msg span { color: var(--cyan-300); }
.lp-person { position: absolute; z-index: 1; display: flex; align-items: center; gap: 0; animation: tf-float var(--dur, 8s) var(--tf-ease-float) var(--delay, 0s) infinite; --amp: 6px; }
.lp-person--r { flex-direction: row-reverse; }
.lp-face { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; padding: 2px; background: linear-gradient(140deg, var(--cyan-300), var(--blue-500) 45%, var(--gold-500)); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8), 0 0 18px -4px rgba(39, 196, 245, .5); }
.lp-face svg, .lp-face img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.lp-face i { position: absolute; right: 1px; bottom: 3px; width: 13px; height: 13px; border-radius: 50%; background: #43d39e; border: 2.5px solid #061424; box-shadow: 0 0 8px rgba(67, 211, 158, .7); }
.lp-face::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--cyan-300); opacity: 0; pointer-events: none; animation: lp-ring var(--loop, 14s) var(--tf-ease-out) var(--sd, 0s) infinite; }
.lp-talk { position: relative; display: flex; align-items: center; }
.lp-say { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 0 -6px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; white-space: nowrap; font-size: 15px; line-height: 20px; color: var(--ink); background: linear-gradient(135deg, #1b4269, #143556); border: 1px solid rgba(127, 227, 255, .28); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9); opacity: 0; animation: lp-say var(--loop, 14s) var(--tf-ease-out) var(--sd, 0s) infinite; transform-origin: left center; }
.lp-person--r .lp-say { margin: 0 -6px 0 0; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #0f6aa8, #0b5287); border-color: rgba(127, 227, 255, .5); transform-origin: right center; }
.lp-say small { font-size: 11px; color: #a9b8cc; font-variant-numeric: tabular-nums; }
.lp-person--r .lp-say small { color: #d6e6f5; }
.lp-dots { position: absolute; left: 4px; top: 50%; margin-top: -13px; display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; background: #143556; border: 1px solid rgba(127, 227, 255, .24); opacity: 0; animation: lp-dots var(--loop, 14s) linear var(--sd, 0s) infinite; }
.lp-person--r .lp-dots { left: auto; right: 4px; }
.lp-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-300); animation: tf-dot-bounce 1s var(--tf-ease-float) infinite; }
.lp-dots i:nth-child(2) { animation-delay: .15s; }
.lp-dots i:nth-child(3) { animation-delay: .3s; }
.lp-heart { position: absolute; right: -10px; bottom: -13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0c2340; border: 1px solid var(--rc, #ffc94d); box-shadow: 0 0 10px -1px var(--rc, #ffc94d); opacity: 0; animation: lp-heart var(--loop, 14s) var(--tf-ease-out) var(--sd, 0s) infinite; }
.lp-person--r .lp-heart { right: auto; left: -10px; }
.lp-heart svg { width: 16px; height: 16px; }
.lp-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lp-links path { fill: none; vector-effect: non-scaling-stroke; }
.lp-links .base { stroke: rgba(127, 227, 255, .16); stroke-width: 1; stroke-dasharray: 2 7; }
.lp-links .spark { stroke: var(--cyan-300); stroke-width: 2; stroke-linecap: round; stroke-dasharray: .08 1.92; stroke-dashoffset: 1; animation: tf-glint 6s linear infinite; }
.lp-links .spark.gold { stroke: var(--gold-300); }
@media (max-width: 1100px) { .lp-person.w-hide { display: none; } }
@media (max-width: 820px) {
  .lp-world { min-height: 0; padding-block: clamp(190px, 30vw, 250px) clamp(210px, 32vw, 270px); }
  .lp-person.m-hide, .lp-links { display: none; }
  .lp-person { left: var(--ml, auto) !important; right: var(--mr, auto) !important; top: var(--mt) !important; }
  .lp-face { width: 46px; height: 46px; }
  .lp-say { font-size: 13.5px; padding: 6px 10px; }
}

/* ---------- the app demo, modelled on the real FlickFlor desktop app ---------- */
.lp-chat { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--bg-950), var(--bg-900) 40%, var(--bg-950)); }
.lp-chat__head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.lp-chat__head .tf-eyebrow { display: flex; flex-direction: column; align-items: center; }
.lp-app { border-radius: 20px; overflow: hidden; border: 2px solid transparent; background: linear-gradient(180deg, rgba(10, 30, 52, .94), rgba(4, 12, 22, .97)) padding-box, linear-gradient(90deg, var(--cyan-300), var(--blue-500) 22%, rgba(255, 182, 46, .5) 50%, rgba(255, 214, 120, .45) 60%, var(--blue-500) 80%, var(--cyan-300) 100%) border-box; background-size: auto, 200% 100%; box-shadow: -50px 0 90px -40px rgba(30, 155, 255, .75), 50px 0 90px -40px rgba(255, 182, 46, .18), inset 0 0 40px rgba(30, 155, 255, .10), 0 40px 80px -30px rgba(0, 0, 0, .9); animation: tf-border-run 9s linear infinite; }
.js .lp-app.in { animation: tf-rise var(--tf-dur-enter) var(--tf-ease-out) both, tf-border-run 9s linear infinite; animation-delay: 160ms, 0s; }
.lp-app__bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--lp-rule); background: rgba(4, 12, 22, .5); }
.lp-app__bar > img { width: 20px; height: 20px; }
.lp-app__bar > b { font: 600 14px/1 var(--font-sans); color: var(--ink-muted); }
.lp-demo { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 5px 12px; border-radius: 999px; background: rgba(39, 196, 245, .12); border: 1px solid rgba(127, 227, 255, .35); font: 600 12.5px/16px var(--font-sans); color: var(--cyan-300); white-space: nowrap; }
.lp-demo i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 8px var(--cyan-400); animation: tf-breathe 2s var(--tf-ease-float) infinite; }
.lp-win { display: flex; gap: 22px; margin-left: auto; }
.lp-win svg { width: 12px; height: 12px; fill: none; stroke: var(--ink-subtle); stroke-width: 1.2; }
.lp-app__body { display: grid; grid-template-columns: 224px 304px minmax(0, 1fr); height: 660px; }
.lp-rail { display: flex; flex-direction: column; gap: 6px; min-height: 0; padding: 14px 12px; border-right: 1px solid var(--lp-rule); background: linear-gradient(180deg, rgba(6, 26, 44, .7), rgba(3, 14, 26, .7)); position: relative; overflow: hidden; }
.lp-rail::after { content: ""; position: absolute; left: -30px; right: -10px; bottom: 70px; height: 120px; pointer-events: none; background: radial-gradient(120px 50px at 70% 60%, rgba(39, 196, 245, .22), transparent 70%); border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(127, 227, 255, .5), transparent) 1; transform: rotate(-24deg); opacity: .7; }
.lp-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--lp-rule); }
.lp-brand img { width: 40px; height: 40px; flex: none; }
.lp-brand b { display: block; font: 800 22px/24px var(--font-display); letter-spacing: -.02em; }
.lp-brand b em { font-style: normal; color: var(--cyan-400); }
.lp-brand small { display: block; margin-top: 3px; font: 700 10.5px/12px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); }
.lp-nav { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--ink-muted); font: 500 15.5px/1 var(--font-sans); text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.lp-nav svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lp-nav:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.lp-nav[aria-pressed="true"] { color: var(--ink); background: linear-gradient(135deg, rgba(15, 160, 180, .38), rgba(10, 90, 110, .32)); border-color: rgba(64, 214, 230, .7); box-shadow: 0 0 18px -4px rgba(39, 196, 245, .55), inset 0 1px 0 rgba(255, 255, 255, .16); }
.lp-nav__n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(160deg, var(--red-400), var(--red-500) 60%); color: var(--ink); font: 800 11.5px/1 var(--font-display); }
.lp-nav__n:empty { display: none; }
.lp-me { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 14px 6px 2px; border-top: 1px solid var(--lp-rule); position: relative; z-index: 1; }
.lp-me__txt b { display: block; font: 700 15px/19px var(--font-display); }
.lp-me__txt span { display: block; font-size: 12.5px; line-height: 16px; color: #43d39e; }
.lp-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--lp-rule); background: rgba(4, 12, 22, .3); }
.lp-side__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 14px 4px 18px; }
.lp-side__head h3 { margin: 0; font: 800 24px/1 var(--font-display); letter-spacing: -.01em; }
.lp-ibtns { display: flex; gap: 8px; }
.lp-ibtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: var(--ink); cursor: pointer; }
.lp-ibtn:hover { border-color: var(--cyan-400); background: rgba(39, 196, 245, .1); }
.lp-ibtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-search { margin: 14px 14px 10px; position: relative; }
.lp-search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 999px; border: 1px solid var(--lp-rule); background: rgba(255, 255, 255, .05); color: var(--ink); font: 400 15px/1 var(--font-sans); }
.lp-search input::placeholder, .lp-compose input::placeholder { color: var(--ink-subtle); }
.lp-search svg { position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; fill: none; stroke: var(--ink-subtle); stroke-width: 1.8; stroke-linecap: round; }
.lp-compose input:focus, .lp-search input:focus { border-color: var(--cyan-400); box-shadow: var(--glow-blue); outline: none; }
.lp-hint { margin: -2px 14px 8px; padding: 8px 12px; border-radius: 10px; background: rgba(39, 196, 245, .1); border: 1px solid rgba(127, 227, 255, .28); font-size: 13px; line-height: 18px; color: var(--cyan-300); }
.lp-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0; padding: 0 8px 10px; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.lp-conv { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; transition: background-color .2s; }
.lp-conv:hover { background: rgba(255, 255, 255, .05); }
.lp-conv[aria-current="true"] { background: linear-gradient(135deg, rgba(96, 170, 230, .30), rgba(22, 58, 96, .5)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22); }
.lp-conv[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan-300), var(--gold-500)); box-shadow: 0 0 10px var(--cyan-400); }
.lp-conv__txt { flex: 1 1 auto; min-width: 0; }
.lp-conv__txt b { display: block; font: 700 15px/20px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-conv__txt span { display: block; font-size: 13.5px; line-height: 18px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-conv__end { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-size: 12px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
.lp-badge { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: linear-gradient(160deg, var(--red-400), var(--red-500) 60%); box-shadow: 0 3px 10px rgba(222, 39, 67, .5); color: var(--ink); font: 800 11.5px/1 var(--font-display); }
.lp-empty { padding: 18px 12px; color: var(--ink-subtle); font-size: 14px; }
.lp-placeholder { padding: 22px 16px; display: flex; flex-direction: column; gap: 6px; }
.lp-placeholder b { font: 700 16px/20px var(--font-display); }
.lp-placeholder span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.lp-thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lp-thread__head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--lp-rule); }
.lp-thread__head > span:last-child b { display: block; font: 700 16px/20px var(--font-display); }
.lp-thread__head > span:last-child > span { display: block; font-size: 13px; line-height: 17px; color: var(--ink-muted); }
.lp-msgs { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.lp-day { align-self: center; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 12px; color: var(--ink-subtle); }
.lp-msg { display: flex; align-items: flex-end; gap: 10px; max-width: min(78%, 520px); }
.lp-msg--out { align-self: flex-end; flex-direction: row-reverse; }
.lp-msg.pop { animation: tf-pop .55s var(--tf-ease-out) both; animation-delay: calc(var(--k, 0) * 70ms); transform-origin: left bottom; }
.lp-msg--out.pop { transform-origin: right bottom; }
/* opaque bubble fills keep text contrast at WCAG AA */
.lp-bub { min-width: 0; padding: 10px 14px 8px; border-radius: 18px 18px 18px 6px; background: linear-gradient(135deg, #1b4269 0%, #143556 100%); border: 1px solid rgba(127, 227, 255, .26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 26px -14px rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: 6px; }
.lp-msg--out .lp-bub { border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, #0f6aa8 0%, #0b5287 100%); border-color: rgba(127, 227, 255, .5); }
.lp-bub__who { font: 700 13px/16px var(--font-display); color: var(--cyan-300); }
.lp-bub__txt { font-size: 15.5px; line-height: 22px; color: #fff; overflow-wrap: anywhere; }
.lp-bub__cap { font: 700 14px/18px var(--font-display); }
.lp-bub__foot { display: flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 11.5px; color: #a9b8cc; font-variant-numeric: tabular-nums; }
.lp-msg--out .lp-bub__foot { color: #d6e6f5; }
.lp-msg--out .lp-ticks { stroke: rgba(214, 230, 245, .75); }
.lp-msg--out .lp-ticks.read { stroke: #7fe3ff; }
.lp-istyping { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-muted); }
.lp-istyping .tf-typing { animation: none; }
.lp-compose { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--lp-rule); }
.lp-compose input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-rule); background: rgba(255, 255, 255, .05); color: var(--ink); font: 400 15px/1 var(--font-sans); }
.lp-send { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(180deg, var(--gold-300), var(--gold-500) 45%, var(--gold-600)); color: var(--on-gold); box-shadow: var(--glow-gold); transition: transform .18s var(--tf-ease-out), box-shadow .18s; }
.lp-send:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(255, 182, 46, .8); }
.lp-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1100px) {
  .lp-app__body { grid-template-columns: 72px 280px minmax(0, 1fr); }
  .lp-brand span, .lp-nav__lbl, .lp-me__txt { display: none; }
  .lp-brand { justify-content: center; padding: 4px 0 14px; }
  .lp-nav { justify-content: center; padding: 0; }
  .lp-nav__n { position: absolute; top: 4px; right: 4px; margin: 0; }
  .lp-me { justify-content: center; }
  .lp-demo { gap: 0; padding: 5px; }
  .lp-demo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-width: 900px) { .lp-app__body { grid-template-columns: 72px minmax(0, 1fr); } .lp-thread { grid-column: 1 / -1; } }
@media (max-width: 820px) {
  .lp-app__body { grid-template-columns: minmax(0, 1fr); height: auto; }
  .lp-rail { flex-direction: row; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--lp-rule); }
  .lp-rail::after, .lp-brand, .lp-me { display: none; }
  .lp-nav { flex: 1 1 0; flex-direction: column; gap: 4px; min-height: 56px; padding: 6px 0; font-size: 12px; justify-content: center; }
  .lp-nav__lbl { display: inline; }
  .lp-demo { gap: 6px; padding: 4px 10px; }
  .lp-demo span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .lp-win { display: none; }
  .lp-side { border-right: 0; border-bottom: 1px solid var(--lp-rule); }
  .lp-list { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 10px 12px; gap: 8px; }
  .lp-list li { flex: none; width: 236px; }
  .lp-conv { border: 1px solid var(--lp-rule); }
  .lp-msgs { height: 460px; flex: none; padding: 16px 12px; }
  .lp-msg { max-width: 92%; }
}

/* ---------- final call to action ---------- */
.lp-cta { position: relative; z-index: 1; padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.lp-cta h2 em { font-style: italic; padding-right: .06em; background: linear-gradient(100deg, var(--gold-500) 0%, var(--gold-400) 30%, var(--gold-300) 45%, var(--gold-400) 60%, var(--gold-500) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tf-sheen-text 6s linear infinite; }
.lp-cta__tag { display: block; margin: 0 0 18px; font: 600 13px/1 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan-300); }
.lp-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.lp-cta .tf-platforms { justify-content: center; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 480px) { .lp-cta__btns .tf-btn { flex: 1 1 100%; } }

/* ---------- reduced motion: the stories rest on a readable still frame ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .lp-reveal { opacity: 1; }
  .tf-typing, .tf-unread .old, .tf-wave--live, .tf-state__a, .lp-dots, .ph-typing { display: none !important; }
  .tf-unread .new, .tf-state__b, .lp-say, .lp-heart { opacity: 1; }
  .tf-ticks { stroke: var(--cyan-300); }
  .tf-hub__mark { filter: drop-shadow(0 0 18px rgba(39, 196, 245, .55)); }
}

/* the Web tile is a link (the web app is live); keep it the same size as its siblings */
.m-platforms > li:not(.tf-platform) { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.m-platforms > li > a.tf-platform { width: 100%; }
@media (max-width: 560px) {
  .lp-cta .tf-platforms { flex-wrap: nowrap; gap: 8px; }
  .lp-cta .tf-platforms > li { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
  .lp-cta .tf-platform { width: 100%; }
  .lp-cta .tf-platform__tile { width: 100%; max-width: 83px; }
}
