/* Brain marketing site: Early-Mac bitmap, matching the app. */
* { box-sizing: border-box; min-width: 0; }
:root {
  --desk: #EEEEE6; --paper: #FFFFFF; --ink: #111111; --ink-soft: #444440;
  --dither: #D9D9CE; --danger: #8E1B12;
  --font-display: "Charcoal", "Chicago", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-body: Geneva, Verdana, "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "SF Mono", Monaco, "Courier New", monospace;
}
html { color-scheme: light; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  color: var(--ink); background-color: var(--desk);
  background-image: conic-gradient(var(--dither) 25%, transparent 0 50%, var(--dither) 0 75%, transparent 0);
  background-size: 4px 4px;
  padding: 20px 16px 60px;
}
/* The bitmap crunch stays on DISPLAY type only; body text renders smooth
   and readable (small jagged Geneva was the one complaint against v1). */
h1, h2, h3, .win-title span, nav.bar, .btn, .tag { -webkit-font-smoothing: none; }
.page { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
/* One frame width everywhere; TEXT keeps a readable measure inside it.
   A 1180px line of prose is unreadable, so prose elements cap at ~72
   characters while layouts (grids, duos, shots) use the full frame. */
.win-body > p, .win-body > ul, .win-body > ol, .win-body > h1, .win-body > h2, .win-body > h3, .win-body > pre { max-width: 72ch; }
.lede { max-width: 62ch; }
/* The homepage runs wider so the film sits beside the pitch. Reading pages
   stay at 760px: long body text at 1180px is punishing to read. */
.page.wide { max-width: 1180px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; align-items: start;
  grid-template-areas: "head media" "body media"; }
.hero-head { grid-area: head; } .hero-media { grid-area: media; } .hero-body { grid-area: body; }
.hero-vid { width: 100%; height: auto; display: block; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17,17,17,0.9); background: var(--ink); }
.brandline { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.02em;
  margin: -4px 0 12px; color: var(--ink-soft); }
.hero .btn { margin: 0 8px 10px 0; }
/* The trust line sits on ONE line at desktop width: measured 583px at 14px
   against a 553px column, so it wrapped. 12.5px lands at 521px. */
