/* Clipixel - homemade midsize vendor look (c. 2012-2016 corporate)
   Unique layout identity: fixed ~920px column, Open Sans, magenta ink,
   table/list sections, crude HTML product boxes. Not a SaaS card grid. */

:root {
  --ink: #1a1a1a;
  --ink-muted: #555555;
  --paper: #ffffff;
  --paper-soft: #f4f2ef;
  --paper-wash: #f8e8ef;
  --line: #b8b8b0;
  --line-soft: #d5d5ce;
  --brand: #b0104d;
  --brand-hover: #8c0d3d;
  --brand-tint: #f8e8ef;
  --signal: #c47a10;
  --signal-tint: #f7ecda;
  --success: #1f7a45;
  --warning: #8a6a12;
  --max: 920px;
  --font-body: "Open Sans", Arial, Helvetica, sans-serif;
  --font-display: "Open Sans", Arial, Helvetica, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: #ebebe6;
  -webkit-font-smoothing: auto;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 0.45em;
  color: var(--ink);
}
h1 { font-size: 1.85rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 0.9em; color: var(--ink-muted); }
ul, ol { color: var(--ink-muted); }
strong { color: var(--ink); font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.container-narrow {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Site shell: page sits on gray, white content board */
.site-board {
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  max-width: calc(var(--max) + 2px);
  margin: 0 auto;
  min-height: 100vh;
}

/* Announcement - plain strip */
.announce {
  background: #333;
  color: #eee;
  font-size: 12px;
  text-align: left;
  padding: 7px 18px;
  max-width: calc(var(--max) + 2px);
  margin: 0 auto;
  border-left: 1px solid #222;
  border-right: 1px solid #222;
}
.announce a { color: #fff; font-weight: 600; text-decoration: underline; }
.announce a:hover { color: #cde; }

/* Nav - sticky-ish but plain, no blur glass */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--brand);
  max-width: calc(var(--max) + 2px);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  color: var(--brand);
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 8px;
}
.logo:hover { color: var(--brand-hover); text-decoration: none; }
.logo svg { height: 22px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  flex-wrap: wrap;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  border-radius: 0;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover {
  background: var(--paper-soft);
  color: var(--brand);
  text-decoration: none;
}
.nav-links .chevron {
  width: 8px; height: 8px;
  opacity: 0.55;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-login {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink-muted) !important;
  text-decoration: none !important;
  padding: 5px 8px;
}
.nav-login:hover { color: var(--ink) !important; text-decoration: underline !important; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.08);
  padding: 4px 0;
  list-style: none;
  margin: 0;
  z-index: 50;
}
.nav-links > li:hover > .dropdown,
.nav-links > li:focus-within > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
}
.dropdown a:hover { background: var(--brand-tint); color: var(--brand); }
.dropdown a span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Buttons - flat, slightly uneven, older web */
.btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1.3;
}
.btn-primary {
  background: var(--brand);
  color: #fff !important;
  border-color: #8c0d3d;
}
.btn-primary:hover { background: var(--brand-hover); color: #fff !important; }
.btn-secondary {
  background: var(--paper-soft);
  color: var(--ink) !important;
  border-color: var(--line);
}
.btn-secondary:hover { background: #e4e4de; }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: #888;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-lg { padding: 10px 16px; font-size: 14px; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.nav-cta { padding: 6px 11px; font-size: 12px; }

.menu-toggle {
  display: none;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 5px 7px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 16px; height: 2px;
  background: var(--ink);
  margin: 3px 0;
}

/* Hero - stacked, not giant two-col SaaS */
.hero {
  padding: 22px 0 8px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
  display: block;
}
.hero-intro {
  padding-bottom: 14px;
  border-bottom: 1px dotted var(--line);
  margin-bottom: 16px;
}
.hero-toprow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.contact-chip {
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--paper-soft);
  border: 1px solid var(--line-soft);
  padding: 8px 10px;
  line-height: 1.45;
  max-width: 240px;
}
.contact-chip strong { display: block; color: var(--ink); margin-bottom: 2px; }
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.lead { font-size: 15px; line-height: 1.55; color: var(--ink-muted); max-width: 42em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hero-note { font-size: 12px; color: var(--ink-muted); margin-top: 10px; margin-bottom: 0; }

/* Crude HTML product mock - table-ish boxes */
.ui-mock {
  background: #fafaf7;
  border: 1px solid #888;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  font-size: 12px;
  margin-top: 4px;
}
.ui-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-bottom: 1px solid #999;
  background: #d8d8d0;
}
.ui-dots { display: flex; gap: 4px; }
.ui-dots i { width: 8px; height: 8px; border-radius: 0; background: #999; display: block; border: 1px solid #777; }
.ui-search {
  flex: 1;
  background: #fff;
  border: 1px solid #888;
  border-radius: 0;
  padding: 3px 6px;
  color: var(--ink-muted);
  font-size: 11px;
  font-family: var(--font-mono);
}
.ui-body { display: table; width: 100%; min-height: 220px; border-collapse: collapse; }
.ui-sidebar {
  display: table-cell;
  width: 130px;
  vertical-align: top;
  border-right: 1px solid #999;
  padding: 8px 6px;
  background: #efefe8;
}
.ui-folder {
  padding: 4px 5px;
  border-radius: 0;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 11px;
  border: 1px solid transparent;
}
.ui-folder.active {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}
.ui-main { display: table-cell; vertical-align: top; padding: 8px; }
.ui-chips { display: block; margin-bottom: 8px; }
.chip {
  display: inline-block;
  padding: 2px 6px;
  background: #fff;
  border: 1px solid #999;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0 3px 3px 0;
}
.chip.active { background: var(--brand-tint); border-color: var(--brand); color: var(--brand); }
.chip .dot { display: inline-block; width: 6px; height: 6px; border-radius: 0; background: var(--signal); margin-right: 3px; vertical-align: middle; }
.ui-grid {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ui-grid-row { display: table-row; }
.ui-thumb {
  display: table-cell;
  width: 33.33%;
  border: 1px solid #aaa;
  background: #fff;
  position: relative;
  vertical-align: top;
  padding: 0;
}
.ui-thumb .swatch,
.ui-thumb .swatch-img {
  height: 58px;
  background: #e8dde3;
  border-bottom: 1px solid #aaa;
  display: block;
  width: 100%;
  object-fit: cover;
}
.ui-thumb img.swatch-img { padding: 0; margin: 0; }
.ui-thumb .meta {
  padding: 3px 4px;
  font-size: 9px;
  color: var(--ink-muted);
  background: #fff;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-badge {
  position: absolute;
  top: 3px; right: 3px;
  background: var(--warning);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 0;
}
.ui-insights {
  margin-top: 8px;
  padding: 6px 8px;
  background: var(--signal-tint);
  border: 1px solid #c9a090;
  border-radius: 0;
  display: table;
  width: 100%;
}
.spark {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
.spark span {
  display: inline-block;
  width: 6px;
  background: var(--signal);
  border-radius: 0;
  margin-right: 2px;
  vertical-align: bottom;
}
.ui-insights strong { color: var(--ink); font-size: 11px; display: block; }
.ui-insights small { color: var(--ink-muted); font-size: 10px; }

/* Customer name strip - list, not logo wall */
.logo-strip {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-soft);
}
.logo-strip-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.logo-row {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.wordmark {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink-muted);
  white-space: nowrap;
}
.wordmark::after { content: " · "; font-weight: 400; color: #999; }
.wordmark:last-child::after { content: ""; }
.wordmark.mono { font-family: var(--font-mono); font-weight: 400; font-size: 11px; }
.wordmark.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; font-size: 13px; }
.wordmark.condensed { letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.wordmark.rounded { font-weight: 700; font-size: 12px; }

/* Sections */
.section { padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.section-soft { background: var(--paper-soft); }
.section-ink { background: #2a2a28; color: #eee; border-bottom: none; }
.section-ink p, .section-ink li { color: #ccc; }
.section-ink h2, .section-ink h3, .section-ink strong { color: #fff; }
.section-signal { background: var(--signal-tint); }
.section-head { max-width: none; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.section-head.center { text-align: left; margin-inline: 0; }
.section-head .lead { margin-bottom: 0; }

/* Problem as numbered rows (Clipixel pattern) */
.problem-list {
  border: 1px solid var(--line);
  background: #fff;
}
.problem-row {
  display: table;
  width: 100%;
  border-bottom: 1px solid var(--line-soft);
  padding: 0;
}
.problem-row:last-child { border-bottom: none; }
.problem-row .num {
  display: table-cell;
  width: 48px;
  vertical-align: top;
  padding: 12px 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  background: var(--paper-wash);
  border-right: 1px solid var(--line-soft);
}
.problem-row .body {
  display: table-cell;
  vertical-align: top;
  padding: 12px 14px;
}
.problem-row h3 { margin: 0 0 4px; font-size: 14px; }
.problem-row p { margin: 0; font-size: 13px; }

/* Legacy card classes remapped to flatter look */
.cols-3, .cols-2, .cols-4 {
  display: block;
}
.cols-2 > * + *,
.cols-3 > * + *,
.cols-4 > * + * { margin-top: 12px; }

/* Module list - Clipixel unique: vertical bordered rows with left bar */
.module-list {
  border: 1px solid var(--line);
  background: #fff;
}
.module-row {
  display: table;
  width: 100%;
  border-bottom: 1px solid var(--line-soft);
}
.module-row:last-child { border-bottom: none; }
.module-row .mod-name {
  display: table-cell;
  width: 140px;
  vertical-align: top;
  padding: 12px 12px;
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  border-right: 1px solid var(--line-soft);
  background: #f7f9fa;
}
.module-row .mod-body {
  display: table-cell;
  vertical-align: top;
  padding: 12px 14px;
  font-size: 13px;
}
.module-row .mod-body p { margin: 0 0 6px; }
.module-row .link-more { font-size: 12px; font-weight: 700; }

.problem-card, .module-card, .case-card, .price-card, .blog-card, .integ-item, .team-card, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 14px;
}
.problem-card .num {
  font-weight: 700;
  font-size: 12px;
  color: var(--brand);
  margin-bottom: 6px;
}
.problem-card h3, .module-card h3 { margin-bottom: 4px; }
.problem-card p, .module-card p { margin: 0; font-size: 13px; }
.module-card {
  padding: 12px 14px;
  height: auto;
  display: block;
  border-left: 4px solid var(--brand);
}
.module-card:hover { transform: none; box-shadow: none; background: #fafaf7; }
.module-icon {
  display: none;
}
.module-card .link-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  display: inline-block;
  margin-top: 8px;
}
.module-card .link-more:hover { color: var(--brand-hover); }

/* Two-col when needed - uneven, not perfect grid */
.split-uneven {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.split-uneven .col-main {
  display: table-cell;
  width: 62%;
  vertical-align: top;
  padding-right: 22px;
}
.split-uneven .col-side {
  display: table-cell;
  width: 38%;
  vertical-align: top;
}
@media (min-width: 721px) {
  .cols-2 {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0;
  }
  .cols-2 > * {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    padding-right: 18px;
  }
  .cols-2 > *:last-child { padding-right: 0; padding-left: 10px; }
  .cols-2 > * + * { margin-top: 0; }
}

.feature-split {
  display: block;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.feature-split:last-child { margin-bottom: 0; }
.feature-split.reverse { direction: ltr; }
.feature-list { list-style: disc; padding-left: 18px; margin: 10px 0 0; }
.feature-list li {
  position: static;
  padding: 3px 0;
  font-size: 13px;
}
.feature-list li::before { display: none; content: none; }
.feature-visual img.feature-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 0 0 8px;
  border: 1px solid var(--line-soft);
}
.feature-visual .photo-cap {
  font-size: 11px;
  color: var(--ink-muted);
  margin: 0;
}
.feature-visual {
  background: var(--paper-soft);
  border: 1px dashed #999;
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  min-height: 0;
  margin-top: 12px;
}

/* Practice stack - Clipixel: stacked H3 blocks, not modern tabs */
.practice-stack .practice-block {
  border: 1px solid var(--line);
  border-top-width: 3px;
  border-top-color: var(--brand);
  background: #fff;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.practice-block h3 { margin-bottom: 6px; }

/* Keep tab classes for pages that still use them, but style older */
.tabs {
  display: block;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.tab-btn {
  display: inline-block;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-bottom: none;
  color: var(--ink-muted);
  cursor: pointer;
  margin-right: 3px;
  margin-bottom: -1px;
  border-radius: 0;
}
.tab-btn.active {
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid #fff;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Facts table - Clipixel signature pattern */
.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
}
.facts-table th,
.facts-table td {
  border: 1px solid var(--line-soft);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.facts-table th {
  background: var(--paper-wash);
  color: var(--ink);
  font-weight: 700;
  width: 34%;
}
.facts-table td { color: var(--ink-muted); }
.facts-table.stats th,
.facts-table.stats td { text-align: center; width: auto; }
.facts-table.stats .stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0;
}
.facts-table.stats .stat-label {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.stats-row {
  display: table;
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  border: 1px solid #555;
}
.stats-row > div {
  display: table-cell;
  width: 25%;
  padding: 14px 8px;
  border-right: 1px solid #555;
  vertical-align: middle;
}
.stats-row > div:last-child { border-right: none; }
.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  display: block;
}
.stat-label { font-size: 11px; color: #bbb; margin-top: 3px; display: block; }

/* Integrations - plain list */
.integ-row {
  display: block;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-muted);
}
.integ-pill {
  display: inline;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.integ-pill::after { content: "  |  "; color: #999; font-weight: 400; }
.integ-pill:last-child::after { content: ""; }
.integ-pill .ico { display: none; }

/* Case quotes - stacked with left rule */
.case-stack .case-card {
  border: none;
  border-left: 3px solid var(--brand);
  border-radius: 0;
  box-shadow: none;
  padding: 4px 0 4px 14px;
  margin-bottom: 16px;
  background: transparent;
  height: auto;
  display: block;
}
.case-metric {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0;
  margin-bottom: 2px;
}
.case-card blockquote {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--ink-muted);
  font-style: italic;
  quotes: none;
}
.case-meta { font-size: 12px; color: var(--ink-muted); }
.case-meta strong { display: inline; color: var(--ink); font-size: 12px; }

/* CTA - plain bordered box */
.cta-band {
  background: var(--paper-wash);
  border: 2px solid var(--brand);
  border-radius: 0;
  padding: 16px 18px;
  display: block;
}
.cta-band h2 { color: var(--ink); margin-bottom: 6px; }
.cta-band p { color: var(--ink-muted); margin: 0 0 12px; }
.cta-band .btn-primary { background: var(--brand); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Forms */
.form-card {
  padding: 14px;
  box-shadow: none;
}
.form-row { margin-bottom: 10px; }
.form-row.half-grid {
  display: block;
}
.form-row.half-grid > * + * { margin-top: 10px; }
@media (min-width: 600px) {
  .form-row.half-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px 0;
    margin-left: -10px;
  }
  .form-row.half-grid > * {
    display: table-cell;
    width: 50%;
    margin-top: 0;
  }
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
input, select, textarea {
  width: 100%;
  padding: 7px 8px;
  font-size: 13px;
  font-family: inherit;
  border: 1px solid #888;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 1px solid var(--brand);
  outline-offset: 0;
  border-color: var(--brand);
  box-shadow: none;
}
textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 11px; color: var(--ink-muted); margin-top: 8px; }
.form-success { display: none; text-align: left; padding: 14px; }
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--success); }

/* Page hero (inner) - compact */
.page-hero {
  padding: 18px 0 14px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { max-width: 46em; }

/* Product layout with TOC sidebar - Clipixel product pages */
.prod-layout {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.prod-toc {
  display: table-cell;
  width: 180px;
  vertical-align: top;
  padding: 0 16px 0 0;
  border-right: 1px solid var(--line);
}
.prod-toc h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin: 0 0 8px;
}
.prod-toc ul { list-style: none; padding: 0; margin: 0; }
.prod-toc li { margin: 0 0 4px; }
.prod-toc a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.prod-toc a:hover { color: var(--brand); text-decoration: underline; }
.prod-main {
  display: table-cell;
  vertical-align: top;
  padding-left: 18px;
}

/* FAQ */
.faq-list { max-width: none; border: 1px solid var(--line); background: #fff; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item button span { font-size: 14px; color: var(--ink-muted); font-weight: 400; }
.faq-item .faq-body {
  display: none;
  padding: 0 12px 10px;
  font-size: 13px;
  color: var(--ink-muted);
}
.faq-item.open .faq-body { display: block; }

/* Pricing - table feel */
.price-grid { display: block; }
.price-grid > * + * { margin-top: 10px; }
@media (min-width: 800px) {
  .price-grid {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px 0;
    margin-left: -10px;
  }
  .price-grid > * {
    display: table-cell;
    width: 33.33%;
    margin-top: 0;
    vertical-align: top;
  }
}
.price-card {
  padding: 14px;
  display: block;
}
.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: none;
  position: relative;
}
.price-badge {
  position: static;
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 0;
  margin-bottom: 6px;
}
.price-card h3 { margin-bottom: 2px; }
.price-card .price-tag {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0;
}
.price-card ul {
  list-style: disc;
  padding-left: 18px;
  margin: 0 0 12px;
}
.price-card ul li {
  padding: 2px 0;
  position: static;
  font-size: 12px;
}
.price-card ul li::before { display: none; content: none; }

/* Team - table rows */
.team-grid { display: block; }
.team-card {
  display: table;
  width: 100%;
  gap: 0;
  padding: 0;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.team-avatar {
  display: table-cell;
  width: 56px;
  height: auto;
  vertical-align: middle;
  text-align: center;
  border-radius: 0;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 12px;
  border-right: 1px solid var(--line-soft);
  padding: 0;
  overflow: hidden;
}
.team-avatar img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}
.team-card > div:not(.team-avatar) {
  display: table-cell;
  vertical-align: middle;
  padding: 8px 12px;
}
.team-card h4 { margin: 0 0 2px; font-size: 13px; }
.team-card .role { font-size: 12px; color: var(--brand); font-weight: 600; margin-bottom: 2px; }
.team-card .email { font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); }

.team-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.team-table th, .team-table td {
  border: 1px solid var(--line-soft);
  padding: 8px 10px;
  text-align: left;
}
.team-table th { background: var(--paper-wash); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; }
.team-table a { font-family: var(--font-mono); font-size: 12px; }

/* Careers - already list-ish */
.job-list { border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.job-row {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { background: var(--paper-soft); }
.job-row h3 { margin: 0 0 2px; font-size: 14px; }
.job-row .job-meta { font-size: 12px; color: var(--ink-muted); }
.job-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  background: var(--brand-tint);
  color: var(--brand);
  border-radius: 0;
  margin-top: 4px;
  border: 1px solid var(--line-soft);
}
@media (min-width: 700px) {
  .job-row {
    display: table;
    width: 100%;
  }
  .job-row > * { display: table-cell; vertical-align: middle; padding-right: 10px; }
}

/* Blog */
.blog-grid { display: block; }
.blog-grid > * + * { margin-top: 10px; }
.blog-card {
  overflow: hidden;
  display: table;
  width: 100%;
  padding: 0;
}
.blog-card:hover { box-shadow: none; background: #fafaf7; }
.blog-thumb {
  display: table-cell;
  width: 110px;
  height: auto;
  min-height: 78px;
  background: var(--paper-soft);
  border-right: 1px solid var(--line);
  border-bottom: none;
  vertical-align: top;
  padding: 0;
  overflow: hidden;
}
.blog-thumb img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  display: block;
}
.blog-thumb.t1, .blog-thumb.t2, .blog-thumb.t3, .blog-thumb.t4 { background: var(--paper-soft); }
.blog-body { display: table-cell; vertical-align: top; padding: 10px 12px; }
.blog-date { font-size: 11px; color: var(--ink-muted); margin-bottom: 3px; }
.blog-card h3 { font-size: 14px; margin-bottom: 4px; }
.blog-card h3 a { color: var(--ink); text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand); text-decoration: underline; }
.blog-card p { font-size: 12px; margin: 0; }

/* Integration groups */
.integ-group { margin-bottom: 18px; }
.integ-group h3 { margin-bottom: 8px; font-size: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.integ-grid { display: block; }
.integ-item {
  display: inline-block;
  width: calc(50% - 6px);
  margin: 0 4px 6px 0;
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.integ-item .ico-lg {
  display: inline-block;
  width: auto; height: auto;
  margin: 0 6px 0 0;
  border-radius: 0;
  background: none;
  font-weight: 700;
  font-size: 11px;
  color: var(--brand);
  vertical-align: middle;
}
.integ-item strong { display: inline; font-size: 13px; color: var(--ink); }
.integ-item span { display: block; font-size: 11px; color: var(--ink-muted); margin-top: 2px; }

/* Footer */
.site-footer {
  background: #e4e4de;
  border-top: 2px solid var(--brand);
  padding: 22px 0 16px;
  margin-top: 0;
  max-width: calc(var(--max) + 2px);
  margin-left: auto;
  margin-right: auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.footer-grid {
  display: block;
  margin-bottom: 14px;
}
.footer-brand { margin-bottom: 14px; }
.footer-brand p { font-size: 12px; margin: 6px 0 0; max-width: 36em; }
.footer-col {
  display: inline-block;
  width: 22%;
  min-width: 120px;
  vertical-align: top;
  padding-right: 12px;
  margin-bottom: 10px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 3px; }
.footer-col a {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
.footer-col a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
}
.footer-bottom > * + * { margin-top: 8px; }
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--brand); }
.footer-address { line-height: 1.55; }

/* Legal / prose */
.prose { max-width: 640px; }
.prose h2 { margin-top: 1.4rem; font-size: 1.15rem; }
.prose h3 { margin-top: 1.1rem; font-size: 1rem; }
.prose p, .prose li { font-size: 13px; }

/* 404 */
.error-page { text-align: left; padding: 36px 0; }
.error-page .code {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0;
  line-height: 1;
}

/* Awards - plain text badges */
.award-row {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.award {
  display: inline;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.award::after { content: "  ·  "; font-weight: 400; color: #999; }
.award:last-child::after { content: ""; }
.award .mark {
  display: inline;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  margin-right: 2px;
}

/* Chart mock - crude bars */
.chart-mock {
  background: #fff;
  border: 1px solid #888;
  border-radius: 0;
  padding: 10px;
  box-shadow: none;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
  margin: 10px 0 6px;
  border-bottom: 1px solid #888;
  border-left: 1px solid #888;
  padding: 0 6px 0 4px;
}
.chart-bars .bar {
  flex: 1;
  background: var(--brand);
  border: 1px solid #8c0d3d;
  border-bottom: none;
  border-radius: 0;
  opacity: 1;
  position: relative;
  min-height: 8px;
}
.chart-bars .bar.signal { background: var(--signal); border-color: #7a3520; }
.chart-bars .bar label {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--ink-muted);
  white-space: nowrap;
  font-weight: 600;
}
.chart-legend {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  color: var(--ink-muted);
}
.chart-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 0;
  margin-right: 3px;
  border: 1px solid #666;
}

/* Misc */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: left; }
.badge-inline {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  background: var(--success);
  color: #fff;
  border-radius: 0;
  margin-left: 4px;
  vertical-align: middle;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

/* Responsive */
@media (max-width: 960px) {
  .split-uneven, .split-uneven .col-main, .split-uneven .col-side,
  .prod-layout, .prod-toc, .prod-main,
  .ui-body, .ui-sidebar, .ui-main { display: block; width: auto; }
  .prod-toc { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 12px; margin-bottom: 12px; }
  .prod-main { padding-left: 0; }
  .ui-sidebar { border-right: none; border-bottom: 1px solid #999; width: auto; }
  .footer-col { display: block; width: auto; margin-bottom: 12px; }
  .stats-row, .stats-row > div { display: block; width: auto; }
  .stats-row > div { border-right: none; border-bottom: 1px solid #555; }
  .stats-row > div:last-child { border-bottom: none; }
  .integ-item { width: 100%; margin-right: 0; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-actions { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 6px 0;
  }
  .nav.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 4;
    width: 100%;
    padding: 6px 0 10px;
    margin: 0;
  }
  .nav.is-open { flex-wrap: wrap; height: auto; min-height: 52px; }
  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    padding-left: 8px;
    min-width: 0;
  }
  .nav-links > li.open > .dropdown { display: block; }
  .hero-toprow { display: block; }
  .contact-chip { max-width: none; margin-top: 8px; }
  .cols-2, .cols-2 > * { display: block; width: auto; padding: 0 !important; }
  .cols-2 > * + * { margin-top: 12px; }
  .problem-row, .problem-row .num, .problem-row .body,
  .module-row, .module-row .mod-name, .module-row .mod-body { display: block; width: auto; }
  .problem-row .num, .module-row .mod-name {
    border-right: none;
    border-bottom: 1px solid var(--line-soft);
  }
  .blog-card, .blog-thumb, .blog-body { display: block; width: auto; }
  .blog-thumb { height: 48px; border-right: none; border-bottom: 1px solid var(--line); }
  .section { padding: 18px 0; }
  .hero { padding: 14px 0 6px; }
  .ui-grid { display: block; }
  .ui-thumb { display: block; width: 100%; margin-bottom: 4px; }
}
