:root {
  --bg: #f1f0ec;
  --panel: #fbfaf6;
  --panel-strong: #fffefb;
  --line: #ddd9cd;
  --line-strong: #c8c3b5;
  --text: #17211c;
  --text-soft: #4a473f;
  --muted: #6b6760;
  --blue: #1b6b52;
  --blue-soft: rgba(27, 107, 82, 0.10);
  --gold: #916420;
  --gold-soft: rgba(145, 100, 32, 0.06);
  --dot: rgba(154, 107, 34, 0.17);
  --marquee-border: rgba(200, 195, 181, 0.58);
  --marquee-bg: rgba(251, 250, 246, 0.68);
  --marquee-label: rgba(74, 71, 63, 0.7);
  --font-display: "Lora", Georgia, serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* type scale — fluid (rem min/max so browser font-size is respected; vw for the fluid middle) */
  --text-hero:       clamp(3rem, 6.5vw, 5.25rem);      /* 48 → 84px */
  --text-h1:         clamp(2.75rem, 6vw, 5rem);        /* 44 → 80px */
  --text-h1-article: clamp(2.5rem, 5.2vw, 4.125rem);   /* 40 → 66px */
  --text-h2:         clamp(2.125rem, 4vw, 3.25rem);    /* 34 → 52px */
  --text-h2-article: clamp(1.875rem, 3.6vw, 2.625rem); /* 30 → 42px */
  --text-h3:         1.75rem;                          /* 28px */
  --text-lede:       clamp(1.125rem, 1.7vw, 1.375rem); /* 18 → 22px */

  /* leading — tightens as size grows (Meter's principle) */
  --lh-hero: 1.0;
  --lh-h1: 1.0;
  --lh-h1-article: 1.05;
  --lh-h2: 1.1;
  --lh-h2-article: 1.12;
  --lh-h3: 1.15;
  --lh-lede: 1.62;

  /* weights */
  --weight-display: 400;
  --weight-h1: 600;
  --weight-body: 400;
  --weight-medium: 600;
  --weight-bold: 700;
}
[data-theme="dark"] {
  --bg: #181712;
  --panel: #201e18;
  --panel-strong: #262219;
  --line: #353128;
  --line-strong: #4a4538;
  --text: #ece9e0;
  --text-soft: #c4bfb2;
  --muted: #8f897b;
  --blue: #1aac7d;
  --blue-soft: rgba(26, 172, 125, 0.14);
  --gold: #d3a25a;
  --gold-soft: rgba(211, 162, 90, 0.09);
  --dot: rgba(211, 162, 90, 0.10);
  --marquee-border: rgba(74, 69, 56, 0.7);
  --marquee-bg: rgba(32, 30, 24, 0.6);
  --marquee-label: rgba(196, 191, 178, 0.5);
}
html { color-scheme: light dark; }
body, .button, .button.secondary, .info-block, .post-card, .docs-card, .box, .feature, .surface-tab, .graph, .stack-diagram, .flow, .docs-panel, .signup, .logo-marquee { transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; overflow-x: hidden; max-width: 100%; }
body {
  background: radial-gradient(circle, var(--dot) 0.65px, transparent 0.9px), var(--bg);
  background-size: 16px 16px, auto;
  background-position: max(20px, calc((100vw - 1120px) / 2)) 0, 0 0;
  color: var(--text);
  font-family: var(--font-body);
}
a { color: inherit; }
.shell, .article-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.article-shell { width: min(900px, calc(100% - 40px)); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-decoration: none; text-transform: uppercase; }
.crown { width: 34px; height: 20px; }
.nav-links, .footer-links { display: flex; align-items: center; gap: 24px; }
.nav-links { margin-left: auto; }
.nav-links a, .footer-links a { color: var(--text-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-links a[aria-current="page"], .brand[aria-current="page"] { color: var(--blue); }
.nav-links .button-link { background: var(--blue); color: var(--panel); padding: 10px 14px; }
.nav-toggle, .nav-burger { display: none; }
main { position: relative; z-index: 1; }
.page-hero, .home-hero, .article-hero { padding: 78px 0 58px; }
.home-hero { max-width: 980px; padding: 92px 0 64px; }
.kicker, .eyebrow, .trust-label, .label, .post-meta, .blog-tag, .docs-status { margin: 0 0 18px; color: var(--gold); font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--weight-display); }
h1 { max-width: 920px; font-size: var(--text-h1); line-height: var(--lh-h1); font-weight: var(--weight-h1); }
h1 em, h2 em { color: var(--gold); font-style: italic; }
.home-hero h1 em { white-space: nowrap; }
.lede, .dek { max-width: 760px; margin: 28px 0 0; color: var(--text-soft); font-size: var(--text-lede); line-height: var(--lh-lede); }
.lede .break { display: block; margin-top: 18px; }
.headline-line { white-space: nowrap; }
.hero { display: block; padding: 92px 0 112px; }
.hero h1 { max-width: 980px; font-size: var(--text-hero); line-height: var(--lh-hero); }
.hero h1 em { white-space: nowrap; }
.claim { display: inline-flex; align-items: center; gap: 12px; max-width: 650px; margin: 34px 0 0; color: var(--text); font-size: 18px; font-weight: 700; line-height: 1.45; }
.claim::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; min-height: 50px; border: 1px solid var(--blue); background: var(--blue); color: var(--panel); font-size: 15px; font-weight: 700; padding: 0 20px; text-decoration: none; }
.button.secondary { border-color: var(--line-strong); background: var(--panel-strong); color: var(--text); }
.logo-marquee { max-width: 100%; margin-top: 64px; overflow: hidden; border: 1px solid var(--marquee-border); background: var(--marquee-bg); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; align-items: center; gap: 46px; padding: 15px 0; animation: logo-scroll 34s linear infinite; }
.logo-track img { flex: 0 0 auto; height: 24px; width: auto; filter: grayscale(1); opacity: 0.55; }
[data-theme="dark"] .logo-track img { filter: brightness(0) invert(1); opacity: 0.72; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Logo marquee: per-logo optical sizing so every logo reads at a consistent
   visual weight (pure wordmarks shrink, icon+name lockups grow). height =
   equal optical cap-height; transform = optical-center correction
   (descenders/accent marks/offset icons make the ink box asymmetric).
   Rules are global so the homepage and product-graph marquees, which now
   share one logo set, render identically. */
.logo-track img[src$="/apollo-lockup.svg"]      { height: 20px; transform: translateY(-0.1px); }
.logo-track img[src$="/backstory.svg"]          { height: 17px; transform: translateY(0.7px); }
.logo-track img[src$="/bill.svg"]               { height: 16px; transform: translateY(-0.4px); }
.logo-track img[src$="/brevo-lockup.svg"]       { height: 17px; transform: translateY(-1.2px); }
.logo-track img[src$="/callrail.svg"]           { height: 17px; transform: translateY(-0.8px); }
.logo-track img[src$="/dixa.svg"]               { height: 21px; transform: translateY(0.7px); }
.logo-track img[src$="/gainsight.svg"]          { height: 17px; transform: translateY(0.2px); }
.logo-track img[src$="/gem.svg"]                { height: 19px; transform: translateY(0.5px); }
.logo-track img[src$="/gong-lockup.svg"]        { height: 19px; transform: translateY(0.1px); }
.logo-track img[src$="/intuit-lockup.svg"]      { height: 15px; transform: translateY(0.6px); }
.logo-track img[src$="/nooks-wordmark.webp"]    { height: 15px; transform: translateY(-1.2px); }
/* Mailchimp: Intuit Mailchimp lockup as two pre-colored, transparent PNGs
   (standard + Mailchimp's designed reverse) theme-swapped, so Freddie's face
   stays white in both modes. Exempt from the row's grayscale/invert. */
.logo-track img.mc-l, .logo-track img.mc-d { height: 24px; width: auto; filter: none; opacity: 0.62; transform: translateY(0); }
.logo-track img.mc-d { display: none; }
[data-theme="dark"] .logo-track img.mc-l { display: none; }
[data-theme="dark"] .logo-track img.mc-d { display: inline-block; filter: none; opacity: 0.88; }
.logo-track img[src$="/pendo-lockup.svg"]       { height: 18px; transform: translateY(-0.5px); }
.logo-track img[src$="/salesforce-lockup.svg"]  { height: 23px; transform: translateY(0.5px); }
.logo-track img[src$="/siteimprove-lockup.svg"] { height: 17px; transform: translateY(0.1px); }
.logo-track img[src$="/tabs-lockup.svg"]        { height: 19px; transform: translateY(-2.4px); }
.logo-track img[src$="/tropic.svg"]             { height: 21px; transform: translateY(-0.35px); }
.logo-track img[src$="/zendesk-mark.svg"]       { height: 19px; transform: translateY(0px); }
.signup { display: flex; max-width: 540px; margin-top: 38px; border: 1px solid var(--line-strong); background: var(--panel-strong); }
.signup input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 0 16px; }
.signup button { min-height: 52px; border: 0; border-left: 1px solid var(--line-strong); background: var(--blue); color: var(--panel); cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 700; padding: 0 20px; }
.signup button:disabled { cursor: wait; opacity: 0.72; }
.confirm, .cta-confirm { display: none; max-width: 540px; margin-top: 18px; border: 1px solid var(--line-strong); background: var(--panel-strong); color: var(--text-soft); padding: 16px; font-size: 15px; }
.confirm strong, .cta-confirm strong { color: var(--blue); }
.trust { margin: 52px 0 0; }
.logo-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.logo::before { content: attr(title); }
.section { padding: 76px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.65fr); gap: 56px; align-items: end; margin-bottom: 42px; }
.section-head.label-only { margin-bottom: 22px; }
.section-head.label-only .eyebrow { margin-bottom: 0; }
.section-head h2, .stack-copy h2, .flow-copy h2, .docs-copy h2, .blog-head h2, .final h2 { max-width: 760px; font-size: var(--text-h2); line-height: var(--lh-h2); }
.section-copy, .stack-copy p, .flow-copy p, .docs-copy p, .final p { margin: 0; color: var(--text-soft); font-size: 18px; line-height: 1.6; }
.stack-copy p, .flow-copy p, .docs-copy p, .final p { margin-top: 24px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.two-col, .features { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); background: var(--panel); }
.features { grid-template-columns: repeat(3, 1fr); }
.info-block, .post-card, .docs-card, .box, .feature { padding: 30px; border-right: 1px solid var(--line); background: var(--panel-strong); }
.info-block:last-child, .post-card:last-child, .docs-card:last-child, .box:last-child, .feature:last-child { border-right: 0; }
.info-block h2, .post-card h2, .docs-card h2, .box h3, .feature h3 { color: var(--text); font-size: var(--text-h3); line-height: var(--lh-h3); }
.info-block p, .post-card p, .docs-card p, .box p, .feature p { margin: 16px 0 0; color: var(--text-soft); font-size: 16px; line-height: 1.6; }
.num { display: block; margin-bottom: 28px; color: var(--gold); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.graph, .stack-diagram, .flow, .docs-panel { border: 1px solid var(--line); background: var(--panel-strong); }
.graph-top { display: block; padding: 34px; border-bottom: 1px solid var(--line); }
.graph-title { font-family: var(--font-display); font-size: 42px; line-height: 1; }
.graph-text { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (min-width: 861px) { .graph-text { white-space: nowrap; } }
.surface-tabs { display: grid; grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr); min-height: 360px; }
.surface-list { display: grid; border-right: 1px solid var(--line); }
.surface-tab { appearance: none; display: block; width: 100%; min-height: 90px; padding: 24px; border: 0; border-bottom: 1px solid var(--line); background: var(--panel-strong); color: inherit; cursor: pointer; font: inherit; text-align: left; }
.surface-tab:last-child { border-bottom: 0; }
.surface-tab:hover, .surface-tab[aria-selected="true"] { background: var(--blue-soft); }
.surface-tab[aria-selected="true"] { box-shadow: inset 4px 0 0 var(--blue); }
.surface-tab strong { display: block; color: var(--text); font-size: 17px; }
.surface-tab span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.surface-detail { display: grid; align-content: start; gap: 24px; padding: 34px; background: var(--panel-strong); }
.detail-kicker, .flow-label, .layer-label, .docs-title { color: var(--gold); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.detail-kicker, .docs-status { color: var(--blue); }
.surface-panel { display: none; }
.surface-panel.active { display: block; }
.surface-panel h3 { color: var(--text); font-size: clamp(32px, 4vw, 52px); line-height: 1; }
.surface-panel p { max-width: 620px; margin: 18px 0 0; color: var(--text-soft); font-size: 18px; line-height: 1.58; }
.detail-points { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.detail-point { padding: 18px; border-right: 1px solid var(--line); }
.detail-point:last-child { border-right: 0; }
.detail-point span { display: block; color: var(--gold); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.detail-point strong { display: block; margin-top: 8px; color: var(--text); font-size: 14px; line-height: 1.35; }
.stack, .docs { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr); gap: 56px; align-items: start; }
.layer { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); }
.layer:last-child { border-bottom: 0; }
.layer h3 { color: var(--text); font-family: var(--font-body); font-size: 18px; font-weight: 700; }
.layer p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.48; }
.layer.monarch { background: var(--blue-soft); border-left: 4px solid var(--blue); }
.layer.monarch .layer-label { color: var(--blue); }
.flow { display: grid; grid-template-columns: 1fr 1fr; }
.flow-copy { padding: 42px; border-right: 1px solid var(--line); }
.flow-steps { display: grid; grid-auto-rows: 1fr; }
.flow-step { display: grid; align-content: center; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.flow-step:last-child { border-bottom: 0; }
.flow-step strong, .docs-link strong { display: block; margin-top: 10px; color: var(--text); font-size: 17px; }
.flow-step span, .docs-link em { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.45; font-style: normal; }
.docs-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.docs-list { display: grid; }
.docs-link { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 22px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.docs-link:last-child { border-bottom: 0; }
.docs-link span { color: var(--gold); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.blog-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.blog-head .section-copy { max-width: 420px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--panel); }
.blog-card { display: grid; grid-template-rows: auto auto; color: inherit; text-decoration: none; border-right: 1px solid var(--line); min-width: 0; }
.blog-card:last-child { border-right: 0; }
.blog-card img { width: calc(100% - 48px); aspect-ratio: 16 / 9; height: auto; object-fit: contain; margin: 0 24px 24px; border: 1px solid var(--line); background: var(--panel); filter: saturate(0.82) contrast(0.96); }
.blog-body { display: flex; flex-direction: column; padding: 24px; background: var(--panel-strong); min-width: 0; }
.blog-card h3 { margin-top: 18px; color: var(--text); font-size: 23px; line-height: 1.12; overflow-wrap: break-word; }
.blog-card p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 82px 0 96px; }
.mark { width: 42px; height: 25px; margin-bottom: 28px; }
.mark svg { width: 100%; height: 100%; }
.post-card { padding: 0; color: inherit; text-decoration: none; }
.topics { display: flex; flex-wrap: wrap; gap: 18px; border: 0; background: transparent; }
/* Reserved heights are sized to today's post count to reduce load-in layout
   shift; they are an approximation, not exact for every future count.
   #home-blog-grid always shows exactly 3 posts, so its value stays accurate.
   #blog-topics shows every post and grows over time — bump these values
   (and the 860px-breakpoint ones below) if /blogs/ visibly jumps on load. */
#blog-topics { min-height: 1100px; }
#home-blog-grid { min-height: 530px; }
.topics .post-card { flex: 1 1 300px; max-width: calc((100% - 36px) / 3); border: 1px solid var(--line); }
.blog-fallback { align-self: flex-start; width: 100%; margin: 0; padding: 40px 0; color: var(--text-soft); font-size: 18px; text-align: center; }
.post-card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); filter: saturate(0.82) contrast(0.96); }
.post-card-body { padding: 28px; }
.post-card h2 { margin-top: 16px; }
.post-card:hover h2 { color: var(--blue); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); }
.docs-card { color: inherit; text-decoration: none; }
.docs-status { color: var(--blue); }
.site-footer { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 1.7fr); gap: 0 56px; padding: 64px 0 36px; margin-top: 24px; border-top: 1px solid var(--line); }
.footer-brand .brand { margin: 0; }
.footer-tagline { grid-column: 1 / -1; margin: 44px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.footer-contact-head { margin: 0 0 12px; color: var(--gold); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-contact { margin: 0 0 22px; max-width: 300px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-contact a { color: var(--blue); text-decoration: none; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col { display: grid; align-content: start; gap: 14px; }
.footer-col h4 { margin: 0 0 4px; color: var(--gold); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-col a { color: var(--text-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.footer-col a:hover { color: var(--blue); }
.footer-col a.footer-signin, .footer-col a.footer-signin:hover { margin-top: 22px; color: var(--blue); }
.footer-signin { justify-self: start; transform-origin: left center; transition: transform 0.55s var(--ease-soft); }
.footer-signin:hover { transform: scale(1.04); }
.footer-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-base .brand { margin: 0; }
.placeholder-hero { min-height: 62vh; }
.contact-hero { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.62fr); gap: 64px; align-items: start; }
.contact-form { display: grid; gap: 16px; border: 1px solid var(--line); background: var(--panel-strong); padding: 30px; }
.contact-form label { display: grid; gap: 8px; color: var(--text-soft); font-size: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--panel); color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 13px 14px; outline: 0; }
.contact-form textarea { resize: vertical; min-height: 132px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: inset 4px 0 0 var(--blue); }
.contact-form button { min-height: 52px; border: 1px solid var(--blue); background: var(--blue); color: var(--panel); cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 700; padding: 0 20px; }
.article-hero h1 { font-size: var(--text-h1-article); line-height: var(--lh-h1-article); }
.meta { margin: 18px 0 0; color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; }
.hero-image { width: 100%; display: block; margin: 28px 0 50px; border: 1px solid var(--line); filter: saturate(0.86) contrast(0.98); }
.article-body { font-size: 18px; line-height: 1.72; color: var(--text-soft); }
.article-body h2 { margin: 58px 0 18px; font-size: var(--text-h2-article); line-height: var(--lh-h2-article); color: var(--text); }
@media (min-width: 1180px) {
  .automation-comparison .article-body > h2 {
    margin-inline: -110px;
    text-wrap: pretty;
  }
}
.article-body h3 { margin: 34px 0 10px; color: var(--text); font-family: var(--font-body); font-size: 20px; font-weight: 700; }
.article-body p { margin: 0 0 20px; }
.article-body ul { margin: 0 0 24px; padding-left: 22px; }
.article-body li { margin: 0 0 12px; }
.article-body a { color: var(--blue); text-underline-offset: 0.16em; }
.article-table-wrap { margin: 10px 0 34px; overflow-x: auto; border: 1px solid var(--line); background: var(--panel-strong); }
.article-table { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--text-soft); font-size: 15px; line-height: 1.5; }
.article-table th, .article-table td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.article-table th:last-child, .article-table td:last-child { border-right: 0; }
.article-table tr:last-child td { border-bottom: 0; }
.article-table th { color: var(--text); background: var(--gold-soft); font-weight: 700; }
.summary, .cta { border: 1px solid var(--line); background: var(--panel-strong); padding: 30px; margin: 0 0 46px; }
.summary h2, .cta h2 { margin-top: 0; }
.cta { margin-top: 60px; }
.cta form { display: flex; margin-top: 22px; border: 1px solid var(--line-strong); background: var(--panel); }
.cta input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 0 16px; }
.cta button { min-height: 50px; border: 0; border-left: 1px solid var(--line-strong); background: var(--blue); color: var(--panel); cursor: pointer; font-family: var(--font-body); font-size: 15px; font-weight: 700; padding: 0 20px; }
@media (max-width: 860px) {
  .nav { position: relative; }
  .nav-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; cursor: pointer; margin-left: auto; }
  .nav-burger span { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 2px; }
  .nav-links { display: none; }
  .nav-toggle:checked ~ .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: calc(100% + 1px); left: 0; right: 0; z-index: 30; background: var(--panel-strong); border: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav-links a { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-toggle:checked ~ .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle:checked ~ .nav-links .button-link { background: var(--blue); color: var(--panel); }
  .section-head, .graph-top, .surface-tabs, .stack, .flow, .docs, .blog-head, .final, .content-grid, .docs-grid, .two-col, .features, .detail-points, .blog-grid, .contact-hero { grid-template-columns: 1fr; }
  .topics .post-card { max-width: 100%; }
  /* Cards stack to one column here, so reserved space must cover N stacked
     cards, not one row. #home-blog-grid is always exactly 3 posts; #blog-topics
     grows with post count and needs bumping as more posts are added. */
  #blog-topics { min-height: 2200px; }
  #home-blog-grid { min-height: 1450px; }
  .info-block, .post-card, .docs-card, .box, .feature, .detail-point, .blog-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-block:last-child, .post-card:last-child, .docs-card:last-child, .box:last-child, .feature:last-child, .detail-point:last-child, .blog-card:last-child { border-bottom: 0; }
  .topics .post-card:last-child { border-bottom: 1px solid var(--line); }
  .surface-list, .flow-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .layer, .docs-link { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  #blog-topics { min-height: 3150px; }
}
@media (max-width: 560px) {
  .shell, .article-shell { width: min(100% - 28px, 1120px); }
  :root { --text-h1: clamp(2.75rem, 14vw, 4.375rem); --text-hero: clamp(2.5rem, 11vw, 4rem); }
  .hero h1 em, .headline-line { white-space: normal; }
  .signup, .cta form { display: grid; }
  .signup input, .cta input { min-height: 52px; }
  .signup button, .cta button { border-left: 0; border-top: 1px solid var(--line-strong); }
  .site-footer { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-tagline { white-space: normal; }
}

/* Dark mode toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex: 0 0 auto;
  padding: 0; margin: 0 0 0 -2px;
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 15px; height: 15px; display: block; }

/* Human / agent view switch — fixed vertical rail on the viewport's right edge */
.mode-switch { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 9px; background: var(--panel-strong); border: 1px solid var(--line); border-left: 0; border-radius: 0 12px 12px 0; box-shadow: 4px 0 22px rgba(33, 31, 26, 0.12); font-family: var(--font-mono); }
.mode-switch .mode-opt { appearance: none; border: 1px solid var(--line); border-radius: 7px; padding: 16px 9px; background: var(--panel); font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); cursor: pointer; writing-mode: vertical-rl; transform: rotate(180deg); transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.mode-switch .mode-opt:hover { border-color: var(--line-strong); color: var(--text); }
.mode-switch .mode-opt[aria-current="true"] { background: var(--blue); border-color: var(--blue); color: var(--panel); }
@media (max-width: 560px) { .mode-switch { padding: 10px 7px; } .mode-switch .mode-opt { padding: 13px 8px; font-size: 11px; } }
@media (max-width: 560px) {
  /* The fixed rail covers card copy on narrow screens; mobile nav keeps the agent page reachable. */
  .mode-switch {
    display: none;
  }
}

/* Agent view document */
body.agent { background: var(--panel); }
.agent-doc { max-width: 820px; margin: 0 auto; padding: 60px 0 96px; }
.agent-doc-label { margin: 0 0 34px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--gold); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.agent-doc-label a { color: var(--gold); }
.agent-doc-body { font-family: var(--font-mono); font-size: 14px; line-height: 1.72; color: var(--text-soft); }
.agent-doc-body h1, .agent-doc-body h2, .agent-doc-body h3, .agent-doc-body h4 { font-family: var(--font-mono); font-weight: 600; color: var(--text); }
.agent-doc-body h1 { font-size: 22px; margin: 0 0 18px; }
.agent-doc-body h2 { font-size: 13px; margin: 40px 0 14px; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.agent-doc-body h3 { font-size: 14px; margin: 26px 0 8px; }
.agent-doc-body p { margin: 0 0 14px; }
.agent-doc-body .md-note { padding-left: 14px; border-left: 2px solid var(--line-strong); color: var(--muted); }
.agent-doc-body ul, .agent-doc-body ol { margin: 0 0 16px; padding-left: 20px; }
.agent-doc-body li { margin: 0 0 6px; }
.agent-doc-body li.sub { margin-left: 18px; list-style: none; color: var(--muted); }
.agent-doc-body li.sub::before { content: "\2514\00a0"; color: var(--line-strong); }
.agent-doc-body a { color: var(--blue); text-underline-offset: 3px; word-break: break-word; }
.agent-doc-body strong { color: var(--text); font-weight: 600; }
.agent-doc-body code { font-family: var(--font-mono); font-size: 0.92em; background: var(--bg); border: 1px solid var(--line); padding: 1px 5px; }

/* ---- Accessibility ---- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.signup input:focus-visible, .cta input:focus-visible { outline-offset: -2px; }

.skip { position: absolute; left: 8px; top: -48px; z-index: 100; background: var(--blue); color: var(--panel); font-size: 14px; font-weight: 700; padding: 10px 16px; text-decoration: none; transition: top 0.15s ease; }
.skip:focus { top: 8px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--blue); outline-offset: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  * { transition: none !important; }
}
.agent-doc-body .md-table-wrap { margin: 8px 0 18px; overflow-x: auto; border: 1px solid var(--line); background: var(--panel-strong); }
.agent-doc-body table { width: 100%; border-collapse: collapse; min-width: 640px; }
.agent-doc-body th, .agent-doc-body td { padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.agent-doc-body th:last-child, .agent-doc-body td:last-child { border-right: 0; }
.agent-doc-body tr:last-child td { border-bottom: 0; }
.agent-doc-body th { color: var(--text); font-weight: 600; background: var(--bg); }

/* ---- dynamic layout demo ---- */
.thesis .section-head { display: block; text-align: center; max-width: 820px; margin: 0 auto 36px; }
.thesis .section-head h2 { margin-left: auto; margin-right: auto; }
.thesis .section-head .section-copy { max-width: 640px; margin: 18px auto 0; }
.thesis .actions { justify-content: center; }

@media (min-width: 861px) {
  .flow-copy { order: 2; border-right: 0; border-left: 1px solid var(--line); }
  .flow-steps { order: 1; }
}

/* ---- triptych: make 01/02/03 the anchor ---- */
.feature { padding: 34px 30px 36px; }
.feature .num { font-family: var(--font-display); font-size: 46px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1; margin-bottom: 18px; }
.feature h3 { font-size: 26px; }

/* ---- writing header: copy below h2, smaller, full width ---- */
.blog-head { display: block; }
.blog-head .section-copy { max-width: 100%; margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---- typography: prevent orphans/widows globally ---- */
h1, h2, h3, h4 { text-wrap: balance; }
p, .lede, .dek, .section-copy, .layer p, .flow-step span, .blog-card p { text-wrap: pretty; }

/* writing header: keep "Thinking for production agents." on one line (desktop) */
.blog-head h2 { max-width: none; }
@media (min-width: 861px) { .blog-head h2 { white-space: nowrap; } }

/* ---- footer CTA headline: weight 500, single line at desktop ---- */
.final h2 { font-weight: 500; max-width: none; }
@media (min-width: 861px) { .final h2 { white-space: nowrap; font-size: clamp(30px, 3.4vw, 44px); } }

/* ---- "see the rest" blog link ---- */
.blog-more { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--blue); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; transform-origin: left center; transition: transform 0.55s var(--ease-soft); }
.blog-more::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-soft); }
.blog-more:hover { transform: scale(1.04); }
.blog-more:hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .blog-more, .blog-more::after { transition: none; } }

/* ---- claim bullet -> crown (favicon shape, follows --gold) ---- */
.claim::before { width: 18px; height: 11px; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 44'%3E%3Cpath d='M7 34 L16 12 L32 29 L40 6 L48 29 L64 12 L73 34 Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 44'%3E%3Cpath d='M7 34 L16 12 L32 29 L40 6 L48 29 L64 12 L73 34 Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---- depth system ---- */
/* Meter-style LAYERED shadows: multiple stacked layers with geometric blur/opacity
   falloff = real light, not a flat blob. Size-graded: bigger container -> bigger shadow. */
:root {
  /* resting cards (small/medium) */
  --elev-card:
    0 1px 1.5px rgba(33,31,26,0.03),
    0 4px 6px -1px rgba(33,31,26,0.04),
    0 10px 16px -5px rgba(33,31,26,0.05),
    0 20px 30px -12px rgba(33,31,26,0.06);
  /* large structural panels (proportionally bigger) */
  --elev-panel:
    0 2px 4px rgba(33,31,26,0.03),
    0 8px 14px -3px rgba(33,31,26,0.05),
    0 22px 34px -10px rgba(33,31,26,0.07),
    0 44px 64px -24px rgba(33,31,26,0.10);
  /* hover bloom — big, soft, floating (Meter dashboard) */
  --elev-lift:
    0 4px 7px -2px rgba(33,31,26,0.05),
    0 14px 22px -6px rgba(33,31,26,0.08),
    0 32px 46px -12px rgba(33,31,26,0.12),
    0 64px 84px -28px rgba(33,31,26,0.18);
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --glow: rgba(31, 150, 110, 0.30);
}
[data-theme="dark"] {
  --elev-card:
    0 1px 2px rgba(0,0,0,0.40),
    0 5px 9px -2px rgba(0,0,0,0.45),
    0 12px 22px -6px rgba(0,0,0,0.50),
    0 24px 40px -14px rgba(0,0,0,0.55);
  --elev-panel:
    0 2px 4px rgba(0,0,0,0.40),
    0 10px 20px -5px rgba(0,0,0,0.50),
    0 28px 46px -14px rgba(0,0,0,0.58),
    0 56px 84px -28px rgba(0,0,0,0.66);
  --elev-lift:
    0 6px 11px -3px rgba(0,0,0,0.45),
    0 18px 30px -8px rgba(0,0,0,0.55),
    0 40px 60px -16px rgba(0,0,0,0.63),
    0 78px 108px -32px rgba(0,0,0,0.72);
  --glow: rgba(48, 210, 152, 0.49);
}

/* large structural panels: resting elevation (bigger shadow, matches their size) */
.two-col, .features, .content-grid, .topics, .graph, .stack-diagram, .flow, .docs-panel, .docs-grid, .detail-points, .signup { box-shadow: var(--elev-panel); }

/* blog cards: separated; soft, substantial float on hover */
.blog-grid { border: 0; background: transparent; gap: 24px; }
.blog-card { border: 1px solid var(--line); box-shadow: var(--elev-card); transition: transform 0.65s var(--ease-soft), box-shadow 0.65s var(--ease-soft), border-color 0.65s var(--ease-soft); }
.blog-card:last-child { border-right: 1px solid var(--line); }
.blog-card:hover { box-shadow: var(--elev-lift); border-color: var(--blue); position: relative; z-index: 2; }
.blog-body { order: -1; }
@media (max-width: 1080px) {
  .blog-card { grid-template-rows: auto auto; }
  .blog-body { padding: 20px; }
  .blog-card img { width: calc(100% - 40px); margin: 0 20px 20px; }
  .blog-card h3 { font-size: 20px; line-height: 1.12; }
  .blog-card p:last-child { font-size: 14px; line-height: 1.45; }
}
@media (max-width: 1280px) { .mode-switch { display: none; } }
@media (max-width: 860px) { .blog-card, .blog-card:last-child { border: 1px solid var(--line); } }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* other clickable cards */
.post-card, .docs-card { transition: transform 0.65s var(--ease-soft), box-shadow 0.65s var(--ease-soft); }
.post-card:hover, .docs-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--elev-lift); position: relative; z-index: 2; }

/* buttons: gentle lift */
.button, .button-link, .button.secondary { transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft); }
.button:hover, .button-link:hover { transform: translateY(-2px); box-shadow: var(--elev-card); }
.button.secondary:hover { transform: translateY(-2px); box-shadow: var(--elev-card); border-color: var(--blue); }

/* ---- product graph: ambient aura behind the surface panel (Meter dashboard glow) ---- */
#graph:not(.thesis) { position: relative; }
#graph:not(.thesis)::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(100% + 390px); height: calc(100% + 210px);
  background: radial-gradient(closest-side, var(--glow), transparent);
  filter: blur(76px);
}
#graph:not(.thesis) .graph { position: relative; z-index: 1; }

