/* bogie-go.com. Ported from the design mockup (bogie-design.zip, 2026-10-03):
   paper and ink, a rust accent, condensed display headlines, railway-track
   dividers. Light only, by design. Fonts are self-hosted (fonts.css); the
   site fetches nothing from another host. */

:root {
  color-scheme: light;
  --paper: #F2EEE5;
  --paper-2: #F7F4EE;
  --paper-3: #EBE5D8;
  --sand: #E4DCCB;
  --line: #D6CDBB;
  --sleeper: #CFC6B4;
  --dash: #8A8578;
  --ink: #16181D;
  --ink-2: #2B2E35;
  --muted: #4A4E57;
  --rust: #B83A0B;
  --accent: #E2531F;
  --accent-dark-bg: #FF9A5C;
  --code-bg: #16181D;
  --code-fg: #E9E4DA;
  --code-line: #2E323A;
  --on-ink: #F2EEE5;
  --on-ink-muted: #C9CDD3;
  --on-ink-dim: #A9AEB7;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Impact', sans-serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--ink); }
a:hover { color: var(--rust); }
img, svg { max-width: 100%; }
code, pre, kbd { font-family: var(--mono); }
code { font-size: 0.88em; }
pre { margin: 0; }
.code { font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: var(--code-fg); }
.k { color: #FF9A5C; } .t { color: #7FD1C7; } .s { color: #C5D98A; } .c { color: #8D929B; } .f { color: #F3D27A; } .p { color: #8D929B; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

/* type */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
h2.display { font-size: clamp(44px, 5.6vw, 80px); }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); margin: 0 0 20px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 30em; margin: 0; }
.caption { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* the track: a horizontal rail with sleepers */
.track { height: 22px; background:
  linear-gradient(var(--ink), var(--ink)) 0 4px / 100% 3px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 15px / 100% 3px no-repeat,
  repeating-linear-gradient(90deg, var(--sleeper) 0 10px, transparent 10px 34px) 0 0 / 100% 22px no-repeat; }
.track.dim { filter: invert(1) hue-rotate(180deg); opacity: 0.5; }

/* nav */
.topnav { border-bottom: 1px solid var(--line); }
.topnav nav { max-width: 1200px; margin: 0 auto; padding: 18px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 600px) { .topnav nav { padding: 16px 20px; } }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 47px; display: block; object-fit: contain; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: 0.01em; line-height: 1; }
.navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.navlinks a { text-decoration: none; font-weight: 500; }
.navlinks a:hover { text-decoration: underline; text-underline-offset: 4px; }
.navlinks a.ghost { border: 1.5px solid var(--ink); border-radius: 4px; padding: 9px 14px; }
.navlinks a.ghost:hover { text-decoration: none; background: var(--ink); color: var(--on-ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn-primary { background: var(--ink); color: var(--on-ink); border: 1.5px solid var(--ink); }
.btn-primary:hover { background: var(--rust); border-color: var(--rust); color: var(--on-ink); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.arrow { align-self: start; display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 16px; text-underline-offset: 5px; }

/* terminal panels */
.terminal { background: var(--code-bg); border-radius: 6px; overflow: hidden; min-width: 0; }
.terminal header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--code-line); }
.terminal header span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-dim); }
.terminal pre { padding: 18px 20px; overflow-x: auto; }
.copy { font-family: var(--mono); font-size: 13px; color: var(--on-ink); background: transparent; border: 1px solid var(--muted); border-radius: 4px; min-height: 36px; min-width: 76px; padding: 0 14px; cursor: pointer; }
.copy:hover { border-color: var(--on-ink); }
.panel { background: var(--code-bg); border-radius: 6px; overflow-x: auto; min-width: 0; }
.panel pre { padding: 20px 22px; }

/* hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 56px; align-items: center; }
.hero .copytext { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tags .pill { background: var(--ink); color: var(--on-ink); padding: 6px 10px; border-radius: 3px; }
h1.display { font-size: clamp(64px, 8.4vw, 124px); line-height: 0.9; }
h1.display .go { color: var(--accent); }
.hero .lead { font-size: 20px; line-height: 1.55; max-width: 34em; text-wrap: pretty; }
.hero .terminal { max-width: 560px; }
.mascot { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mascot .plate { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.mascot .plate::before { content: ""; position: absolute; inset: 6% 4% 10% 4%; border-radius: 50%; background: var(--sand); border: 1.5px solid var(--line); }
.mascot img { position: relative; width: 88%; height: auto; display: block; }
.mascot figcaption { text-align: center; }

/* sections */
.section { padding: 104px 0 96px; }
.section.tight { padding-bottom: 64px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split > div { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-family: var(--mono); font-size: 14px; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: 4px; }
figure.drawing { margin: 0; min-width: 0; }
figure.drawing figcaption { margin-top: 10px; }

/* manifesto cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.card { border: 1.5px solid var(--ink); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--paper-2); }
.card.ink { background: var(--ink); color: var(--on-ink); }
.card.ink a { color: var(--on-ink); }
.card.dashed { border: 1.5px dashed var(--dash); background: transparent; color: var(--ink-2); }
.card h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.5; }

/* team page */
.person { display: flex; align-items: center; gap: 20px; }
.person img.avatar { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--ink); object-fit: cover; flex-shrink: 0; }
.person .meta h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.person .meta p { margin: 6px 0 0; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.person .meta a { color: var(--rust); text-decoration: none; }
.person .meta a:hover { text-decoration: underline; }

/* the line: four stops on a vertical rail */
.stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.stop { display: grid; grid-template-columns: 62px minmax(0, 1fr); padding-bottom: 72px; background:
  linear-gradient(var(--ink), var(--ink)) 22px 0 / 3px 100% no-repeat,
  linear-gradient(var(--ink), var(--ink)) 37px 0 / 3px 100% no-repeat,
  repeating-linear-gradient(180deg, var(--sleeper) 0 8px, transparent 8px 30px) 16px 0 / 30px 100% no-repeat; }
.stop:last-child { padding-bottom: 0; }
.stop .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 5px solid var(--accent); margin-left: 11px; }
.stop:last-child .dot { background: var(--ink); }
.stop .body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 32px 48px; align-items: start; }
.stop .text { display: flex; flex-direction: column; gap: 14px; }
.stop .where { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.stop h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; }
.stop p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.stop .panels { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 600px) { .stop { grid-template-columns: 48px minmax(0, 1fr); background-position: 14px 0, 29px 0, 8px 0; } .stop .dot { margin-left: 3px; } .stop h3 { font-size: 36px; } }