.hero-body .soft { font-size: 12.5px; }
.hero-vid { position: sticky; top: 20px; }
/* On a phone the film goes directly under the headline. Below the copy it
   would sit past the fold and most visitors would never see it. */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "head" "media" "body"; }
  .hero-vid { position: static; }
  .hero-media { margin: 4px 0 16px; }
}
.win { background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(17,17,17,0.9); }
.win-title {
  height: 28px; border-bottom: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(to bottom, var(--paper) 0 3px, var(--ink) 3px 4px);
}
.win-title span {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  background: var(--paper); padding: 2px 12px;
}
.win-body { padding: 22px; }
h1 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; margin: 0 0 10px; letter-spacing: 0.01em; }
h2 { font-family: var(--font-display); font-size: 19px; margin: 26px 0 8px; }
h2:first-child { margin-top: 0; }
p { margin: 0 0 12px; }
.lede { font-size: 18px; }
.soft { color: var(--ink-soft); font-size: 14px; }
a { color: var(--ink); }
nav.bar {
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 rgba(17,17,17,0.9);
  display: flex; align-items: center; gap: 2px; padding: 6px 10px; flex-wrap: wrap;
  font-family: var(--font-display);
}
nav.bar .brand { font-weight: 700; font-size: 16px; margin-right: 10px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
nav.bar a:not(.brand) { text-decoration: none; font-size: 13px; padding: 8px 10px; min-height: 40px; display: inline-flex; align-items: center; }
nav.bar a:not(.brand):hover, nav.bar a.on { background: var(--ink); color: var(--paper); }
.btn {
  display: inline-block; font-family: var(--font-display); font-size: 15px; text-decoration: none;
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 22px; cursor: pointer; min-height: 44px;
}
.btn.quiet { background: var(--paper); color: var(--ink); }
.btn { transition: transform .11s ease, box-shadow .11s ease, background .11s ease, color .11s ease; }
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn.quiet:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translate(2px,2px); box-shadow: none; }
.cell { transition: background .11s ease; }
.cell:hover { background: var(--desk); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; } .btn:hover { transform: none; box-shadow: 3px 3px 0 var(--ink); }
}
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.cell { border: 1px dotted var(--ink); padding: 14px; }
.cell h3 { font-family: var(--font-display); font-size: 15px; margin: 0 0 6px; }
.cell p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.steps { counter-reset: step; }
.step { border: 1px dotted var(--ink); padding: 14px 14px 14px 54px; position: relative; margin-bottom: 12px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 12px; top: 12px; width: 26px; height: 26px;
  border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; background: var(--paper);
}
.step h3 { font-family: var(--font-display); font-size: 15px; margin: 0 0 4px; }
.step p { font-size: 14px; margin: 0; color: var(--ink-soft); }
pre.retro {
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  padding: 14px; font-family: var(--font-mono); font-size: 13px; overflow-x: auto; line-height: 1.5;
}
.diagram { display: block; margin: 10px auto; max-width: 100%; height: auto; image-rendering: pixelated; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 14px; }
.badge { border: 2px solid var(--ink); padding: 4px 10px; font-family: var(--font-display); font-size: 12px; background: var(--paper); box-shadow: 2px 2px 0 var(--ink); }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
label { display: block; font-family: var(--font-display); font-size: 13px; margin: 14px 0 4px; }
/* A form is a column, not a banner: cap it inside the wide frame. */
form { max-width: 520px; }
input, textarea, select {
  width: 100%; font-family: var(--font-body); font-size: 16px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); padding: 10px;
}
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible { outline: 2px dotted var(--ink); outline-offset: 2px; }
.tag { display: inline-block; border: 1px solid var(--ink); font-size: 11px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
footer { text-align: center; font-size: 12px; color: var(--ink-soft); }

/* ---- app mockups: crisp HTML "screenshots" of the product ---- */
.appshot { border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(17,17,17,0.9); background: var(--paper); margin: 14px 0; overflow: hidden; }
.appshot .as-title { height: 26px; border-bottom: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(to bottom, var(--paper) 0 3px, var(--ink) 3px 4px); }
.appshot .as-title span { font-family: var(--font-display); font-weight: 700; font-size: 12px; background: var(--paper); padding: 1px 10px; -webkit-font-smoothing: none; }
.appshot .as-meta { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px dotted var(--ink); font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; }
.appshot .as-dot { width: 9px; height: 9px; border: 2px solid var(--ink); background: #1E5C31; display: inline-block; }
.appshot .as-chip { width: 12px; height: 12px; border: 2px solid var(--ink); display: inline-block; vertical-align: middle; }
.appshot .as-ants { outline: 2px dashed #1D3F7A; outline-offset: 2px; }
.appshot .as-body { font-family: var(--font-mono); font-size: 13px; line-height: 1.7; padding: 12px 14px; overflow-x: auto; white-space: pre; color: var(--ink); }
.appshot .as-body b { font-weight: 700; }
.appshot .as-body .lnk { border-bottom: 1px solid var(--ink); }
.appshot .as-back { border-top: 2px solid var(--ink); padding: 8px 14px; font-size: 12px; }
.appshot .as-back h4 { font-family: var(--font-display); font-size: 11px; margin: 0 0 4px; color: var(--ink-soft); -webkit-font-smoothing: none; }
.appshot .as-back div { padding: 2px 0; color: var(--ink-soft); }
.appshot .as-back b { color: var(--ink); }

.plexshot { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 12px; padding: 16px; align-items: start; }
.plexshot h5 { font-family: var(--font-display); font-size: 11px; margin: 0 0 6px; color: var(--ink-soft); -webkit-font-smoothing: none; }
.plexshot .pn { display: flex; align-items: center; gap: 6px; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); padding: 8px 10px; margin-bottom: 8px; font-size: 12px; background: var(--paper); position: relative; }
.plexshot .pn.fog { color: var(--ink-soft); background-image: conic-gradient(#D9D9CE 25%, transparent 0 50%, #D9D9CE 0 75%, transparent 0); background-size: 4px 4px; }
.plexshot .pc { border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 14px 10px; text-align: center; background: var(--paper); }
.plexshot .pc .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; -webkit-font-smoothing: none; }
.plexshot .pc .p { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 640px) { .plexshot { grid-template-columns: 1fr; } .appshot .as-body { white-space: pre-wrap; } }
.mark { image-rendering: pixelated; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Integrations page: monochrome logo tiles + expandable connect guides. */
.int-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0; }
@media (max-width: 640px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
.int-tile { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--paper); padding: 14px 10px; text-align: center; }
.int-tile svg { display: block; margin: 0 auto 8px; image-rendering: pixelated; }
.int-tile .in { font-family: var(--font-display); font-weight: 700; font-size: 13px; -webkit-font-smoothing: none; }
.int-tile .id { font-size: 11px; color: var(--ink-soft); margin-top: 3px; line-height: 1.4; }
details.connect { border: 1px dotted var(--ink); margin-bottom: 10px; }
details.connect summary { cursor: pointer; font-family: var(--font-display); font-size: 13px; padding: 10px 12px; -webkit-font-smoothing: none; }
details.connect summary::marker { content: "+ "; }
details[open].connect summary::marker { content: "- "; }
details.connect .cbody { padding: 0 12px 12px; font-size: 14px; color: var(--ink-soft); }
details.connect pre { background: var(--paper); border: 1px solid var(--ink); padding: 10px; font-family: var(--font-mono); font-size: 12px; overflow-x: auto; color: var(--ink); }

/* Pricing: two ways to pay, both spoken in monthly terms. */
.price-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 12px; }
.price-opt { border: 1px dotted var(--ink); padding: 10px; text-align: center; }
.price-opt .pv { font-family: var(--font-display); font-weight: 700; font-size: 20px; -webkit-font-smoothing: none; }
.price-opt .pl { font-size: 11px; color: var(--ink-soft); margin-top: 2px; line-height: 1.5; }

/* Pricing term toggle: yearly is the default view. */
.term-toggle { display: inline-flex; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); margin: 4px 0 14px; }
.tt-btn { border: 0; background: var(--paper); color: var(--ink); font-family: var(--font-display); font-size: 13px; padding: 8px 14px; cursor: pointer; }
.tt-btn.on { background: var(--ink); color: var(--paper); }
.tt-btn:not(:last-child) { border-right: 2px solid var(--ink); }
.plans[data-term="yearly"] .term-monthly { display: none; }
.plans[data-term="monthly"] .term-yearly { display: none; }
.price-one { margin: 10px 0 12px; }
.price-one .pv { font-family: var(--font-display); font-weight: 700; font-size: 26px; -webkit-font-smoothing: none; }
.price-one .pl { font-size: 12px; color: var(--ink-soft); }

/* Real AZ mark on the Chief of Staff tile. */
.int-tile img.azmark { display: block; margin: 0 auto 8px; width: 40px; height: 24px; object-fit: contain; }

/* Payment badges: monochrome trust row in the footer. */
.paybadges { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.pay { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--ink); padding: 3px 9px; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--ink); background: var(--paper); }
.pay svg { display: block; }


