/* TelegramBlaster site, part 3: the home page's showpiece sections and the footer, with their motion.
   Proof strip and numbers after the suite, the hand-off map, the comparison,
   who it is for, getting started, and the footer.
   Every animation here is switched off by the reduced-motion rule in shared/css/core.css. */

/* a soft light that follows the pointer (shared/js/fx.js sets --mx and --my) */
[data-glow] { position: relative; isolation: isolate; }
[data-glow]::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), var(--glow, rgba(255, 207, 74, .4)), transparent 68%); }
[data-glow]:hover::before { opacity: 1; }

/* cards that lift: once revealed they answer the pointer at once, whatever delay they arrived with */
.proof li.in { transition: transform .5s var(--ease) var(--d, 0s), opacity .8s var(--ease) var(--d, 0s), box-shadow .4s var(--ease), border-color .3s; }
.proof li.in:hover { transition-delay: 0s; }

@keyframes drift { to { transform: translate(18%, 12%) scale(1.25); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }

/* after the suite: three promises, then one panel: four numbers on an ink band, and six things only a single app can do */
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.proof li { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 20px; background: rgba(255, 253, 249, .72); border: 1px solid var(--line); box-shadow: var(--sh-sm); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .95rem; font-weight: 500; line-height: 1.35; --glow: rgba(255, 207, 74, .5); }
.proof li.in:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.proof-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--coral), #F0703F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(212, 65, 26, .9); transition: transform .5s var(--ease); }
.proof li:nth-child(2) .proof-ic { background: linear-gradient(135deg, var(--teal-d), #12A69B); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(12, 127, 119, .9); }
.proof li:nth-child(3) .proof-ic { background: linear-gradient(135deg, var(--grape-d), #8459E8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -10px rgba(98, 56, 201, .9); }
.proof li:hover .proof-ic { transform: rotate(-8deg) scale(1.1); }

.edge { overflow: hidden; margin-top: 14px; border-radius: var(--r-xl); background: rgba(255, 253, 249, .72); border: 1px solid var(--line); box-shadow: var(--sh-sm); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.edge-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--ink); color: #fff; }
.edge-figs > div { min-width: 0; display: flex; align-items: center; gap: 16px; padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px); box-shadow: 1px 1px 0 rgba(255, 255, 255, .12); }
.edge-figs dt { flex: none; font: 700 clamp(2.4rem, 1.8rem + 1.8vw, 3.2rem)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--sun); }
.edge-figs dd { font-size: .9rem; line-height: 1.4; color: #D9CCE8; }
.edge-label { display: flex; align-items: center; gap: 10px; padding: 13px clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--line); font: 500 .76rem var(--mono); color: var(--mute); }
.edge-label i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.edge ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edge li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px); box-shadow: 1px 1px 0 var(--line); --glow: rgba(232, 222, 255, .95); transition: background-color .3s; }
.edge li:hover { background: var(--white); }
.edge-ic { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--lilac); color: var(--grape-d); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.edge li:nth-child(3n+2) .edge-ic { background: var(--peach); color: var(--coral-d); } .edge li:nth-child(3n) .edge-ic { background: var(--mint); color: var(--teal-d); }
.edge li:hover .edge-ic { transform: rotate(-8deg) scale(1.1); background: var(--ink); color: var(--sun); }
.edge b { align-self: end; font: 600 1.02rem/1.25 var(--display); letter-spacing: -0.02em; } .edge li p { font-size: .9rem; line-height: 1.45; color: var(--mute); }

/* 01 hand-offs: a map on wide screens, the same six routes as a list on small ones */
.flowmap { position: relative; isolation: isolate; overflow: hidden; padding: clamp(22px, 3vw, 44px) clamp(18px, 3vw, 44px) 16px; border-radius: var(--r-xl); color: #fff; box-shadow: 0 44px 80px -44px rgba(43, 27, 61, .95);
  background: radial-gradient(55% 80% at 28% 50%, rgba(98, 56, 201, .55), transparent 70%), radial-gradient(40% 60% at 90% 20%, rgba(212, 65, 26, .38), transparent 70%), var(--ink); }