/* the rulebook: a dark band */
.band { background: var(--ink); color: var(--on-ink); }
.band .inner { padding: 112px 0; }
.band .head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.band .eyebrow { color: var(--accent-dark-bg); }
.band .lead { color: var(--on-ink-muted); max-width: 26em; font-size: 17px; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1px; background: #3A3E46; border: 1px solid #3A3E46; }
.rules li { background: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.rules .n { font-family: var(--display); font-weight: 900; font-size: 56px; line-height: 1; color: var(--accent); }
.rules .rule { font-size: 19px; line-height: 1.45; font-weight: 500; }

/* tables */
.table-wrap { border: 1.5px solid var(--ink); border-radius: 6px; overflow-x: auto; background: var(--paper-2); min-width: 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
td, th { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
tbody.mono { font-family: var(--mono); }
td.from { color: var(--muted); }
tr:last-child td { border-bottom: 0; }

/* in the box */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px 40px; }
.feature { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); padding-top: 20px; }
.feature > code { font-size: 14px; color: var(--rust); font-weight: 500; }
.feature h3 { margin: 0; font-size: 22px; font-weight: 600; }
.feature p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* proof */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-3); }
.proof .inner { padding: 104px 0; display: flex; flex-direction: column; gap: 24px; }
.proof .display { font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1; max-width: 16em; }
.proof .display span { color: var(--accent); }
.proof p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 40em; }

/* all aboard */
.aboard { padding: 120px 0 112px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: center; }
.aboard .copytext { display: flex; flex-direction: column; gap: 20px; }
.aboard .title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 20px; }
.aboard .title img { width: 150px; height: auto; display: block; }
.aboard h2 { font-size: clamp(72px, 10vw, 148px); line-height: 0.85; }
.aboard .lead { font-size: 19px; max-width: 26em; }

/* footer */
.foot { background: var(--ink); color: var(--on-ink-muted); }
.foot .inner { padding: 48px 0 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .brand { color: var(--on-ink); }
.foot .brand span { font-size: 34px; }
.foot .about { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; align-items: center; }
.foot nav a { color: var(--on-ink); text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* guides: the same nav and footer, a reading measure inside the 1200px frame */
.measure { max-width: 1200px; margin: 0 auto; padding: 56px 32px 72px; }
.measure > article { max-width: none; }
@media (max-width: 600px) { .measure { padding: 40px 20px 56px; } }
.guide-eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); margin: 0 0 14px; }
.measure h1 { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7vw, 84px); line-height: 0.92; text-transform: uppercase; margin: 0 0 24px; letter-spacing: -0.005em; }
.measure p, .measure li { max-width: 54rem; }
.measure h2 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; margin: 48px 0 14px; }
.measure h3 { font-size: 20px; font-weight: 600; margin: 32px 0 10px; }
.measure p, .measure li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.measure a { color: var(--rust); text-underline-offset: 3px; }
.measure code { background: var(--sand); border-radius: 3px; padding: 0.05em 0.35em; color: var(--ink); }
.measure pre { background: var(--code-bg); color: var(--code-fg); border-radius: 6px; padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; margin: 16px 0; }
.measure pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.measure ul, .measure ol { padding-left: 22px; }
.measure .table-wrap { margin: 16px 0; }
.measure table code { background: none; padding: 0; }
.measure table td, .measure table th { font-size: 14.5px; }
.guide-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.guide-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-list li > a { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; text-decoration: none; color: var(--ink); line-height: 1; }
.guide-list li > a:hover { color: var(--rust); }
.guide-list li p { margin: 6px 0 0; }
.guide-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 3px solid var(--ink); }
.guide-nav .next { text-align: right; margin-left: auto; }
.guide-nav .label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.guide-nav a { font-weight: 600; text-decoration: none; color: var(--ink); }
.guide-nav a:hover { color: var(--rust); }

/* questions, for people and answer engines */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 32px 48px; }
.qa h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.qa p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
