:root {
  --paper: #f7f4ed;
  --paper-2: #fffdf8;
  --ink: #11130f;
  --ink-2: #181b15;
  --slate: #626b79;
  --hairline: #d9d4c9;
  --signal: #c7ff67;
  --green: #27815d;
  --ember: #c75d42;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 2.3fr);
}

.rail {
  position: sticky;
  top: 0;
  min-height: 100vh;
  align-self: start;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 56px);
  color: #f8f5ee;
  background: var(--ink);
}

@font-face { font-family: Nimbus; src: url('/home/nimbus-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: #f0f0e7;
  font-family: Nimbus, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
  font-size: 36px;
  line-height: 1;
}
.brand-dot { display: inline-block; width: .2em; height: .2em; border-radius: 50%; background: #c7ff67; box-shadow: 0 0 10px #c7ff67; margin-left: .06em; }

.mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #0d1420;
}

.mark svg { width: 25px; height: 25px; }

.eyebrow,
.rail-label,
.manifest-label,
.step-no,
.meta {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.rail-label { margin: 58px 0 12px; color: #aeb6c2; }

.rail h2 {
  max-width: 310px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.rail-note { max-width: 330px; margin: 18px 0 0; color: #c5cad3; }

.rail nav { margin-top: auto; padding-top: 50px; display: grid; gap: 8px; }

.rail nav a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  color: #c5cad3;
  text-decoration: none;
  border-bottom: 1px solid #2e3328;
}

.rail nav a:hover,
.rail nav a[aria-current="page"] { color: var(--signal); }

.content { width: min(980px, 100%); padding: clamp(34px, 7vw, 92px); }

.eyebrow { color: #4b6fc9; margin: 0 0 18px; }

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 750px;
  margin: 24px 0 0;
  color: var(--slate);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 34px 0 0;
  padding: 15px 18px;
  border: 1px solid color-mix(in srgb, var(--green) 34%, var(--hairline));
  background: color-mix(in srgb, var(--green) 6%, var(--paper-2));
  border-radius: 12px;
}

.status-strip span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
}

.section { padding: 54px 0; border-bottom: 1px solid var(--hairline); }
.section:last-of-type { border-bottom: 0; }

h2 { margin: 0 0 14px; font-size: clamp(27px, 4vw, 38px); line-height: 1.12; letter-spacing: -0.035em; }
h3 { margin: 28px 0 8px; font-size: 18px; }
p { max-width: 760px; }
ul, ol { max-width: 760px; padding-left: 23px; }
li + li { margin-top: 9px; }

.steps { display: grid; gap: 14px; margin-top: 25px; }

.step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.step-no { color: var(--signal); padding-top: 3px; }
.step h3 { margin: 0 0 5px; }
.step p { margin: 0; color: var(--slate); }

.manifest {
  margin-top: 24px;
  overflow: hidden;
  color: #eef1f5;
  background: var(--ink);
  border-radius: 16px;
}

.manifest-label { padding: 15px 20px; color: #97a2b3; border-bottom: 1px solid #2e3328; }

.manifest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #2e3328;
}

.manifest-row:last-child { border-bottom: 0; }
.manifest-row strong:last-child { color: #88d4b5; }
.arrow { color: var(--signal); text-align: center; }

.callout {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 4px solid var(--signal);
  background: #fff9ea;
}

.callout.problem { border-color: var(--ember); background: #fff5f1; }
.callout p { margin: 0; }

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.meta { margin-top: 14px; color: var(--slate); }

footer { padding: 34px 0 10px; color: var(--slate); font-size: 13px; }

@media (max-width: 760px) {
  .shell { display: block; }
  .rail { position: relative; min-height: auto; padding: 24px; }
  .rail-label { margin-top: 38px; }
  .rail h2 { font-size: 34px; }
  .rail nav { margin-top: 34px; padding-top: 0; }
  .content { padding: 42px 22px 60px; }
  h1 { font-size: 47px; }
  .manifest-row { grid-template-columns: 1fr; gap: 4px; }
  .arrow { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* lime brand: on the light paper the accent uses a darker lime so it stays readable */
.step-no, .arrow { color: #4f7a12; }
.callout { border-left-color: #8fbf3a; }
