/* The faces are the Latin subsets Google Fonts serves, kept here so the
   page asks no other origin for anything. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(fonts/jetbrains-mono-latin.woff2) format("woff2");
}

:root {
  --ground: #0F1424;
  --band: #121830;
  --panel: #151B30;
  --well: #0A0E1A;
  --foot: #0B0F1C;
  --ink: #EEF0F6;
  --soft: #C3C9DB;
  --muted: #A3ABC2;
  --rule: #2A3350;
  --line: #232B45;
  --edge: #3A4466;
  --accent: #FFB347;
  --pink: #FF6B8B;
  --display: "Bricolage Grotesque", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent); }
a:hover { color: #FFD08A; }
code, .mono {
  font-family: var(--mono);
  font-size: 0.9em;
}
code.hi { color: var(--ink); }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.top { border-bottom: 1px solid var(--line); }
.nav {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.logo {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  padding: 10px 0;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--soft);
  text-decoration: none;
  padding: 12px;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--accent); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
/* The wordmark and the links in one row need 919px, the page's padding
   included, and 815px with the links closer together, measured in
   Chrome with these faces; and 948px and 844px in DejaVu Sans, a wide
   fallback drawn on Linux until the faces arrive. A width here counts
   the scrollbar, which on Windows and most Linux desktops takes about
   17px from the page's: each width below leaves room for it and the
   fallback. A change to the links' words, the faces or their sizes
   needs both measured again. */
@media (max-width: 979.98px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 12px 8px; }
}
/* Below it the links are a list the Menu button shows. Only on a nav of
   class "menu", which nav.js adds with the button: without the script
   the links wrap under the wordmark. On paper they stay as they are. */
@media screen and (max-width: 879.98px) {
  .nav.menu .nav-toggle { display: block; }
  .nav.menu:not(.open) .nav-links { display: none; }
  .nav.menu .nav-links {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 8px;
  }
  .nav.menu .nav-links a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
}

.hero {
  padding-top: 72px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px 72px;
  align-items: center;
}
.hero-text {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.vacancy {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 6px;
  padding: 4px 12px 4px 15px;
  text-shadow: 0 0 12px rgba(255, 107, 139, 0.75);
  box-shadow: 0 0 18px rgba(255, 107, 139, 0.35), inset 0 0 10px rgba(255, 107, 139, 0.25);
}
h1 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
}
.glow {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(255, 179, 71, 0.35);
}
.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--soft);
  max-width: 600px;
}
.meta {
  font-size: 14px;
  color: var(--muted);
}
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--edge);
}
.button:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.button.primary {
  background: var(--accent);
  color: #1A1206;
  padding: 14px 22px;
  border: 0;
}
.button.primary:hover {
  background: #FFD08A;
  color: #1A1206;
}

.hero-flow {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.flow {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.flow li {
  position: relative;
  padding: 0 0 26px 34px;
}
.flow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--accent);
}
.flow li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 25px;
  bottom: 0;
  width: 2px;
  background: var(--rule);
}
.flow li.live { padding-bottom: 0; }
.flow li.live::before {
  background: var(--accent);
  border: 0;
  box-shadow: 0 0 16px rgba(255, 179, 71, 0.8);
}
.flow li.live::after { content: none; }
.flow .step {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 24px;
}
.flow .live .step {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(255, 179, 71, 0.45);
}
.flow .note {
  display: block;
  font-size: 16px;
  color: var(--soft);
}

