/* TurboFex site v2 look (v3.6.0). One small stylesheet for every redesigned page: dark only, one accent, one width, one spacing scale.
   Only the redesigned pages load this file. The older pages keep tfx.css until they are redone. No inline styles anywhere (the site's security rule forbids them). */
:root {
  --bg: #050506; --s1: #0d0d10; --s2: #141418; --s3: #1b1b21;
  --line: rgb(var(--w) / .07); --line2: rgb(var(--w) / .13);
  --t: #f4f4f6; --b: #b9b9c2; --m: #8a8a95; --d: #7c7c88;
  --w: 255 255 255; --bgc: 5 5 6;
  --acc: 139 124 255; --ok: 52 211 153; --warn: 245 166 35; --bad: 248 113 113;
  /* identity colours (only for command categories and a few feature icons) and the main button */
  --vio: 139 124 255; --sky: 96 165 250; --cyan: 34 211 238; --pink: 244 114 182; --fuc: 217 119 255; --brand: #6c5ce7; --brand2: #7a6cf0; --btn: var(--brand); --btn2: var(--brand2);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif", Georgia, serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Roboto Mono", monospace;
  --r: 16px; --rc: 12px; --px: 20px; --gap: 40px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--b); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; } ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; padding: 10px 14px; border-radius: var(--rc); background: var(--t); color: #0a0a0c; }
.skip:focus { top: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--px); }
.col { max-width: 720px; margin-left: auto; margin-right: auto; }
main { display: block; padding-bottom: 8px; }
.sec { margin-top: var(--gap); }

[hidden] { display: none !important; }

/* header and menu */
.top { position: sticky; top: 0; z-index: 10; background: rgb(var(--bgc) / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .in { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--t); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo svg { width: 24px; height: 24px; flex: none; }
.burger { width: 40px; height: 40px; border-radius: var(--rc); border: 1px solid var(--line); background: rgb(var(--w) / .03); color: var(--b); display: grid; place-items: center; cursor: pointer; }
.burger svg { width: 18px; height: 18px; }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu ul { padding: 8px var(--px) 16px; max-width: 720px; margin: 0 auto; }
.menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 4px; color: var(--t); border-bottom: 1px solid var(--line); }
.menu li:last-child a { border-bottom: 0; }
.menu a[aria-current="page"] { color: rgb(var(--acc)); }
.menu a svg { width: 16px; height: 16px; color: var(--d); flex: none; }
.menu a .mi { display: inline-flex; align-items: center; gap: 12px; }
.menu a .mi svg { width: 18px; height: 18px; color: var(--m); }
.menu a[aria-current="page"] .mi svg { color: rgb(var(--acc)); }

/* page header */
.ph { padding-top: 28px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--m); }
h1.page { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; color: var(--t); margin-top: 8px; }
.ph .lead { margin-top: 10px; color: var(--b); }
h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--t); }
h2 + .sub { margin-top: 6px; color: var(--m); font-size: 14px; }
.group { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--m); margin: 22px 0 8px; }