/* ---- product graph: soft tab transitions (same ease as hover) ---- */
.surface-tab { will-change: transform; transition: background-color 0.4s var(--ease-soft), box-shadow 0.5s var(--ease-soft), color 0.4s var(--ease-soft), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1); }
/* panels: reliable transition-based crossfade (stacked in one grid cell) */
.surface-panel { display: block; grid-column: 1; grid-row: 2; opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
.surface-panel.active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.45s var(--ease-soft) 0.16s, transform 0.45s var(--ease-soft) 0.16s; }
@media (prefers-reduced-motion: reduce) { .surface-panel { transition: none; } }

/* surface tabs: thin emerald ring eases in around the tab on hover */
.surface-tab:hover { background: var(--tab-hover-bg); box-shadow: 0 0 0 1px var(--blue), var(--elev-tab); border-color: transparent; transform: scale(1.015); position: relative; z-index: 1; }

/* product graph: breathing room between panel text and the detail points */
.surface-panel .detail-points { margin-top: 30px; }

/* faintest float under the surface-tab swell */
:root { --elev-tab: 0 5px 14px -5px rgba(33,31,26,0.10); }
[data-theme="dark"] { --elev-tab: 0 6px 16px -5px rgba(0,0,0,0.50); }

/* surface tab hover: opaque tint + adjacent dividers drop away */
:root { --tab-hover-bg: #e8efea; }
[data-theme="dark"] { --tab-hover-bg: #243527; }
.surface-tab:has(+ .surface-tab:hover) { border-bottom-color: transparent; }

/* ---- link hover: emerald underline wipes in from left (nav + footer) ---- */
.nav-links a:not(.button-link), .footer-col a:not(.footer-signin) { position: relative; transition: color 0.3s var(--ease-soft); }
.footer-col a:not(.footer-signin) { justify-self: start; }
.nav-links a:not(.button-link)::after, .footer-col a:not(.footer-signin)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-soft);
}
.nav-links a:not(.button-link):hover, .footer-col a:not(.footer-signin):hover { color: var(--blue); }
.nav-links a:not(.button-link):hover::after, .footer-col a:not(.footer-signin):hover::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .nav-links a::after, .footer-col a::after { transition: none; } }