.band {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-inner {
  padding-top: 44px;
  padding-bottom: 48px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.band-inner > .eyebrow {
  font-size: 15px;
  margin-bottom: 28px;
}
.push {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 32px;
}
.push li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 2px solid var(--rule);
  padding-top: 16px;
  font-size: 15px;
  color: var(--muted);
}
.push .step {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.push li.last { border-top-color: var(--accent); }
.push li.last .step { color: var(--accent); }
.push-notes {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  font-size: 15px;
  color: var(--soft);
}
.push-notes p { flex: 1 1 380px; }

.section {
  padding-top: 96px;
  padding-bottom: 24px;
}
.head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.section h2 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}
.head-only { margin-bottom: 36px; }
.lead {
  color: var(--soft);
  max-width: 720px;
}
.small {
  font-size: 15px;
  color: var(--muted);
}
.body {
  font-size: 16px;
  color: var(--soft);
}
.tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 4px;
  padding: 1px 7px;
  margin-left: 8px;
}
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  align-items: flex-start;
}
.col {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.col.wide { flex-basis: 480px; }

.rules {
  list-style: none;
  padding: 0;
  border-top: 2px solid var(--accent);
  counter-reset: rule;
}
.rules li {
  counter-increment: rule;
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  color: var(--soft);
}
.rules li::before {
  content: counter(rule);
  flex: 0 0 22px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
}

.code {
  background: var(--well);
  color: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}
.code figcaption {
  padding: 12px 22px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.code pre {
  margin: 0;
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  overflow-x: auto;
  tab-size: 20px;
}
.code .kw, .code .out { color: var(--accent); }
.code .cm { color: var(--muted); }
.code-plain {
  margin: 10px 0 0;
  padding: 14px 16px;
  background: var(--well);
  color: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.8;
  overflow-x: auto;
}
.terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px 32px;
}
.terms dt {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}
.terms dd {
  font-size: 16px;
  color: var(--muted);
}

.points {
  flex: 1 1 460px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 40px;
  border-top: 2px solid var(--accent);
}
.points > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.points h3, .grid h3 {
  font-size: 20px;
  font-weight: 800;
}
.points p, .grid p {
  font-size: 16px;
  color: var(--muted);
}
.points .trade {
  grid-column: 1 / -1;
  padding-top: 18px;
  font-size: 15px;
  color: var(--muted);
}
.data-code { flex: 1 1 420px; }
.data-code pre { font-size: 14px; }

.rooms { border-top: 2px solid var(--accent); }
.room {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.room-name {
  flex: 0 0 300px;
  max-width: 100%;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.room-name h3 {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
}
.plate {
  flex: 0 0 78px;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  padding: 4px 0;
  box-shadow: 0 0 14px rgba(255, 179, 71, 0.18), inset 0 0 8px rgba(255, 179, 71, 0.10);
}
.room-text {
  flex: 1 1 420px;
  min-width: 0;
}
.room-text p {
  color: var(--muted);
  font-size: 16px;
}
.room-text .room-title {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
}

.fit {
  margin-top: 96px;
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  box-shadow: 0 0 60px rgba(255, 179, 71, 0.10);
}
.fit-inner {
  padding-top: 72px;
  padding-bottom: 72px;
}
.fit-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  align-items: center;
  margin-bottom: 48px;
}
.fit-title {
  flex: 2 1 480px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.05;
}
.fit-head p {
  flex: 1 1 320px;
  font-size: 18px;
}
.fit-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: flex-start;
}
.fit-list {
  flex: 1 1 420px;
  min-width: 0;
}
.fit-list .eyebrow { margin-bottom: 12px; }
.fit-list ul {
  list-style: none;
  padding: 0;
  border-top: 2px solid;
  font-size: 16px;
  color: var(--soft);
}
.fit-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.fit-list li::before {
  flex: 0 0 14px;
  font-weight: 800;
}
.fit-list.yes .eyebrow, .fit-list.yes li::before { color: var(--accent); }
.fit-list.yes ul { border-top-color: var(--accent); }
.fit-list.yes li::before {
  content: "✓";
  content: "✓" / "";
}
.fit-list.no .eyebrow, .fit-list.no li::before { color: var(--pink); }
.fit-list.no ul { border-top-color: var(--pink); }
.fit-list.no li::before {
  content: "→";
  content: "→" / "";
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tab-buttons button {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
}
.tab-buttons button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #1A1206;
}
.tab-buttons button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.client {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-start;
}
.screens {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.screens .small {
  margin-top: -24px;
  font-size: 14px;
}
.screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.screen figcaption {
  color: var(--soft);
  max-width: 660px;
}
.term {
  margin: 0;
  background: var(--well);
  color: var(--soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre;
  overflow-x: auto;
  max-width: 100%;
  box-sizing: border-box;
}
.term .c {
  display: inline-block;
  width: 1ch;
  text-align: center;
}
.term .br {
  display: inline-block;
  width: 1ch;
  height: 1.5em;
  vertical-align: top;
  fill: currentColor;
}
/* --fg is a run's colour, so that a reversed run of any colour turns
   that colour into its background, as a terminal does. */
.term [class*="t-"] { color: var(--fg, inherit); }
.term .t-bold {
  font-weight: 600;
  --fg: #FFFFFF;
}
.term .t-dim { --fg: #8791B0; }
.term .t-red { --fg: #FF7B7B; }
.term .t-yellow { --fg: #FFB347; }
.term .t-green { --fg: #7FD6A8; }
.term .t-rev {
  background: var(--fg, var(--soft));
  color: var(--well);
}
.client-notes {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.client-notes h3 {
  margin-bottom: 2px;
  font-weight: 700;
  font-size: 18px;
}
.client-notes p {
  font-size: 16px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0 40px;
  border-top: 2px solid var(--accent);
}
.grid > div {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.grid .whole { grid-column: 1 / -1; }
.grid .whole p { max-width: 860px; }
.questions {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 56px;
}
.parts { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.parts > div {
  padding: 20px 0;
  gap: 4px;
}
.parts h3 {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
}
.parts p { font-size: 15px; }
.built {
  padding-top: 24px;
  padding-bottom: 96px;
}

.checkin { padding-bottom: 96px; }
.steps {
  list-style: none;
  padding: 0;
  border-top: 2px solid var(--accent);
}
.steps > li {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.step-text {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.step-text > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.step-text h3 {
  font-size: 21px;
  font-weight: 800;
}
.step-text p {
  font-size: 16px;
  color: var(--muted);
}
.num {
  flex: 0 0 34px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}
.step-code {
  flex: 1 1 520px;
  min-width: 0;
}
.step-code pre { line-height: 1.8; }
.end {
  margin-top: 32px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: center;
}
.end-text {
  flex: 2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.end-text h3 {
  font-size: 21px;
  font-weight: 800;
}
.end-text p {
  font-size: 16px;
  color: var(--muted);
}
.end .buttons { flex: 1 1 300px; }

.foot {
  background: var(--foot);
  color: var(--soft);
  border-top: 1px solid var(--line);
}
.foot-grid {
  padding-top: 56px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 32px;
  font-size: 15px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-brand .logo {
  font-size: 24px;
  padding: 0;
}
.foot nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.foot nav h3 {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 5px 0;
}
.foot nav a:hover { color: var(--accent); }
.foot-line {
  padding-bottom: 36px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
