/* alumira.app: Alumira's colours and type (web/src/styles.css) */
:root { --bg: #0a0a0d; --fg: #f3f1ee; --fg-2: rgba(243, 241, 238, 0.68); --fg-3: rgba(243, 241, 238, 0.42);
  --line-2: rgba(255, 255, 255, 0.16); --accent: #e50914; --accent-rgb: 229, 9, 20; --warn-rgb: 232, 170, 64;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* (above the buttons' display: the documentation's links hidden for now) */
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--fg); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(900px 480px at 50% 0, rgba(var(--accent-rgb), 0.14), transparent 70%) no-repeat, var(--bg); } /* (a halo of its own size: the same whatever the page's height) */
main { text-align: center; max-width: 34rem; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 750; font-size: 34px; line-height: 1; }
.logo-mark { display: inline-block; aspect-ratio: 786 / 557; height: 38px; background: var(--accent);
  -webkit-mask: url(/logo.png) center / contain no-repeat; mask: url(/logo.png) center / contain no-repeat; }
p { color: var(--fg-2); font-size: 18px; line-height: 1.55; margin: 22px 0 32px; }
a.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); color: var(--fg); font-weight: 600;
  text-decoration: none; transition: background 0.15s; }
a.btn:hover { background: rgba(255, 255, 255, 0.12); }
a.btn:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
small { display: block; margin-top: 40px; color: var(--fg-3); font-size: 13px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 404: the page that is not there, its number large behind the brand */
.lost { position: relative; isolation: isolate; }
.lost .num { position: absolute; left: 50%; top: 0; transform: translate(-50%, -72%); z-index: -1; pointer-events: none;
  font-size: clamp(140px, 34vw, 280px); font-weight: 800; letter-spacing: -0.06em; line-height: 1;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.lost h1 { font-size: 26px; font-weight: 750; margin: 26px 0 0; letter-spacing: -0.01em; }
.lost p { margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
a.btn.primary { background: var(--fg); color: var(--bg); border-color: transparent; }
a.btn.primary:hover { background: #fff; }
a.brand { color: inherit; text-decoration: none; }

/* the language: one page, its two texts, the one chosen shown; the choice
   top right, out of the flow (the brand stays where it is) */
html[lang="en"] [data-l="fr"], html[lang="fr"] [data-l="en"] { display: none !important; }
.langs { position: absolute; top: max(18px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); display: flex; gap: 14px; z-index: 1; }
.langs button { all: unset; cursor: pointer; color: var(--fg-3); text-transform: uppercase; font-size: 12px; font-weight: 650; letter-spacing: 0.06em; }
.langs button:hover, .langs button[aria-pressed="true"] { color: var(--fg); }
.langs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 2px; }

/* a page of text (beta, privacy): read from the top, the brand top left,
   one column a line of reading wide */
body.page { display: block; place-items: normal; padding: 0 16px; }
.top, .doc { max-width: 44rem; margin: 0 auto; }
.top { padding-top: max(14px, env(safe-area-inset-top)); }
.top .brand { font-size: 22px; gap: 10px; }
.top .logo-mark { height: 24px; }
.doc { text-align: left; padding: 40px 0 32px; }
.doc h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.doc h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 44px 0 12px; }
.doc h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--fg-2); }
.doc p { margin: 0 0 12px; }
.doc .meta { margin: 8px 0 0; font-size: 13px; color: var(--fg-3); }
.doc .lead { margin: 20px 0 0; font-size: 18.5px; color: var(--fg); }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li + li { margin-top: 10px; }
.doc b { color: var(--fg); font-weight: 650; }
.doc a:not(.dl) { color: var(--fg); text-underline-offset: 3px; text-decoration-color: rgba(243, 241, 238, 0.4); }
.doc a:not(.dl):hover { text-decoration-color: var(--fg); }
.doc code { font: 13.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fg); background: rgba(255, 255, 255, 0.07); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

/* what Alumira does, as a product sheet: a domain a band (its name left,
   its features right), a feature its name then what it does, what it
   brings under it; on a phone, the domain's name above */
