:root {
  --bg: #050505;
  --bg-elev: #0c0c0e;
  --bg-soft: #121214;
  --light: #f5f5f7;
  --white: #ffffff;
  --fg: #f5f5f7;
  --muted: #8a8a90;
  --ink: #1d1d1f;
  --ink-muted: #6e6e73;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.08);
  --fill: rgba(255, 255, 255, 0.06);
  --blue: #2997ff;
  --nav: 52px;
  --max: 1100px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Added 2026-09-30 while moving the rest of the site onto this one file.
     Several converted pages' own page-local <style> blocks (small uppercase
     labels: step numbers, "won't do" headers) want a monospace stack, which
     this file had no token for. Purely additive -- nothing in this file's
     own rules or in business.html's markup references --mono, so business.html
     renders byte-identical with or without this line. */
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  /* Added 2026-09-30 alongside the long-form components below, while moving
     learn.html/connect-and-run-local.html/consulting.html/ai-comparison.html
     onto this file. Three of those pages colour a "this trains on you" /
     "this does not" / notice-good/notice-bad distinction, and this file had
     no token for it. Values are not invented -- they are the dark-theme
     --good/--bad/--green already verified accessible on the live site's old
     palette.css (--grn-ink #8ff0b4, --red-pale #ffd2cf, --grn #46d17a), kept
     byte-identical rather than re-picked, so pages moving onto this sheet
     render the same colour they always did. Purely additive: unused by
     business.html and every rule already in this file above this line. */
  --good: #8ff0b4;
  --bad: #ffd2cf;
  --green: #46d17a;
  /* Added 2026-09-30 while converting blog/*.html (42 posts) onto this file.
     A handful of posts colour a data-viz "amber" bar/legend inline
     (style="background:var(--amber)") for a caution/cost reading distinct
     from --good/--bad. Values are the old palette.css dark-theme literals,
     kept byte-identical rather than re-picked, same reasoning as --good
     above. Purely additive. */
  --amber: #ffc36b;
  --amber-dim: #d8b478;
  --amber-ink: #ffd9a0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); color: var(--fg); }
body {
  min-height: 100vh;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
.skip {
  position: absolute; left: 12px; top: -48px;
  background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 12px; }

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav);
  display: flex; align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.wordmark {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 14px 18px;
  font-size: 13px; color: var(--muted);
}
.nav-links a { transition: color 0.2s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-cta {
  color: var(--fg);
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 980px;
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--fill); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 1px; background: var(--fg); content: "";
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* The pseudo-element bars sit inside the 20px-wide span, so they must span it
   edge to edge. Inheriting left/right: 12px from the rule above pushed them
   to negative width and the icon drew one line instead of three. */
.nav-toggle span::before, .nav-toggle span::after { left: 0; right: 0; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: var(--nav); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 5, 5, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 17px; border: 0; }
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 112px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } }

.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.display {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.02;
}
.display em { font-style: normal; color: var(--muted); }
.lede {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.47; letter-spacing: -0.011em; color: var(--muted); max-width: 34em;
}
h1.section-title, h2.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600; letter-spacing: -0.032em; line-height: 1.07;
}
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.022em; line-height: 1.2; }