/* readable, on-brand text selection (was the low-contrast browser-default grey) */
::selection { background: var(--blue); color: var(--bg); }
::-moz-selection { background: var(--blue); color: var(--bg); }

/* gentle light/dark cross-fade — active only during the toggle (added/removed by theme.js) */
@media (prefers-reduced-motion: no-preference) {
  html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
    transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease, stroke 0.45s ease, box-shadow 0.45s ease !important;
  }
}

/* scroll reveal: each section rises + deepens into its shadow/borders as it enters view */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on main > section { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
  html.reveal-on main > section.in-view { opacity: 1; transform: none; }
}

/* triptych staggers in card-by-card (section itself stays put) */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on main > section:has(.feature) { opacity: 1; transform: none; }
  html.reveal-on .feature { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft); }
  html.reveal-on .feature.in-view { opacity: 1; transform: none; }
}

/* hero "Explore the Product Graph" — larger, gentle attention pulse */
.button-explore { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 58px; font-size: 16px; padding: 0 26px; }
@media (prefers-reduced-motion: no-preference) {
  .button-explore::before { content: ""; position: absolute; inset: 0; pointer-events: none; animation: explore-pulse 3.2s ease-out infinite; }
  @keyframes explore-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,150,110,0.30); } 70%, 100% { box-shadow: 0 0 0 12px rgba(31,150,110,0); } }
}

