/* Honesty Bot — the company site. Black ink on paper, as the logo is drawn; Barlow Semi Condensed,
   the logo's own kind of letter, for titles, and Barlow for reading (SIL Open Font License, fonts/OFL.txt). */
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.woff2) format('woff2'); }
:root {
  color-scheme: light;
  --paper: #f4f3ee;
  --paper-2: #ebe9e1;
  --ink: #111111;
  --muted: #55534d;
  --rule: #111111;
  --title: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow', 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2 { font-family: var(--title); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header: the logo at the left, the page's three places at the right, over one black rule. */
.top {
  width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: max(18px, env(safe-area-inset-top)) 0 18px;
  border-bottom: 2px solid var(--rule);
}
.brand img { width: 168px; height: auto; }
.top-nav { display: flex; gap: 28px; margin-left: auto; font: 500 17px/1 var(--title); text-transform: uppercase; letter-spacing: .06em; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
/* On a phone the page is short enough to scroll: the logo alone. */
@media (max-width: 600px) { .brand img { width: 132px; } .top-nav { display: none; } }

main { width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin: 0 auto; }

.intro { padding: clamp(28px, 4.5vw, 60px) 0 clamp(28px, 4vw, 48px); max-width: 860px; }
.intro h1 { font-size: clamp(44px, 7.4vw, 88px); }
.intro p { margin-top: 14px; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--muted); max-width: 32em; }

/* The products: one panel each, side by side, alike: neither leads. */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; padding: 28px 28px 30px; background: #ffffff; border: 2px solid var(--rule); }
.product-icon { width: 72px; height: 72px; margin-bottom: 22px; }
.product h2 { font-size: clamp(32px, 3.6vw, 40px); margin-bottom: 12px; }
.product > p:not(.status):not(.actions) { font-size: 18px; }
.status { font: 700 14px/1 var(--title); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: auto 0 0; padding-top: 12px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  font: 700 18px/1 var(--title); text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
}
.button:hover { background: #2b2b2b; }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--paper-2); }
@media (max-width: 480px) { .actions .button { flex: 1 1 100%; } }

/* A product with a picture of itself behind its words (Robber Barons: the room and the board;
   CoderMCP's joins it when there is a shot of it). The picture darkens toward the words. */
.product-photo { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: #1c0f09; }
.product-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) center 30% / cover no-repeat; }
.product-photo::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 6, 4, .35) 0%, rgba(10, 6, 4, .62) 45%, rgba(10, 6, 4, .9) 100%); }
.product-photo-rb { --photo: url(media/robber-barons-room.webp); }
.product-photo .status { color: #e2d7c0; }
.product-photo h2 { color: #ffffff; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.product-photo > p:not(.status):not(.actions) { color: #efe9dc; }
.button-quiet-light { background: transparent; color: var(--paper); border-color: rgba(244, 243, 238, .85); }
.button-quiet-light:hover { background: rgba(244, 243, 238, .12); }

/* Updates: the page's one dark band, so the invitation is seen; the diamond large behind it. */
.updates {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px;
  margin-bottom: clamp(48px, 7vw, 88px); padding: clamp(36px, 5.5vw, 64px) clamp(24px, 5vw, 64px);
  background: var(--ink); color: var(--paper);
}
.updates-mark { position: absolute; z-index: -1; right: 6%; top: 50%; width: 360px; height: 360px; translate: 0 -50%; opacity: .07; }
.updates h2 { font-size: clamp(34px, 4.8vw, 58px); margin-bottom: 12px; }
.updates p { margin: 0; font-size: clamp(18px, 1.9vw, 21px); color: #d6d4cc; max-width: 30em; }
.updates-action { display: grid; justify-items: center; gap: 10px; }
.updates .updates-fine { font-size: 14px; color: #a9a69c; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.updates .button-light { min-height: 60px; padding: 0 44px; font-size: 21px; }
.button-light:hover { background: #ffffff; }
@media (max-width: 700px) {
  .updates { grid-template-columns: 1fr; }
  .updates-action { justify-items: stretch; text-align: center; }
  .updates-mark { width: 260px; height: 260px; right: -60px; }
}

.foot {
  width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 22px 0 max(28px, env(safe-area-inset-bottom));
  border-top: 2px solid var(--rule); color: var(--muted); font-size: 15px;
}
.foot p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 600px) { .foot-mail { margin-left: 8px; } }
@media (max-width: 599px) { .foot-support { width: 100%; justify-content: center; margin: 0 0 4px; } }
.foot-support { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; margin-right: 8px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); font-weight: 600; text-decoration: none; }
.foot-support:hover { background: transparent; color: var(--ink); }
.foot-social { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); border: 2px solid var(--ink); }
.foot-social:hover { background: var(--ink); color: var(--paper); }
.foot-mail { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
