// The Circle Suite β€” P0 tool wall. Wallet sign-in (same challenge/verify flow // as the training gate) -> live level from the contract -> tiles light up. // Every tile is always VISIBLE: unlocked at-or-below the member's level, // dimmed above it. Future tools carry an honest "in development" tag. (function () { 'use strict'; var LEVELS = ['Scintilla', 'Ascensus', 'Fabrica', 'Culmen', 'Apex', 'Fastigium', 'Vertex', 'Corona']; var TOOLS = [ { lv: 1, ico: '🎬', name: 'Promo Center', desc: 'Videos, posts, swipes, emails and the banner kit β€” every piece pre-personalized with your link.', href: '/tools', live: true }, { lv: 1, ico: 'πŸ–¨οΈ', name: 'Printable Handouts', desc: 'Five full-color designs that print two per page β€” with YOUR QR code on the paper.', href: '/flyers', live: true }, { lv: 1, ico: 'βœ…', name: 'Fast Start + Weekly Rhythm', desc: 'The 48-hour launch checklist and the 20-minute weekly routine, personalized and printable.', href: '/fast-start', live: true }, { lv: 1, ico: 'πŸ“Š', name: 'Generation Pay Chart', desc: 'Your personal when-does-each-generation-pay-me chart, read live from the contract.', href: '/generation-pay', live: true }, { lv: 1, ico: 'πŸŽ“', name: 'The Circle Method', desc: 'The 10-lesson recruiting and coaching course. Lessons unlock with this same wallet.', href: '/training', live: true }, { lv: 1, ico: 'πŸ“ˆ', name: 'Live Dashboard', desc: 'Your pipeline, organization bar, coach panel and wallet-verified team messages.', href: '/my', live: true }, { lv: 1, ico: 'πŸ€–', name: 'AI Coach', desc: '24/7 answers about the system, in 21+ languages β€” the chat bubble on every page of this site.', href: '#', live: true, coach: true }, { lv: 2, ico: '✍️', name: 'Copy Engine', desc: 'An AI copywriter tuned to this business: posts, DMs, follow-ups and objection replies with your link filled in.', href: '/suite/copy', live: true }, { lv: 2, ico: '🧱', name: 'Page Builder', desc: 'Answer four questions, get your own hosted invitation page β€” your story, your angle video, your QR.', href: '/suite/page', live: true }, { lv: 3, ico: 'πŸ“§', name: 'Email Engine', desc: 'Welcome series, follow-up sequences and broadcasts in the team voice β€” exportable to any autoresponder.', href: '/suite/email', live: true }, { lv: 3, ico: 'πŸŽ₯', name: 'Video Maker', desc: 'The team’s master promo videos rendered with your personal end-card β€” your name, your QR, your link.', href: '/suite/video', live: true }, { lv: 4, ico: 'πŸ—£οΈ', name: 'Voice Profile', desc: 'Teach the Copy Engine and Email Engine how you actually talk, so everything they write for you stops sounding like a company.', href: '/suite/voice', live: true }, { lv: 5, ico: 'πŸ”¬', name: 'Split Tester', desc: 'Run two or three versions of an ad head to head and find out which wording people actually click. Apex is where your impressions jump to 50,000 β€” enough for the answer to mean something.', href: '/suite/split', live: true }, { lv: 1, ico: '🚦', name: 'Traffic Desk', desc: 'Syndicated network display advertising β€” run banners or AI-written text ads on the team’s own ad network. Monthly impressions scale with your level: 2,500 at Scintilla up to 150,000 at Corona.', href: '/suite/traffic', live: true }, { lv: 6, ico: '🎨', name: 'Co-Branded Pages', desc: 'Your own name, monogram and colour on every page you build β€” so it stops looking like a page on the team site and starts looking like yours.', href: '/suite/brand', live: true }, { lv: 6, ico: '🏭', name: 'Funnel Factory', desc: 'A separate hosted landing page for every audience you talk to β€” each on its own address, each one something you can point a different ad at.', href: '/suite/funnel', live: true }, { lv: 7, ico: '🎁', name: 'Team Grants', desc: 'Hand Suite capacity down into your own organisation β€” impressions, generations, page builds. Your level stops being something you bought for yourself and becomes something you give your team.', href: '/suite/grants', live: true }, { lv: 8, ico: 'πŸ›°οΈ', name: 'Network Intelligence', desc: 'What is actually working across every ad the whole team runs β€” best angles, headlines and creative, pooled and anonymised. Nobody can buy this; it is the team\'s own accumulated result, and it compounds every month.', href: '/suite/intel', live: true }, { lv: 7, ico: '🧭', name: 'Leader Ops', desc: 'Everyone below you, read live from the contract and sorted by who needs you most β€” plus a written coaching plan you can teach forward to your own two.', href: '/suite/leader', live: true }, { lv: 8, ico: 'πŸ‘‘', name: 'Founder Desk', desc: 'A whole week of promotion built in one pass β€” posts, outreach messages, an email and text ads β€” plus an API key to pull your position, your organisation and the writer into anything you already run.', href: '/suite/founder', live: true } ]; var $ = function (id) { return document.getElementById(id); }; var me = null; // {id, level, levelName, tierName, directCount, inOrg} function pips() { var host = $('suPips'); host.querySelectorAll('.su-pip').forEach(function (p) { p.remove(); }); for (var k = 1; k <= 8; k++) { var p = document.createElement('span'); p.className = 'su-pip' + (me && me.inOrg && me.level >= k ? (k === 8 ? ' gold' : ' on') : ''); p.title = 'Level ' + k + ' Β· ' + LEVELS[k - 1]; host.appendChild(p); } } function render() { var grid = $('suGrid'); grid.innerHTML = ''; var lastLv = 0; // Render in LEVEL order, not array order. The array is maintained by hand // and a tile whose level changes (the Traffic Desk moved from L5 to L1) // would otherwise emit a stray section header in the middle of the wall. // Sorting here means the array can be edited in any order, forever. TOOLS.slice().sort(function (a, b) { return a.lv - b.lv; }).forEach(function (t) { if (t.lv !== lastLv) { lastLv = t.lv; var h = document.createElement('div'); h.className = 'su-lvhead'; h.innerHTML = 'L' + t.lv + '' + LEVELS[t.lv - 1] + ''; grid.appendChild(h); } var open = !!(me && me.inOrg && me.level >= t.lv); var d = document.createElement('div'); d.className = 'su-tile ' + (me ? (open ? 'open' : 'locked') : 'locked'); var badge = me ? (open ? 'βœ“ YOURS' : 'UNLOCKS AT ' + LEVELS[t.lv - 1].toUpperCase()) : 'LEVEL ' + t.lv; d.innerHTML = '' + badge + '' + t.ico + '