.doc .specs { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.doc .specs section { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 0 28px; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.doc .specs h3 { margin: 0; font-size: 16.5px; line-height: 1.4; color: var(--fg); }
.doc .specs ul { list-style: none; margin: 0; padding: 0; }
.doc .specs li { margin: 0; }
.doc .specs > section > ul > li + li { margin-top: 14px; }
.doc .specs li > b { display: block; font-size: 14.5px; line-height: 1.4; font-weight: 650; }
.doc .specs li > span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); }
.doc .specs ul ul { margin-top: 6px; }
.doc .specs ul ul li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.5; color: rgba(243, 241, 238, 0.55); }
.doc .specs ul ul li + li { margin-top: 2px; }
.doc .specs ul ul li::before { content: ""; position: absolute; left: 3px; top: 0.7em; width: 5px; height: 1px; background: var(--fg-3); }
/* on a phone, the domain's name above its features, the features set in
   under a rule: the two levels the columns give on a wide screen */
@media (max-width: 640px) {
  .doc .specs section { grid-template-columns: minmax(0, 1fr); }
  .doc .specs h3 { margin-bottom: 14px; font-size: 20px; font-weight: 750; }
  .doc .specs > section > ul { padding-left: 14px; border-left: 2px solid rgba(var(--accent-rgb), 0.6); }
}
.doc .plus { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); white-space: nowrap;
  border: 1px solid rgba(var(--accent-rgb), 0.5); border-radius: 999px; padding: 0 7px; margin-left: 6px; vertical-align: 1px; }
/* (a link to the price: the tag as it is, lit under the pointer) */
.doc a.plus { color: var(--accent); text-decoration: none; transition: background 0.15s; }
.doc a.plus:hover { background: rgba(var(--accent-rgb), 0.14); }
.doc a.plus:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
/* a warning that goes with a feature (a limit to know about): not a
   feature, so not a line of its own; its own colour, its label first */
.doc .specs .warn { margin: 10px 0 0; padding: 8px 12px; border-left: 2px solid rgba(var(--warn-rgb), 0.75); border-radius: 2px 8px 8px 2px;
  background: rgba(var(--warn-rgb), 0.07); font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.doc .specs .warn b { margin-right: 4px; color: rgb(var(--warn-rgb)); font-weight: 650; }
/* a condition, at the end of its line: said, muted */
.doc .req { color: var(--fg-3); }
.doc .soon { color: var(--fg-3); }

/* the page's contents, beside the lead, on its first line: its parts
   numbered, one a line (on a phone, under the lead) */
html { scroll-behavior: smooth; }
.doc h2[id], .doc h3[id], .doc h4[id] { scroll-margin-top: 16px; }
/* a part's groups (Installation's: the server, the apps), then their
   sections (a computer, a NAS, a TV…) */
.doc h3[id] { margin: 40px 0 6px; font-size: 18px; }
.doc h2 + h3[id] { margin-top: 0; }
.doc h4 { margin: 26px 0 6px; font-size: 15.5px; font-weight: 700; color: var(--fg); }
.doc ul.tight li + li { margin-top: 2px; }
.doc .intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 48px; align-items: baseline; margin-top: 20px; }
.doc .intro .lead { margin: 0; }
.doc .toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.doc .toc li { margin: 0; padding: 1px 0; counter-increment: toc; font-size: 15px; line-height: 1.4; }
.doc .toc li::before { content: counter(toc, decimal-leading-zero); display: inline-block; width: 28px; color: var(--accent); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.doc .toc ol ol { padding-left: 28px; }
.doc .toc li li { counter-increment: none; font-size: 14px; }
.doc .toc li li::before { content: none; }
.doc .toc a { color: var(--fg-2); text-decoration: none; transition: color 0.15s; }
.doc .toc a:hover { color: var(--fg); }
.doc .toc a:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; border-radius: 2px; }
@media (max-width: 640px) { .doc .intro { grid-template-columns: minmax(0, 1fr); } .doc .toc { margin-top: 24px; } }

/* the Docker command, whole (scrolled sideways in its box on a phone), and
   what each of its settings is: the setting left, what it does right */