.flowmap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(80% 90% at 50% 50%, #000, transparent); mask-image: radial-gradient(80% 90% at 50% 50%, #000, transparent); }
.flowmap svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--display); }
.fm-edge, .fm-via, .fm-node { transition: opacity .35s; }
.fm-wire, .fm-pulse { fill: none; }
.fm-wire { stroke: rgba(255, 255, 255, .4); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke .3s, stroke-dashoffset 1.3s var(--ease) calc(.35s + var(--i) * .12s); }
.fm-pulse { stroke: var(--sun); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 100; animation: fm-run 2.8s linear infinite; animation-delay: calc(var(--i) * -.47s); }
@keyframes fm-run { to { stroke-dashoffset: 0; } }
.fm-node { cursor: default; transition: opacity .6s var(--ease) calc(var(--i) * .08s); }
.fm-node rect { fill: rgba(255, 253, 249, .08); stroke: rgba(255, 255, 255, .24); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.fm-node circle { fill: var(--sun); transform-box: fill-box; transform-origin: center; }
.fm-name { fill: #fff; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; } .fm-stage { fill: #C9BBDB; font: 500 10.5px var(--mono); }
.fm-hub rect { fill: var(--coral); stroke: rgba(255, 255, 255, .55); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); } .fm-hub .fm-stage { fill: #FFE2CC; } .fm-hub circle { fill: #fff; animation: beat 1.8s var(--ease) infinite; }
@keyframes beat { 50% { transform: scale(1.5); } }
.fm-via rect { fill: var(--sun); } .fm-via text { text-anchor: middle; fill: var(--ink); font: 500 11px var(--mono); }
.js .flowmap:not(.in) .fm-wire { stroke-dashoffset: 100; } .js .flowmap:not(.in) .fm-node, .js .flowmap:not(.in) .fm-via, .js .flowmap:not(.in) .fm-pulse { opacity: 0; }
.fm-via, .fm-pulse { transition: opacity .5s 1.2s; }
.flowmap.has-hot .fm-edge:not(.is-hot), .flowmap.has-hot .fm-via:not(.is-hot), .flowmap.has-hot .fm-node:not(.is-hot) { opacity: .25; transition-delay: 0s; }
.fm-edge.is-hot .fm-wire { stroke: var(--sun); } .fm-node.is-hot:not(.fm-hub) rect { fill: rgba(255, 207, 74, .18); stroke: var(--sun); }
.fm-hint { margin-top: 8px; text-align: center; font: 500 .75rem var(--mono); color: #C9BBDB; }
@media (hover: none) { .fm-hint { display: none; } }
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flow li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 24px 40px -28px rgba(43, 27, 61, .9); }
.flow b { display: grid; place-items: center; min-height: 52px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); font: 600 .93rem/1.2 var(--display); letter-spacing: -0.02em; text-align: center; }
.flow b:last-child { background: var(--coral); }
.via { display: inline-flex; align-items: center; gap: 8px; justify-self: center; padding: 6px 12px 6px 10px; border-radius: 8px; background: var(--sun); color: var(--ink); font: 500 .75rem var(--mono); white-space: nowrap; }
.via i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
@media (min-width: 1001px) { .flow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }

/* comparison: the table */
#compare { padding-top: 0; } /* no heading of its own, so it sits closer to the section above */

.matrixcard { padding: clamp(12px, 2vw, 28px); }
.matrix { position: relative; z-index: 0; min-width: 880px; border-collapse: separate; border-spacing: 0; }
.matrix th, .matrix td { position: relative; padding: 14px 10px; text-align: center; border-bottom: 1px solid var(--line); font-size: .92rem; transition: background-color .2s; }
.matrix thead th { font: 500 .75rem var(--mono); color: var(--mute); vertical-align: bottom; }
.matrix th:first-child { position: sticky; left: 0; z-index: 1; min-width: 220px; padding-left: 16px; text-align: left; background: var(--white); }
.matrix tbody th { font-weight: 600; font-size: .97rem; } .matrix small { display: block; font-weight: 400; font-size: .8rem; color: var(--mute); }
.matrix .where { font-size: .84rem; color: var(--mute); white-space: nowrap; padding-right: 16px; }
.matrix td:nth-child(3) { --c: 1; } .matrix td:nth-child(4) { --c: 2; } .matrix td:nth-child(5) { --c: 3; } .matrix td:nth-child(6) { --c: 4; } .matrix td:nth-child(7) { --c: 5; } .matrix td:nth-child(8) { --c: 6; } .matrix td:nth-child(9) { --c: 7; }
.m { display: inline-block; vertical-align: middle; transition: transform .3s var(--ease); }
.m2 { width: 24px; height: 24px; border-radius: 50%; background: var(--teal) center / 13px no-repeat; box-shadow: 0 6px 12px -6px rgba(12, 127, 119, .95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.m1 { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(90deg, #D98A1C 50%, transparent 50%); box-shadow: inset 0 0 0 2px #D98A1C; }
.m0 { width: 12px; height: 2px; border-radius: 2px; background: #C9BDD3; }
.matrix td:not(.where):hover::after { content: ""; position: absolute; inset: -2000px 0; z-index: -1; background: rgba(98, 56, 201, .07); pointer-events: none; }
.matrix tbody tr:not(.us):hover > * { background: var(--bg); } .matrix tbody tr:hover .m2, .matrix tbody tr:hover .m1 { transform: scale(1.2); }
.js .matrixcard:not(.in) .m { opacity: 0; }
.matrixcard.in .m { animation: m-pop .55s var(--ease) both; animation-delay: calc(.15s + var(--r, 0) * 55ms + var(--c, 0) * 35ms); } @keyframes m-pop { from { opacity: 0; transform: scale(0); } }
.matrix .us > *, .matrix .us th:first-child { background: var(--ink); color: #fff; border-bottom: 0; } .matrix .us th { border-radius: var(--r-md) 0 0 var(--r-md); font: 700 1.08rem var(--display); letter-spacing: -0.02em; }
.matrix .us td:last-child { border-radius: 0 var(--r-md) var(--r-md) 0; color: #fff; font-weight: 600; } .matrix .us small { color: #CFC2E0; font-family: Figtree, sans-serif; letter-spacing: 0; }
.matrix .us .m2 { background-color: var(--sun);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232B1B3D' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.matrixcard.in .us .m2 { animation: m-pop .55s var(--ease) both, wave 2.6s ease-in-out infinite; animation-delay: calc(.15s + var(--r, 0) * 55ms + var(--c, 0) * 35ms), calc(1.6s + var(--c, 0) * .13s); }
@keyframes wave { 0%, 30%, 100% { transform: none; } 15% { transform: translateY(-5px) scale(1.15); } }
.matrix tbody tr:nth-last-child(2) > * { border-bottom-color: transparent; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 18px 16px 0; font-size: .86rem; color: var(--mute); } .legend > span { display: inline-flex; align-items: center; gap: 9px; } .legend .m { opacity: 1 !important; animation: none !important; transform: scale(.8); }
.matrixcard .fine { margin: 10px 16px 8px; }

/* 02 who it is for: a dark stage of five panels. The one in hand opens wide in its own colour; the niches drift underneath. */
.who { --focus: var(--sun); position: relative; isolation: isolate; overflow: hidden; display: grid; gap: clamp(14px, 2vw, 24px); padding: clamp(12px, 1.6vw, 22px); border-radius: var(--r-xl); background: var(--ink); color: #fff; box-shadow: 0 50px 90px -44px rgba(43, 27, 61, .95); }
.who::before, .who::after { content: ""; position: absolute; z-index: -1; width: 44%; aspect-ratio: 1; border-radius: 50%; filter: blur(100px); opacity: .5; animation: drift 15s ease-in-out infinite alternate; }
.who::before { left: -12%; bottom: -60%; background: var(--grape); } .who::after { right: -10%; top: -60%; background: var(--coral); animation-delay: -7s; }
.who-roles { display: flex; gap: 10px; min-height: 290px; }
.who-roles li { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: flex-grow .7s var(--ease), background-color .4s, box-shadow .4s; }
.who-roles li.is-open { flex-grow: 5; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--acc), 0 30px 50px -34px rgba(0, 0, 0, .6); }
@supports (background: color-mix(in srgb, red 50%, transparent)) { .who-roles li.is-open { background: linear-gradient(140deg, color-mix(in srgb, var(--acc) 30%, transparent), rgba(255, 255, 255, .05) 62%); } }
.who-tab { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; padding: 18px; color: #fff; text-align: left; cursor: pointer; }
.who-tab:focus-visible { outline-offset: -4px; }
.who-n { order: -1; font: 500 .76rem var(--mono); color: var(--acc); }
.who-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: var(--acc); transition: transform .6s var(--ease), background-color .4s, color .4s; }
.who-roles li:hover .who-ic { transform: rotate(-8deg) scale(1.08); }
.who-name { margin-top: auto; font: 600 1.08rem/1.2 var(--display); letter-spacing: -0.02em; color: #D9CCE8; max-height: 150px; writing-mode: vertical-rl; transform: rotate(180deg); }
/* the open panel: its name runs along the top, large, and what that person does with the app sits under it */
.who-roles li.is-open .who-tab { flex: 0 0 auto; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 2px 16px; align-items: center; padding-bottom: 12px; cursor: default; }
.who-roles li.is-open .who-ic { grid-row: span 2; background: var(--acc); color: var(--ink); transform: rotate(-8deg); box-shadow: 0 14px 24px -12px rgba(0, 0, 0, .55); }
.who-roles li.is-open .who-n { order: 0; align-self: end; color: #FFE2CC; } /* the accent on its own tint is too faint to read */
.who-roles li.is-open .who-name { margin: 0; align-self: start; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -0.035em; color: #fff; max-height: none; writing-mode: horizontal-tb; transform: none; }
.who-body { display: none; } /* held at a fixed width while the panel grows, so the words never re-wrap mid-move */
.who-roles li.is-open .who-body { display: grid; gap: 16px; align-content: start; width: clamp(280px, 44vw, 600px); max-width: 100%; margin-top: auto; padding: 0 18px 20px; animation: who-in .6s var(--ease) .2s backwards; }
@keyframes who-in { from { opacity: 0; transform: translateY(14px); } }
.who-body > p:first-child { max-width: 36ch; font: 500 clamp(1.1rem, .95rem + .6vw, 1.32rem)/1.4 var(--display); letter-spacing: -0.02em; color: #fff; }
.who-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .who-tools span { margin-right: 4px; font: 500 .76rem var(--mono); color: #C6B8D8; }
.who-tools a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; font: 600 .86rem var(--display); letter-spacing: -0.01em; text-decoration: none; transition: background-color .25s, color .25s, box-shadow .25s, transform .3s var(--ease); }
.who-tools a:hover { background: var(--acc); color: var(--ink); box-shadow: none; transform: translateY(-2px); }
html:not(.js) .who-roles { flex-wrap: wrap; min-height: 0; } html:not(.js) .who-roles li { flex: 1 1 300px; } html:not(.js) .who-body { display: grid; gap: 14px; padding: 0 18px 20px; } html:not(.js) .who-name { max-height: none; writing-mode: horizontal-tb; transform: none; }

.who-niches { display: grid; gap: 12px; padding: clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px) 6px; }
.niche-label { font-size: 1rem; color: #D9CCE8; } .niche-label b { margin-right: 6px; font: 700 1.9rem/1 var(--display); letter-spacing: -0.04em; color: var(--sun); }
/* a still cloud of the 15 niches: the markup repeats them for a ticker, so show each one once */
.niches { display: grid; gap: 10px; padding: 4px 0; }
.niches ul { display: flex; flex-wrap: wrap; gap: 10px; }
.niches ul:nth-child(2), .niches li:nth-child(n+16) { display: none; }
.niches li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font: 600 .98rem var(--display); letter-spacing: -0.015em; white-space: nowrap; cursor: default; transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .25s; }
.niches li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF8A5C; } .niches li:nth-child(3n)::before { background: var(--sun); } .niches li:nth-child(3n+1)::before { background: #3CCFB4; }
.niches li:hover, .niches li.is-hot { background: var(--sun); color: var(--ink); box-shadow: none; transform: translateY(-3px); } .niches li:hover::before, .niches li.is-hot::before { background: var(--ink); }
.niche-kw { min-height: 1.5em; font: 500 .8rem var(--mono); color: #C6B8D8; } .niche-kw b { color: var(--sun); font-weight: 500; }
@media (hover: none) { .niche-kw { display: none; } }

/* 03 getting started: a lit path on a dark stage. The line fills and each step lights up as the reader scrolls (fx.js sets --t and marks the steps reached); the path ends at the trial. */
.steps { --focus: var(--sun); --t: 1; position: relative; isolation: isolate; overflow: hidden; padding: clamp(20px, 2.6vw, 34px); border-radius: var(--r-xl); background: var(--ink); color: #fff; box-shadow: 0 50px 90px -44px rgba(43, 27, 61, .95); }
.steps::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -70%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--teal); filter: blur(100px); opacity: .6; animation: drift 15s ease-in-out infinite alternate; }
.steps::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 22px 22px; -webkit-mask-image: radial-gradient(70% 90% at 30% 20%, #000, transparent); mask-image: radial-gradient(70% 90% at 30% 20%, #000, transparent); }
.steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.steps-line { position: absolute; left: calc(clamp(20px, 2.6vw, 34px) + 28px); right: clamp(20px, 2.6vw, 34px); top: calc(clamp(20px, 2.6vw, 34px) + 27px); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.steps-line i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--coral), var(--sun)); transform-origin: 0 0; transform: scaleX(var(--t)); }
.steps li { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 16px; }
.steps .n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink-2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); font: 700 1.2rem var(--display); color: #C6B8D8; transition: background-color .4s, color .4s, transform .6s var(--ease), box-shadow .4s; }
.steps li.is-on .n { background: var(--sun); color: var(--ink); transform: scale(1.08); box-shadow: 0 0 0 7px rgba(255, 207, 74, .18), 0 10px 20px -10px rgba(0, 0, 0, .45); }
.step-card { overflow: hidden; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px 14px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); --glow: rgba(255, 207, 74, .16); transition: opacity .6s, transform .7s var(--ease), background-color .4s, box-shadow .4s; }
.js .steps li:not(.is-on) .step-card { opacity: .45; transform: translateY(16px); }
.steps li.is-on .step-card { background: rgba(255, 255, 255, .09); } .steps li.is-on .step-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 207, 74, .5), 0 26px 40px -28px rgba(0, 0, 0, .45); }
.step-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #C6B8D8; transition: background-color .4s, color .4s, transform .6s var(--ease); }
.step-card > p { grid-column: 1 / -1; } /* the icon sits beside the heading; the text runs underneath */
.steps li.is-on .step-ic { background: var(--sun); color: var(--ink); } .step-card:hover .step-ic { transform: rotate(-8deg) scale(1.1); }
.steps h3 { font-size: 1.2rem; } .steps p { font-size: .96rem; color: #D9CCE8; }
.steps-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(16px, 2vw, 24px); padding-top: clamp(16px, 2vw, 22px); border-top: 1px solid rgba(255, 255, 255, .12); }
.steps-cta span { font: 600 1.05rem var(--display); letter-spacing: -0.02em; color: #fff; }

/* footer: brand and trial, link columns, then the small print */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 clamp(24px, 3vw, 40px); border-radius: var(--r-band) var(--r-band) 0 0; }
.footer-aura i { position: absolute; z-index: -1; width: 46vw; max-width: 640px; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .5; background: var(--grape); left: -12%; bottom: -34%; animation: drift 16s ease-in-out infinite alternate; }
.footer-aura i:last-child { left: auto; right: -10%; bottom: -46%; background: var(--coral); opacity: .42; animation-delay: -7s; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: var(--gap); padding-top: clamp(28px, 3.6vw, 48px); }
.footer-brand { display: grid; gap: 18px; justify-items: start; align-content: start; } .footer-brand > p { max-width: 40ch; font-size: .98rem; color: #DCD0EA; }
.footer .logo { font-size: 1.3rem; } .footer .logo b { color: var(--sun); } .footer .logo img { transition: transform .6s var(--ease); } .footer .logo:hover img { transform: rotate(-12deg) scale(1.12); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; } .footer-mail a { color: #fff; font-size: .95rem; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .2s; } .footer-mail a:hover { text-decoration-color: var(--sun); }
.footer-brand .footer-live { max-width: none; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); font: 500 .75rem var(--mono); color: #DCD0EA; }
.footer-live i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3CCFB4; } .footer-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3CCFB4; animation: ping 2.4s var(--ease) infinite; }
.footer-col { display: grid; gap: 2px; align-content: start; justify-items: start; } .footer-col h3 { margin-bottom: 12px; font: 500 .75rem var(--mono); letter-spacing: 0; color: #BCADCF; }
.footer-col a { position: relative; padding: 7px 0; font-size: .97rem; color: #EDE4F7; text-decoration: none; transition: color .2s, transform .35s var(--ease); }
.footer-col a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--sun); transform: scale(0); transition: transform .35s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(14px); } .footer-col a:hover::before { transform: scale(1); }
.legal { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 6px; font-size: .86rem; color: #BCADCF; max-width: 84ch; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; color: #BCADCF; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); color: #fff; font: 600 .9rem var(--display); text-decoration: none; transition: background-color .25s, color .25s, box-shadow .25s; }
.to-top .ic { transition: transform .35s var(--ease); } .to-top:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; } .to-top:hover .ic { transform: translateY(-3px); }

@media (max-width: 1000px) {
  .proof { grid-template-columns: minmax(0, 1fr); } .edge-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .flowmap { display: none; } .flow { grid-template-columns: minmax(0, 1fr); }
  .edge ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 16px; } .steps li { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: none; align-items: start; }
  .who-roles li.is-open .who-body { width: auto; }
  .steps-line { left: calc(clamp(20px, 2.6vw, 34px) + 27px); right: auto; top: calc(clamp(20px, 2.6vw, 34px) + 28px); bottom: 150px; width: 3px; height: auto; } .steps-line i { transform: scaleY(var(--t)); }
  /* narrower screens: the five panels stack, and the open one drops down instead of growing sideways */
  .who-roles { flex-direction: column; min-height: 0; } .who-roles li, .who-roles li.is-open { flex: none; }
  .who-tab { flex-direction: row; align-items: center; padding: 14px 16px; } .who-n { order: 0; } .who-name { margin: 0; max-height: none; writing-mode: horizontal-tb; transform: none; }
  .who-roles li.is-open .who-tab { grid-template-columns: 50px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .flowmap, .edge { border-radius: var(--r-lg); } .edge-figs > div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .flow li { grid-template-columns: minmax(0, 1fr); gap: 8px; } .flow .via { margin: 2px 0; }
  .edge ul { grid-template-columns: minmax(0, 1fr); } .matrix th:first-child { min-width: 168px; box-shadow: 1px 0 0 var(--line); }
  .who, .steps { border-radius: var(--r-lg); } .steps-cta .btn { flex: 1 1 100%; }
  /* phones: smaller step numbers, so the cards get the width */
  .steps { padding: 14px; } .steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; } .steps .n { width: 40px; height: 40px; font-size: 1rem; } .step-card { padding: 16px; }
  .steps-line { left: 33px; top: 34px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .footer-brand .footer-live { border-radius: 16px; } }

/* ═══ Download: a dark slab that turns the one-click download into the moment ═══ */
.band-dl { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 5vw, 72px) clamp(22px, 4vw, 60px); border-radius: var(--r-band); background: #221233; color: var(--white); --focus: var(--sun);
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.dl-aura { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(62% 90% at 8% -8%, rgba(212, 65, 26, .42), transparent 55%),
  radial-gradient(64% 84% at 110% 118%, rgba(98, 56, 201, .55), transparent 58%),
  radial-gradient(40% 55% at 94% -2%, rgba(255, 207, 74, .16), transparent 60%); }
.band-dl::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .5; mix-blend-mode: soft-light; pointer-events: none; }
.kicker-inv { color: var(--white); } .kicker-inv span { background: rgba(255, 207, 74, .18); color: var(--sun); }
.dl-lead h2 { font-size: clamp(2.05rem, 1.05rem + 3.5vw, 3.5rem); color: var(--white); }
.dl-lead h2 em { font-style: normal; color: var(--sun); text-decoration: underline rgba(255, 207, 74, .55) .11em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.dl-lede { margin-top: 18px; max-width: 48ch; font-size: 1.1rem; color: rgba(255, 253, 249, .88); }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.btn-link-inv { color: var(--white); } .btn-link-inv:hover { color: var(--sun); }
.dl-facts { display: flex; flex-wrap: wrap; gap: 11px 26px; margin-top: 28px; padding: 0; list-style: none; }
.dl-facts li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255, 253, 249, .9); }
.dl-facts .ic { color: var(--sun); }
.dl-note { align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: rgba(255, 253, 249, .07); border: 1px solid rgba(255, 253, 249, .16); border-radius: var(--r-lg); padding: clamp(20px, 2.4vw, 30px); }
.dl-note-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dl-note-ic { display: inline-flex; color: var(--sun); flex: none; }
.dl-note-h h3 { color: var(--white); font-size: 1.12rem; }
.dl-note > p { color: rgba(255, 253, 249, .82); font-size: .96rem; }
.dl-steps { margin: 15px 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 11px; }
.dl-steps li { position: relative; padding-left: 40px; min-height: 28px; display: block; color: rgba(255, 253, 249, .92); font-size: .96rem; line-height: 1.45; counter-increment: s; }
.dl-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 207, 74, .16); color: var(--sun); font: 700 .85rem var(--display); }
.dl-steps b { color: var(--white); font-weight: 600; }
.dl-note-f { margin-top: 16px; padding-top: 15px; border-top: 1px solid rgba(255, 253, 249, .14); font-size: .9rem; color: rgba(255, 253, 249, .74); }


@media (max-width: 900px) { .band-dl { grid-template-columns: minmax(0, 1fr); padding: clamp(28px, 7vw, 44px) clamp(20px, 6vw, 34px); } }

/* ═══ Download buttons: one family, two finishes (ink in the hero, sun in the download slab) ═══ */
.dlb { --dlb-bg: var(--ink); --dlb-fg: #fff; --dlb-tile: linear-gradient(150deg, #fff, #EFE6FF); --dlb-tile-fg: var(--ink); --dlb-go: rgba(255, 255, 255, .12); --dlb-edge: #120A1C;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 11px 10px 10px; border-radius: 22px;
  background: var(--dlb-bg); color: var(--dlb-fg); text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 3px 0 var(--dlb-edge), 0 22px 34px -20px rgba(43, 27, 61, .85);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.dlb::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .32) 48%, transparent 64%) -150% 0 / 60% 100% no-repeat; }
.dlb:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 0 var(--dlb-edge), 0 30px 40px -20px rgba(43, 27, 61, .85); }
.dlb:hover::before { animation: dlb-sweep .95s var(--ease); }
.dlb:active { transform: translateY(2px) scale(.99); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 1px 0 var(--dlb-edge), 0 12px 20px -14px rgba(43, 27, 61, .8); transition-duration: .12s; }
.dlb:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.dlb-tile { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--dlb-tile); color: var(--dlb-tile-fg);
  box-shadow: inset 0 0 0 1px rgba(43, 27, 61, .1), 0 6px 12px -8px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.dlb:hover .dlb-tile { transform: rotate(-8deg) scale(1.07); }
