/*
  The install guide's styles, shared by /start and /start/ja.

  They used to be copied into both pages, which meant the two languages could
  drift apart with nothing to notice — site/ is outside every check in
  package.json. One file, two pages, and the only thing a page sets for itself
  is --font: the English one should not be set in a Japanese face.
*/

:root {
  --bg: #0b0e13;
  --bg2: #141a22;
  --bg3: #1b212a;
  --ink: #e7eaf0;
  --dim: #97a1b1;
  --line: rgba(255, 255, 255, .11);
  --acc: #ef3e2c;
  --gold: #ffc92e;
  --ok: #4cbc86;
  --warn: #d9a03e;
  --font: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 96px; }

header { padding: 40px 0 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header svg { width: 44px; height: 44px; flex: none; border-radius: 10px; }
h1 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: .01em; }
.lang { margin-left: auto; font-size: 14px; }
.lang a { color: var(--dim); }

.lede { color: var(--dim); margin: 6px 0 30px; }

h2 {
  margin: 44px 0 14px; font-size: 19px; font-weight: 660;
  padding-top: 22px; border-top: 1px solid var(--line);
}
h2:first-of-type { border-top: 0; padding-top: 0; }
h3 { margin: 26px 0 8px; font-size: 16px; font-weight: 640; }
p { margin: 0 0 14px; }
a { color: var(--gold); }
code {
  font-family: var(--mono); font-size: .89em;
  background: var(--bg3); padding: 2px 6px; border-radius: 5px;
}
strong { color: #fff; }

/* The download, which is the one thing on this page somebody came for. */
.get {
  display: block; margin: 22px 0 10px; padding: 20px 22px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink);
}
.get:hover { border-color: rgba(255, 201, 46, .5); }
.get b { display: block; font-size: 18px; color: var(--gold); margin-bottom: 3px; }
.get span { color: var(--dim); font-size: 14px; }

ol.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
ol.steps > li {
  counter-increment: s; position: relative;
  padding: 0 0 4px 46px; margin: 0 0 26px;
}
ol.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--acc); color: #fff;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
}
ol.steps h3 { margin-top: 0; }

ul { margin: 0 0 14px; padding-left: 22px; }
li { margin: 0 0 6px; }

.note {
  background: var(--bg2); border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  border-radius: var(--r); padding: 14px 18px; margin: 16px 0;
  font-size: 15px;
}
.note.ok { border-left-color: var(--ok); }
.note p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; font-size: 13px; }

footer { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
footer a { color: var(--dim); }