/* Stripe-style arrow (inline SVG): chevron only at rest; on hover the shaft is drawn
   left→right via stroke-dashoffset and the whole arrow eases to the right */
.ar { display: inline-block; width: 1.1em; height: 0.88em; vertical-align: -0.1em; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.18s var(--ease-soft); }
.ar .ar-line { stroke-dasharray: 17; stroke-dashoffset: 17; transition: stroke-dashoffset 0.18s var(--ease-soft); }
.footer-signin .ar { margin-left: 5px; }
/* slower, drawn-in transition on the way IN; the fast base transition above handles the way out */
.button-explore:hover .ar, .blog-more:hover .ar, .footer-signin:hover .ar { transform: translateX(3px); transition: transform 0.45s var(--ease-soft); }
.button-explore:hover .ar-line, .blog-more:hover .ar-line, .footer-signin:hover .ar-line { stroke-dashoffset: 0; transition: stroke-dashoffset 0.5s var(--ease-soft); }
@media (prefers-reduced-motion: reduce) {
  .ar, .ar .ar-line { transition: none; }
  .ar .ar-line { stroke-dashoffset: 0; }
}

/* product graph main section: deeper, later entrance (resolves in near center) */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-on #graph:not(.thesis) { opacity: 0; transform: translateY(46px) scale(0.985); transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-soft); }
  html.reveal-on #graph:not(.thesis).in-view { opacity: 1; transform: none; }
}