.dlb-t { display: flex; flex-direction: column; gap: 5px; font: 700 1.12rem/1 var(--display); letter-spacing: -0.025em; }
.dlb-t small { font: 600 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.dlb-go { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-left: 8px; border-radius: 14px; background: var(--dlb-go); overflow: hidden; transition: background-color .3s, transform .4s var(--ease); }
.dlb-go svg, .nav-dl-ic svg { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.dlb:hover .dlb-go { transform: scale(1.06); }
.dlb:hover .dla, .nav-dl:hover .dla { animation: dlb-drop 1.05s var(--ease) infinite; }
@keyframes dlb-drop { 0% { transform: translateY(-9px); opacity: 0; } 30% { opacity: 1; } 62% { transform: translateY(0); } 80% { transform: translateY(1.5px); } 100% { transform: translateY(5px); opacity: 0; } }
@keyframes dlb-sweep { to { background-position: 250% 0; } }

/* sun: the big one in the download slab */
.dlb-sun { --dlb-bg: linear-gradient(118deg, #FFE27A 0%, #FFC23F 38%, #FF8E3C 78%, #FF6B3D 100%); --dlb-fg: var(--ink); --dlb-tile: var(--ink); --dlb-tile-fg: var(--sun); --dlb-go: rgba(43, 27, 61, .12); --dlb-edge: #B5541A;
  min-height: 76px; padding-right: 13px; }
.dlb-sun .dlb-t { font-size: 1.24rem; }
.dlb-sun::before { animation: dlb-sweep 1.2s var(--ease) 1.4s, dlb-idle 6s var(--ease) 3s infinite; }
.dlb-sun::after { content: ""; position: absolute; inset: -7px; z-index: -2; border-radius: 28px; border: 1.5px solid rgba(255, 207, 74, .55); opacity: 0; pointer-events: none; animation: dlb-halo 3.2s var(--ease) 2s infinite; }
.dlb-sun:hover .dlb-go { background: var(--ink); color: var(--sun); }
@keyframes dlb-idle { 0%, 70% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
@keyframes dlb-halo { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.08); } }

/* ink: the hero's companion to the coral "buy" button */
.dlb-ink:hover .dlb-go { background: var(--sun); color: var(--ink); }

.dl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dl-meta > span { padding: 5px 11px; border-radius: 999px; background: rgba(255, 253, 249, .08); border: 1px solid rgba(255, 253, 249, .14); font: 500 .75rem var(--mono); color: rgba(255, 253, 249, .86); }

/* nav: a compact ink pill with the same dropping arrow */
.nav-links a.nav-dl { display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px 6px 6px; color: #fff; font-weight: 600; background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 0 #120A1C, 0 10px 18px -12px rgba(43, 27, 61, .9); }
.nav-links a.nav-dl::after { display: none; }
.nav-links a.nav-dl:hover, .nav-links a.nav-dl.is-current { background: var(--ink-2); color: #fff; transform: translateY(-1px); }
.nav-dl-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--sun); color: var(--ink); overflow: hidden; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.nav-links a.nav-dl:hover .nav-dl-ic { transform: rotate(-8deg) scale(1.06); }

@media (max-width: 1000px) {
  .cta .dlb { flex: 1 1 100%; } .cta .dlb .dlb-go { margin-left: auto; }
  .nav-links a.nav-dl { justify-content: center; margin: 6px 0 0; padding: 10px 16px; }
}
@media (max-width: 480px) { .dl-actions .dlb { flex: 1 1 100%; } .dl-actions .dlb .dlb-go { margin-left: auto; } .dlb-sun .dlb-t { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) { .dlb, .dlb::before, .dlb::after, .dla, .dlb-tile, .nav-dl-ic { animation: none !important; transition: none !important; } }
@media (min-width: 1241px) { .hero-side .cta { gap: 12px; } }
