/* The site of node-4 Chat: the colours and the font of the messenger (web/app.css). */
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/app/fonts/golos-text-400-700-cyrillic.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-weight: 400 700; font-display: swap; src: url(/app/fonts/golos-text-400-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --bg: #f4f6fa; --panel: #fff; --line: #e3e7ee; --ink: #121826; --muted: #5b6474; --faint: #8b93a1;
  --accent: #2563eb; --accent-soft: #e8efff; --ok: #16a34a; --danger: #dc2626; --mine: #2563eb;
  --art-shadow: 0 24px 60px rgba(15, 23, 42, .16);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e131b; --panel: #151b25; --line: #253041; --ink: #e8edf5; --muted: #a3adbd; --faint: #7c8696; --accent: #4f86ff; --accent-soft: #1c2a45; --ok: #34c06a; --danger: #f26b6b; --mine: #2f6bf0; --art-shadow: 0 24px 60px rgba(0, 0, 0, .5); color-scheme: dark; }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font: 16px/1.55 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.bar { display: flex; align-items: center; gap: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 600; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.ghost { background: var(--panel); color: var(--ink); border: 1px solid var(--line); }
.btn.small { height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.muted, .note { color: var(--muted); }
.note { font-size: 14px; margin-top: 14px; }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .bar { height: 64px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand:hover { text-decoration: none; }
.site-logo { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 48px; }
.tag { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.tag svg.i { width: 15px; height: 15px; }
h1 { font-size: 46px; line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 16px; }
h2 { font-size: 32px; letter-spacing: -.01em; margin-bottom: 22px; }
h3 { font-size: 18px; margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.shots { position: relative; padding-bottom: 40px; }
.shot-desk { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15, 23, 42, .18); display: block; }
.shot-phone { position: absolute; right: -12px; bottom: 0; width: 26%; height: auto; border-radius: 22px; border: 6px solid #111827; box-shadow: 0 18px 40px rgba(15, 23, 42, .3); background: #111827; }

section[id] { padding-top: 56px; padding-bottom: 24px; scroll-margin-top: 64px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 + ul { margin-bottom: 18px; }
.ticks, .crosses { list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.ticks li::before { content: '✓'; color: var(--ok); font-weight: 700; margin-right: 10px; }
.crosses li::before { content: '✕'; color: var(--danger); font-weight: 700; margin-right: 10px; }

.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.plat:hover { text-decoration: none; border-color: var(--accent); }
.plat span { color: var(--muted); font-size: 14px; flex: 1; }
.plat em { font-style: normal; font-weight: 600; color: var(--accent); }
.plat.soon em { color: var(--faint); }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-top: 10px; }

.foot { border-top: 1px solid var(--line); margin-top: 56px; padding: 30px 0 40px; font-size: 14px; color: var(--faint); }
.foot .bar { justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; }
.foot .site-logo { height: 26px; }
.n4 { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.n4:hover { text-decoration: none; color: var(--ink); }
.n4-logo { width: 26px; height: 26px; margin-left: 2px; color: var(--ink); }
.n4 .wm b { color: var(--ink); font-weight: 700; }
.foot .legal { flex-basis: 100%; font-size: 13px; }
.foot .legal a { color: var(--muted); }

.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf main { display: flex; flex-direction: column; align-items: center; padding: 24px; }
.nf .site-logo { height: 46px; margin-bottom: 8px; color: var(--ink); }
.nf h1 { font-size: 34px; }
.nf .cta { justify-content: center; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 32px; }
  h1 { font-size: 36px; }
  .split { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { display: none; }
  .top .bar { justify-content: space-between; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .lead { font-size: 17px; }
  .platforms { grid-template-columns: 1fr; }
  .site-logo { height: 30px; }
  .btn { width: 100%; }
  .btn.small { width: auto; }
  .shot-phone { width: 32%; right: -4px; }
}

/* «Возможности»: tabs, one panel each — the list and a picture of it (features.js), as on
   desk.node-4.ru. The picture is drawn in a 600×470 box and scaled to its column (--k). */
.ft-sub { margin: -10px 0 22px; font-size: 18px; color: var(--muted); max-width: 760px; }
.ft-tabs { display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ft-tabs::-webkit-scrollbar { display: none; }
.ft-tabs button { --a: #3b82f6; --ag: rgba(59, 130, 246, .3); flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 9px; border: 0; border-radius: 11px; background: none; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.ft-tabs button:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ft-tabs button:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; }
.ft-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-tabs small { padding: 0 6px; border-radius: 99px; font-size: 11px; font-weight: 700; color: var(--faint); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.ft-tabs button[aria-selected="true"] { color: color-mix(in srgb, var(--a) 72%, var(--ink)); background: color-mix(in srgb, var(--a) 15%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 55%, transparent), 0 8px 24px var(--ag); }
.ft-tabs button[aria-selected="true"] small { color: #fff; background: var(--a); }
.ft-panel { --a: #3b82f6; --ag: rgba(59, 130, 246, .14); position: relative; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 36px; margin-top: 16px; padding: 30px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--ag), color-mix(in srgb, var(--panel) 55%, transparent) 50%); border: 1px solid color-mix(in srgb, var(--a) 28%, transparent); animation: ft-in .25s ease; }
.ft-panel[hidden] { display: none; }
@keyframes ft-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ft-panel h3 { margin: 0; font-size: 28px; letter-spacing: -.3px; }
.ft-lead { margin: 8px 0 14px; font-size: 16px; color: var(--muted); }
.ft-f { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 11px 14px; margin: 0 -14px; border-radius: 14px; }
.ft-f:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.ft-f > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--a); background: color-mix(in srgb, var(--a) 14%, transparent); border: 1px solid color-mix(in srgb, var(--a) 35%, transparent); }
.ft-f > i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-f b { font-size: 16px; }
.ft-f p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ft-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; vertical-align: 2px; color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 32%, transparent); }
.ft-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; color: color-mix(in srgb, var(--a) 75%, var(--ink)); }
.ft-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.ft-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: color-mix(in srgb, var(--ink) 18%, transparent); cursor: pointer; transition: width .2s, background .2s; }
.ft-dots button.on { width: 26px; background: var(--accent); }

/* the pictures: the app's own colours, light or dark with the page */
.ft-copy { align-self: start; }
.ft-art { --k: 1; position: relative; height: 470px; min-width: 0; align-self: center; }
.ft-stage { position: absolute; left: 0; top: 0; width: 600px; height: 470px; transform: scale(var(--k)); transform-origin: top left; font-size: 13px; line-height: 1.4; color: var(--ink); }
.ft-stage > * { position: absolute; }
.ft-stage svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ft-win { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--art-shadow); }
.ft-wbar { display: flex; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ft-wbar small, .ft-node small, .ft-mrow small { display: block; color: var(--faint); font-size: 12px; }
.ft-av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--c, var(--accent)); }
.ft-av.big { width: 96px; height: 96px; font-size: 32px; margin: 0 auto 12px; }
.ft-body { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--bg); }
.ft-msg { position: relative; align-self: flex-start; max-width: 340px; padding: 8px 12px; border-radius: 16px 16px 16px 6px; background: var(--panel); border: 1px solid var(--line); }
.ft-msg > small { display: block; font-size: 12px; font-weight: 700; color: var(--c, var(--accent)); }
.ft-msg.mine { align-self: flex-end; background: var(--mine); border-color: var(--mine); color: #fff; border-radius: 16px 16px 6px 16px; }
.ft-meta { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-size: 11px; color: var(--faint); vertical-align: -1px; }
.mine .ft-meta { color: rgba(255, 255, 255, .75); }
.ft-meta svg { width: 15px; height: 15px; color: #bfe3ff; }
.ft-react { position: absolute; right: 10px; bottom: -12px; font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.ft-msg.ft-filemsg { margin-top: 6px; }
.ft-file { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.ft-file > span { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: #dc2626; }
.ft-file small { display: block; color: var(--faint); }
.ft-quote { margin-bottom: 4px; padding: 3px 8px; border-left: 3px solid rgba(255, 255, 255, .7); border-radius: 4px; background: rgba(255, 255, 255, .14); font-size: 12px; }
.ft-quote b { display: block; }
.ft-pill { display: flex; gap: 9px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--a) 45%, var(--line)); box-shadow: var(--art-shadow); font-size: 13.5px; white-space: nowrap; }
.ft-pill > span:not(.ft-dot) { color: var(--muted); }
.ft-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); display: inline-block; flex: none; }
.ft-dot.on { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.ft-card { padding: 16px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--art-shadow); }
.ft-card > b { display: block; font-size: 15px; }
.ft-card p { margin-top: 6px; color: var(--muted); }
.ft-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.ft-btns span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
.ft-btns span.on { background: var(--a); border-color: var(--a); color: #fff; }

.ft-phone { width: 270px; height: 470px; padding: 9px; border-radius: 36px; background: #111827; box-shadow: var(--art-shadow), 0 0 0 1px rgba(255, 255, 255, .06); }
.ft-scr { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.ft-ph-head { display: flex; gap: 10px; align-items: center; padding: 22px 14px 10px; background: var(--panel); border-bottom: 1px solid var(--line); }
.ft-ph-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; }
.ft-ph-body .ft-msg { max-width: 228px; }
.ft-voice { display: flex; gap: 8px; align-items: center; width: 200px; }
.ft-play { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.mine .ft-play { background: #fff; color: var(--mine); }
.ft-play svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.ft-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.ft-wave i { flex: 1; border-radius: 2px; background: color-mix(in srgb, currentColor 30%, transparent); }
.ft-wave i.on { background: var(--accent); }
.mine .ft-wave i.on { background: #fff; }
.ft-voice + .ft-meta { margin: 0 0 0 38px; }
.ft-totext { float: right; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--a); }
.ft-transcript { font-size: 12.5px; color: var(--muted); border-style: dashed; }
.ft-recbar { display: flex; gap: 8px; align-items: center; margin: 0 8px 10px; padding: 8px 8px 8px 12px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.ft-recdot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .2); }
.ft-recbar .ft-wave i { background: #ef4444; opacity: .7; }
.ft-send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.ft-send svg { width: 18px; height: 18px; }

.ft-phone.dark .ft-scr, .ft-callscr { background: linear-gradient(180deg, #1e3a8a, #0f172a); color: #fff; }
.ft-me { position: absolute; right: 12px; top: 18px; width: 72px; height: 100px; border-radius: 12px; background: linear-gradient(160deg, #64748b, #334155); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.ft-me span { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35); }
.ft-me svg { width: 14px; height: 14px; }
.ft-who { margin-top: 140px; text-align: center; }
.ft-who b { display: block; font-size: 18px; }
.ft-who small { display: block; color: rgba(255, 255, 255, .7); }
.ft-who em { display: inline-flex; gap: 2px; align-items: flex-end; margin-top: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .3); font-style: normal; font-size: 11.5px; }
.ft-who em i { width: 3px; border-radius: 1px; background: #4ade80; }
.ft-who em i:nth-child(1) { height: 5px; } .ft-who em i:nth-child(2) { height: 8px; } .ft-who em i:nth-child(3) { height: 11px; margin-right: 5px; }
.ft-cbtns { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 12px; }
.ft-cbtns span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.ft-cbtns span.on { background: #fff; color: #1e3a8a; }
.ft-cbtns span.end { background: #ef4444; }
.ft-cbtns span.end svg { transform: rotate(135deg); }
.ft-cbtns svg { width: 20px; height: 20px; }
.ft-places { padding: 6px; }
.ft-places div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.ft-places div.on { background: color-mix(in srgb, var(--a) 13%, transparent); color: color-mix(in srgb, var(--a) 80%, var(--ink)); }
.ft-places svg { width: 18px; height: 18px; }
.ft-places i { margin-left: auto; font-style: normal; }

.ft-app { width: 22px; height: 22px; flex: none; border-radius: 6px; background: #2563eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='11' rx='8' ry='6.6' fill='%23fff'/%3E%3Cpath d='M7.5 15.5c-.2 1.4-1 2.4-2.2 3.3 2 .2 3.9-.4 5.4-1.6z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ft-wbar .ft-app { width: 34px; height: 34px; border-radius: 10px; }
.ft-mrow { display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ft-mrow small { grid-column: 2; }
.ft-note { padding: 14px 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--art-shadow); }
.ft-note-top { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--faint); margin-bottom: 6px; }
.ft-note-top .ft-app { width: 18px; height: 18px; border-radius: 5px; }
.ft-note > b { font-size: 15px; }
.ft-note p { color: var(--muted); }
.ft-note-btns { display: flex; gap: 10px; margin-top: 12px; }
.ft-note-btns span { flex: 1; padding: 9px; border-radius: 12px; text-align: center; font-weight: 700; }
.ft-note-btns .no { color: #dc2626; background: rgba(220, 38, 38, .1); }
.ft-note-btns .yes { color: #fff; background: #16a34a; }
.ft-ready div { display: flex; gap: 10px; align-items: center; margin-top: 9px; color: var(--muted); }
.ft-ready i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: var(--ok); }

.ft-links { left: 0; top: 0; width: 600px; height: 470px; }
.ft-links path { stroke: color-mix(in srgb, var(--a) 60%, transparent); stroke-width: 2; stroke-dasharray: 6 6; }
.ft-node { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--art-shadow); white-space: nowrap; }
.ft-srv { padding: 18px; border-radius: 18px; text-align: center; background: var(--panel); border: 1px solid color-mix(in srgb, var(--a) 50%, var(--line)); box-shadow: var(--art-shadow), 0 0 60px var(--ag); }
.ft-srv b { display: block; font-size: 16px; margin-top: 8px; }
.ft-srv small { display: block; color: var(--muted); }
.ft-env { position: relative; width: 56px; height: 56px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; color: var(--a); background: color-mix(in srgb, var(--a) 13%, transparent); }
.ft-env > svg { width: 30px; height: 30px; }
.ft-env span { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--a); }
.ft-env span svg { width: 13px; height: 13px; }
.ft-code div { margin-top: 10px; font: 600 15px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .5px; word-spacing: 6px; color: var(--muted); }

/* Side by side, every panel is as tall as the tallest one: the page does not jump. */
@media (min-width: 1081px) {
  .ft-panels { display: grid; }
  .ft-panel { grid-area: 1 / 1; }
  .ft-panel[hidden] { display: grid; visibility: hidden; animation: none; }
}
@media (max-width: 1080px) {
  .ft-panel { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .ft-sub { font-size: 16px; }
  .ft-tabs { margin: 0 -16px; padding: 6px 16px; border-radius: 0; border-width: 1px 0; }
  .ft-tabs button { padding: 9px 13px; font-size: 14px; }
  .ft-panel { padding: 20px 18px; border-radius: 18px; }
  .ft-panel h3 { font-size: 23px; }
  .ft-f { grid-template-columns: 34px 1fr; gap: 12px; padding: 10px 12px; margin: 0 -12px; }
  .ft-f > i { width: 34px; height: 34px; border-radius: 10px; }
}
