/* CompanyOS shared theme styles. Source: approved DC prototypes and DESIGN.md. */
@property --bt1 { syntax: '<color>'; inherits: false; initial-value: transparent; }
@property --bt2 { syntax: '<color>'; inherits: false; initial-value: transparent; }
@property --bt3 { syntax: '<color>'; inherits: false; initial-value: transparent; }

:root {
  --warm-white: #fbf9f5;
  --paper: #f1eee7;
  --ink: #17161A;
  /* Ink and navy are now the same colour; navy is deprecated. */
  --navy: #17161A;
  --body: #2C2B2E;
  --muted: #5E5C60;
  --muted-light: #807E82;
  --placeholder: #9a9384;
  --hairline: #e7e2d8;
  --border: #dcd7cc;
  --border-strong: #b9b2a4;
  --amber: #c68a2e;
  --amber-text: #9a6a1e;
  --teal: #2e7d6b;
  --tl-stage-ink: #17161A;
  /* Deprecated navy alias retained for compatibility. */
  --tl-stage-navy: #17161A;
  --tl-stage-amber: #C68A2E;
  --tl-stage-amber-text: #9A6A1E;
  --tl-stage-teal: #2E7D6B;
  --error: #a6412e;
  --gut: 56px;
  --sy: 1;
  --ease-op: cubic-bezier(.2,.8,.2,1);
  --ar-wide: 21 / 8;
  --ar-doc: 3 / 2;
  --hero-surface-height: 100vh;
  --hero-header-height: 64px;
  --hero-gradient: radial-gradient(120% 90% at 0% 0%, #FFFDF9 0%, #FBF9F5 40%, #F1EEE7 100%);
}

@keyframes omDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

html { margin: 0; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--body);
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { border-radius: 0; }
button, input, select, textarea { border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease-op), border-color 160ms var(--ease-op), background 160ms var(--ease-op);
}
a:hover { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}
::selection { background: var(--amber); color: var(--warm-white); }

