/* InfeKt-FM1 site: the look of the project's installer page (dark panel, red accent) */
:root {
  --bg: #08080a; --fg: #ececf0; --dim: #a4a4ad; --mute: #74747d;
  --panel-a: #1d1d21; --panel-b: #141417; --edge: #2c2c33; --well: #0d0d10;
  --red: #e0141c; --red-hi: #ff4038; --red-lo: #8e0a10; --acc: #ff6a4d; --link: #ff8a80;
  --lcd-a: #1c0605; --lcd-b: #110303; --lcd-fg: #ff4a3c;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-height: 100vh; color: var(--fg);
  background: radial-gradient(900px 420px at 50% -160px, rgba(200, 16, 24, .22), transparent 70%),
              radial-gradient(700px 500px at 100% 0, rgba(255, 255, 255, .035), transparent 70%),
              linear-gradient(180deg, #111114 0%, #0a0a0c 55%, #070708 100%) fixed;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); }
a:hover { color: #ffb3ab; }
:focus-visible { outline: 2px solid #ff7a70; outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 18px 16px 40px; }
p { margin: 0 0 12px; }
.small { font-size: 14px; color: var(--dim); }
kbd, .k { display: inline-block; font: 700 .78em/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .03em; padding: 0 6px; border-radius: 5px; white-space: nowrap; color: var(--fg);
  background: linear-gradient(#34343b, #222227); border: 1px solid #45454e; border-bottom-width: 2px; vertical-align: 1px; }
.scr { font: 700 .82em ui-monospace, Menlo, Consolas, monospace; color: var(--lcd-fg); letter-spacing: .04em;
  background: var(--lcd-b); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the top bar: the front panel ---- */
.rack { position: relative; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  padding: 14px 24px; border-radius: 18px; border: 1px solid #303037;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 38%),
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, rgba(0, 0, 0, .02) 2px 4px),
              linear-gradient(180deg, #232328, #151518);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -2px 0 rgba(0, 0, 0, .5), 0 18px 40px rgba(0, 0, 0, .55); }
.rack::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red-hi) 50%, var(--red) 80%, transparent); opacity: .75; }
.screw { position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8d8d96, #3b3b42 60%, #1d1d21);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(0, 0, 0, .35); }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 2px; background: #1a1a1d;
  transform: rotate(35deg); border-radius: 1px; }
.screw.tl { left: 9px; top: 9px; } .screw.tr { right: 9px; top: 9px; }
.screw.bl { left: 9px; bottom: 9px; } .screw.br { right: 9px; bottom: 9px; }

/* the logotype: the same picture and byline as the installer page's header (the byline sits in the picture's empty
   space over the letters; its size follows the logo's width: 12px at 220px) */
.logo { display: inline-block; position: relative; width: 200px; max-width: 100%; font-size: 10.9px; line-height: 1;
  text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); }
.logo .by { position: absolute; left: 2.4%; bottom: 66.5%; width: max-content; font: italic 600 1em/1 system-ui, sans-serif;
  letter-spacing: .12em; white-space: nowrap; color: #d4473f; text-shadow: 0 0 6px rgba(224, 20, 28, .45); }
.hero .logo { width: 380px; font-size: 20.7px; }

.topnav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tab { position: relative; display: inline-block; padding: 9px 18px 9px 30px; font: 600 13px/1.4 system-ui, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); border: 1px solid #0b0b0d;
  border-radius: 10px; background: linear-gradient(180deg, #303036, #1f1f23 60%, #19191c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 0 #050506, 0 6px 14px rgba(0, 0, 0, .4); }
.tab::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: #3c0e0c; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .8); transition: all .25s; }
.tab:hover { filter: brightness(1.15); color: #fff; }
.tab[aria-current="page"] { color: #fff; background: linear-gradient(180deg, #3a3a41, #26262b 60%, #1f1f23); }
.tab[aria-current="page"]::before { background: #ff3b30; box-shadow: 0 0 9px 2px rgba(255, 50, 40, .7); }

/* ---- panels ---- */
main { margin-top: 22px; }
.panel { position: relative; min-width: 0; padding: 20px 22px 16px; border-radius: var(--radius); border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 30%), linear-gradient(180deg, var(--panel-a), var(--panel-b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 28px rgba(0, 0, 0, .45); margin: 0 0 18px; }
h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: #d9d9de; }
h2::before { content: ""; flex: none; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(var(--red-hi), var(--red-lo));
  box-shadow: 0 0 8px rgba(255, 40, 40, .45); }
h3 { font-size: 17px; margin: 20px 0 8px; color: #f0f0f3; }
h2 + h3 { margin-top: 4px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 0 0 6px; }
.layout { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .side { position: sticky; top: 16px; } }

/* the hero */
.hero { text-align: center; padding: 26px 22px 22px; }
.hero .tagline { font-size: 19px; color: #dcdce2; margin: 14px 0 20px; font-style: italic; }
.screens { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 0 0 6px; }
.screens figure { margin: 0; flex: 0 1 240px; }
.screens img, .shot { display: block; width: 100%; max-width: 240px; image-rendering: pixelated; border-radius: 10px;
  border: 6px solid #050506; box-shadow: 0 0 0 1px #34343c, 0 10px 24px rgba(0, 0, 0, .6); background: #000; margin: 0 auto; }
.screens figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }
.lead { font-size: 17.5px; }
.lead strong { color: #fff; }
.note { border: 1px solid rgba(224, 20, 28, .55); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px;
  background: linear-gradient(180deg, rgba(224, 20, 28, .1), rgba(224, 20, 28, .04)); }
.note strong { color: #ff6a60; }
.soon { display: inline-block; font-size: 14px; color: var(--dim); border: 1px dashed #4a4a52; border-radius: 8px; padding: 4px 10px; }
.feat h3 { color: var(--acc); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 18px 0 8px; }
.feat li::marker { color: var(--red-hi); }
.cols2 { display: grid; gap: 0 26px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .cols2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

figure.fig { margin: 18px 0 8px; }
figure.fig figcaption { font-size: 14px; color: var(--dim); margin-top: 8px; }
.loop { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto; }
.plot { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--edge); }

/* buttons */
.btn { display: inline-block; font: 600 15px/1.3 system-ui, sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  color: #fff; border: 1px solid #5a080c; border-radius: 10px; padding: 10px 20px;
  background: linear-gradient(180deg, #f2333a 0%, var(--red) 45%, #b30d14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 2px 0 #3c0407, 0 6px 14px rgba(200, 10, 20, .25); }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn.plain { border-color: #0b0b0d; background: linear-gradient(180deg, #393940, #26262b 55%, #1d1d21);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 0 #050506, 0 4px 10px rgba(0, 0, 0, .35); }
.support p { font-size: 17px; }
.support .btn { width: 100%; text-align: center; margin-top: 4px; }

/* the guide */
.guide h3 { display: flex; align-items: baseline; gap: 10px; }
.guide h3 .n { flex: none; display: inline-block; width: 26px; height: 26px; border: 1.5px solid var(--acc); color: var(--acc);
  border-radius: 50%; text-align: center; font-size: 13px; line-height: 23px; }
.guide .panel ul li { margin-bottom: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.toc a { display: inline-block; text-decoration: none; padding: 4px 10px; border-radius: 8px; border: 1px solid #34343c;
  background: var(--well); color: var(--fg); font-size: 14px; }
.toc a:hover { border-color: var(--red-hi); }
.tip { border-left: 3px solid var(--acc); padding: 6px 12px; background: rgba(255, 106, 77, .06); border-radius: 0 8px 8px 0; margin: 10px 0 14px; }
.with-shot { display: grid; gap: 16px 22px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 720px) { .with-shot { grid-template-columns: minmax(0, 1fr) 200px; } }
.with-shot figure { margin: 0; text-align: center; font-size: 13px; color: var(--dim); }
.with-shot .shot { max-width: 200px; }
table.keys { border-collapse: collapse; width: 100%; font-size: 15px; }
table.keys td { border-bottom: 1px solid #2a2a30; padding: 6px 6px; vertical-align: top; }
table.keys td:first-child { white-space: nowrap; width: 1%; padding-right: 14px; }

/* install */
.frame { display: block; width: 100%; height: 930px; border: 1px solid var(--edge); border-radius: var(--radius); background: #0a0a0c; }
.steps li { margin-bottom: 10px; }

footer.site { margin-top: 30px; padding-top: 14px; border-top: 1px solid #26262c; font-size: 13.5px; color: var(--mute); }
footer.site p { margin: 0 0 6px; }

@media (max-width: 700px) {
  .rack { padding: 14px 16px 16px; justify-content: center; }
  .topnav { margin-left: 0; justify-content: center; width: 100%; }
  .tab { padding: 8px 12px 8px 26px; font-size: 12px; letter-spacing: .08em; }
  .tab::before { left: 10px; }
  .logo { width: 170px; font-size: 9.3px; }
  .hero .logo { width: 270px; font-size: 14.7px; }
  .panel { padding: 16px 16px 12px; }
  .screens figure { flex-basis: 100%; }
  .lead { font-size: 16.5px; }
  .frame { height: 2090px; }   /* (the installer's first tab whole at a phone's width: no second scrollbar; 1.19: measured 2056 px) */
}
h4 { font-size: 15px; margin: 18px 0 6px; color: var(--acc); letter-spacing: .04em; }
.loop.tall { display: none; max-width: 360px; }
@media (max-width: 640px) { .loop.wide { display: none; } .loop.tall { display: block; } }
.guide .panel > h3:first-child { margin-top: 0; }
@media (min-width: 720px) { .with-shot { grid-template-columns: minmax(0, 1fr) 240px; } }
.with-shot .shot { max-width: 240px; }
table.keys { margin: 0 0 14px; }
/* (1.19) the download list on Home */
.dl { list-style: none; padding-left: 0; margin: 0; }
.dl li { margin: 0 0 10px; line-height: 1.45; }
.dl .small { margin-left: 4px; }

/* the guide's first box: finding your way (the panel drawing, the navigation keys highlighted) */
.nav { border-color: rgba(224, 20, 28, .55); }
.navgrid { display: grid; grid-template-columns: minmax(260px, 5fr) 6fr; gap: 20px; align-items: start; }
.navpic .small { margin: 6px 0 0; text-align: center; }
.fmpanel { display: block; width: 100%; height: auto; }
.fmpanel [stroke="#1a1a1a"] { stroke: #8d8d97; }
.fmpanel text { fill: #b9b9c2; font: 600 9px system-ui, sans-serif; }
.fmpanel text.sc, .fmpanel text.kb { fill: #7d7d87; }
.fmpanel .hl { stroke: #ff3b33; stroke-width: 2.2; fill: rgba(224, 20, 28, .28); }
.fmpanel .hl2 { stroke: #ff9a3d; stroke-width: 2.2; fill: rgba(255, 154, 61, .22); }
.key { display: inline-block; padding: 0 7px; border-radius: 5px; font-weight: 600; }
.hlk { border: 1.5px solid #ff3b33; background: rgba(224, 20, 28, .28); }
.hl2k { border: 1.5px solid #ff9a3d; background: rgba(255, 154, 61, .22); }
.navbox { border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; padding: 10px 14px 6px; background: rgba(0, 0, 0, .22); }
.navbox + .navbox { margin-top: 12px; }
.navbox h3 { margin: 0 0 6px; }
.navbox table.keys td:first-child { white-space: nowrap; }
@media (max-width: 760px) { .navgrid { grid-template-columns: 1fr; } }
.fmpanel [stroke="#c8341c"] { stroke: #8d8d97; }
.fmpanel [fill="#c8341c"] { fill: #8d8d97; }