.light { background: var(--light); color: var(--ink); }
.light .kicker, .light .lede, .light p { color: var(--ink-muted); }
.light h2, .light h3, .light .display { color: var(--ink); }
.elev { background: var(--bg-elev); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 980px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-white { background: var(--white); color: #000; }
.btn-white:hover { background: #e8e8ed; }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--fill); }
.light .btn-ghost { color: var(--ink); border-color: var(--line-dark); }
.light .btn-ghost:hover { background: rgba(0,0,0,0.04); }
.link { color: var(--blue); font-weight: 500; }
.link:hover { text-decoration: underline; }

.hero {
  min-height: calc(100svh - var(--nav));
  display: flex; align-items: center;
  padding: 64px 0 88px;
}
.hero .display { margin-bottom: 22px; max-width: 15ch; }
.hero .lede { margin-bottom: 32px; }
.meta {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 720px; border-top: 1px solid var(--line); padding-top: 24px;
}
.meta dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.meta dd { font-size: 15px; font-weight: 500; }
@media (max-width: 640px) { .meta { grid-template-columns: 1fr; } }

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.offer {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 28px;
  padding: 32px; display: flex; flex-direction: column; min-height: 400px;
  transition: border-color 0.25s var(--ease);
}
.offer:hover { border-color: rgba(255,255,255,0.28); }
.offer .tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.offer h3 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 12px; }
.offer p { color: var(--muted); font-size: 16px; line-height: 1.47; flex: 1; }
.offer .price { color: var(--fg); font-size: 13px; margin: 22px 0 18px; }
@media (max-width: 800px) { .offers { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 48px;
}
.spec { background: var(--bg); padding: 32px 26px; }
.spec .num { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; margin-bottom: 16px; }
.spec h3 { margin-bottom: 10px; font-size: 19px; }
.spec p { font-size: 15px; line-height: 1.47; color: var(--muted); }
@media (max-width: 800px) { .specs { grid-template-columns: 1fr; } }

.results {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark); border-block: 1px solid var(--line-dark);
}
.stat { background: var(--light); padding: 40px 24px; }
.stat b { display: block; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; color: var(--ink); margin-bottom: 8px; }
.stat span { font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 800px) { .results { grid-template-columns: 1fr 1fr; } }

.step {
  display: grid; grid-template-columns: 72px 1fr; gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .idx { font-size: 13px; color: var(--muted); letter-spacing: 0.12em; padding-top: 4px; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.47; margin-top: 6px; }
.light .step { border-color: var(--line-dark); }

.table-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; background: var(--bg-elev);
}
tr:last-child td { border-bottom: 0; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-size: 18px; font-weight: 500; letter-spacing: -0.02em;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 24px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 42em; }
.light .faq details { border-color: var(--line-dark); }
/* .narrow — constrain an intro heading block to a readable measure (voice-agent FAQ). Added 2026-09-30 (Beck). */
.narrow { max-width: 640px; }

form { margin-top: 8px; }
label {
  display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 16px 0 8px;
}
input, textarea, select {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  color: var(--fg); font: inherit; font-size: 16px; padding: 14px 16px; outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: rgba(255,255,255,0.4); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.page-hero { padding: 80px 0 40px; }
.page-hero .display { max-width: 16ch; margin-bottom: 18px; }

.foot { border-top: 1px solid var(--line); padding: 48px 0 64px; color: var(--muted); font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { color: var(--fg); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { display: grid; gap: 8px; }
.foot a:hover { color: var(--fg); }
.fine { margin-top: 36px; font-size: 12px; line-height: 1.5; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Site directory -- every other live page on markdalton.com, so the rest of
   the site stays findable from a homepage whose own nav only points at the
   three new offer pages. Full width, below the four-column grid rather than
   a fifth column, because grid-template-columns above is fixed at four
   tracks and a fifth item would wrap into a half-empty row. */
.foot-more { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; }
.foot .foot-more-list { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-more-list a { color: var(--muted); }
.foot-more-list a:hover { color: var(--fg); }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.8s var(--ease) forwards; }
.d2 { animation-delay: 0.1s; }
.d3 { animation-delay: 0.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* ============================================================================
   LONG-FORM COMPONENTS -- added 2026-09-30 while moving learn.html,
   connect-and-run-local.html, consulting.html and ai-comparison.html onto
   this one stylesheet (the last four pages still running their own CSS).
   These four generic pieces are what those pages actually needed and this
   file did not have: code blocks, data tables, callouts and numbered
   install-step lists -- plus the handful of small pieces (.eyebrow, .note,
   .paths, .req, ul.plain, table cell states) that travelled with them. Every
   rule below is built from the token set already in :root above -- no new
   colour except --good/--bad/--green next to it, no literal hex. Page-truly-
   unique widgets (learn's OS/tool picker and tunnel diagram, consulting's
   system diagrams, ai-comparison's flow diagram) stay in that page's own
   trailing <style> block, same pattern already used by agents.html/team.html
   -- retokenized to the names below rather than duplicated here. */

/* .eyebrow is the same label as .kicker under a different name inherited
   from the pages being merged in, rather than a second component. */
.kicker, .eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.note { color: var(--muted); font-size: 15px; line-height: 1.5; }

.sect-path { font: 400 12.5px/1 var(--mono); color: var(--muted); margin-bottom: 14px; }

/* ---- path picker: connect-and-run-local's "where are you right now?",
   learn's router ---- */
.paths { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
         border-radius: 12px; overflow: hidden; margin-top: 20px; }
.path { display: block; background: var(--bg-soft); padding: 18px 20px; transition: background 0.2s var(--ease); }
.path:hover, .path:focus-visible { background: var(--fill); }
.path .n { font: 400 13px/1 var(--mono); color: var(--blue); margin-right: 11px; }
.path .t { font-weight: 600; color: var(--fg); }
.path .d { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* ---- numbered install steps: a connected vertical timeline for command-by-
   command instructions -- distinct from business.html's own .step (a flat
   divider row) further up this file. ---- */
ol.steps { list-style: none; counter-reset: s; margin: 20px 0 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 0 0 26px 42px;
                border-left: 1px solid var(--line); margin-left: 11px; }
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: -11px; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--line); color: var(--muted);
  font: 400 12px/20px var(--mono); text-align: center;
}
ol.steps h3 { margin: 0 0 8px; }
ol.steps p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* ---- code blocks ---- */
pre {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin: 14px 0; overflow-x: auto;
  font: 400 13.5px/1.6 var(--mono); color: var(--fg);
}
pre .c { color: var(--muted); }
pre.pblock { white-space: pre-wrap; overflow-wrap: break-word; border-left: 2px solid var(--green); }
code { font-family: var(--mono); font-size: 14px; color: var(--fg);
       background: var(--fill); padding: 2px 6px; border-radius: 4px; }
pre code { background: none; padding: 0; }

/* ---- callouts ---- */
.flag {
  border-left: 2px solid var(--blue); background: var(--fill);
  padding: 14px 18px; margin: 22px 0; border-radius: 0 10px 10px 0;
  color: var(--fg); font-size: 15.5px; line-height: 1.5;
}
.flag b { color: var(--fg); }

/* ---- collapsed disclosure (learn's optional install step) ---- */
.opt { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft);
       margin: 8px 0 28px; padding: 16px 18px; }
.opt summary { cursor: pointer; font: 600 15px/1.4 var(--sans); color: var(--fg); }
.opt summary::marker { color: var(--blue); }
.opt[open] summary { margin-bottom: 16px; }

/* ---- requirement rows (learn/connect-and-run-local .req) ---- */
.req { margin: 16px 0 0; }
.req div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.req div:last-child { border-bottom: 0; }
.req b { color: var(--fg); display: block; font-size: 15.5px; }
.req span { color: var(--muted); font-size: 14.5px; }

/* ---- plain list rows (ai-comparison's ul.plain) ---- */
ul.plain { list-style: none; margin: 18px 0; }
ul.plain li { padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }
ul.plain b { color: var(--fg); display: block; margin-bottom: 2px; }

/* ---- table scroll wrapper + comparison-cell colour states. .table-wrap
   already exists above for business.html; .tscroll is the name these four
   pages already carry for the same idea (a focusable, labelled sideways-
   scroll region around a table with a real minimum width), so it gets the
   identical treatment rather than a rename across four files. ---- */
.tscroll { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line);
           border-radius: 16px; }
.tscroll:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.tscroll table { min-width: 560px; }
td.num { font-family: var(--mono); text-align: right; white-space: nowrap; }
.v { color: var(--fg); font-weight: 700; }
.v span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-top: 2px; }
.warn { color: var(--bad); font-weight: 700; }
.ok { color: var(--good); font-weight: 700; }
.np { color: var(--muted); }
.src { color: var(--muted); font-size: 14px; }

/* ---- inline result notice (learn's signup confirmation) ---- */
.notice { padding: 18px 20px; border-radius: 12px; background: var(--bg-soft);
          border: 1px solid var(--line); margin: 24px 0 0; max-width: 560px; }
.notice b { display: block; font-size: 17px; margin-bottom: 5px; }
.notice.good { border-color: var(--good); }
.notice.good b { color: var(--good); }
.notice.bad { border-color: var(--bad); }
.notice.bad b { color: var(--bad); }
.notice p { color: var(--fg); font-size: 15.5px; margin: 0; }

/* ---- accessible honeypot hiding (learn's anti-spam field) -- off-screen,
   never display:none/type=hidden, so it stays invisible to a sighted visitor
   without becoming invisible to the anti-spam check it exists for. ---- */
.hp { position: absolute !important; left: -9999px !important; top: auto !important;
      width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ============================================================================
   BLOG POST BODY -- added 2026-09-30 while converting the 42 posts in
   /blog/ off the old four-file palette/site/footer/blog-learn-theme set onto
   this file (see convert-blog-post-theme.py beside this repo's other
   one-off HTML batch scripts, add-footer.py/add-og-tags.py). Every post
   already supplies its own .kicker/.eyebrow, h1, .lede and post-meta line in
   a <header class="post-head">, and its article in a <section
   class="post-body">; these two scopes are the only new hooks this pass
   introduces. h1's own size is NOT redeclared here -- it reuses
   h1.section-title, added to that rule just above, rather than a second set
   of magic numbers for the same visual weight.

   What genuinely didn't exist anywhere on this file before: bare-tag prose
   spacing INSIDE an article (h2/h3/p/ul/ol/li/a/img), because the four
   marketing pages that donated the rest of this block's rules (learn,
   connect-and-run-local, consulting, ai-comparison) are built from
   hand-placed components, never a paragraph of running prose. Scoped under
   .post-body so nothing here touches those pages, business.html, or the
   already-shipped .post-list on blog.html. */

.post-head { padding: 64px 0 40px; }
.post-head .post-meta { font: 600 13px/1.4 var(--mono); color: var(--muted); margin-bottom: 20px; }
.post-head .lede { margin-top: 4px; }

.post-body { padding: 0 0 96px; }
.post-body h2 {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.2; margin: 48px 0 16px;
}
.post-body h3 { margin: 30px 0 10px; }
.post-body p { font-size: 17px; line-height: 1.6; color: var(--fg); max-width: 720px; margin-bottom: 20px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body ul, .post-body ol { margin: 4px 0 24px 22px; max-width: 700px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { font-size: 17px; line-height: 1.6; color: var(--fg); margin-bottom: 10px; }
.post-body p a, .post-body li a {
  color: var(--blue); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-thickness: 1px;
}
.post-body img { border-radius: 12px; margin: 28px 0; }
.post-body figure { margin: 28px 0; }
.post-body figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