/* panels, rows, buttons, pills */
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); box-shadow: inset 0 1px 0 rgb(var(--w) / .04); overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vio { --c: var(--vio); } .sky { --c: var(--sky); } .cyan { --c: var(--cyan); } .pink { --c: var(--pink); } .fuc { --c: var(--fuc); }
.mt { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; min-height: 62px; }
.row + .row { border-top: 1px solid var(--line); }
.row .ico { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); background: var(--s2); display: grid; place-items: center; color: var(--b); }
.row .ico:is(.vio, .sky, .cyan, .pink, .fuc) { border-color: rgb(var(--c) / .3); background: rgb(var(--c) / .13); color: rgb(var(--c)); }
.row .ico svg { width: 18px; height: 18px; }
.row .ico.hi { color: rgb(var(--acc)); border-color: rgb(var(--acc) / .32); background: rgb(var(--acc) / .08); }
.row .tx { flex: 1; min-width: 0; }
.row b { display: block; color: var(--t); font-weight: 500; font-size: 15px; }
.row .d { display: block; color: var(--m); font-size: 13px; line-height: 1.4; margin-top: 1px; }
.row .btns { flex: 1; }
.row .go { color: var(--d); flex: none; width: 16px; height: 16px; }
a.row:hover .go, a.row:focus-visible .go { color: var(--t); }
.row.planned { border: 1px dashed var(--line2); border-radius: var(--r); background: transparent; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px dashed rgb(var(--w) / .25); color: var(--m); flex: none; }
.row.top-aligned { align-items: flex-start; }
/* four button looks: main (.p, violet), secondary (plain), quiet (.q, text only), danger (.d, red outline) */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: var(--rc); font-weight: 500; font-size: 15px; border: 1px solid var(--line2); color: var(--t); background: var(--s2); width: 100%; cursor: pointer; text-align: center; }
.btn:hover { background: var(--s3); }
.btn.p { background: var(--btn); color: #fff; border-color: var(--btn); box-shadow: inset 0 1px 0 rgb(var(--w) / .18); }
.btn.p:hover { background: var(--btn2); border-color: var(--btn2); }
.btn.q { background: transparent; border-color: transparent; color: var(--b); }
.btn.q:hover { color: var(--t); background: rgb(var(--w) / .05); }
.btn.d { background: transparent; border-color: rgb(var(--bad) / .5); color: rgb(var(--bad)); }
.btn.d:hover { background: rgb(var(--bad) / .1); }
.btn:disabled { opacity: .55; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; gap: 10px; }
.btns .btn { flex: 1; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--b); border: 1px solid transparent; background: linear-gradient(#0c0c0f, #0c0c0f) padding-box, linear-gradient(100deg, rgb(var(--acc) / .7), rgb(var(--w) / .16) 45%, rgba(56, 189, 248, .4)) border-box; }
.pill svg { width: 14px; height: 14px; }

/* home hero */
.hero { text-align: center; padding-top: 8px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: 42px; line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; color: var(--t); background: linear-gradient(180deg, #fff, #c9c9d1 50%, #8d8d98); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin: 12px auto 0; max-width: 30ch; color: var(--b); }
.hero .btns { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.stats div { padding: 14px 6px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; color: var(--t); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.stats span { font-size: 12px; color: var(--m); }

/* the 3D block: made of plain elements, drawn once, never animated */
.scene { position: relative; height: 150px; display: grid; place-items: center; perspective: 900px; }
.halo { position: absolute; inset: -10% 10% 20%; background: radial-gradient(closest-side, rgb(var(--w) / .07), transparent 70%); pointer-events: none; }
.glow { position: absolute; left: 50%; bottom: 4px; width: 9rem; height: 2rem; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--acc) / .5), transparent 72%); filter: blur(14px); pointer-events: none; }
.cube { --s: 1.45rem; --pitch: calc(var(--s) + .12rem); position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(36deg); }
.cu { position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); transform-style: preserve-3d; transform: translate3d(calc(var(--x) * var(--pitch)), calc(var(--y) * var(--pitch)), calc(var(--z) * var(--pitch))); }
.cu.x0 { --x: 0; } .cu.x1 { --x: 1; } .cu.xm1 { --x: -1; }
.cu.y0 { --y: 0; } .cu.y1 { --y: 1; } .cu.ym1 { --y: -1; }
.cu.z0 { --z: 0; } .cu.z1 { --z: 1; } .cu.zm1 { --z: -1; }
.cu b { position: absolute; inset: 0; backface-visibility: hidden; border-radius: .22rem; border: 1px solid rgb(var(--w) / .13); background: linear-gradient(145deg, #25252c 0%, #101013 55%, #0a0a0c 100%); box-shadow: inset 0 0 .6rem rgb(var(--w) / .035); }
.cu .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cu .f2 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cu .f3 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #1c1c22, #0c0c0e); }
.cu .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #17171c, #09090b); }
.cu .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(145deg, #34343d, #16161a); }
.cu .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: #060607; }
.cu:nth-child(7n+2) .f1, .cu:nth-child(5n+1) .f3 { border-color: rgb(var(--acc) / .55); box-shadow: inset 0 0 .7rem rgb(var(--acc) / .28), 0 0 1rem rgb(var(--acc) / .25); }
.cu:nth-child(11n+4) .f5 { border-color: rgb(var(--w) / .32); background: linear-gradient(145deg, #4a4a55, #1c1c22); }

/* questions */
details { border-top: 1px solid var(--line); }
details:first-child { border-top: 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 16px; color: var(--t); font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary svg { width: 18px; height: 18px; color: var(--m); flex: none; transition: transform .2s; }
details[open] summary svg { transform: rotate(45deg); }
details p { padding: 0 16px 16px; color: var(--b); font-size: 14px; }
details p a { color: var(--t); text-decoration: underline; text-decoration-color: var(--d); text-underline-offset: 3px; }

/* footer */
.foot { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 16px; }
.fb { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fb p { color: var(--m); font-size: 14px; }
.fg h3 { font-size: 13px; color: var(--t); font-weight: 500; margin-bottom: 10px; }
.fg li { margin-bottom: 9px; }
.fg li a { color: var(--m); font-size: 14px; display: inline-block; padding: 2px 0; }
.fg li a:hover { color: var(--t); }
.copy { text-align: center; color: var(--d); font-size: 12px; padding: 28px 0; }
.sitestatus { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-family: var(--mono); padding: 4px 10px; border-radius: 999px; color: var(--m); border: 1px solid var(--line2); background: rgb(var(--w) / .03); }
.sitestatus i { width: 6px; height: 6px; border-radius: 50%; background: var(--d); }
.sitestatus[data-state="ok"] { color: rgb(var(--ok)); border-color: rgb(var(--ok) / .35); background: rgb(var(--ok) / .08); }
.sitestatus[data-state="ok"] i { background: rgb(var(--ok)); }
.sitestatus[data-state="paused"] { color: rgb(var(--warn)); border-color: rgb(var(--warn) / .4); background: rgb(var(--warn) / .08); }
.sitestatus[data-state="paused"] i { background: rgb(var(--warn)); }
.sitestatus[data-state="down"] { color: rgb(var(--bad)); border-color: rgb(var(--bad) / .4); background: rgb(var(--bad) / .08); }
.sitestatus[data-state="down"] i { background: rgb(var(--bad)); }

/* site notice (announcement or maintenance, set in the admin panel) */
.notice { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 10px var(--px); font-size: 14px; color: var(--t); background: rgb(var(--acc) / .12); border-bottom: 1px solid rgb(var(--acc) / .35); }
.notice.maint { background: rgb(var(--warn) / .12); border-color: rgb(var(--warn) / .4); }
.notice p { flex: 1; }
.notice button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: var(--b); font-size: 20px; line-height: 1; cursor: pointer; }


/* wider screens: same design, a little more air; text columns stay readable */
@media (min-width: 720px) {
  :root { --px: 32px; --gap: 56px; }
  .menu { left: auto; right: max(var(--px), calc((100vw - 1120px) / 2 + var(--px))); width: 320px; border: 1px solid var(--line2); border-radius: var(--r); top: calc(100% + 8px); }
  .menu ul { padding: 8px 16px 12px; }
  h1.page { font-size: 36px; }
  .hero h1 { font-size: 64px; }
  .hero .lead { max-width: 40ch; font-size: 17px; }
  .hero .btns { max-width: 420px; margin-left: auto; margin-right: auto; }
  .hero .stats { max-width: 420px; margin-left: auto; margin-right: auto; }
  .scene { height: 220px; } .cube { --s: 2.1rem; } .glow { width: 14rem; }
  .fg { grid-template-columns: 1.4fr repeat(5, 1fr); }
  .fb { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } summary svg { transition: none; } }

/* v3.16.0: more icon colours on the landing page (green and amber added to the colour family) */
.t-ok { --c: var(--ok); } .t-warn { --c: var(--warn); }
.row .ico:is(.t-ok, .t-warn) { border-color: rgb(var(--c) / .3); background: rgb(var(--c) / .13); color: rgb(var(--c)); }
.stats div:nth-child(1) b { color: rgb(var(--acc)); } .stats div:nth-child(2) b { color: rgb(var(--cyan)); } .stats div:nth-child(3) b { color: rgb(var(--pink)); }

/* v3.16.0: dark / light switch. Dark stays the default. Same layout, only the colours change. */
.hbtns { display: flex; align-items: center; gap: 8px; }
.tgl .moon { display: none; } :root[data-theme="light"] .tgl .sun { display: none; } :root[data-theme="light"] .tgl .moon { display: block; }
.logo rect { fill: var(--s2); stroke: var(--line2); }
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6f9; --s1: #ffffff; --s2: #f0f0f5; --s3: #e6e6ee;
  --w: 20 20 40; --bgc: 246 246 249;
  --t: #14141b; --b: #464653; --m: #62626f; --d: #70707e;
  --acc: 108 92 231; --vio: 108 92 231; --sky: 37 99 235; --cyan: 14 116 144; --pink: 219 39 119; --fuc: 168 85 247;
  --ok: 4 120 87; --warn: 180 83 9; --bad: 200 30 30;
}
:root[data-theme="light"] .hero h1 { background: none; -webkit-text-fill-color: currentColor; }
:root[data-theme="light"] .pill { background: var(--s1); border-color: var(--line2); }
:root[data-theme="light"] .skip { color: #fff; }
:root[data-theme="light"] .code { background: #14141b; --t: #f4f4f6; --b: #b9b9c2; --m: #8a8a95; --d: #8a8a95; --w: 255 255 255; }   /* the code panel stays dark in light mode, so its own text colours are the dark-mode ones */

/* the page behind the phone's top bar and the overscroll area follows the mode too */
html { background: var(--bg); }

/* v3.17.0: the TurboFex logo (real transparent pictures, one for light and one for dark) */
.mark { position: relative; display: inline-block; flex: none; width: 34px; height: 24px; }
.mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.mark .m-d { display: none; }
:root:not([data-theme="light"]) .mark .m-l { display: none; }
:root:not([data-theme="light"]) .mark .m-d { display: block; }
.logo { gap: 9px; }
.mark::after { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/logo-light.png) center / contain no-repeat; mask: url(/logo-light.png) center / contain no-repeat; background: linear-gradient(105deg, transparent 40%, rgb(255 255 255 / .95) 50%, transparent 60%) 160% 0 / 260% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .mark img { animation: tflogoin .9s cubic-bezier(.2, .8, .2, 1) both; }
  .mark::after { animation: tfglint 5s ease-in-out 1.4s infinite; }
}
@keyframes tflogoin { from { opacity: 0; transform: translateX(-8px) scale(.82); } to { opacity: 1; transform: none; } }
@keyframes tfglint { 0% { background-position: 160% 0; } 28%, 100% { background-position: -60% 0; } }
.lnk .nd .mark { width: 34px; height: 24px; }

/* footer: two columns that do not wait for each other, Legal in one row (no empty gaps) */
.foot { margin-top: 40px; padding-top: 26px; }
.fg { gap: 20px 16px; align-items: start; }
.fcol { display: flex; flex-direction: column; gap: 18px; }
.fg h3 { margin-bottom: 6px; }
.fg li { margin-bottom: 2px; }
.fg li a { padding: 5px 0; }
.flegal { grid-column: 1 / -1; }
.flegal ul { display: flex; flex-wrap: wrap; gap: 0 18px; }
/* the 3D block now turns slowly, and has a light-mode look */
/* The cube TUMBLES like a small object floating in space. Three things move it, all with transform-type properties only:
   1) `transform` (tfspin, 48 s, linear): it turns on the X, Y and Z axes at the same time at three different steady speeds
      (2 turns, 3 turns and 1 turn per loop). Because the three turns are chained, the cube rolls forward, turns sideways and
      tilts diagonally all at once, so it keeps reaching new orientations and shows different faces in turn instead of
      spinning around one axis. Every angle ends a whole number of turns later, so the loop has no jump.
   2) `rotate` (tftumble, 13 s, back and forth): the whole tumbling cube leans a little around a slanted axis, so the speed and the
      direction of the tumble keep changing a little.
   3) `translate` (tffloat): a soft float up and down.
   Nothing else moves, the cube stays centred, and there is no motion when the phone asks for reduced motion. */
.cube { -webkit-transform-style: preserve-3d; will-change: transform; }
.cu, .cu b { -webkit-transform-style: preserve-3d; -webkit-backface-visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .cube { animation: tfspin 48s linear infinite, tftumble 13s ease-in-out infinite alternate, tffloat 7s ease-in-out infinite alternate; }
}
@keyframes tfspin {
  from { transform: rotateX(-24deg) rotateY(36deg) rotateZ(0deg); }
  to { transform: rotateX(696deg) rotateY(1116deg) rotateZ(360deg); }
}
@keyframes tftumble {
  from { rotate: 1 .55 .25 -18deg; }
  to { rotate: 1 .55 .25 18deg; }
}
@keyframes tffloat { from { translate: 0 -.35rem 0; } to { translate: 0 .35rem 0; } }
:root[data-theme="light"] .cu b { border-color: rgb(var(--w) / .2); background: linear-gradient(145deg, #ffffff 0%, #ececf3 60%, #e0e0ea 100%); box-shadow: inset 0 0 .6rem rgb(var(--w) / .05); }
:root[data-theme="light"] .cu .f3 { background: linear-gradient(145deg, #f3f3f8, #dedee8); }
:root[data-theme="light"] .cu .f4 { background: linear-gradient(145deg, #eaeaf2, #d6d6e2); }
:root[data-theme="light"] .cu .f5 { background: linear-gradient(145deg, #ffffff, #e7e7f0); }
:root[data-theme="light"] .cu .f6 { background: #d2d2de; }
:root[data-theme="light"] .cu:nth-child(7n+2) .f1, :root[data-theme="light"] .cu:nth-child(5n+1) .f3 { border-color: rgb(var(--acc) / .6); background: linear-gradient(145deg, #f1eeff, #d9d3fb); box-shadow: inset 0 0 .7rem rgb(var(--acc) / .2), 0 0 1rem rgb(var(--acc) / .2); }
:root[data-theme="light"] .cu:nth-child(11n+4) .f5 { border-color: rgb(var(--acc) / .4); background: linear-gradient(145deg, #ffffff, #dcdcea); }
:root[data-theme="light"] .glow { background: radial-gradient(closest-side, rgb(var(--acc) / .35), transparent 72%); }

/* v3.19.0: a floating WhatsApp conversation between Explore and Open source. Plain elements, drawn once; only transform-type properties and opacity move, so it stays smooth on phones. Shown fully (still) when the phone asks for reduced motion. */
.chat3d { position: relative; height: 282px; margin-top: 14px; perspective: 900px; -webkit-perspective: 900px; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgb(var(--acc) / .10), transparent 60%), var(--s1); }
.cscene { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: rotateX(8deg) rotateY(-10deg); will-change: transform; }
.chb { position: absolute; padding: 9px 12px 10px; border-radius: 14px; border: 1px solid rgb(var(--w) / .16); font-size: 14px; line-height: 1.35; color: var(--t); -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 10px 30px rgb(0 0 0 / .18); }
.chb p { margin: 0; }
.chn { display: block; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.cme { left: 5%; top: 7%; width: 58%; transform: translateZ(46px); background: rgb(var(--w) / .08); border-bottom-left-radius: 4px; }
.cme .chn { color: rgb(var(--cyan)); }
.cme .chtk { position: absolute; right: 9px; bottom: 6px; width: 17px; height: 17px; color: rgb(var(--cyan)); }
.cme p { padding-right: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.cbo { right: 5%; top: 38%; width: 66%; min-height: 62px; transform: translateZ(14px); background: rgb(var(--acc) / .16); border-color: rgb(var(--acc) / .38); border-bottom-right-radius: 4px; }
.cbo .chn { color: rgb(var(--acc)); }
.chdots { position: absolute; left: 12px; bottom: 14px; display: none; gap: 4px; }
.chdots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--acc)); }
.chchips { position: absolute; left: 4%; right: 4%; top: 77%; display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px; transform: translateZ(34px); }
.chchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; font-size: 11.5px; font-weight: 500; border: 1px solid; background: var(--s1); }
.chchip svg { width: 12px; height: 12px; }
.cv { color: rgb(var(--acc)); border-color: rgb(var(--acc) / .45); }
.cc { color: rgb(var(--cyan)); border-color: rgb(var(--cyan) / .45); }
.cg { color: rgb(var(--ok)); border-color: rgb(var(--ok) / .5); }
.chspin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgb(var(--cyan) / .3); border-top-color: rgb(var(--cyan)); }
.cline { position: absolute; left: 24%; top: 30%; width: 2px; height: 22%; transform: translateZ(30px); background: linear-gradient(rgb(var(--cyan) / .6), rgb(var(--acc) / .6)); border-radius: 2px; }
.cline i { position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--ok)); box-shadow: 0 0 10px rgb(var(--ok) / .8); }
.orb { position: absolute; border-radius: 50%; filter: blur(18px); pointer-events: none; }
.o1 { left: 62%; top: 6%; width: 90px; height: 90px; background: rgb(var(--acc) / .35); transform: translateZ(-70px); }
.o2 { left: 6%; top: 52%; width: 80px; height: 80px; background: rgb(var(--cyan) / .28); transform: translateZ(-50px); }
:root[data-theme="light"] .chb { box-shadow: 0 10px 26px rgb(40 40 80 / .12); border-color: rgb(var(--w) / .14); }
:root[data-theme="light"] .cme { background: rgb(255 255 255 / .75); }
@media (min-width: 640px) { .chat3d { height: 290px; } .chb { font-size: 15px; } .cme { width: 46%; } .cbo { width: 52%; top: 36%; } .chchips { top: 76%; } }
@media (prefers-reduced-motion: no-preference) {
  .cscene { animation: tcsway 14s ease-in-out infinite alternate; }
  .cme { animation: tcpop 11s ease-out infinite both, tcfloat 6s ease-in-out infinite alternate; }
  .cbo { animation: tcpop2 11s ease-out infinite both, tcfloat 7s ease-in-out -2s infinite alternate; }
  .chchips { animation: tcfloat 8s ease-in-out -1s infinite alternate; }
  .chchip.cv { animation: tcshow1 11s ease-out infinite both; }
  .chchip.cc { animation: tcshow2 11s ease-out infinite both; }
  .chchip.cg { animation: tcshow3 11s ease-out infinite both; }
  .cbo .chrep { animation: tcrep 11s ease-out infinite both; }
  .chdots { display: flex; animation: tcdots 11s linear infinite both; }
  .chdots i { animation: tcdot 1s ease-in-out infinite; } .chdots i:nth-child(2) { animation-delay: .15s; } .chdots i:nth-child(3) { animation-delay: .3s; }
  .chspin { animation: tcspin .9s linear infinite; }
  .cline i { animation: tcrun 11s ease-in-out infinite both; }
  .o1 { animation: tcorb 9s ease-in-out infinite alternate; } .o2 { animation: tcorb 11s ease-in-out -3s infinite alternate; }
}
@keyframes tcsway { from { transform: rotateX(6deg) rotateY(-16deg); } to { transform: rotateX(11deg) rotateY(8deg); } }
@keyframes tcfloat { from { translate: 0 -5px 0; } to { translate: 0 5px 0; } }
@keyframes tcpop { 0% { opacity: 0; scale: .88; } 6%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; scale: .96; } }
@keyframes tcpop2 { 0%, 15% { opacity: 0; scale: .88; } 21%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; scale: .96; } }
@keyframes tcdots { 0%, 16% { opacity: 0; } 19%, 34% { opacity: 1; } 37%, 100% { opacity: 0; } }
@keyframes tcrep { 0%, 36% { opacity: 0; } 42%, 100% { opacity: 1; } }
@keyframes tcshow1 { 0%, 8% { opacity: 0; scale: .8; } 13%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; } }
@keyframes tcshow2 { 0%, 22% { opacity: 0; scale: .8; } 27%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; } }
@keyframes tcshow3 { 0%, 44% { opacity: 0; scale: .8; } 50%, 92% { opacity: 1; scale: 1; } 98%, 100% { opacity: 0; } }
@keyframes tcrun { 0%, 8% { opacity: 0; translate: 0 0; } 12% { opacity: 1; } 30% { opacity: 1; translate: 0 54px; } 34%, 100% { opacity: 0; translate: 0 54px; } }
@keyframes tcdot { 0%, 100% { translate: 0 0; opacity: .4; } 50% { translate: 0 -3px; opacity: 1; } }
@keyframes tcspin { to { rotate: 360deg; } }
@keyframes tcorb { from { translate: -10px 6px; } to { translate: 12px -8px; } }

/* v3.20.0: "Extend it" as a 2 x 2 grid of cards (Install and Pair stay full-width rows) */
.xtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.xtiles .row, .xtiles .row + .row { position: relative; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px; min-height: 128px; padding: 14px 14px 13px; border: 1px solid var(--line); border-radius: var(--r); background: var(--s1); box-shadow: inset 0 1px 0 rgb(var(--w) / .04); transition: transform .18s ease, border-color .18s ease, background-color .18s ease; -webkit-tap-highlight-color: transparent; }
.xtiles .row .tx { flex: none; width: 100%; }
.xtiles .row b { font-size: 15px; }
.xtiles .row .d { font-size: 12.5px; margin-top: 3px; }
.xtiles .row .go { position: absolute; top: 14px; right: 12px; width: 15px; height: 15px; }
.xtiles a.row:hover, .xtiles a.row:focus-visible { border-color: var(--line2); background: var(--s2); }
@media (max-width: 380px) { .xtiles { gap: 8px; } .xtiles .row, .xtiles .row + .row { padding: 12px 12px 11px; min-height: 120px; } .xtiles .row .d { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .xtiles .row, .xtiles .row + .row { transition: none; } }

/* v3.21.0: one brand colour (--brand, set at the top) for the Get started button, the "Fex" in the name and the F of the logo */
.logo .fx { color: var(--brand); }
:root:not([data-theme="light"]) .logo .fx { color: #8577f0; }   /* a touch lighter on the dark background so the name stays readable */
.mark .mf { position: absolute; inset: 0; pointer-events: none; background: url(/logo-f-hi.png) center / contain no-repeat, url(/logo-f-lo.png) center / contain no-repeat, var(--brand); -webkit-mask: url(/logo-f.png) center / contain no-repeat; mask: url(/logo-f.png) center / contain no-repeat; }

/* v3.21.0: section labels centred; the two section animations (Connection Hub, Modular Plugin Engine). Plain elements; only transform-type properties and opacity move. */
.group.mid { text-align: center; margin-top: 6px; }
.hub3d, .eng3d { position: relative; height: 152px; perspective: 700px; -webkit-perspective: 700px; margin-top: 4px; }
.hs, .es { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.hub3d::before, .eng3d::before { content: ""; position: absolute; inset: 14% 12%; background: radial-gradient(closest-side, rgb(var(--acc) / .14), transparent 72%); pointer-events: none; }
.bx, .mb, .core { position: relative; width: 0; height: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
.bx b, .mb b, .core b { position: absolute; display: block; -webkit-backface-visibility: hidden; backface-visibility: hidden; border: 1px solid rgb(var(--w) / .2); box-sizing: border-box; }
/* box faces: --w --h --d set on the box */
.bx b.fr, .mb b.fr, .core b.fr { width: var(--w); height: var(--h); left: calc(var(--w) / -2); top: calc(var(--h) / -2); transform: translateZ(calc(var(--d) / 2)); }
.bx b.bk, .mb b.bk, .core b.bk { width: var(--w); height: var(--h); left: calc(var(--w) / -2); top: calc(var(--h) / -2); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.bx b.lf, .mb b.lf, .core b.lf { width: var(--d); height: var(--h); left: calc(var(--d) / -2); top: calc(var(--h) / -2); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.bx b.rt, .mb b.rt, .core b.rt { width: var(--d); height: var(--h); left: calc(var(--d) / -2); top: calc(var(--h) / -2); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.bx b.tp, .mb b.tp, .core b.tp { width: var(--w); height: var(--d); left: calc(var(--w) / -2); top: calc(var(--d) / -2); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.bx b.bt, .mb b.bt, .core b.bt { width: var(--w); height: var(--d); left: calc(var(--w) / -2); top: calc(var(--d) / -2); transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.bx b, .mb b.bk, .mb b.lf, .mb b.rt, .mb b.tp, .mb b.bt { background: linear-gradient(150deg, var(--s3), var(--s1)); }
.ob { position: absolute; width: 0; height: 0; top: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; }
/* hub */
.ob.ph { left: -86px; } .ob.ph .bx { --w: 50px; --h: 90px; --d: 9px; } .ob.ph .bx b { border-radius: 9px; }
.ob.sv { left: 86px; } .ob.sv .bx { --w: 70px; --h: 58px; --d: 40px; } .ob.sv .bx b { border-radius: 6px; }
.scr { position: absolute; inset: 5px; border-radius: 6px; background: linear-gradient(160deg, rgb(var(--acc) / .35), rgb(var(--cyan) / .18)); border: 1px solid rgb(var(--acc) / .35); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.scr i { display: block; height: 9px; border-radius: 5px; background: rgb(var(--w) / .5); }
.scr .b1 { width: 70%; } .scr .b2 { width: 82%; align-self: flex-end; background: rgb(var(--ok) / .85); } .scr .b3 { width: 55%; }
.un { position: absolute; left: 7px; right: 7px; height: 12px; border-radius: 3px; background: rgb(var(--w) / .08); border: 1px solid rgb(var(--w) / .14); display: flex; align-items: center; gap: 5px; padding: 0 5px; }
.un:nth-child(1) { top: 7px; } .un:nth-child(2) { top: 23px; } .un:nth-child(3) { top: 39px; }
.un .led { width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--ok)); box-shadow: 0 0 6px rgb(var(--ok) / .9); }
.un .led.l2 { background: rgb(var(--cyan)); box-shadow: 0 0 6px rgb(var(--cyan) / .9); } .un .led.l3 { background: rgb(var(--acc)); box-shadow: 0 0 6px rgb(var(--acc) / .9); }
.un .bar { flex: 1; height: 3px; border-radius: 2px; background: rgb(var(--w) / .2); }
.beam { position: absolute; left: -56px; top: -1px; width: 104px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgb(var(--cyan) / .55), rgb(var(--acc) / .55)); box-shadow: 0 0 8px rgb(var(--acc) / .5); transform: translateZ(2px); }
.beam i { position: absolute; left: 0; top: -2px; width: 14px; height: 6px; border-radius: 4px; background: linear-gradient(90deg, transparent, #fff); box-shadow: 0 0 10px 2px rgb(var(--cyan) / .8); opacity: 0; }
/* engine */
.core { --w: 34px; --h: 34px; --d: 34px; }
.core b { background: linear-gradient(145deg, rgb(var(--acc) / .9), rgb(var(--acc) / .45)); border-color: rgb(var(--acc) / .8); box-shadow: inset 0 0 10px rgb(255 255 255 / .25); border-radius: 6px; }
.core b.lf, .core b.rt { background: linear-gradient(145deg, rgb(var(--acc) / .6), rgb(var(--acc) / .3)); }
.ring { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgb(var(--acc) / .8); opacity: 0; transform: translateZ(-4px); }
.md { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; --ox: 0px; --oy: 0px; --ix: 0px; --iy: 0px; --c: var(--acc); translate: var(--ox) var(--oy) 0; }
.md .mb { --w: 32px; --h: 32px; --d: 8px; }
.md .mb b { border-radius: 8px; border-color: rgb(var(--c) / .55); }
.md .mb b.fr { background: linear-gradient(145deg, rgb(var(--c) / .32), rgb(var(--c) / .12)), var(--s1); color: rgb(var(--c)); display: grid; place-items: center; }
.md .mb b.fr svg { width: 18px; height: 18px; }
.md .gl { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--c) / .45), transparent); opacity: 0; pointer-events: none; }
.md.m1 { --ox: -92px; --oy: -42px; --ix: -26px; --iy: -16px; --c: var(--pink); }
.md.m2 { --ox: 92px; --oy: -46px; --ix: 26px; --iy: -16px; --c: var(--cyan); }
.md.m3 { --ox: -88px; --oy: 44px; --ix: -26px; --iy: 16px; --c: var(--warn); }
.md.m4 { --ox: 90px; --oy: 42px; --ix: 26px; --iy: 16px; --c: var(--fuc); }
:root[data-theme="light"] .bx b, :root[data-theme="light"] .mb b.bk, :root[data-theme="light"] .mb b.lf, :root[data-theme="light"] .mb b.rt, :root[data-theme="light"] .mb b.tp, :root[data-theme="light"] .mb b.bt { background: linear-gradient(150deg, #ffffff, #e2e2ec); border-color: rgb(var(--w) / .22); }
:root[data-theme="light"] .scr i { background: rgb(var(--w) / .28); } :root[data-theme="light"] .un { background: rgb(var(--w) / .06); }
:root[data-theme="light"] .md .mb b.fr { background: linear-gradient(145deg, rgb(var(--c) / .28), rgb(var(--c) / .1)), #fff; }
@media (min-width: 640px) { .hub3d, .eng3d { height: 184px; } .ob.ph { left: -120px; } .ob.sv { left: 120px; } .beam { left: -90px; width: 140px; } .md.m1 { --ox: -130px; --ix: -30px; } .md.m2 { --ox: 130px; --ix: 30px; } .md.m3 { --ox: -124px; --ix: -30px; } .md.m4 { --ox: 126px; --ix: 30px; } }
@media (prefers-reduced-motion: no-preference) {
  .hs { animation: hubtilt 12s ease-in-out infinite alternate; }
  .ob.ph { animation: hubfloat 5.5s ease-in-out infinite alternate; } .ob.sv { animation: hubfloat 6.5s ease-in-out -2s infinite alternate; }
  .ob.ph .bx { animation: hubturn 9s ease-in-out infinite alternate; } .ob.sv .bx { animation: hubturn2 11s ease-in-out -3s infinite alternate; }
  .beam { animation: beamglow 2.4s ease-in-out infinite; }
  .beam i { animation: beamrun 2.4s linear infinite; } .beam i.p2 { animation-delay: -.8s; } .beam i.p3 { animation-delay: -1.6s; }
  .un .led { animation: ledblink 2.4s ease-in-out infinite; } .un .led.l2 { animation-delay: -.8s; } .un .led.l3 { animation-delay: -1.6s; }
  .es { animation: engtilt 16s ease-in-out infinite alternate; }
  .core { animation: coreturn 14s linear infinite; }
  .ring { animation: ringburst 3s ease-out infinite; }
  .md { animation: modjoin 12s ease-in-out infinite; }
  .md.m2 { animation-delay: -3s; } .md.m4 { animation-delay: -6s; } .md.m3 { animation-delay: -9s; }
  .md .mb { animation: modturn 7s ease-in-out infinite alternate; } .md.m2 .mb { animation-delay: -2s; } .md.m3 .mb { animation-delay: -4s; } .md.m4 .mb { animation-delay: -1s; }
  .md .gl { animation: modglow 12s ease-in-out infinite; animation-delay: inherit; } .md.m2 .gl { animation-delay: -3s; } .md.m4 .gl { animation-delay: -6s; } .md.m3 .gl { animation-delay: -9s; } .md.m1 .gl { animation-delay: 0s; }
}
@keyframes hubtilt { from { transform: rotateX(8deg) rotateY(-12deg); } to { transform: rotateX(-4deg) rotateY(12deg); } }
@keyframes hubfloat { from { translate: 0 -6px 0; } to { translate: 0 6px 0; } }
@keyframes hubturn { from { rotate: 0 1 0 -28deg; } to { rotate: 0 1 .1 26deg; } }
@keyframes hubturn2 { from { rotate: 0 1 0 24deg; } to { rotate: .1 1 0 -26deg; } }
@keyframes beamglow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes beamrun { 0% { opacity: 0; translate: 0 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; translate: 92px 0; } }
@keyframes ledblink { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes engtilt { from { transform: rotateX(14deg) rotateY(-18deg); } to { transform: rotateX(-6deg) rotateY(16deg); } }
@keyframes coreturn { from { transform: rotateX(-20deg) rotateY(0deg); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@keyframes ringburst { 0% { opacity: .9; scale: .7; } 100% { opacity: 0; scale: 1.9; } }
@keyframes modjoin { 0%, 22% { translate: var(--ox) var(--oy) 0; } 40%, 52% { translate: var(--ix) var(--iy) 20px; } 78%, 100% { translate: var(--ox) var(--oy) 0; } }
@keyframes modturn { from { rotate: .2 1 0 -34deg; } to { rotate: 0 1 .3 34deg; } }
@keyframes modglow { 0%, 34% { opacity: 0; } 46% { opacity: 1; } 58%, 100% { opacity: 0; } }

/* v3.22.0: small interface motion. Panels that appear (steps, results, errors, tabs, menu) fade and slide in softly. Never for reduced motion. */
/* v3.24.0: the icon tile no longer moves as one piece. Only the icon drawing moves (tf2-icons.css), the tile just glows. */
.row .ico { transition: box-shadow .22s ease; }
a.row:hover .ico, a.row:focus-visible .ico { box-shadow: 0 6px 14px rgb(var(--c, var(--acc)) / .28); }
a.row .go { transition: transform .2s ease, color .2s ease; } a.row:hover .go, a.row:focus-visible .go { transform: translateX(3px); }
.xtiles a.row:hover .go, .xtiles a.row:focus-visible .go { transform: translate(2px, -2px); }
.btn { transition: background-color .18s ease, transform .12s ease, border-color .18s ease; } .btn:active:not(:disabled) { transform: scale(.98); }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: tfmenuin .18s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top right; }
  .menu.out { animation: tfmenuout .14s ease-in both; }
  .step:not([hidden]), #pane-qr:not([hidden]), .dv [id^="v-"]:not([hidden]), .err:not([hidden]), .codemsg:not([hidden]), #retry:not([hidden]), .qrmsg:not([hidden]), #pdetail:not([hidden]), .dnotice:not([hidden]), .pcols:not([hidden]) { animation: tfpanelin .26s ease-out both; }
  .step:not([hidden]) { animation-duration: .32s; }
}
@keyframes tfmenuin { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes tfmenuout { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes tfpanelin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* v3.22.1: tighter space around the two Home animations; solid sides of the small modules take the module's own colour (so they read as thickness, not as pale slivers) */
.hub3d { margin-top: -22px; } .eng3d { margin-top: -8px; }
.md .mb b.bk, .md .mb b.lf, .md .mb b.rt, .md .mb b.tp, .md .mb b.bt { background: rgb(var(--c) / .5); border-color: rgb(var(--c) / .6); }
:root[data-theme="light"] .md .mb b.bk, :root[data-theme="light"] .md .mb b.lf, :root[data-theme="light"] .md .mb b.rt, :root[data-theme="light"] .md .mb b.tp, :root[data-theme="light"] .md .mb b.bt { background: rgb(var(--c) / .45); border-color: rgb(var(--c) / .6); }