.skip-link {
  position: fixed;
  left: var(--gut);
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--warm-white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-shell { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.page-heading, .section-heading, .subheading, .panel-title, .card-title {
  margin: 0;
  color: var(--ink);
  font-family: Archivo, sans-serif;
  font-weight: 600;
  text-wrap: balance;
}
.page-heading { max-width: 15ch; font-size: clamp(40px, 4.6vw, 66px); line-height: .98; letter-spacing: -.034em; text-wrap: pretty; }
.page-heading--compact { font-size: clamp(38px, 4vw, 56px); line-height: 1; }
.section-heading { max-width: 22ch; font-size: 36px; line-height: 1.06; letter-spacing: -.028em; }
.subheading { font-size: 28px; line-height: 1.1; letter-spacing: -.024em; }
.panel-title { font-size: 23px; line-height: 1.15; letter-spacing: -.022em; }
.card-title { font-size: 20px; line-height: 1.18; letter-spacing: -.018em; }
.lead { max-width: 42ch; margin: 0; color: var(--body); font-size: 19px; font-weight: 300; line-height: 1.5; }
.body-copy { max-width: 56ch; margin: 0; font-size: 16.5px; line-height: 1.6; }
.mono-label {
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.mono-label--muted { color: var(--muted); }
.mono-label--utility { color: var(--muted-light); font-size: 11px; letter-spacing: .12em; }
.mono-label--status { color: var(--teal); }
.inline-link { border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.inline-link:hover { border-bottom-color: var(--teal); }

/* Rules and surfaces */
.section-rule { border-top: 2px solid var(--ink); }
.amber-rule { width: 48px; height: 2px; margin-bottom: 22px; background: var(--amber); }
.amber-rule--hero {
  width: 160px;
  height: 3px;
  margin: 34px 0 28px;
  transform-origin: left;
  animation: omDraw 900ms var(--ease-op) both;
}
.paper-band { background: var(--paper); border-block: 1px solid var(--border); }
.section-band { position: relative; overflow: hidden; background: linear-gradient(180deg, #17161A 0%, #24222A 100%); color: var(--warm-white); }
.section-band::before { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(251,249,245,.09) 0 1px, transparent 1px 96px), repeating-linear-gradient(90deg, rgba(251,249,245,.09) 0 1px, transparent 1px 96px); background-position: calc(50% - 48px) 0; content: ''; mask-image: linear-gradient(90deg, transparent 35%, rgba(23,22,26,.9) 100%); -webkit-mask-image: linear-gradient(90deg, transparent 35%, rgba(23,22,26,.9) 100%); }
.section-band__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: end; max-width: 1440px; margin: 0 auto; padding: calc(104px * var(--sy)) var(--gut); }
.section-band__heading { max-width: 20ch; margin: 0; color: var(--warm-white); font-family: Archivo, sans-serif; font-size: 52px; font-weight: 600; letter-spacing: -.032em; line-height: 1.03; text-wrap: balance; }
.drafting-grid { position: relative; isolation: isolate; overflow: hidden; }
.drafting-grid > * { position: relative; z-index: 1; }
.drafting-grid::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  pointer-events: none;
  opacity: .7;
  background-image: repeating-linear-gradient(0deg, #DCD7CC 0, #DCD7CC 1px, transparent 1px, transparent 96px), repeating-linear-gradient(90deg, #DCD7CC 0, #DCD7CC 1px, transparent 1px, transparent 96px);
  background-position: calc(50% - 48px) 0;
  mask-image: radial-gradient(ellipse 58% 80% at 70% 38%, rgba(23,22,26,.95) 0%, rgba(23,22,26,.55) 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 70% 38%, rgba(23,22,26,.95) 0%, rgba(23,22,26,.55) 40%, transparent 100%);
}
.drafting-grid--left::before {
  mask-image: radial-gradient(ellipse 55% 75% at 22% 30%, rgba(23,22,26,.9) 0%, rgba(23,22,26,.45) 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 22% 30%, rgba(23,22,26,.9) 0%, rgba(23,22,26,.45) 45%, transparent 100%);
}
.drafting-grid--article::before {
  mask-image: radial-gradient(ellipse 58% 80% at 30% 30%, rgba(23,22,26,.9) 0%, rgba(23,22,26,.45) 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 30% 30%, rgba(23,22,26,.9) 0%, rgba(23,22,26,.45) 40%, transparent 100%);
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--warm-white); }
/* Paint one continuous gradient across the header and the full-width hero wrapper. */
.site-header:has(+ #main-content .hero),
#main-content > :first-child:has(> .hero),
#main-content.form-page:has(> .hero) {
  background-color: var(--warm-white);
  background-image: var(--hero-gradient);
  background-size: 100% var(--hero-surface-height);
  background-repeat: no-repeat;
}
.site-header:has(+ #main-content .hero) { background-position: 0 0; }
#main-content > :first-child:has(> .hero),
#main-content.form-page:has(> .hero) {
  background-position: 0 calc(-1 * var(--hero-header-height));
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--ink); }
.site-header__start { display: flex; align-items: center; gap: 40px; }
.site-header__brand { display: flex; align-items: center; }
.site-header__brand img, .site-footer__brand img { width: auto; height: 16px; }
.primary-nav__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav__link { border-bottom: 2px solid transparent; padding-bottom: 3px; color: var(--body); font-size: 15px; font-weight: 500; }
.primary-nav__link:hover { border-bottom-color: var(--teal); }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }
.mobile-nav { padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.mobile-nav__list, .mobile-nav .primary-nav__list { display: grid; margin: 0; padding: 0; list-style: none; }
.mobile-nav a:not(.button) { display: block; padding: 15px 0; border-top: 1px solid var(--border); color: var(--ink); font-size: 17px; font-weight: 500; }

/* Buttons */
.button { border-radius: 4px; transition: color 200ms ease, border-color 200ms ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 14px 24px; border: 1px solid transparent; font-size: 15.5px; font-weight: 500; line-height: 1.2; }
.button svg { flex: none; }
.button--primary, .button--mono {
  --bt1: #17161A; --bt2: #17161A; --bt3: #17161A;
  background: linear-gradient(135deg, var(--bt1) 0%, var(--bt2) 45%, var(--bt3) 100%);
  border: 0;
  color: var(--warm-white);
  transition: --bt1 200ms ease, --bt2 200ms ease, --bt3 200ms ease, color 200ms ease;
}
.button--primary:hover, .button--mono:hover { --bt1: #2A7363; --bt2: #2E7D6B; --bt3: #3A8C78; color: var(--warm-white); }
.button--secondary { border-color: var(--ink); background: var(--warm-white); color: var(--ink); }
.button--secondary:hover { border-color: var(--teal); color: var(--teal); }
.button--mono { padding: 12px 16px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.button--nav { min-height: 0; padding: 11px 20px; font-size: 14px; }
.button--large { padding: 16px 28px; }
.button--block { width: 100%; margin-top: 18px; }
.button--inverted, .newsletter-band__form .button, .article-video__play {
  --bt1: #FBF9F5; --bt2: #FBF9F5; --bt3: #FBF9F5;
  background: linear-gradient(135deg, var(--bt1) 0%, var(--bt2) 45%, var(--bt3) 100%);
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  transition: --bt1 200ms ease, --bt2 200ms ease, --bt3 200ms ease, color 200ms ease;
}
.button--inverted { padding: 15px 26px; }
.button--inverted:hover, .newsletter-band__form .button:hover, .article-video__play:hover { --bt1: #2A7363; --bt2: #2E7D6B; --bt3: #3A8C78; color: var(--warm-white); }
.nav-toggle { display: none; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #17161A 0%, #24222A 100%); color: #CBC8C2; }
.site-footer__inner { padding-top: calc(72px * var(--sy)); padding-bottom: calc(32px * var(--sy)); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(180px,1fr); gap: 48px; align-items: start; }
.site-footer__company { justify-self: end; min-width: 180px; }
.site-footer__brand p { max-width: 32ch; margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; }
.site-footer__cta { border-radius: 4px; transition: color 200ms ease, border-color 200ms ease; display: inline-block; margin-top: 22px; padding: 11px 18px; border: 1px solid rgba(251,249,245,.5); color: var(--warm-white); font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-footer__cta:hover { border-color: var(--teal); color: var(--teal); }
.site-footer__heading { margin: 0 0 16px; color: #9A978F; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.site-footer__links { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.site-footer__links a { color: #E8E5DF; }
.site-footer__links a:hover, .site-footer__legal a:hover { color: var(--teal); }
.site-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(251,249,245,.18); color: #9A978F; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .07em; }
.site-footer__legal span:last-child { display: flex; gap: 24px; }
.site-footer__legal a { color: #9A978F; }

/* Shared layouts */
.hero { position: relative; max-width: 1440px; margin: 0 auto; padding: calc(84px * var(--sy)) var(--gut) calc(96px * var(--sy)); }
.hero--split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
.hero__content { position: relative; z-index: 1; padding-top: 10px; }
.hero__label { margin-bottom: 26px; }
.hero__actions { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.section { max-width: 1440px; margin: 0 auto; padding: calc(96px * var(--sy)) var(--gut) calc(100px * var(--sy)); }
.section--compact { padding-top: calc(80px * var(--sy)); padding-bottom: calc(80px * var(--sy)); }
.section-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.section-split--end { align-items: end; }
.section-opener { margin-bottom: 56px; }
.prose p { margin: 0 0 18px; }

/* Media */
.media-frame { margin: 0; }
.media-frame__image { position: relative; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--border); }
.media-frame__image img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--wide .media-frame__image { aspect-ratio: var(--ar-wide); }
.media-frame--document .media-frame__image { aspect-ratio: var(--ar-doc); }
.media-frame__caption { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--border-strong); color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }

/* Chrome and records */
.chrome-panel { border: 1px solid var(--ink); background: var(--warm-white); }
.chrome-panel, .article-video__frame { box-shadow: 0 1px 0 #17161A; }
.chrome-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; background: var(--ink); color: var(--warm-white); }
.chrome-bar__logo { flex: none; width: auto; height: 12px; }
.chrome-bar__meta { color: #B4B1AB; font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.chrome-panel__body { padding: 22px 24px 24px; }
.register { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border-strong); }
.register__header { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; color: var(--placeholder); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.register__row { display: grid; grid-template-columns: 56px minmax(0,1fr) minmax(0,1.4fr); border-top: 1px solid var(--border); }
.register__row:first-child { border-color: var(--border-strong); }
.register__cell { padding: 20px 0 22px; }
.register__id { color: var(--amber-text); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.register__id--confirmed { color: var(--teal); }
.register__title { padding-right: 24px; color: var(--ink); font-family: Archivo, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.016em; line-height: 1.2; }
.register__copy { font-size: 15.5px; line-height: 1.55; }
.status-mark { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--muted); }
.status-mark--confirmed { background: var(--teal); }
.status-mark--judgment { background: var(--amber); }
.data-table__wrap { overflow-x: auto; border: 1px solid var(--ink); }
.data-table { width: 100%; border-collapse: collapse; color: var(--body); font-size: 14.5px; line-height: 1.45; }
.data-table th { padding: 11px 14px; border-bottom: 1px solid var(--ink); background: var(--paper); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table__caption { margin-bottom: 10px; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }

/* Forms */
.form { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.form__header { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 20px; color: var(--placeholder); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-field { display: grid; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 14.5px; font-weight: 500; }
.form-field__required { color: var(--amber-text); }
.form-control { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border-strong); background: var(--warm-white); color: var(--ink); font-size: 15.5px; line-height: 1.4; }
textarea.form-control { min-height: 150px; resize: vertical; line-height: 1.5; }
.form-control:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -1px; }
.form__hint { color: var(--muted); font-size: 14px; line-height: 1.5; }
.form__footer { display: grid; gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink); }
.form__privacy { max-width: 62ch; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.form-summary { margin-bottom: 22px; padding: 14px 16px; border: 1px solid var(--error); color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.form-success { padding-top: 28px; border-top: 2px solid var(--teal); }
.form-success__title { max-width: 22ch; margin-top: 18px; color: var(--ink); font-family: Archivo, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -.024em; line-height: 1.1; }
.honeypot { position: absolute !important; left: -9999px !important; }

/* WPForms contact form — form 35 */
.companyos-wpform .wpforms-container,
.companyos-wpform div.wpforms-container-full,
.companyos-wpform #wpforms-35 { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.companyos-wpform #wpforms-form-35 { margin: 0; padding: 0; }
.companyos-wpform #wpforms-35 .wpforms-field-container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 24px; }
.companyos-wpform #wpforms-35 .wpforms-field { display: flex; flex-direction: column; gap: 8px; float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
.companyos-wpform #wpforms-35 .wpforms-field-textarea { grid-column: 1 / -1; }
.companyos-wpform #wpforms-35 .wpforms-field-row,
.companyos-wpform #wpforms-35 .wpforms-field-row-block { width: 100%; max-width: none; }
.companyos-wpform #wpforms-35 .wpforms-field-label,
.companyos-wpform #wpforms-35 .wpforms-field-sublabel { margin: 0; color: var(--ink); font-family: 'Public Sans',system-ui,sans-serif; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.companyos-wpform #wpforms-35 .wpforms-field-sublabel { color: var(--muted); font-size: 12px; font-weight: 400; }
.companyos-wpform #wpforms-35 .wpforms-required-label { color: var(--amber-text); }
.companyos-wpform #wpforms-35 input[type="text"],
.companyos-wpform #wpforms-35 input[type="email"],
.companyos-wpform #wpforms-35 input[type="tel"],
.companyos-wpform #wpforms-35 select,
.companyos-wpform #wpforms-35 textarea { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 12px 14px !important; border: 1px solid var(--border-strong) !important; border-radius: 4px !important; background: var(--warm-white) !important; box-shadow: none !important; color: var(--ink) !important; font-family: 'Public Sans',system-ui,sans-serif !important; font-size: 15.5px !important; line-height: 1.4 !important; }
.companyos-wpform #wpforms-35 input[type="text"],
.companyos-wpform #wpforms-35 input[type="email"],
.companyos-wpform #wpforms-35 input[type="tel"],
.companyos-wpform #wpforms-35 select { height: 50px !important; min-height: 50px !important; }
.companyos-wpform #wpforms-35 textarea { order: 2; min-height: 150px !important; resize: vertical; line-height: 1.5 !important; }
.companyos-wpform #wpforms-35 input:focus,
.companyos-wpform #wpforms-35 select:focus,
.companyos-wpform #wpforms-35 textarea:focus { border-color: var(--ink) !important; outline: 2px solid var(--ink) !important; outline-offset: -1px !important; box-shadow: none !important; }
.companyos-wpform #wpforms-35 .wpforms-field-description { order: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.companyos-wpform #wpforms-35 label.wpforms-error,
.companyos-wpform #wpforms-35 em.wpforms-error { order: 3; margin: 0; color: var(--error); font-size: 13.5px; line-height: 1.45; }
.companyos-wpform #wpforms-35 input.wpforms-error,
.companyos-wpform #wpforms-35 select.wpforms-error,
.companyos-wpform #wpforms-35 textarea.wpforms-error { border-color: var(--error) !important; }
.companyos-wpform #wpforms-35 .wpforms-error-container { margin: 0 0 22px; padding: 14px 16px; border: 1px solid var(--error); background: transparent; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.companyos-wpform #wpforms-35 .wpforms-submit-container { margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--ink); }
.companyos-wpform #wpforms-35 button.wpforms-submit { --bt1: #17161A; --bt2: #17161A; --bt3: #17161A; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 44px !important; padding: 16px 28px !important; border: 0 !important; border-radius: 4px !important; background: linear-gradient(135deg, var(--bt1) 0%, var(--bt2) 45%, var(--bt3) 100%) !important; box-shadow: none !important; color: var(--warm-white) !important; font-family: 'Public Sans',system-ui,sans-serif !important; font-size: 15.5px !important; font-weight: 500 !important; line-height: 1.2 !important; transition: --bt1 200ms ease, --bt2 200ms ease, --bt3 200ms ease, color 200ms ease !important; }
.companyos-wpform #wpforms-35 button.wpforms-submit::after { width: 14px; height: 14px; flex: none; background: currentColor; content: ''; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%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 16 16'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat; }
.companyos-wpform #wpforms-35 button.wpforms-submit:hover { --bt1: #2A7363; --bt2: #2E7D6B; --bt3: #3A8C78; color: var(--warm-white) !important; }
.companyos-wpform #wpforms-35 button.wpforms-submit:disabled { opacity: .6; cursor: wait; }
.companyos-wpform > .form__privacy { margin-top: 18px; }
.companyos-wpform .wpforms-confirmation-container-full,
.companyos-wpform div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) { margin: 0 !important; padding: 28px 0 0 !important; border: 0 !important; border-top: 2px solid var(--teal) !important; border-radius: 0 !important; background: transparent !important; color: var(--body) !important; }
.companyos-wpform .wpforms-confirmation-container-full .form-success { padding: 0; border: 0; }
.companyos-wpform .wpforms-confirmation-container-full p:last-child { margin-bottom: 0; }
.companyos-wpform:has(.wpforms-confirmation-container-full) { border-top: 0; }
.companyos-wpform:has(.wpforms-confirmation-container-full) > .form__header,
.companyos-wpform:has(.wpforms-confirmation-container-full) > .form__privacy { display: none; }

/* Contact and demo */
.form-page { min-height: calc(100vh - 64px); }
.form-page__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 96px; align-items: start; }
.form-page__intro { position: sticky; top: 104px; }
.contact-list { max-width: 44ch; margin-top: 44px; border-top: 1px solid var(--ink); }
.contact-list__heading { padding-top: 14px; color: var(--placeholder); }
.contact-list__row { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.contact-list__row:last-child { border-bottom: 1px solid var(--border); }

/* Homepage */
.plan-panel__summary { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 6px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.plan-stage { position: relative; }
.plan-cursor { position: absolute; top: 0; left: 0; z-index: 2; opacity: 0; pointer-events: none; }
.plan-scene--one, .plan-scene--two { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.plan-scene--one { display: flex; flex-direction: column; }
.plan-scene--final { position: relative; }
.plan-scene__rule { margin-top: 14px; }
.plan-scene__center { margin: auto 0; padding: 24px 0; }
.plan-scene__center p { max-width: 40ch; margin: 14px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.source-row { display: grid; grid-template-columns: 16px minmax(0,1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.source-row__mark { display: flex; margin-top: 3px; color: var(--teal); }
.source-row__system { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.source-row__text { margin-top: 3px; color: var(--ink); font-size: 14.5px; line-height: 1.45; }
.plan-panel__summary span:last-child { color: var(--amber-text); }
.plan-panel__list { border-top: 2px solid var(--ink); }
.plan-item { display: grid; grid-template-columns: 30px 16px minmax(0,1fr); align-items: start; gap: 10px; padding: 11px 0 12px; border-bottom: 1px solid var(--border); }
.plan-item__number { padding-top: 3px; color: var(--amber-text); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; }
.plan-item__title { color: var(--ink); font-family: Archivo, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.plan-item__why { margin-top: 3px; font-size: 14.5px; line-height: 1.45; }
.plan-item__source-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 5px; }
.plan-item__source { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .04em; line-height: 1.6; }
.plan-item__action { flex: none; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; line-height: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-transform: uppercase; cursor: pointer; }
.plan-action-log { display: grid; margin-top: 10px; border-top: 1px solid var(--border); }
.plan-action-row { display: grid; grid-template-columns: 16px minmax(0,1fr) auto; align-items: start; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.plan-action-row__mark { display: flex; margin-top: 3px; color: var(--teal); }
.plan-action-row__mark svg { width: 13px; height: 13px; }
.plan-action-row__text { color: var(--body); font-size: 13.5px; line-height: 1.45; }
.plan-action-row__time { padding-top: 2px; color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; }
.customer-image { margin-top: 0; }
.flow-diagram { position: relative; display: grid; grid-template-columns: 200px minmax(0,1fr) 200px; gap: 0 40px; align-items: start; }
.flow-note { padding-top: 14px; border-top: 1px solid var(--border-strong); }
.flow-note--capture { grid-column: 1; grid-row: 1; }
.flow-note--connect { grid-column: 1; grid-row: 3; border-top-color: var(--ink); }
.flow-note--use { grid-column: 1; grid-row: 5; border-top: 2px solid var(--teal); }
.flow-note--return { grid-column: 3; grid-row: 3 / 6; margin-top: 40px; border-top-color: var(--amber); }
.flow-note__number { color: var(--amber-text); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: .16em; }
.flow-note h3 { margin: 8px 0 0; color: var(--ink); font-family: Archivo, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -.016em; line-height: 1.15; }
.flow-note p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.flow-sources { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-self: stretch; }
.flow-box { border: 1px solid var(--muted); background: var(--warm-white); }
.flow-box__heading { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: var(--muted); color: var(--warm-white); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.flow-box__heading svg { flex: none; }
.flow-box__body { padding: 4px 16px 6px; }
.flow-box__body div { padding: 11px 0; border-top: 1px solid var(--hairline); color: var(--body); font-size: 15px; }
.flow-box__body div:first-child { border-top: 0; }
.flow-connect { position: relative; grid-column: 2; height: 56px; }
.flow-connect--converge { grid-row: 2; }
.flow-connect--fan { grid-row: 4; }
.flow-core { grid-column: 2; grid-row: 3; display: flex; flex-direction: column; align-self: stretch; border: 2px solid var(--ink); background: var(--warm-white); }
.flow-core__bar { padding: 12px 16px; background: var(--ink); }
.flow-core__bar img { display: block; width: auto; height: 10px; }
.flow-core__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); flex: 1; gap: 1px; background: var(--border); }
.flow-core__grid > div { padding: 18px 16px 20px; background: var(--warm-white); }
.flow-core__grid strong { display: block; color: var(--ink); font-family: Archivo, sans-serif; font-size: 18px; letter-spacing: -.014em; }
.flow-core__grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.flow-use { grid-column: 2; grid-row: 5; display: flex; flex-direction: column; align-self: stretch; border: 1px solid var(--teal); background: var(--warm-white); }
.flow-use__bar { padding: 11px 16px; border-bottom: 1px solid var(--teal); background: var(--teal); color: var(--warm-white); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.flow-use__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); flex: 1; gap: 1px; background: var(--border); }
.flow-use__grid > div { padding: 16px 16px 18px; background: var(--warm-white); }
.flow-use__grid strong { display: block; color: var(--ink); font-size: 15px; font-weight: 500; }
.flow-use__grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.flow-use__grid em { font-family: Newsreader, Georgia, serif; font-size: 15.5px; line-height: 1.4; }
.flow-loop-row { position: relative; grid-column: 2; grid-row: 6; height: 40px; }
[data-f] { position: absolute; }
[data-f~="stub"] { top: 0; width: 1px; height: 28px; background: var(--ink); transform-origin: center top; }
[data-f~="stub"]:nth-child(1) { left: calc((100% - 40px) / 4); }
[data-f~="stub"]:nth-child(2) { left: calc(100% - (100% - 40px) / 4); }
[data-f~="cbar"] { top: 28px; width: calc(50% - (100% - 40px) / 4); height: 1px; background: var(--ink); }
[data-f~="cbar"]:nth-child(3) { left: calc((100% - 40px) / 4); transform-origin: left center; }
[data-f~="cbar"]:nth-child(4) { left: 50%; transform-origin: right center; }
[data-f~="trunk"] { left: calc(50% - .5px); top: 28px; width: 1px; height: 28px; background: var(--ink); transform-origin: center top; }
[data-f~="fout"] { left: calc(50% - .5px); top: 0; width: 1px; height: 28px; background: var(--teal); transform-origin: center top; }
[data-f~="fbar"] { top: 28px; width: 37.5%; height: 1px; background: var(--teal); }
[data-f~="fbar"]:nth-child(2) { left: 12.5%; transform-origin: right center; }
[data-f~="fbar"]:nth-child(3) { left: 50%; transform-origin: left center; }
[data-f~="drop"] { top: 28px; width: 1px; height: 28px; background: var(--teal); transform-origin: center top; }
[data-f~="drop"]:nth-child(4) { left: 12.5%; }
[data-f~="drop"]:nth-child(5) { left: 37.5%; }
[data-f~="drop"]:nth-child(6) { left: 62.5%; }
[data-f~="drop"]:nth-child(7) { left: 87.5%; }
[data-f~="tick"] { width: 5px; height: 5px; margin: -2px 0 0 -2px; background: var(--amber); opacity: 0; }
[data-f~="tA"] { left: calc((100% - 40px) / 4); top: 0; }
[data-f~="tB"] { left: calc(100% - (100% - 40px) / 4); top: 0; }
[data-f~="tC"] { left: 50%; top: 28px; }
[data-f~="tD"] { left: 50%; top: 0; }
[data-f~="tE"] { left: 50%; top: 28px; }
[data-f~="lp-drop"] { left: calc(50% - .5px); top: 0; width: 1px; height: 20px; background: var(--amber); transform-origin: center top; }
[data-f~="lp-bot"] { left: 50%; top: 20px; width: calc(50% + 21px); height: 1px; background: var(--amber); transform-origin: left center; }
[data-f~="tF"] { left: 50%; top: 0; }
[data-f~="lp-v"] { position: relative; grid-column: 3; grid-row: 3 / 7; justify-self: start; align-self: stretch; width: 1px; margin: 20px 0 20px -19px; background: var(--amber); transform-origin: center bottom; pointer-events: none; }
[data-f~="lp-top"] { position: relative; grid-column: 3; grid-row: 3; justify-self: start; align-self: start; width: 22px; height: 1px; margin: 20px 0 0 -40px; background: var(--amber); transform-origin: right center; pointer-events: none; }
[data-f~="lp-end"] { position: relative; grid-column: 3; grid-row: 3; justify-self: start; align-self: start; width: 7px; height: 7px; margin: 17px 0 0 -44px; background: var(--amber); pointer-events: none; }
.comparison { display: grid; grid-template-columns: 220px 1fr 1.2fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border-strong); }
.comparison > div { padding: 16px 18px; border-top: 1px solid var(--border); font-size: 14.5px; line-height: 1.5; }
.comparison__head { background: var(--paper); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; }
.comparison__label { color: var(--ink); font-weight: 500; }
.timeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding-top: 22px; border-top: 1px solid var(--tl-stage-ink); }
.timeline__item { position: relative; padding: 0 28px 0 0; }
.timeline__item::before { position: absolute; top: -26px; left: 0; width: 7px; height: 7px; border: 0; border-radius: 0; background: var(--tl-stage-ink); content: ''; }
.timeline__item > .mono-label { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.timeline__item:nth-child(3)::before,
.timeline__item:nth-child(4)::before { background: var(--tl-stage-amber); }
.timeline__item:nth-child(3) > .mono-label,
.timeline__item:nth-child(4) > .mono-label { color: var(--tl-stage-amber-text); font-weight: 500; }
.timeline__item:nth-child(5)::before { background: var(--tl-stage-teal); }
.timeline__item:nth-child(5) > .mono-label { color: var(--tl-stage-teal); font-weight: 400; }
.timeline__item h3 { margin: 0; color: var(--ink); font-family: Archivo, sans-serif; font-size: 18px; }
.timeline__item p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.use-cases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.use-case .media-frame__image { aspect-ratio: var(--ar-doc); }
.use-case h3 { margin: 18px 0 0; color: var(--ink); font-family: Archivo, sans-serif; font-size: 20px; }
.use-case p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.scope-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; margin-top: 14px; border: 1px solid var(--ink); background: var(--border); }
.scope-opener { margin-bottom: 40px; }
.scope-grid__item { min-height: 168px; padding: 20px 18px 22px; background: var(--warm-white); color: var(--ink); transition: background 220ms cubic-bezier(.2,.8,.2,1), color 220ms cubic-bezier(.2,.8,.2,1); }
.scope-grid__item:hover { background: var(--ink); color: var(--warm-white); }
.scope-grid__number { color: #9a9384; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .14em; }
.scope-grid__item h3 { margin: 12px 0 0; color: inherit; font-family: Archivo, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.016em; line-height: 1.16; }
.scope-grid__item p { margin: 8px 0 0; color: inherit; font-size: 14px; line-height: 1.5; opacity: .72; }
.section-band__copy { max-width: 56ch; margin: 26px 0 0; color: #D9D6D0; font-size: 17.5px; line-height: 1.6; }
.section-band__heading--dark { margin: 0 0 26px; color: var(--ink); text-align: left; }
.home-demo-action { margin-top: 30px; }
.footer-cta__note { max-width: 60ch; margin-top: 34px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .1em; line-height: 1.7; text-transform: uppercase; }

/* About */
.about-hero__lead { margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 20px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink); }
.fact__value { color: var(--ink); font-family: Archivo, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.fact__label { margin-top: 8px; padding-bottom: 12px; color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; padding-top: 32px; border-top: 2px solid var(--ink); }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-card h3 { margin: 16px 0 0; color: var(--ink); font-family: Archivo, sans-serif; font-size: 20px; }
.team-card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0,680px); gap: 96px; padding-top: calc(64px * var(--sy)); padding-bottom: calc(96px * var(--sy)); }
.legal-aside { position: sticky; top: 96px; align-self: start; }
.legal-prose { border-top: 2px solid var(--ink); padding-top: 6px; font-size: 16px; line-height: 1.65; }
.legal-prose h2 { margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink); font-family: Archivo, sans-serif; font-size: 22px; letter-spacing: -.018em; line-height: 1.15; }
.legal-prose h2:first-child { margin-top: 0; border-top: 0; }
.legal-prose h3 { margin: 28px 0 12px; color: var(--ink); font-family: Archivo, sans-serif; font-size: 17px; letter-spacing: -.01em; line-height: 1.2; }
.legal-prose p, .legal-prose ul { margin: 0 0 18px; }

/* Resource archive */
.resource-hero { padding-bottom: calc(56px * var(--sy)); }
.resource-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 30px; padding-top: 18px; border-top: 2px solid var(--ink); }
.filters { display: grid; gap: 20px; padding: 24px 0; border-block: 1px solid var(--border); }
.filter-row { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 18px; align-items: start; }
.filter-row__options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { border-radius: 4px; transition: color 200ms ease, border-color 200ms ease; padding: 7px 14px; border: 1px solid var(--border-strong); background: var(--warm-white); color: var(--body); font-size: 14px; font-weight: 500; white-space: nowrap; }
.filter-chip[aria-pressed='true'] {
  --bt1: #17161A; --bt2: #17161A; --bt3: #17161A;
  border-color: var(--ink);
  background: linear-gradient(135deg, var(--bt1) 0%, var(--bt2) 45%, var(--bt3) 100%);
  color: var(--warm-white);
  transition: --bt1 200ms ease, --bt2 200ms ease, --bt3 200ms ease, color 200ms ease, border-color 200ms ease;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal); }
.filter-chip[aria-pressed='true']:hover { --bt1: #2A7363; --bt2: #2E7D6B; --bt3: #3A8C78; color: var(--warm-white); }
.resource-search { display: flex; align-items: flex-end; gap: 10px; }
.resource-search .button { flex: none; height: 50px; min-height: 50px; padding-block: 12px; }
.resource-search input { flex: 1; min-width: 0; padding: 14px; border: 1px solid var(--ink); background: var(--warm-white); }
.featured-resource { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); border: 1px solid var(--ink); background: var(--warm-white); color: var(--ink); }
.featured-resource__image { min-height: 390px; }
.featured-resource__image img { width: 100%; height: 100%; object-fit: cover; }
.featured-resource__content { padding: 34px; }
.resource-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.resource-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid var(--border); background: var(--warm-white); }
.resource-grid > .resource-card, .related-grid > .resource-card { outline: 1px solid var(--border); }
.resource-card { display: flex; flex-direction: column; background: var(--warm-white); color: var(--ink); }
.resource-card__image { aspect-ratio: var(--ar-doc); background: var(--border); overflow: hidden; }
.resource-card__image img { width: 100%; height: 100%; object-fit: cover; }
.resource-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.resource-card__summary { margin: 10px 0 22px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.resource-card .resource-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.pagination { margin-top: 36px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pagination .page-numbers { border-radius: 4px; transition: color 200ms ease, border-color 200ms ease; display: inline-block; min-width: 40px; padding: 10px 12px; border: 1px solid var(--border-strong); text-align: center; }
.pagination a.page-numbers:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { border-color: var(--ink); background: var(--ink); color: var(--warm-white); }

/* Newsletter */
.newsletter-band { background: linear-gradient(180deg, #17161A 0%, #24222A 100%); color: var(--warm-white); }
.newsletter-band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; padding-top: calc(72px * var(--sy)); padding-bottom: calc(72px * var(--sy)); }
.newsletter-band .section-heading { color: var(--warm-white); }
.newsletter-band__label { margin-bottom: 18px; color: var(--amber); }
.newsletter-band__status { padding-top: 16px; border-top: 2px solid var(--teal); }
.newsletter-band p { max-width: 50ch; margin: 20px 0 0; color: #CBC8C2; font-size: 16.5px; line-height: 1.6; }
.newsletter-band__form { display: flex; gap: 10px; }
.newsletter-band__form input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid rgba(251,249,245,.5); background: transparent; color: var(--warm-white); }
.newsletter-band__note { margin-top: 14px; color: #9A978F; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .08em; line-height: 1.7; text-transform: uppercase; }

/* Resource single */
.resource-title { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 64px; align-items: end; padding-top: calc(44px * var(--sy)); padding-bottom: calc(48px * var(--sy)); }
.resource-single-header { position: relative; padding-top: calc(40px * var(--sy)); }
.resource-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.resource-breadcrumb__type { color: var(--amber-text); }
.resource-title .media-frame__image { aspect-ratio: 4 / 3; border-color: var(--ink); }
.resource-title .media-frame__caption { padding: 8px 12px; border: 1px solid var(--ink); border-top: 0; background: var(--warm-white); }
.article-meta { display: grid; grid-template-columns: repeat(3,auto); justify-content: start; gap: 12px 40px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-meta--reviewed { grid-template-columns: repeat(4,auto); }
.article-meta dt { color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article-meta dd { margin: 5px 0 0; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 96px; padding-top: calc(48px * var(--sy)); padding-bottom: calc(88px * var(--sy)); border-top: 2px solid var(--ink); }
.article-aside { position: sticky; top: 88px; align-self: start; }
.article-toc { border-left: 1px solid var(--border); font-size: 14px; line-height: 1.4; }
.article-toc a { display: block; padding: 8px 0 8px 14px; color: var(--muted); }
.article-toc a:hover { color: var(--teal); }
.article-share { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-share .mono-label { width: 100%; }
.article-prose { max-width: 680px; font-size: 17px; line-height: 1.65; }
.article-prose h2 { margin: 44px 0 20px; scroll-margin-top: 96px; color: var(--ink); font-family: Archivo, sans-serif; font-size: 28px; font-weight: 600; letter-spacing: -.024em; line-height: 1.1; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose p, .article-prose ul, .article-prose ol { margin: 0 0 26px; }
.article-prose blockquote { margin: 36px 0; padding: 28px 0 22px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); color: var(--ink); font-family: Newsreader, serif; font-size: 28px; font-style: italic; font-weight: 300; line-height: 1.28; }
.article-prose blockquote p { margin: 0; }
.article-prose blockquote cite { display: block; margin-top: 16px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.article-prose .wp-block-table { margin: 30px 0 34px; overflow-x: auto; }
.article-prose table { width: 100%; border: 1px solid var(--ink); border-collapse: collapse; font-size: 14.5px; }
.article-prose th { padding: 11px 14px; border-bottom: 1px solid var(--ink); background: var(--paper); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.article-prose td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.article-media, .article-video { margin: 34px 0 36px; }
.article-media img, .article-video img { display: block; width: 100%; object-fit: cover; }
.article-media img { aspect-ratio: 3 / 2; border: 1px solid var(--border); }
.article-media figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.article-note { margin: 30px 0 34px; padding: 20px 24px 22px; border-top: 2px solid var(--amber); background: var(--paper); }
.article-note .mono-label { margin: 0 0 10px; color: var(--amber-text); }
.article-note p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }
.article-video { border: 0; }
.article-video__frame { border: 1px solid var(--ink); }
.article-video__chrome { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--ink); color: var(--warm-white); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.article-video__chrome-label { display: flex; align-items: center; gap: 10px; }
.article-video__chrome > span:last-child { color: var(--muted-light); }
.article-video__stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.article-video__stage img { width: 100%; height: 100%; aspect-ratio: auto; opacity: .85; }
.article-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-video__play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.article-video figcaption { margin-top: 8px; padding: 0; color: var(--muted-light); font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.form-success .icon--tick { color: var(--teal); }
.form-success .mono-label { display: flex; align-items: center; gap: 10px; }
.resource-search__field { display: flex; align-items: center; gap: 10px; height: 50px; border: 1px solid var(--ink); background: var(--warm-white); padding: 0 10px 0 14px; }
.resource-search__field > svg { flex: none; color: var(--muted); }
.resource-search__field input { flex: 1; min-width: 0; height: 100%; padding-block: 0; border: 0; }
.resource-search__clear { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: var(--muted); }
.resource-search__clear:hover { color: var(--teal); }
.author-block { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 24px; padding: 30px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); }
.author-block .card-title { margin: 8px 0; font-size: 20px; line-height: 1.18; letter-spacing: -.018em; }
.author-block__mark { display: grid; place-items: center; width: 90px; height: 90px; background: var(--paper); color: var(--ink); font-family: Archivo, sans-serif; font-size: 28px; font-weight: 600; }
.author-block__mark img { display: block; width: 90px; height: 90px; object-fit: cover; border-radius: 6px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; border: 1px solid var(--border); background: var(--warm-white); }

/* Artifact boundaries round; internal bars, cells and caption rows stay square. */
.chrome-panel, .register, .comparison, .flow-box, .flow-core, .flow-use,
.scope-grid, .form-summary, .companyos-wpform #wpforms-35 .wpforms-error-container,
.featured-resource, .resource-grid, .related-grid, .article-video__frame {
  border-radius: 6px;
  overflow: hidden;
}
.data-table__wrap { border-radius: 6px; overflow: hidden; overflow-x: auto; }
.resource-search__field { border-radius: 4px; }
.media-frame__image img, .resource-card__image img, .featured-resource__image img,
.team-card img, .article-media img, .article-video__stage img, .article-prose .wp-block-image img {
  border-radius: 6px;
}

/* Generic/index/search/404 */
.content-list { display: grid; border-top: 2px solid var(--ink); }
.content-list__item { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 40px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.empty-state { max-width: 720px; padding: calc(96px * var(--sy)) 0; }
.search-form { display: flex; gap: 10px; margin-top: 30px; }
.search-form label { flex: 1; }
.search-form input { width: 100%; height: 50px; padding: 12px 14px; border: 1px solid var(--ink); background: var(--warm-white); }
.legal-title-rule { width: 160px; height: 3px; margin: 32px 0 26px; background: var(--ink); transform-origin: left; animation: omDraw 900ms var(--ease-op) both; }
.resource-search .form-field { flex: 1; min-width: 0; }
.resource-card .card-title { margin-top: 10px; }
.hero .media-frame__image { aspect-ratio: 4 / 3; }

@media (max-width: 1180px) {
  :root { --gut: 44px; --sy: .92; }
  .scope-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .timeline__item { padding-right: 18px; }
  .flow-diagram { grid-template-columns: 170px minmax(0,1fr) 170px; gap: 0 32px; }
  [data-f~="lp-v"] { margin-left: -15px; }
  [data-f~="lp-top"] { width: 18px; margin-left: -32px; }
  [data-f~="lp-end"] { margin-left: -36px; }
  [data-f~="lp-bot"] { width: calc(50% + 17px); }
}

@media (max-width: 1060px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (min-width: 1061px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 1024px) {
  :root { --gut: 36px; --sy: .84; --ar-wide: 16 / 7; }
  .hero--split, .form-page__grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  .hero--split > *, .form-page__grid > * { max-width: 760px; }
  .form-page__intro { position: static; }
  .flow-diagram { grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .flow-diagram > * { grid-column: 1 / -1; grid-row: auto; }
  .flow-sources { order: 1; }
  .flow-connect { order: 2; height: 30px; }
  .flow-connect > * { display: none; }
  .flow-connect::before { position: absolute; top: 0; left: 50%; width: 1px; height: 30px; background: var(--ink); content: ''; }
  .flow-connect--fan { order: 4; }
  .flow-connect--fan::before { background: var(--teal); }
  .flow-core { order: 3; }
  .flow-use { order: 5; }
  .flow-note { order: 10; grid-column: auto; margin-top: 36px; padding: 14px 0 0; border-top: 1px solid var(--border); }
  .flow-note p { font-size: 14px; }
  .flow-note--return { border-top-color: var(--amber); }
  [data-f~="lp"], .flow-loop-row { display: none; }
  .legal-layout, .article-layout { grid-template-columns: 200px minmax(0,1fr); gap: 56px; }
}

@media (max-width: 900px) {
  :root { --gut: 30px; --sy: .74; --ar-wide: 16 / 9; }
  .page-heading { max-width: none; font-size: clamp(38px,8.4vw,52px); }
  .section-heading { max-width: none; font-size: clamp(28px,4.4vw,34px); }
  .section-band__heading { max-width: 22ch; font-size: clamp(30px,4.8vw,40px); }
  .lead { max-width: none; font-size: clamp(17px,2.2vw,19px); }
  .site-footer__grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__company { justify-self: start; }
  .section-split, .section-band__inner, .newsletter-band__inner { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .flow-sources { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .flow-sources > * + * { position: relative; }
  .flow-sources > * + *::before { position: absolute; top: -31px; left: 50%; width: 1px; height: 30px; background: var(--muted); content: ''; }
  .flow-core__grid, .flow-use__grid { grid-template-columns: 1fr 1fr; }
  .comparison { grid-template-columns: minmax(0,1fr) 1fr 1fr; }
  .use-cases, .resource-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .featured-resource, .resource-title { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .featured-resource__image { min-height: 320px; }
  .article-layout { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .article-aside { position: static; }
  .article-toc { columns: 2; }
  .legal-layout { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .legal-aside { position: static; }
}

@media (max-width: 640px) {
  :root { --gut: 20px; --sy: .62; --ar-wide: 5 / 4; --ar-doc: 4 / 3; }
  .section-band::before, .drafting-grid::before { background-position: 0 0; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__actions .button { width: 100%; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 36px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .form-field--full { grid-column: auto; }
  .companyos-wpform #wpforms-35 .wpforms-field-container { grid-template-columns: minmax(0,1fr); }
  .companyos-wpform #wpforms-35 .wpforms-field-textarea { grid-column: auto; }
  .chrome-bar { flex-wrap: wrap; gap: 4px 14px; padding: 9px 14px; }
  .chrome-panel__body { padding: 18px 16px 20px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: minmax(0,1fr); padding-top: 0; padding-left: 0; border-top: 0; border-left: 1px solid var(--tl-stage-ink); }
  .timeline__item { padding: 0 0 26px 22px; }
  .timeline__item::before { top: 3px; left: -4px; }
  .comparison { grid-template-columns: 1fr 1fr; }
  .comparison__head:first-child { display: none; }
  .comparison__label { grid-column: 1 / -1; padding-bottom: 4px !important; border-top: 1px solid var(--ink) !important; }
  .flow-diagram { grid-template-columns: minmax(0,1fr); }
  .flow-core__grid, .flow-use__grid { grid-template-columns: minmax(0,1fr); }
  .flow-core__grid > *, .flow-use__grid > * { padding: 15px 16px 17px; }
  .flow-note { margin-top: 28px; }
  .flow-note--capture { margin-top: 40px; }
  .use-cases, .team-grid, .resource-grid, .related-grid { grid-template-columns: minmax(0,1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
  .register__row { grid-template-columns: 44px minmax(0,1fr); }
  .register__copy { grid-column: 2; padding-top: 0; }
  .media-frame__caption { flex-wrap: wrap; }
  .newsletter-band__form, .resource-search, .search-form { flex-direction: column; }
  .resource-search { align-items: stretch; }
  .newsletter-band__form .button { width: 100%; }
  .filter-row { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .article-meta { grid-template-columns: 1fr 1fr; }
  .article-toc { columns: 1; }
  .content-list__item { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .contact-list__row { grid-template-columns: 92px minmax(0,1fr); }
}

@media (max-width: 380px) {
  :root { --gut: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  button, .button, .site-footer__cta, .filter-chip, .pagination .page-numbers,
  .companyos-wpform #wpforms-35 button.wpforms-submit { transition: none !important; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .amber-rule--hero { animation: none !important; transform: none !important; }
  .legal-title-rule { animation: none !important; transform: none !important; }
  [data-motion], [data-flow], [data-a], [data-b], [data-f] { opacity: 1 !important; transform: none !important; }
  [data-f~="tick"] { display: none !important; }
}

/* Platform and Company links share the existing footer navigation column. */
.site-footer__links + .site-footer__heading { margin-top: 32px; }