.doc pre.cmd { margin: 0 0 14px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(255, 255, 255, 0.03); overflow-x: auto; }
.doc pre.cmd code { padding: 0; background: none; border-radius: 0; font-size: 13px; line-height: 1.65; overflow-wrap: normal; white-space: pre; }
.doc .params { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0 0 14px; }
.doc .params dt, .doc .params dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
@media (max-width: 520px) { .doc .params { grid-template-columns: minmax(0, 1fr); gap: 0; } .doc .params dd { margin-bottom: 10px; } }

/* the downloads: a large button each, what it runs on under its name */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
a.dl { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06);
  color: var(--fg); text-decoration: none; transition: background 0.15s; }
a.dl:hover { background: rgba(255, 255, 255, 0.12); }
a.dl:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
/* its icon in a square of dashes, its size under the square */
a.dl .dl-ico { display: flex; flex-direction: column; align-items: center; gap: 5px; }
a.dl .dl-sq { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 9px; border: 1px dashed rgba(255, 255, 255, 0.2); color: var(--fg-2); }
/* its name, what it runs on right under it */
a.dl .dl-txt { display: grid; gap: 2px; min-width: 0; }
a.dl b { font-size: 16.5px; font-weight: 700; }
a.dl small { color: var(--fg-3); font-size: 13px; margin: 0; }
a.dl .dl-ico small.size { font-size: 9.5px; line-height: 1; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; color: var(--fg-3); }
a.dl small.size:empty { display: none; }
@media (max-width: 520px) { .downloads { grid-template-columns: minmax(0, 1fr); } }
/* a note (what to know before doing it): a box of its own, its edge marked */
.doc .note { margin: 0 0 10px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-left: 3px solid var(--fg-3); border-radius: 4px 10px 10px 4px;
  background: rgba(255, 255, 255, 0.04); font-size: 14px; line-height: 1.55; color: var(--fg-2); }
/* the steps and lists of a part: a size under its text, and on a wide
   screen set in under it */
.doc > ol > li, .doc > ul > li { font-size: 15px; line-height: 1.55; }
@media (min-width: 760px) { .doc > ol, .doc > ul { padding-left: 46px; } }

/* the foot of every page: the pages, and where abuse is reported (on the
   landing and the 404, out of the flow: what they centre stays put) */
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding: 20px 16px max(20px, env(safe-area-inset-bottom));
  color: var(--fg-3); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, 0.08); max-width: 44rem; margin: 0 auto; }
.foot a { color: var(--fg-2); text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--fg); }
.foot a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
body:not(.page) > .foot { position: absolute; left: 0; right: 0; bottom: 0; border-top: 0; max-width: none; }
/* on a phone, the four pages two by two, where abuse is reported on its own
   line under them */
@media (max-width: 640px) { .foot { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 6px 28px; } .foot > span { grid-column: 1 / -1; justify-self: center; } }

/* back to the top: a round button in the bottom right corner, there once
   the page is scrolled past its first screen */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 2;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(10, 10, 13, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--fg); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background 0.15s; }
.to-top.on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(40, 40, 44, 0.92); }
.to-top:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* a blank the publisher fills before the page is final: said in amber
   (what needs a look), bracketed so that it reads as one in any copy */
.doc .blank { color: rgb(var(--warn-rgb)); background: rgba(var(--warn-rgb), 0.1); border-radius: 2px; box-shadow: 0 0 0 2px rgba(var(--warn-rgb), 0.1); } /* (its tint past its text: the text stays on the column's edge) */
/* the facts of a party (the publisher, the host): a label and its value,
   the values at one x in every block of the page */
.doc .facts { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); gap: 6px 18px; margin: 0 0 12px; }
.doc .facts dt, .doc .facts dd { margin: 0; font-size: 15px; line-height: 1.55; }
.doc .facts dt { color: var(--fg-3); }
.doc .facts dd { color: var(--fg-2); }
@media (max-width: 520px) { .doc .facts { grid-template-columns: minmax(0, 1fr); gap: 0; } .doc .facts dd { margin-bottom: 8px; } }