' + t.name + '

' + t.desc + '

' + (t.live ? (open || !me ? 'Open β†’' : '') : 'IN DEVELOPMENT β€” ships with the Suite build-out'); grid.appendChild(d); }); var coach = grid.querySelector('[data-coach]'); if (coach) coach.addEventListener('click', function (ev) { ev.preventDefault(); var f = document.querySelector('.chat-fab'); if (f) f.click(); }); } async function refreshMe() { try { var r = await fetch('/api/public/suite-me'); if (!r.ok) return false; me = await r.json(); if (me.beta && !me.allowed) { $('suMe').style.display = 'block'; $('suMe').innerHTML = '#' + me.id + ' β€” you’re early! The Circle Suite is in team beta right now. Your license is already reserved by your position, and every tool below activates for you the moment we open the doors. Nothing to do β€” watch the team channel.'; $('suConnect').style.display = 'none'; var sw = document.getElementById('suSwitch'); if (sw) sw.addEventListener('click', async function (ev) { ev.preventDefault(); sw.textContent = 'signing out…'; try { await fetch('/api/public/signout', { method: 'POST' }); } catch (e) {} location.reload(); }); me = null; pips(); render(); return true; } $('suMe').style.display = 'block'; $('suMe').innerHTML = me.inOrg ? '#' + me.id + ' Β· ' + me.tierName + ' Β· Level ' + me.level + ' (' + me.levelName + ')' + ' not this position? switch' + (me.directCount >= 2 ? ' Β· βœ“ qualified' : ' Β· ' + me.directCount + '/2 directs') + '
Your license covers Level ' + me.level + ' and everything below it' + (me.level < 8 ? ' β€” your next upgrade extends it to ' + LEVELS[me.level] + '.' : ' β€” full Suite.') : '#' + me.id + ' β€” this position isn’t inside our team’s organization. The Suite is a benefit of building with our circle; ask the person who shared this page about joining through the team.'; $('suConnect').style.display = 'none'; pips(); render(); return true; } catch (e) { return false; } } async function connect() { var btn = $('suConnect'), err = $('suErr'); err.style.display = 'none'; btn.disabled = true; btn.textContent = 'Connecting…'; try { var eth = await window.RMCWallet.pick(); if (!eth) { {var _ia=(window.RMCInApp&&window.RMCInApp.notice('/suite'))||'';if(_ia){err.innerHTML=_ia;if(err.style)err.style.display='block';window.RMCInApp.bind('/suite');}else{err.textContent = 'This browser has no wallet in it. Open this page INSIDE your wallet app instead: open Trust, MetaMask, SafePal or Coinbase, find its Browser (or DApps) tab, and type rmcircle.team/suite into that address bar. On iPhone, Trust no longer has a browser β€” use MetaMask or SafePal, or ask your sponsor to link you instead.';}} err.style.display = 'block'; btn.disabled = false; btn.textContent = 'πŸ”‘ Connect wallet β€” light up my tools'; return; } var accs = await eth.request({ method: 'eth_requestAccounts' }); var account = accs[0]; try { await window.RMCWallet.ensureChain(eth); } catch (ce) {} var ch = await (await fetch('/api/public/msg-challenge', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ address: account }) })).json(); if (!ch.message) throw new Error(ch.error || 'Could not start sign-in.'); var sig = await eth.request({ method: 'personal_sign', params: [ch.message, account] }); var vr = await (await fetch('/api/public/msg-verify', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ address: account, signature: sig }) })).json(); if (!vr.ok) throw new Error(vr.error || 'Signature check failed.'); await refreshMe(); } catch (e) { var m = String((e && e.message) || e); err.textContent = /not registered|no position/i.test(m) ? 'This wallet doesn’t hold a position yet. The Suite comes with one β€” see the Getting Started page.' : 'Sign-in didn’t complete: ' + m + ' β€” tap the button to try again.'; err.style.display = 'block'; } btn.disabled = false; btn.textContent = 'πŸ”‘ Connect wallet β€” light up my tools'; } document.addEventListener('DOMContentLoaded', function () { pips(); render(); $('suConnect').addEventListener('click', connect); refreshMe(); // silent: already signed in (training gate / Mini App bridge) }); })();