/* ── Pricing ───────────────────────────────────────────────────────────────
   Tier cards as a shared-border grid panel (same idiom as .content-grid).
   Reuses the global tokens, fonts, elevation, and .button styles; list rules
   are scoped to .plans so they never leak to the rest of the site. */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--elev-panel); }
.plan { display: flex; flex-direction: column; padding: 34px 24px; border-right: 1px solid var(--line); background: var(--panel-strong); }
.plan:last-child { border-right: 0; }
.plan.pop { box-shadow: inset 0 3px 0 var(--blue); }
.plan.pilot { background: var(--gold-soft); }
.tname { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; min-height: 20px; }
.badge { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.11em; text-transform: uppercase; padding: 3px 6px; border: 1px solid currentColor; }
.badge.g { color: var(--gold); }
.badge.b { color: var(--blue); }
.phrase { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); }
.phrase-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.lead { font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-top: 16px; }
.plus { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 24px; }
.plans ul { list-style: none; margin: 14px 0 26px; padding: 0; }
.plans li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; padding: 6.5px 0; color: var(--text-soft); }
.plans li svg { flex: 0 0 14px; margin-top: 3px; color: var(--blue); }
.plans li b { font-weight: 600; color: var(--text); }
.plans li .addon { display: block; margin-top: 3px; color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan .button { margin-top: auto; }
/* tighten the gap between the hero subtext and the plans table on /pricing */
.pricing-hero { padding-bottom: 64px; }
/* let the full first sentence fit on one line; second sentence breaks via .lede .break,
   flush with normal line spacing (not the separated-subheading look .break defaults to) */
.pricing-hero .lede { max-width: 1040px; }
.pricing-hero .lede .break { margin-top: 0; }
.pricing-plans { padding-top: 0; }
@media (max-width: 920px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { border-bottom: 1px solid var(--line); }
  .plan:nth-child(2n) { border-right: 0; }
  .plan:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; }
  .plan:last-child { border-bottom: 0; }
}