/* ---- Reading-layout components (2026-08-31 design round) ---- */
/* duo: prose beside a product shot; the shot never squeezes the words. */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; margin: 18px 0; }
.duo > .dtext > *:first-child { margin-top: 0; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* steps: numbered cards instead of a paragraph of instructions. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0; }
.step { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--paper); padding: 12px 14px; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 22px; border-bottom: 2px solid var(--ink); display: inline-block; padding: 0 6px 2px; margin-bottom: 8px; -webkit-font-smoothing: none; }
.step h3 { margin: 0 0 6px; font-size: 14px; }
.step p { margin: 0; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* callout: the one sentence the page exists for. */
.callout { border: 2px solid var(--ink); border-left-width: 10px; box-shadow: 3px 3px 0 var(--ink); background: var(--paper); padding: 12px 16px; margin: 16px 0; max-width: 72ch; }
.callout p { margin: 0; max-width: none; }

/* cta row: every content page ends with the same two doors. */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Appshot extensions: live-feeling product frames. */
.appshot .as-line { padding: 1px 0; }
.appshot .as-line.dim { color: var(--ink-soft); }
.appshot .as-agent { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 100%; animation: as-type 4s steps(34) infinite; }
@keyframes as-type { 0% { max-width: 0; } 55% { max-width: 100%; } 100% { max-width: 100%; } }
.appshot .as-cursor { display: inline-block; width: 8px; height: 14px; background: var(--ink); vertical-align: text-bottom; animation: as-blink 1s steps(1) infinite; }
@keyframes as-blink { 50% { opacity: 0; } }
.appshot .df-add { background: #DCE8DC; }
.appshot .df-del { background: #EAD6D3; text-decoration: line-through; }
.appshot .df-g { display: inline-block; width: 14px; color: var(--ink-soft); }
.appshot .as-rule { display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 2px 2px 0 var(--ink); padding: 7px 10px; margin: 6px 10px; font-size: 12px; }
.appshot .as-rule .lvl { margin-left: auto; border: 2px solid var(--ink); padding: 1px 8px; font-family: var(--font-display); font-size: 11px; -webkit-font-smoothing: none; }
.appshot .as-light { width: 10px; height: 10px; border: 2px solid var(--ink); background: #1E5C31; display: inline-block; border-radius: 0; }
