/* Social Tycoon — marketing site, every page.
   Dark surfaces, purple light: glows, a dot grid, gradient headlines and glass cards.
   Fonts: Sora (display) + Inter (text). No build step. Markup: includes/site-ui.php. */

:root {
  --bg: #08080c;
  --bg-2: #0c0c12;
  --card: #121219;
  --card-2: #17171f;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f4f3f7;
  --muted: #a6a4b5;
  --dim: #75738a;
  --p-50: #f3e8ff;
  --p-200: #e9d5ff;
  --p-300: #d8b4fe;
  --p-400: #c084fc;
  --p-500: #a855f7;
  --p-600: #9333ea;
  --p-700: #7c3aed;
  --p-800: #6d28d9;
  --grad: linear-gradient(135deg, #a46bff 0%, #8b3cf6 50%, #6d28d9 100%);
  --grad-text: linear-gradient(95deg, #f0e3ff 0%, #c79bff 38%, #a855f7 72%, #8b5cf6 100%);
  --glow: rgba(147, 51, 234, .32);
  --radius: 16px;
  --radius-lg: 22px;
  --wrap: 1120px;
  --display: 'Sora', 'Inter', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.03em; line-height: 1.08; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--p-400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--p-700); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px;
  border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(147, 51, 234, .55), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { background: rgba(255, 255, 255, .03); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: rgba(192, 132, 252, .55); background: rgba(168, 85, 247, .08); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--p-400); font-weight: 600; text-decoration: none; }
.link:hover { color: var(--p-300); }
.link .ico { width: 16px; height: 16px; transition: transform .2s ease; }
.link:hover .ico { transform: translateX(3px); }

/* ---------------------------------------------------------------- navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 8, 12, .72); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.03em; }
.brand__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 6px 20px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.brand__mark svg { width: 18px; height: 18px; color: #fff; }
.brand__b { color: var(--p-400); }
.nav__links { margin-inline: auto; }
.nav__links > ul { display: flex; align-items: center; gap: 4px; }
.nav__links a, .drop__btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: #cfcdd9; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav__links a:hover, .drop__btn:hover, .drop.is-open .drop__btn { color: #fff; background: rgba(255, 255, 255, .04); }
.drop { position: relative; }
.drop__btn .ico { width: 15px; height: 15px; transition: transform .2s; }
.drop.is-open .drop__btn .ico { transform: rotate(180deg); }
.drop__panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); min-width: 290px; padding: 8px; border-radius: 14px; background: #121219; border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.drop__panel[hidden] { display: none; }
.drop__panel a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.drop__panel a:hover { background: rgba(168, 85, 247, .1); }
.drop__panel b { font-weight: 600; color: #fff; font-size: 14.5px; }
.drop__panel span { font-size: 13px; color: var(--muted); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__demo { font-size: 14.5px; color: #cfcdd9; text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.nav__demo:hover { color: #fff; }
.nav__call { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); color: var(--p-400); transition: color .2s, background-color .2s; }   /* tap to call; the number is in its title */
.nav__call:hover { color: #fff; background: rgba(168, 85, 247, .22); }
.nav__call svg { width: 16px; height: 16px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; place-items: center; }
.burger svg { width: 20px; height: 20px; }
.mnav { border-top: 1px solid var(--line); padding: 16px 0 24px; }
.mnav[hidden] { display: none; }
.mnav ul { display: grid; gap: 2px; }
.mnav ul a { display: block; padding: 12px 4px; font-size: 17px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 18px; }
@media (max-width: 960px) {
  .nav__links, .nav__demo { display: none; }
  .burger { display: grid; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 420px) { .nav__cta .btn { display: none; } }

/* the phone tab bar: five tabs pinned to the bottom, like an app's (phones only) */
.tabbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; inset: auto 0 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(4px, env(safe-area-inset-left));
    background: rgba(8, 8, 12, .86); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-top: 1px solid var(--line-2);
  }
  .tabbar__a {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; height: 60px;
    color: var(--dim); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .01em; -webkit-tap-highlight-color: transparent;
  }
  .tabbar__a svg { width: 23px; height: 23px; transition: transform .15s ease; }
  .tabbar__a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabbar__a:active svg { transform: scale(.9); }
  .tabbar__a[aria-current="page"] { color: #fff; }
  .tabbar__a[aria-current="page"] svg { color: var(--p-400); }
  .tabbar__a[aria-current="page"]::before { content: ''; position: absolute; top: -1px; left: 50%; width: 28px; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad); transform: translateX(-50%); }
}
@media print { .tabbar { display: none; } }
/* the same breakpoint, for pages that swap a block on a phone (modes.php: the home page's six panels) */
@media (min-width: 761px) { .only-phone { display: none !important; } }
@media (max-width: 760px) {
  .hide-phone { display: none !important; }
  .hide-phone + .sec.only-phone { border-top: 0; }   /* outranks .phero + .sec: the nav's own line is right above */
}

/* ---------------------------------------------------------------- page backdrops */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 80%);
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 28px; }
.hero .glow--a { width: 520px; height: 520px; left: -220px; top: 40px; background: radial-gradient(circle, rgba(124, 58, 237, .45), transparent 65%); }
.hero .glow--b { width: 560px; height: 560px; right: -220px; top: 120px; background: radial-gradient(circle, rgba(168, 85, 247, .35), transparent 65%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--p-300); background: rgba(168, 85, 247, .09); border: 1px solid rgba(192, 132, 252, .28); }
.pill svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 62px); margin-top: 22px; }
.hero__lede { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btnrow { margin-top: 30px; }
.hero__note { margin-top: 22px; display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.hero__note svg { width: 16px; height: 16px; color: var(--p-400); }

/* the phone and its floating cards */
.stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: 268px; aspect-ratio: 540 / 1174; padding: 9px; border-radius: 42px;
  background: linear-gradient(160deg, #26232f, #121117); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .02), 0 30px 80px -30px var(--glow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }
.phone::after { content: ''; position: absolute; top: 18px; left: 50%; width: 76px; height: 21px; border-radius: 12px; background: #000; transform: translateX(-50%); }
.float {
  position: absolute; z-index: 2; padding: 12px 14px; border-radius: 16px; background: rgba(20, 19, 28, .82);
  border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
}
.float small { display: block; font-size: 11.5px; color: var(--muted); }
.float b { font: 800 22px/1.2 var(--display); letter-spacing: -.02em; }
.float--stats { left: calc(50% - 250px); top: 70px; min-width: 150px; }
.float--stats .bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-top: 8px; }
.float--stats .bars i { width: 6px; border-radius: 2px; background: linear-gradient(var(--p-400), var(--p-700)); }
.float--toast { right: calc(50% - 250px); bottom: 120px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.float--toast .ok { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(168, 85, 247, .16); color: var(--p-300); }
.float--toast .ok svg { width: 15px; height: 15px; }
.float--chip { left: calc(50% - 215px); bottom: 54px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.float--chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
@media (prefers-reduced-motion: no-preference) {
  .float--stats { animation: bob 6s ease-in-out infinite; }
  .float--toast { animation: bob 7s ease-in-out -2s infinite; }
  .float--chip { animation: bob 8s ease-in-out -4s infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* stats strip */
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 46px; border-radius: var(--radius-lg); background: rgba(18, 18, 25, .72); border: 1px solid var(--line); }
.stat { padding: 26px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font: 800 36px/1.1 var(--display); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { margin-top: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .float--stats { left: 0; top: 40px; }
  .float--toast { right: 0; }
  .float--chip { left: 0; }
  .phone { width: 230px; }
}

/* ---------------------------------------------------------------- marquee */
.band { margin-top: 56px; padding: 30px 0 32px; background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.band__label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.marquee { margin-top: 18px; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; flex: none; gap: 52px; padding-right: 52px; }
.marquee__track span { font: 700 21px/1 var(--display); letter-spacing: -.02em; color: #8c8a9c; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: slide 46s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------------------------------------------------------------- sections */
.sec { position: relative; padding: 104px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-2); }
.head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.head--left { text-align: left; margin-left: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--p-400); }
.head h1, .head h2, .split h2 { font-size: clamp(30px, 4.2vw, 46px); margin-top: 14px; }
.head p.lede, .split p.lede { margin-top: 16px; color: var(--muted); font-size: 18px; }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } .sec { padding: 76px 0; } }

.card { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease, background-color .25s ease; }
.card:hover { border-color: rgba(192, 132, 252, .3); }
:where(.card) h3 { font-size: 18px; letter-spacing: -.02em; margin-top: 18px; }
:where(.card) p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(168, 85, 247, .12); color: var(--p-400); border: 1px solid rgba(192, 132, 252, .16); }
.icon-tile svg { width: 20px; height: 20px; }
.icon-tile--solid { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 24px -10px var(--glow); width: 46px; height: 46px; border-radius: 13px; }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #d6d4e0; line-height: 1.5; }
.ticks li svg { width: 16px; height: 16px; color: var(--p-400); margin-top: 3px; flex: none; }
.ticks--round li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(168, 85, 247, .14); margin-top: 0; }

/* ---------------------------------------------------------------- choose your app */
.lockline { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: -22px auto 34px; padding: 16px 20px; border-radius: 14px; background: rgba(168, 85, 247, .07); border: 1px solid rgba(192, 132, 252, .26); }
.lockline .icon-tile { flex: none; }
.lockline p { color: #dcd8ea; font-size: 15px; }
.lockline b { color: #fff; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tab { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s; }
.tab b { font: 700 15.5px/1.2 var(--display); letter-spacing: -.02em; }
.tab span { font-size: 12.5px; color: var(--dim); }
.tab:hover { border-color: rgba(192, 132, 252, .45); }
.tab[aria-selected="true"] { background: linear-gradient(135deg, rgba(164, 107, 255, .2), rgba(109, 40, 217, .16)); border-color: rgba(192, 132, 252, .6); box-shadow: 0 10px 30px -14px var(--glow); }
.tab[aria-selected="true"] span { color: var(--p-300); }
.panel { margin-top: 30px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #15141d, #0f0f15); border: 1px solid var(--line); overflow: hidden; position: relative; }
.panel[hidden] { display: none; }
.panel .glow { width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(147, 51, 234, .3), transparent 65%); }
.panel__text { position: relative; z-index: 1; }
.panel__style { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--p-400); }
.panel h3 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 8px; }
.panel__tag { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.panel__meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 18px; font-size: 13.5px; }
.panel__meta dt { color: var(--dim); }
.panel__meta dd { margin: 0; color: #d6d4e0; }
.panel .btnrow { margin-top: 24px; }
.panel__shots { position: relative; z-index: 1; min-height: 360px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0d0d12; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.browser__bar { display: flex; gap: 6px; padding: 10px 12px; background: #17161e; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3b3947; }
.browser img { width: 100%; height: auto; aspect-ratio: 1280 / 800; object-fit: cover; }
.panel__shots .phone { position: absolute; width: 148px; right: -6px; bottom: -26px; padding: 6px; border-radius: 26px; }
.panel__shots .phone img { border-radius: 21px; }
.panel__shots .phone::after { top: 11px; width: 44px; height: 12px; }
.panel__shots .browser { width: 92%; }
/* the home page's six types, stacked: screens on the right, then on the left, and so on */
.panels { display: grid; gap: 28px; }
.panels > .panel { margin-top: 0; }
@media (min-width: 961px) {
  .panel--flip { grid-template-columns: 1.1fr .9fr; }
  .panel--flip .panel__shots { order: -1; }
  .panel--flip .panel__shots .browser { margin-left: auto; }
  .panel--flip .panel__shots .phone { right: auto; left: -6px; }
  .panel--flip .glow { right: auto; left: -120px; }
}
@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; padding: 24px; }
  .panel__shots { min-height: 0; padding-bottom: 30px; }
}
@media (max-width: 560px) { .panel__shots .phone { width: 110px; } .tab { padding: 8px 14px; } }

/* ---------------------------------------------------------------- earn (two big cards) */
.big { padding: 30px; border-radius: var(--radius-lg); overflow: hidden; }
.big::before { content: ''; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(147, 51, 234, .22), transparent 65%); pointer-events: none; }
.big h3 { font-size: 24px; margin-top: 20px; }
.big > p { font-size: 15.5px; }

/* ---------------------------------------------------------------- steps */
.step { padding: 26px 22px; }
.step__n { display: inline-block; font: 800 42px/1 var(--display); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .7; }
.step h3 { margin-top: 14px; }
.step--key { border-color: rgba(192, 132, 252, .38); background: linear-gradient(160deg, rgba(124, 58, 237, .14), var(--card) 60%); }
.step__flag { display: inline-flex; margin-top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--p-200); background: rgba(168, 85, 247, .16); }

/* ---------------------------------------------------------------- split (white-label) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .ticks { margin-top: 26px; gap: 14px; }
.split .ticks li { font-size: 15.5px; }
.frame { position: relative; padding: 14px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #1a1824, #101016); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 30px 90px -50px var(--glow); }
.frame img { border-radius: 12px; width: 100%; height: auto; }
.frame__badge { position: absolute; left: -22px; right: auto; bottom: -22px; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .frame__badge { left: 10px; } }

/* ---------------------------------------------------------------- under the hood */
.chip-tile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.chip-tile .icon-tile { width: 32px; height: 32px; border-radius: 9px; }
.chip-tile .icon-tile svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- pricing */
.price-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.calc { padding: 30px; }
.calc__label { font-size: 14px; color: var(--muted); }
.calc__dau { font: 800 40px/1.1 var(--display); letter-spacing: -.03em; margin-top: 6px; color: #fff; }
.calc__dau small { font: 600 15px var(--font); color: var(--dim); margin-left: 6px; letter-spacing: 0; }
.range { width: 100%; margin: 22px 0 6px; accent-color: var(--p-500); height: 6px; cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.calc__out { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc__out div small { display: block; font-size: 13px; color: var(--muted); }
.calc__out div b { display: block; font: 800 30px/1.2 var(--display); letter-spacing: -.03em; margin-top: 4px; }
.calc__inc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.calc__inc .ticks { grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 12px; }
@media (max-width: 560px) { .calc__inc .ticks { grid-template-columns: 1fr; } }
.calc__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.preset { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; color: #d6d4e0; cursor: pointer; }
.preset:hover, .preset[aria-pressed="true"] { border-color: rgba(192, 132, 252, .6); background: rgba(168, 85, 247, .12); color: #fff; }
.plan { padding: 30px; display: flex; flex-direction: column; border-color: rgba(192, 132, 252, .3); background: linear-gradient(170deg, rgba(124, 58, 237, .14), var(--card) 55%); }
.plan__name { font-weight: 700; font-size: 15px; color: var(--p-300); }
.plan__price { font: 800 44px/1.05 var(--display); letter-spacing: -.04em; margin-top: 10px; color: #fff; }
.plan__price small { font: 500 15px var(--font); color: var(--muted); letter-spacing: 0; }
.plan__then { margin-top: 8px; color: var(--muted); font-size: 15px; }
.plan .ticks { margin-bottom: 26px; }
.plan .btn { margin-top: auto; }
.plan__ex { display: grid; gap: 8px; margin: 4px 0 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan__ex div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--muted); }
.plan__ex b { color: #fff; font-weight: 600; }
.fineprint { margin-top: 18px; text-align: center; color: var(--dim); font-size: 13.5px; }
@media (max-width: 960px) { .price-top { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- use cases */
.case__mode { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--p-300); padding: 5px 10px; border-radius: 999px; background: rgba(168, 85, 247, .1); border: 1px solid rgba(192, 132, 252, .2); }
.case h3 { margin-top: 16px; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.faq details[open] { border-color: rgba(192, 132, 252, .3); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(168, 85, 247, .14); color: var(--p-300); transition: transform .25s ease; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] .pm { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.faq-more { text-align: center; margin-top: 26px; }

/* ---------------------------------------------------------------- final CTA */
.cta { position: relative; overflow: hidden; padding: 72px 30px; border-radius: 28px; text-align: center; background: linear-gradient(160deg, #17151f, #0e0e14); border: 1px solid rgba(192, 132, 252, .22); }
.cta .glow--a { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(168, 85, 247, .4), transparent 65%); }
.cta .glow--b { width: 420px; height: 420px; left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(109, 40, 217, .45), transparent 65%); }
.cta > :not(.glow) { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(32px, 5vw, 54px); margin: 14px auto 0; max-width: 760px; }
.cta p.lede { margin: 18px auto 0; max-width: 600px; color: var(--muted); font-size: 17.5px; }
.cta .btnrow { justify-content: center; margin-top: 30px; }
.sec--cta { padding-top: 40px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--bg); }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot__about { margin-top: 16px; color: var(--muted); font-size: 14.5px; max-width: 340px; }
.foot__badges { display: flex; gap: 8px; margin-top: 18px; }
.foot__badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 12.5px; color: #cfcdd9; }
.foot h4 { font: 600 14.5px var(--font); letter-spacing: 0; color: #fff; }
.foot ul { margin-top: 14px; display: grid; gap: 10px; }
.foot ul a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.foot ul a:hover { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.foot__bottom p:last-child { max-width: 560px; text-align: right; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__bottom p:last-child { text-align: left; } }
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; } }
/* On a phone the link columns fold into tap-to-open groups (site_close() → .mfoot; site.js [data-mgroup]). */
.mfoot { display: none; }
@media (max-width: 640px) {
  .foot { padding: 44px 0 28px; }
  .foot__top { grid-template-columns: 1fr; gap: 0; }
  .foot__col { display: none; }
  .mfoot { display: block; margin-top: 28px; }
  .mfoot__call { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 15px; color: var(--muted); text-decoration: none; }
  .mfoot__call .ico { width: 18px; height: 18px; color: var(--p-400); flex: none; }
  .mfoot__call b { margin-left: auto; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
  .mfoot__grp { border-top: 1px solid var(--line); }
  .mfoot__btn { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; padding: 0 2px; font: 600 16px var(--font); color: #fff; text-align: left; background: none; border: 0; cursor: pointer; }
  .mfoot__btn .ico { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
  .mfoot__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
  .foot .mfoot__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 0; padding: 0 2px 10px; }
  .foot .mfoot__list[hidden] { display: none; }
  .foot .mfoot__list a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 15px; line-height: 1.3; }
  .foot .mfoot__list a[aria-current] { color: #fff; }
  .foot__bottom { margin-top: 28px; }
}

/* ================================================================ inner pages */

/* page hero */
.phero { position: relative; overflow: hidden; padding: 84px 0 80px; }
.phero .glow--a { width: 520px; height: 520px; left: -220px; top: -140px; background: radial-gradient(circle, rgba(124, 58, 237, .42), transparent 65%); }
.phero .glow--b { width: 540px; height: 540px; right: -240px; top: 30px; background: radial-gradient(circle, rgba(168, 85, 247, .28), transparent 65%); }
.phero__grid { position: relative; z-index: 1; }
.phero:not(.phero--split) .phero__text { max-width: 840px; margin-inline: auto; text-align: center; }
.phero:not(.phero--split) .btnrow, .phero:not(.phero--split) .jump { justify-content: center; }
.phero--split .phero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.phero h1 { font-size: clamp(36px, 5.2vw, 58px); margin-top: 20px; }
.phero__lede { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.phero:not(.phero--split) .phero__lede { max-width: 690px; margin-inline: auto; }
.phero .btnrow { margin-top: 28px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: #d6d4e0; text-decoration: none; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: border-color .2s, color .2s; }
.jump a:hover { border-color: rgba(192, 132, 252, .55); color: #fff; }
.phero__visual { position: relative; }
.phero + .sec { border-top: 1px solid var(--line); }
@media (max-width: 960px) { .phero--split .phero__grid { grid-template-columns: 1fr; gap: 40px; } .phero { padding: 64px 0 60px; } }

/* devices, screenshots */
.device { display: grid; justify-items: center; gap: 12px; }
.device { min-width: 0; }
.device__label { max-width: 100%; font-size: 12.5px; line-height: 1.35; text-align: center; color: var(--muted); padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }   /* wraps when a caption is longer than its phone (Romanian) */
.browser__bar { align-items: center; }
.browser__url { margin-left: 10px; flex: 0 1 260px; min-width: 0; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .cap { padding: 11px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.cap b { color: var(--p-300); font-weight: 600; margin-right: 4px; }
.phone--sm, .duo .phone, .shotrow .phone { padding: 7px; border-radius: 30px; }
.phone--sm img, .duo .phone img, .shotrow .phone img { border-radius: 24px; }
.phone--sm::after, .duo .phone::after, .shotrow .phone::after { top: 13px; width: 52px; height: 15px; }
.duo { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.duo .phone { width: 220px; }
.duo .device:first-child { transform: rotate(-3deg) translateY(16px); }
.duo .device:last-child { transform: rotate(3deg); }
.stack { position: relative; padding: 0 0 40px; }
.stack .browser { width: 88%; }
.stack .device { position: absolute; right: 0; bottom: 0; }
.stack .phone { width: 150px; padding: 6px; border-radius: 26px; }
.stack .phone img { border-radius: 21px; }
.stack .phone::after { top: 11px; width: 44px; height: 12px; }
@media (max-width: 560px) { .duo { gap: 12px; } .duo .phone { width: 148px; } .stack .phone { width: 104px; } }

/* layout helpers */
.split--top { align-items: start; }
.split--wide { grid-template-columns: .85fr 1.15fr; }
.split .head { text-align: left; margin: 0; }
.sticky { position: sticky; top: 100px; }
.mt-l { margin-top: 48px; }
.center { text-align: center; }
.sec--tight { padding: 72px 0; }
@media (max-width: 960px) { .split--wide { grid-template-columns: 1fr; } .sticky { position: static; } }

/* vertical steps */
.vsteps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vsteps li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.vsteps__n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 800 14px/1 var(--display); color: #fff; background: var(--grad); box-shadow: 0 8px 22px -10px var(--glow); }
.vsteps b { display: block; font: 700 16.5px/1.3 var(--display); letter-spacing: -.02em; }
.vsteps p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.vsteps a, .note a, .prose a, .form__fine a { color: var(--p-300); }

/* numbered and icon cards */
.point__n { display: inline-block; font: 800 30px/1 var(--display); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .8; }
.point h3 { margin-top: 14px; }

/* notes */
.note h3 { margin-top: 16px; }
.note p b { color: #fff; }
.note__list { display: grid; gap: 8px; margin-top: 14px; }
.note__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 13px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: 14px; color: var(--muted); }
.note__list b { color: #fff; font-weight: 600; text-align: right; }

/* small labels */
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--p-300); background: rgba(168, 85, 247, .1); border: 1px solid rgba(192, 132, 252, .2); white-space: nowrap; }
.tag--all { color: #fff; background: rgba(168, 85, 247, .22); border-color: rgba(192, 132, 252, .45); }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2); font-size: 13.5px; color: #d6d4e0; }

/* definition rows */
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--dim); }
.facts dd { color: #e4e2ec; }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* features: area cards and the spec sheet */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area { display: flex; flex-direction: column; padding: 18px 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.area:hover { border-color: rgba(192, 132, 252, .45); transform: translateY(-2px); }
.area__top { display: flex; align-items: center; justify-content: space-between; }
.area__top .icon-tile { width: 34px; height: 34px; border-radius: 10px; }
.area__top .icon-tile svg { width: 17px; height: 17px; }
.area__n { font: 800 26px/1 var(--display); letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.area b { margin-top: 14px; font: 700 16px/1.25 var(--display); letter-spacing: -.02em; }
.area span.d { margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .areas { grid-template-columns: repeat(2, 1fr); } }
.spec { border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 90px; }
.spec__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13px; color: #d6d4e0; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip small { font-size: 11.5px; color: var(--dim); }
.chip:hover { border-color: rgba(192, 132, 252, .45); }
.chip[aria-pressed="true"] { background: rgba(168, 85, 247, .16); border-color: rgba(192, 132, 252, .6); color: #fff; }
.chip[aria-pressed="true"] small { color: var(--p-300); }
.search { position: relative; display: flex; align-items: center; flex: 0 1 260px; }
.search svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--dim); pointer-events: none; }
.search input { width: 100%; height: 40px; padding: 0 14px 0 37px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 14px; }
.search input:focus, .input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--p-500); box-shadow: 0 0 0 3px rgba(168, 85, 247, .2); }
.spec table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec thead th { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.spec tbody th { font-weight: 600; color: #fff; width: 23%; }
.spec td.d { color: var(--muted); line-height: 1.55; }
.spec td.a { width: 22%; }
.spec td.r { width: 1%; }
.spec tbody tr { transition: background-color .15s; }
.spec tbody tr:hover { background: rgba(168, 85, 247, .04); }
.spec tr[hidden] { display: none; }
.spec__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 13px; color: var(--dim); }
.spec__empty { padding: 34px 18px; text-align: center; color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: var(--p-300); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
  .spec thead { display: none; }
  .spec table, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto !important; }
  .spec tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .spec tr[hidden] { display: none; }
  .spec th, .spec td { padding: 0; border: 0; }
  .spec td { margin-top: 8px; }
  .search { flex: 1 1 100%; }
}

/* the six apps */
.appnav { position: sticky; top: 68px; z-index: 40; background: rgba(8, 8, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.appnav ul { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.appnav ul::-webkit-scrollbar { display: none; }
.appnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #cfcdd9; text-decoration: none; border: 1px solid transparent; }
.appnav a span { font: 700 12px var(--display); color: var(--dim); }
.appnav a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.appnav a[aria-current] { color: #fff; border-color: rgba(192, 132, 252, .5); background: rgba(168, 85, 247, .12); }
.appnav a[aria-current] span { color: var(--p-300); }
.app { scroll-margin-top: 132px; }
.app__head { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.app__n { font: 800 15px/1 var(--display); color: var(--p-400); letter-spacing: .08em; }
.app__head h2 { font-size: clamp(34px, 4.6vw, 52px); margin-top: 10px; }
.app__tag { margin-top: 12px; color: var(--muted); font-size: 18px; max-width: 620px; }
.app__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.app__grid .card h3 { margin-top: 0; font-size: 15px; letter-spacing: 0; font-family: var(--font); font-weight: 600; color: var(--muted); }
.app__blurb { font-size: 16.5px !important; color: #e4e2ec !important; line-height: 1.7 !important; margin: 0 0 8px !important; }
.vocab { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 8px; }
.vocab th, .vocab td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.vocab th { color: var(--dim); font-weight: 500; }
.vocab td { color: #fff; font-weight: 600; text-align: right; }
.vocab tr:last-child > * { border-bottom: 0; }
.shotrow { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .55fr) minmax(0, .55fr); gap: 22px; align-items: end; margin-top: 22px; }
.shotrow .phone { width: 100%; }
@media (max-width: 960px) { .app__grid { grid-template-columns: 1fr; } .shotrow { grid-template-columns: 1fr 1fr; } .shotrow > .browser { grid-column: 1 / -1; } .shotrow .phone { max-width: 220px; } }

/* native apps gallery */
.apppanel { grid-template-columns: 1fr 1fr; }
.apppanel .duo { padding: 10px 0 20px; }
.apppanel .duo .phone { width: 200px; }
@media (max-width: 560px) { .apppanel .duo .phone { width: 140px; } }

/* admin: screenshot viewer */
.viewer { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.viewer__btns { display: grid; gap: 8px; }
.vbtn { display: flex; gap: 12px; align-items: center; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s; }
.vbtn .icon-tile { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.vbtn .icon-tile svg { width: 17px; height: 17px; }
.vbtn b { display: block; font-weight: 600; font-size: 14.5px; }
.vbtn small { display: block; color: var(--dim); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.vbtn:hover { border-color: rgba(192, 132, 252, .4); }
.vbtn[aria-pressed="true"] { border-color: rgba(192, 132, 252, .6); background: linear-gradient(135deg, rgba(164, 107, 255, .16), rgba(109, 40, 217, .1)); }
.viewer .browser img, .plate img { aspect-ratio: auto; height: auto; }
@media (max-width: 860px) { .viewer { grid-template-columns: 1fr; } .viewer__btns { grid-template-columns: repeat(2, 1fr); } }

/* how it works: one type, four products */
.hub { display: grid; grid-template-columns: minmax(0, 330px) 1fr; align-items: center; }
.hub__core { position: relative; z-index: 1; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(124, 58, 237, .24), var(--card) 70%); border: 1px solid rgba(192, 132, 252, .42); box-shadow: 0 30px 80px -40px var(--glow); }
.hub__core h3 { font-size: 22px; margin-top: 16px; }
.hub__core p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.hub__out { position: relative; display: grid; gap: 12px; padding-left: 64px; }
.hub__out::before { content: ''; position: absolute; left: 0; top: 50%; width: 32px; height: 2px; background: var(--p-600); }
.hub__out::after { content: ''; position: absolute; left: 32px; top: 36px; bottom: 36px; width: 2px; background: linear-gradient(var(--p-400), var(--p-700)); }
.hub__node { position: relative; display: flex; gap: 14px; align-items: center; padding: 15px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.hub__node::before { content: ''; position: absolute; left: -32px; top: 50%; width: 32px; height: 2px; background: var(--p-600); }
.hub__node b { display: block; font-weight: 600; font-size: 15px; }
.hub__node small { display: block; color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) {
  .hub { grid-template-columns: 1fr; gap: 28px; }
  .hub__out { padding-left: 32px; }
  .hub__out::before { display: none; }
  .hub__out::after { left: 0; top: -28px; bottom: 36px; }
}
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline::before { content: ''; position: absolute; left: 4%; right: 4%; top: 25px; height: 2px; background: linear-gradient(90deg, var(--p-700), var(--p-400)); opacity: .55; }
.tl__day { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 20px; border-radius: 999px; background: var(--grad); color: #fff; font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 30px -12px var(--glow); }
.tl__day b { font: 800 22px/1 var(--display); letter-spacing: -.02em; }
.tl .card { margin-top: 18px; }
.tl .card h3 { margin-top: 0; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }

/* tables (compare, pricing examples) */
.tablewrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tablewrap--wide .table { min-width: 760px; }
.table th, .table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { font: 700 15px/1.3 var(--display); letter-spacing: -.01em; color: #fff; background: var(--card-2); }
.table thead th small { display: block; margin-top: 3px; font: 400 12.5px var(--font); color: var(--dim); letter-spacing: 0; }
.table tbody th { font-weight: 600; color: #fff; }
.table td { color: var(--muted); }
.table .us { background: rgba(168, 85, 247, .07); color: #efe6ff; }
.table thead .us { background: linear-gradient(160deg, rgba(164, 107, 255, .3), rgba(109, 40, 217, .2)); }
.table thead .us small { color: var(--p-200); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table .num { font: 700 17px var(--display); color: #fff; }
.table .why { display: block; font-size: 12.5px; color: var(--dim); margin-top: 2px; }

/* pricing page */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tri__k { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tri__v { margin-top: 14px; font: 800 54px/1 var(--display); letter-spacing: -.04em; color: #fff; }
.tri__d { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.tri .card:first-child { border-color: rgba(192, 132, 252, .38); background: linear-gradient(160deg, rgba(124, 58, 237, .16), var(--card) 60%); }
@media (max-width: 860px) { .tri { grid-template-columns: 1fr; } }
.calc__hint { color: var(--dim); }
.calc__rule { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
.calc--wide { max-width: 820px; margin-inline: auto; }

/* use cases */
.ucase { display: grid; grid-template-columns: 1fr 160px; gap: 24px; align-items: center; padding: 26px; }
.ucase h3 { font-size: 20px; }
.ucase .phone { width: 100%; padding: 6px; border-radius: 26px; }
.ucase .phone img { border-radius: 21px; }
.ucase .phone::after { top: 11px; width: 42px; height: 12px; }
.ucase .link { margin-top: 18px; }
@media (max-width: 1060px) { .g-2.cases { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ucase { grid-template-columns: 1fr; } .ucase .device { max-width: 170px; } }

/* demo launchpad */
.lp { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; }
.lp:hover { transform: translateY(-3px); }
.lp__shot { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #0d0d12; }
.lp__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.lp:hover .lp__shot img { transform: scale(1.03); }
.lp__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.lp__n { font: 700 12.5px var(--display); letter-spacing: .1em; color: var(--p-400); }
.lp h3 { margin-top: 8px; font-size: 21px; }
.lp p { margin-top: 6px; }
.lp__go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--p-300); font-weight: 600; font-size: 14px; }
.lp__go svg { width: 15px; height: 15px; }

/* contact form */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 14px; font-weight: 600; color: #e4e2ec; }
.opt { margin-left: 6px; font-weight: 400; font-size: 12.5px; color: var(--dim); }
.input, .select, .textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a4b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.field__hint { font-size: 12.5px; color: var(--dim); }
.field__err { display: none; font-size: 13px; color: #fda4af; }
.field.has-error .field__err { display: block; }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #fb7185; }
.form .btnrow { align-items: center; }
.form__fine { font-size: 13px; color: var(--dim); }
.form__call { min-height: 52px; font-size: 16px; }
.form__call b { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.form__or { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--dim); }
.form__or::before, .form__or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.success h3 { font-size: 26px; }
.success p { margin-top: 10px; color: var(--muted); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

/* legal */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 52px; align-items: start; }
.toc { position: sticky; top: 92px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); max-height: calc(100vh - 116px); overflow: auto; }
.toc__h { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a span { color: var(--dim); font-variant-numeric: tabular-nums; }
.toc a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.prose { max-width: 760px; color: #cfcdd9; font-size: 16px; line-height: 1.75; }
.prose h2 { display: flex; gap: 12px; align-items: baseline; font-size: 24px; margin: 46px 0 14px; scroll-margin-top: 96px; }
.prose h2 .n { font: 700 13px var(--font); color: var(--p-400); letter-spacing: .04em; }
.prose p, .prose ul, .prose table { margin: 0 0 16px; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ''; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--p-500); }
.prose strong { color: #fff; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line); border-radius: 12px; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: #fff; background: var(--card-2); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
.prose__intro { margin-top: 26px; font-size: 17px; color: #e4e2ec; }
.legal__note { padding: 14px 16px; border-radius: 12px; background: rgba(168, 85, 247, .07); border: 1px solid rgba(192, 132, 252, .24); font-size: 14px; line-height: 1.6; color: #dcd8ea; }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 28px; } .toc { position: static; max-height: none; } }

/* small variants */
.ticks--cols { grid-template-columns: repeat(3, 1fr); gap: 12px 26px; }
@media (max-width: 860px) { .ticks--cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ticks--cols { grid-template-columns: 1fr; } }
.lockline--flush { margin: 0 auto; }
.faq--full { max-width: none; margin: 0; }
.split--form { grid-template-columns: 1.35fr .65fr; }
.form-card { padding: 32px; }
.side-stack { display: grid; gap: 18px; }
.phero--legal { padding-bottom: 64px; }
.phero--legal h1 { font-size: clamp(34px, 4.6vw, 52px); }
@media (max-width: 960px) { .split--form { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-card { padding: 22px; } }

/* real-screen rows */
.adpanel { grid-template-columns: 1.25fr .75fr; }
.adpanel .phone { width: 250px; }
.quad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .4fr) minmax(0, .4fr); gap: 18px; align-items: end; margin-top: 48px; }
.quad .phone { width: 100%; padding: 6px; border-radius: 24px; }
.quad .phone img { border-radius: 19px; }
.quad .phone::after { top: 10px; width: 40px; height: 11px; }
@media (max-width: 960px) { .quad { grid-template-columns: 1fr 1fr; } .quad .device { max-width: 200px; margin-inline: auto; } }
.cardshot { margin: -24px -24px 20px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line); background: #0d0d12; }
.cardshot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cardshot--phone { display: flex; justify-content: center; align-items: flex-start; padding-top: 18px; background: radial-gradient(circle at 50% 120%, rgba(147, 51, 234, .35), transparent 60%), #0d0d12; }
.cardshot--phone img { width: 46%; height: auto; border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .8); object-fit: initial; }
.big .frame { margin-top: 24px; padding: 8px; }
.big .frame img { border-radius: 9px; }

/* phone-width fixes for the tabbed panels, tabs, viewer and spec rows */
@media (max-width: 960px) {
  .apppanel, .adpanel { grid-template-columns: 1fr; }
  .adpanel .device { justify-self: center; }
}
@media (max-width: 640px) {
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .adpanel .phone { width: 220px; }
}
@media (max-width: 860px) {
  .viewer__btns { display: flex; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 8px; scrollbar-width: none; }
  .viewer__btns::-webkit-scrollbar { display: none; }
  .vbtn { flex: none; padding: 10px 14px; }
  .vbtn small { display: none; }
}
@media (max-width: 760px) {
  .spec td.a, .spec td.r { display: inline-block; vertical-align: top; margin-right: 6px; }
}
@media (max-width: 520px) { .ucase .device { justify-self: center; } }

/* about */
.contact-card .ticks li svg { color: var(--p-400); }
.contact-lines { display: grid; gap: 12px; margin-top: 18px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #e4e2ec; }
.contact-lines li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--p-400); flex: none; }
.contact-lines a { color: #fff; }
.contact-lines small { display: block; color: var(--dim); font-size: 12.5px; }
.contact-lines .contact-phone { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------------------------------------------------------------- Types menu (includes/site-ui.php)
   Accents per type: purple / yellow / red / green ($TYPES[..]['accent'] → .acc-*). */
.acc-purple { --acc: #c084fc; --acc-rgb: 192, 132, 252; }
.acc-yellow { --acc: #facc15; --acc-rgb: 250, 204, 21; }
.acc-red { --acc: #fb7185; --acc-rgb: 251, 113, 133; }
.acc-green { --acc: #34d399; --acc-rgb: 52, 211, 153; }
.tchip { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--acc); background: rgba(var(--acc-rgb), .12); border: 1px solid rgba(var(--acc-rgb), .3); }
.tchip svg { width: 17px; height: 17px; }
.drop__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.drop__panel--types { width: 600px; max-width: calc(100vw - 40px); }
.tmenu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop__panel .tmenu__a { flex-direction: row; align-items: center; gap: 12px; }
.drop__panel .tmenu__a:hover, .drop__panel .tmenu__a[aria-current] { background: rgba(var(--acc-rgb), .09); }
.drop__panel .tchip { color: var(--acc); }
.tmenu__t { display: grid; gap: 2px; min-width: 0; }
.drop__panel .tmenu__all { flex-direction: row; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 11px 12px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-size: 13.5px; font-weight: 600; color: var(--p-300); }
.tmenu__all .ico { width: 15px; height: 15px; }
.mgroup__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 4px; font-size: 17px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.mgroup__btn .ico { transition: transform .2s; }
.mgroup__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mnav .mgroup__list { padding: 6px 0 8px; border-bottom: 1px solid var(--line); }
.mnav .mgroup__list[hidden] { display: none; }
.mnav .mgroup__list a { display: flex; align-items: center; gap: 12px; padding: 7px 4px 7px 6px; font-size: 16px; border-bottom: 0; }
.mnav .mgroup__list .tchip { width: 30px; height: 30px; border-radius: 9px; }
.mnav .mgroup__list a[aria-current] { color: var(--acc); }
@media (max-width: 1080px) { .nav__links a, .drop__btn { padding: 8px 9px; } .nav__in { gap: 16px; } }
.type-go { margin-top: 16px; font-size: 14.5px; }   /* "Everything about …" on the home tabs and modes.php */

/* ---------------------------------------------------------------- type pages (types/*.php → includes/type-page.php) */
.tp .eyebrow, .tp .link { color: var(--acc); }
.tp .phero .pill { color: var(--acc); background: rgba(var(--acc-rgb), .08); border-color: rgba(var(--acc-rgb), .3); }
.tp .phero .glow--a, .tp .cta .glow--a { background: radial-gradient(circle, rgba(var(--acc-rgb), .3), transparent 65%); }
.tp .icon-tile { color: var(--acc); background: rgba(var(--acc-rgb), .1); border-color: rgba(var(--acc-rgb), .22); }
.tp .ticks li svg { color: var(--acc); }
.tp .card:hover, .tp .faq details[open] { border-color: rgba(var(--acc-rgb), .3); }
.tp .jump a:hover { border-color: rgba(var(--acc-rgb), .55); }
.tp .vsteps__n { color: var(--acc); background: rgba(var(--acc-rgb), .12); border: 1px solid rgba(var(--acc-rgb), .3); box-shadow: none; }
.tp .lockline { background: rgba(var(--acc-rgb), .06); border-color: rgba(var(--acc-rgb), .24); }
.tp .tp-lock { margin-top: 22px; }
.tp-kicker { margin-top: 12px; font: 700 clamp(19px, 2.2vw, 24px)/1.35 var(--display); letter-spacing: -.02em; color: var(--acc); }
.tp-hero .phero__lede { margin-top: 14px; }
/* hero: the web shot and the phone, composed per type */
.tp-vis { position: relative; }
.tp-vis .browser { position: relative; z-index: 1; }
.tp-vis .device { position: absolute; z-index: 2; }
.tp-vis .phone { width: 100%; padding: 6px; border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9), 0 24px 70px -30px rgba(var(--acc-rgb), .5); }
.tp-vis .phone img { border-radius: 21px; }
.tp-vis .phone::after { top: 11px; width: 44px; height: 12px; }
.tp-vis--stack, .tp-vis--left { padding-bottom: 48px; }
.tp-vis--stack .browser, .tp-vis--left .browser { width: 86%; }
.tp-vis--left .browser { margin-left: auto; }
.tp-vis--stack .device { right: 0; bottom: 0; width: 31%; }
.tp-vis--left .device { left: 0; bottom: 0; width: 31%; }
.tp-vis--tall, .tp-vis--right { display: flex; align-items: center; padding: 8px 0; }
.tp-vis--tall .device, .tp-vis--right .device { position: relative; flex: none; width: 40%; max-width: 240px; }
.tp-vis--tall .browser, .tp-vis--right .browser { flex: 1; min-width: 0; }
.tp-vis--tall .device { order: -1; margin-right: -12%; }
.tp-vis--right .device { margin-left: -12%; }
.tp-vis--theater { padding-bottom: 64px; }
.tp-vis--side { display: flex; align-items: flex-end; gap: 4%; padding-top: 40px; }
.tp-vis--side .browser { flex: 1; min-width: 0; }
.tp-vis--side .device { position: relative; flex: none; width: 27%; }
.tp-vis--theater .device { right: 5%; bottom: 0; width: 24%; }
.tp-float { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; background: rgba(20, 19, 28, .88); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .8); }
.tp-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(var(--acc-rgb), .18); }
.tp-vis--stack .tp-float--1, .tp-vis--theater .tp-float--1 { left: -8px; top: 14%; }
.tp-vis--stack .tp-float--2, .tp-vis--theater .tp-float--2 { left: 7%; bottom: 10px; }
.tp-vis--left .tp-float--1 { right: -8px; top: 14%; }
.tp-vis--left .tp-float--2 { right: 7%; bottom: 10px; }
.tp-vis--tall .tp-float--1 { right: 0; top: 6%; }
.tp-vis--tall .tp-float--2 { right: 8%; bottom: 8%; }
.tp-vis--right .tp-float--1 { left: 0; top: 6%; }
.tp-vis--right .tp-float--2 { left: 8%; bottom: 8%; }
.tp-vis--side .tp-float--1 { left: 0; top: 0; }
.tp-vis--side .tp-float--2 { left: 8%; bottom: -14px; }
@media (prefers-reduced-motion: no-preference) {
  .tp-float--1 { animation: bob 7s ease-in-out infinite; }
  .tp-float--2 { animation: bob 8s ease-in-out -3s infinite; }
}
@media (max-width: 960px) { .tp-hero .phero__visual { width: 100%; max-width: 640px; margin-inline: auto; } }
@media (max-width: 560px) {
  .tp-float { font-size: 12px; padding: 7px 10px; }
  .tp-vis--stack .tp-float--1, .tp-vis--theater .tp-float--1 { left: 0; top: 4%; }
  .tp-vis--left .tp-float--1 { right: 0; top: 4%; }
}
/* at a glance */
.tp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); border-top: 2px solid rgba(var(--acc-rgb), .6); overflow: hidden; }
.tp-facts > div { padding: 20px 22px; }
.tp-facts > div + div { border-left: 1px solid var(--line); }
.tp-facts dt { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tp-facts dt .ico { width: 15px; height: 15px; color: var(--acc); }
.tp-facts dd { margin-top: 10px; color: #ecebf2; font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) {
  .tp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-facts > div:nth-child(odd) { border-left: 0; }
  .tp-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .tp-facts { grid-template-columns: 1fr; }
  .tp-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
/* features, the network's own section, ads */
.tp-feat2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; margin-top: 18px; }
.tp-h3 { margin-top: 0; font: 600 15px/1.3 var(--font); letter-spacing: 0; color: var(--muted); }
.tp-h3--gap { margin-top: 24px; }
.tp-ticks2 { grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.tp-reacts { margin-top: 12px; }
.tp-reacts li { border-color: rgba(var(--acc-rgb), .32); color: #f0eef6; }
.tp-sig__vis { display: flex; justify-content: center; }
.tp-sig__vis .browser { width: 100%; }
.tp-steps { margin-top: 26px; }
.tp-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.tp-chain li { position: relative; padding: 8px 14px; border-radius: 10px; background: rgba(var(--acc-rgb), .1); border: 1px solid rgba(var(--acc-rgb), .3); font-weight: 600; font-size: 14px; color: #fff; }
.tp-chain li + li::before { content: ''; position: absolute; left: -21px; top: 50%; width: 16px; height: 2px; background: rgba(var(--acc-rgb), .6); }
.tp-label { margin: 24px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.tp-adfacts { margin-top: 20px; }
.tp-fine { margin-top: 14px; font-size: 13.5px; color: var(--dim); }
.tp-more { margin-top: 22px; }
@media (max-width: 960px) { .tp-feat2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tp-ticks2 { grid-template-columns: 1fr; } .tp-sig__vis .phone { width: 230px; } }
/* earning, apps, gallery */
.tp-note { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 26px auto 0; font-size: 14px; color: var(--muted); }
.tp-note .ico { color: var(--acc); margin-top: 1px; }
.tp .stores + .btnrow { margin-top: 18px; }
.tp .stores + .btnrow .btn { white-space: normal; line-height: 1.3; padding-block: 10px; text-align: left; }
.tp-apps { display: flex; justify-content: center; align-items: flex-start; gap: 22px; }
.tp-apps .phone, .tp-gal-phones .phone { width: 220px; padding: 7px; border-radius: 30px; }
.tp-apps .phone img, .tp-gal-phones .phone img { border-radius: 24px; }
.tp-apps .phone::after, .tp-gal-phones .phone::after { top: 13px; width: 52px; height: 15px; }
.tp-apps .device:nth-child(2) { margin-top: 48px; }
.tp-gal-phones { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 230px)); justify-content: center; gap: 22px; }
.tp-gal-phones .phone { width: 100%; }
.tp-gal-webs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.tp-gal-webs--one { grid-template-columns: minmax(0, 860px); justify-content: center; }
.head + .tp-gal-webs { margin-top: 0; }
@media (max-width: 760px) { .tp-gal-webs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .tp-apps { gap: 12px; }
  .tp-apps .phone { width: 150px; }
  .tp-gal-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* price, the other types */
.tp-price { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; align-items: center; padding: 36px; border-color: rgba(var(--acc-rgb), .28); }
.tp-price h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 12px; }
.tp-price__l { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.tp-price .btnrow { margin-top: 24px; }
.tp-nums { display: grid; gap: 10px; }
.tp-nums > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.tp-nums dt { color: var(--muted); font-size: 14px; }
.tp-nums dd { text-align: right; font: 800 22px/1.2 var(--display); letter-spacing: -.02em; color: #fff; }
.tp-nums dd small { display: block; margin-top: 2px; font: 500 12.5px var(--font); color: var(--dim); letter-spacing: 0; }
@media (max-width: 860px) { .tp-price { grid-template-columns: 1fr; padding: 26px; } }
.tp-others__h { font-size: clamp(24px, 3vw, 30px); text-align: center; }
.tp-others__l { margin-top: 8px; text-align: center; color: var(--muted); }
.tp-others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.tp-others a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.tp-others a:hover { border-color: rgba(var(--acc-rgb), .5); transform: translateY(-2px); }
.tp-others b { display: block; font: 700 15px/1.25 var(--display); letter-spacing: -.01em; }
.tp-others small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
@media (max-width: 1060px) { .tp-others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tp-others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .tp-others { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- reveal on scroll */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* ================================================================ languages, test pages, revenue */

/* EN | RO switch (header and footer; includes/site-ui.php ui_lang_switch) */
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); }
.lang a { display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px; font: 600 12.5px/1 var(--font); letter-spacing: .04em; color: var(--muted); text-decoration: none; transition: color .2s, background-color .2s; }
.lang a:hover { color: #fff; }
.lang a[aria-current] { color: #fff; background: rgba(168, 85, 247, .22); box-shadow: inset 0 0 0 1px rgba(192, 132, 252, .45); }
.lang--foot { margin-top: 18px; }
@media (max-width: 420px) { .nav__in { gap: 10px; } .lang a { min-width: 30px; padding: 0 7px; } }

/* Types menu: a "Test" link beside every type */
.tmenu__li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.drop__panel .tmenu__li .tmenu__a { flex: 1; min-width: 0; }
.drop__panel .tmenu__try, .mnav .tmenu__try { flex: none; display: inline-flex; flex-direction: row; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--acc); border: 1px solid rgba(var(--acc-rgb), .35); background: rgba(var(--acc-rgb), .06); text-decoration: none; }
.drop__panel .tmenu__try:hover, .mnav .tmenu__try:hover, .tmenu__try[aria-current] { background: rgba(var(--acc-rgb), .16); color: #fff; }
.mnav .mgroup__list .tmenu__li { justify-content: space-between; }
.mnav .mgroup__list .tmenu__try { margin-right: 2px; padding: 5px 12px; font-size: 13px; border-bottom: 1px solid rgba(var(--acc-rgb), .35); }
.tmenu__foot { display: flex; flex-wrap: wrap; margin-top: 6px; border-top: 1px solid var(--line); }
.drop__panel .tmenu__foot .tmenu__all { flex: 1 1 50%; margin-top: 0; border-top: 0; border-radius: 10px; }
.tmenu__all .ico { width: 15px; height: 15px; }

/* type pages: the line under the hero buttons */
.tp-testline { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.tp-testline .ico { width: 16px; height: 16px; color: var(--acc); }

/* "How you make money": the token-fee card across the top, then the other streams (ui_revenue) */
.revs { display: grid; gap: 18px; }
.rev { display: flex; flex-direction: column; }
.rev__head { display: flex; align-items: center; gap: 14px; }
.rev__head .icon-tile { flex: none; }
:where(.rev) .rev__head h3 { margin-top: 0; font-size: 19px; }
.rev > p:not(.rev__where) { margin-top: 12px; }
.rev__chips { margin-top: 16px; }
.rev__chips li { font-size: 13px; padding: 5px 11px; }
.tp .rev__chips li { border-color: rgba(var(--acc-rgb), .28); }
.rev__where { display: flex; align-items: center; gap: 8px; margin-top: auto !important; padding-top: 16px; font-size: 13px !important; color: var(--dim) !important; }
.rev__where .ico { width: 15px; height: 15px; color: var(--p-400); }
.tp .rev__where .ico { color: var(--acc); }
.rev--wide { padding: 28px; border-color: rgba(192, 132, 252, .3); background: linear-gradient(160deg, rgba(124, 58, 237, .14), var(--card) 62%); }
.tp .rev--wide { border-color: rgba(var(--acc-rgb), .34); background: linear-gradient(160deg, rgba(var(--acc-rgb), .1), var(--card) 62%); }
.rev--wide > p:not(.rev__where) { max-width: 820px; font-size: 15.5px; }
.rev--wide .rev__chips { margin-bottom: 4px; }

/* test pages (try/*.php) */
.creds { align-items: stretch; }
.cardx { display: flex; flex-direction: column; padding: 28px; }
.cardx__head { display: flex; align-items: center; gap: 14px; }
:where(.cardx) .cardx__head h3 { margin-top: 0; font-size: 21px; }
.cardx__url { margin-top: 2px !important; font-size: 13px !important; color: var(--dim) !important; overflow-wrap: anywhere; }
.cardx > p { margin-top: 16px; }
.cardx .btn { margin-top: 20px; }
.credlist { display: grid; gap: 10px; margin-top: 18px; }
.cred { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.cred dt { font-size: 13px; color: var(--muted); }
.cred dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.cred code { font: 600 15px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #fff; overflow-wrap: anywhere; min-width: 0; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 13px; font-weight: 600; color: #e4e2ec; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.copy .ico { width: 15px; height: 15px; }
.copy:hover { border-color: rgba(var(--acc-rgb, 192, 132, 252), .55); }
.copy.is-done { color: #34d399; border-color: rgba(52, 211, 153, .5); background: rgba(52, 211, 153, .08); }
.ticks--sm { gap: 8px; margin-top: 18px; }
.ticks--sm li { font-size: 13.5px; color: var(--muted); }
@media (max-width: 520px) {
  .cardx { padding: 22px; }
  .cred { grid-template-columns: 1fr; gap: 6px; }
  .cred code { font-size: 13.5px; }
  .copy { padding: 0 10px; }
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 10px 18px 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: #000; color: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
a.store:hover { border-color: rgba(var(--acc-rgb, 192, 132, 252), .6); transform: translateY(-1px); }
.store__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.store__ic svg { width: 19px; height: 19px; }
.store__t { display: grid; line-height: 1.2; }
.store__t small { font-size: 11.5px; color: var(--muted); }
.store__t b { font: 700 16px/1.25 var(--display); letter-spacing: -.01em; }
.revlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.revlist li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.revlist .icon-tile { flex: none; width: 36px; height: 36px; border-radius: 10px; }
.revlist .icon-tile svg { width: 18px; height: 18px; }
.revlist b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.revlist small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
@media (max-width: 960px) { .revlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .revlist { grid-template-columns: 1fr; } }

/* demo.php: the six test networks */
.tests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.testcard { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.testcard .lp__shot { display: block; }
.testcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.testcard__body h3 { margin-top: 8px; font-size: 21px; }
.testcard__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.testcard__links .btn { flex: 1 1 auto; }
.logins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 960px) { .tests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tests, .logins { grid-template-columns: 1fr; } }

/* pricing.php: what each type earns its owner */
.matrix th, .matrix td { text-align: center; vertical-align: middle; }
.matrix th[scope="row"] { text-align: left; font-weight: 500; color: #e4e2ec; }
.matrix tbody tr.matrix__group th { text-align: left; padding-top: 20px; font: 700 12px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--p-300); background: rgba(168, 85, 247, .05); }
.matrix .yes svg { width: 18px; height: 18px; margin-inline: auto; color: var(--p-400); }
.matrix .no { color: var(--dim); }
.matrix .word { font-size: 12.5px; font-weight: 600; color: var(--p-200); }
.matrix thead th { font-size: 13.5px; }
.tablewrap--matrix .table { min-width: 820px; }
.testcard__body h3 a { text-decoration: none; }
.testcard__body h3 a:hover { color: var(--p-300); }

/* the top bar: never wrap a label; Romanian words are longer, so its "Demo live" link goes earlier */
.nav__links a, .drop__btn { white-space: nowrap; }
@media (max-width: 1110px) { .nav__demo { display: none; } }
@media (max-width: 1240px) { html[lang="ro"] .nav__demo { display: none; } }
@media (min-width: 961px) and (max-width: 1000px) { .nav__in { gap: 12px; } .nav__cta { gap: 8px; } .nav__links a, .drop__btn { padding: 8px 7px; } }
/* narrow phones: the header keeps the brand, the call icon, the EN | RO switch and the menu (the menu carries "Start your network") */
@media (max-width: 600px) { .nav__cta .btn { display: none; } }
@media (max-width: 400px) { .nav__cta { gap: 6px; } .nav__call { width: 32px; height: 32px; } .burger { width: 40px; height: 40px; } }
@media (max-width: 380px) { .brand { gap: 8px; font-size: 17px; } .brand__mark { width: 30px; height: 30px; } }
@media (max-width: 355px) { .brand__mark { display: none; } }
@media (max-width: 360px) { .brand { gap: 8px; font-size: 17px; } .brand__mark { width: 30px; height: 30px; } .lang a { min-width: 28px; padding: 0 6px; } }
@media (max-width: 400px) { .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; max-width: 100%; } }
@media (max-width: 360px) { .tp-apps .phone { width: 124px; } .tp-apps { gap: 10px; } }
/* phones: copy buttons show their icon only (the word stays for screen readers); the matrix keeps its row labels in view */
@media (max-width: 420px) {
  .copy { width: 38px; padding: 0; justify-content: center; }
  .copy [data-copy-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cred code { font-size: 14px; }
}
.matrix th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--card); }
.matrix thead th:first-child { position: sticky; left: 0; z-index: 2; }
@media (max-width: 640px) { .matrix th[scope="row"] { min-width: 170px; max-width: 200px; } .matrix tr.matrix__group th { position: sticky; left: 0; } }