/* Solutions 2x2 grid (homepage industries) */
.content-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.content-grid.cols-2 .info-block { border-bottom: 1px solid var(--line); }
.content-grid.cols-2 .info-block:nth-child(even) { border-right: 0; }
.content-grid.cols-2 .info-block:nth-last-child(-n+2) { border-bottom: 0; }
.info-block h2 a { text-decoration: none; }
.info-block h2 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* Deck-derived visuals: exhibit note, build-flow, orbit, curve, worked example */
.exhibit-note { margin: 18px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
.viz { margin-top: 28px; }
.viz svg { display: block; width: 100%; height: auto; }
.viz .vz-line { stroke: var(--line-strong); }
.viz .vz-faint { stroke: var(--line); }
.viz .vz-gold { stroke: var(--gold); }
.viz .vz-gold-fill { fill: var(--gold); }
.viz .vz-gold-soft-fill { fill: var(--gold-soft); }
.viz .vz-muted-fill { fill: var(--muted); }
.viz .vz-green { stroke: var(--blue); }
.viz .vz-green-fill { fill: var(--blue); }
.viz .vz-label { font-family: var(--font-body); font-size: 14px; fill: var(--text-soft); }
.viz .vz-label-strong { font-family: var(--font-body); font-size: 14px; font-weight: 600; fill: var(--text); }
.viz .vz-tick { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; fill: var(--muted); }
.viz .vz-brand { font-family: var(--font-display); font-size: 26px; fill: var(--text); }

/* Build flow (any system -> Monarch maps it -> Product Graph) */
.bf { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 28px; }
.bf-node { border: 1px solid var(--line); background: var(--panel-strong); padding: 24px; }
.bf-node h3 { font-size: 20px; line-height: 1.2; color: var(--text); }
.bf-node p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.bf-node.bf-sys { border-style: dashed; }
.bf-node.bf-graph { border-color: var(--blue); background: var(--blue-soft); }
.bf-arrow { display: flex; align-items: center; padding: 0 14px; color: var(--gold); }
.bf-arrow svg { width: 26px; height: 20px; }
@media (max-width: 860px) {
  .bf { grid-template-columns: 1fr; }
  .bf-arrow { justify-content: center; padding: 10px 0; transform: rotate(90deg); }
}

/* Worked example: today by hand vs with Monarch */
.we { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--panel); margin-top: 28px; }
.we-band { padding: 28px; }
.we-band + .we-band { border-left: 1px solid var(--line); }
.we-band-label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.we-today .we-band-label { color: var(--muted); }
.we-monarch .we-band-label { color: var(--blue); }
.we-sources { display: flex; flex-wrap: wrap; gap: 8px; }
.we-source { border: 1px dashed var(--line-strong); color: var(--text-soft); font-size: 13.5px; padding: 7px 11px; background: var(--panel-strong); }
.we-role { margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--text); }
.we-verbs { margin-top: 6px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.03em; }
.we-request { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--text); }
.we-steps { list-style: none; margin: 16px 0 0; padding: 0; }
.we-steps li { position: relative; padding: 5px 0 5px 22px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.we-steps li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 7px; background: var(--gold); }
.we-outcome { margin-top: 18px; border: 1px solid var(--blue); background: var(--blue-soft); padding: 14px 16px; }
.we-outcome strong { display: block; color: var(--text); font-size: 15.5px; }
.we-outcome span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-soft); }
@media (max-width: 860px) {
  .we { grid-template-columns: 1fr; }
  .we-band + .we-band { border-left: 0; border-top: 1px solid var(--line); }
}

/* Deck-ported orbit */
.viz .vz-ring { stroke: var(--gold); }
.viz .vz-green { stroke: var(--blue); }
.viz .vz-est-line { stroke: var(--muted); }
.viz .vz-est-node { fill: var(--panel-strong); stroke: var(--muted); }
.viz .vz-center { fill: var(--panel-strong); stroke: var(--gold); }
.viz .vz-mono { font-family: var(--font-mono); font-size: 10.5px; fill: var(--muted); }
.viz .vz-mono-green { font-family: var(--font-mono); font-size: 10.5px; fill: var(--blue); }
.viz .vz-serif { font-family: var(--font-display); font-size: 14px; fill: var(--gold); }

/* Industry tile links: visible affordance */
.info-block h2 a { display: inline-flex; align-items: center; gap: 10px; }
.info-block h2 a .ar { width: 20px; height: 15px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; transition: transform 0.18s ease; }
.info-block h2 a:hover .ar { transform: translateX(5px); }
