/* CADmore site design system (2026-12, draft v1)
   Brand kit tokens (brand-templates/README.md): Source Sans 3, blue #2F4AC8, crimson for small labels only,
   ink #2F2F2D, hairline rules, tint panels, flat geometry: no gradients, shadows or rounded shapes. */

:root {
  --blue: #2F4AC8;
  --blue-dark: #2539A3;
  --navy: #1C2B7A;
  --navy-card: #26378F;
  --navy-line: rgba(255, 255, 255, 0.16);
  --on-navy: #D9DFF8;
  --on-navy-label: #AEBDF7;
  --crimson: #D12B57;
  --ink: #2F2F2D;
  --muted: #66686A;
  --rule: #E2E3E4;
  --rule-strong: #C9CBCD;
  --tint: #EEF1FC;
  --tint-line: #D9E0F8;
  --paper: #FFFFFF;
  --good: #2F7D51;
  --good-tint: #E4F1E9;
  --neutral-tint: #EDEDEC;
  --radius: 2px;
  --container: 1160px;
  --gutter: 24px;
  --font: 'Source Sans 3', 'Source Sans Pro', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; } /* anchors land below the sticky header */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: 38px; line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 14px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: #FFFFFF; }
.section--tight { padding: 72px 0; }

.kicker { display: block; font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--crimson); margin-bottom: 14px; }
.section--navy .kicker { color: var(--on-navy-label); }
.lead { font-size: 18px; color: var(--ink); max-width: 60ch; }
.muted { color: var(--muted); }

/* Buttons: one shape, four colourways */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--font); padding: 15px 22px; border-radius: var(--radius);
  border: 1px solid var(--blue); background: var(--blue); color: #FFFFFF; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #FFFFFF; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn--light { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); color: var(--blue-dark); }
.btn--ink { background: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: #000000; border-color: #000000; }
.btn .arrow { font-weight: 400; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Price tags */
.chip { display: inline-block; font-size: 12px; line-height: 1; font-weight: 700; padding: 5px 8px; border-radius: var(--radius); white-space: nowrap; }
.chip--free { background: var(--good-tint); color: var(--good); }
.chip--price { background: #DCE3FB; color: var(--blue-dark); }
.chip--quote { background: var(--neutral-tint); color: #5B5D5E; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__bar { display: flex; align-items: center; gap: 40px; height: 84px; }
.site-header__logo { display: block; flex-shrink: 0; }
.site-header__logo img { display: block; height: 50px; width: auto; }
.nav { display: flex; align-self: stretch; gap: 12px; margin-left: 24px; }
.nav__item { display: flex; }
.nav__top { display: inline-flex; align-items: center; gap: 6px; font: 600 16px/1 var(--font); color: var(--ink); background: none; border: 0;
  padding: 0 14px; cursor: pointer; text-decoration: none; border-radius: 0; }
.nav__top:hover, .nav__item.is-open > .nav__top, .nav__top[aria-current="page"],
.nav__item:has(.nav__link[aria-current="page"]) > .nav__top { color: var(--blue); }
.nav__link[aria-current="page"] strong { color: var(--blue); }
.nav__caret { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
/* Dropdown: a full-width band under the header (the header is the positioned box it hangs from) */
.nav__panel { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 36px max(var(--gutter), calc((100% - var(--container)) / 2)) 40px; display: none; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
.nav__item.is-open > .nav__panel { display: grid; }
.nav__panel-intro { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; padding-top: 12px; }
.nav__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 40px; align-content: start; }
.nav__links:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav__link { display: block; padding: 12px 14px; text-decoration: none; border-radius: var(--radius); }
.nav__link:hover { background: var(--tint); }
.nav__link strong { display: block; font-size: 16px; color: var(--ink); }
.nav__link span { display: block; font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.site-header__signin { font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none; }
.site-header__signin:hover { color: var(--blue); }
.site-header__actions .btn { padding: 13px 20px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius);
  width: 44px; height: 40px; cursor: pointer; padding: 0; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative; content: ''; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 36px 0; font-size: 15px; color: var(--muted); }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.site-footer__logo img { height: 24px; width: auto; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }
.site-footer__end { margin-left: auto; }

/* Inventors page --------------------------------------------------------- */
.inv-hero, .page-hero { background: var(--tint); padding: 80px 0 88px; }
.inv-hero__grid, .page-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.inv-hero h1, .page-hero h1 { margin-bottom: 22px; }
.inv-hero .lead, .page-hero .lead { margin-bottom: 30px; }

/* drawing sheet: real CADmore line drawing on drafting grid */
.sheet { position: relative; background-color: var(--paper); border: 1px solid var(--tint-line); padding: 22px 22px 26px;
  background-image: linear-gradient(var(--tint) 1px, transparent 1px), linear-gradient(90deg, var(--tint) 1px, transparent 1px);
  background-size: 22px 22px; background-position: -1px -1px; }
.sheet__label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.sheet__img { margin: 18px auto 6px; width: 86%; mix-blend-mode: multiply; }
.sheet__note { position: absolute; left: -18px; bottom: 28px; background: var(--ink); color: #FFFFFF; padding: 12px 16px; max-width: 250px; }
.sheet__note strong { display: block; font-size: 17px; line-height: 1.25; }
.sheet__note span { display: block; font-size: 13px; line-height: 1.4; color: #CFD0D1; margin-top: 3px; }

.inv-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.inv-head p { color: var(--muted); max-width: 46ch; }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.stage { background: var(--tint); border: 1px solid var(--tint-line); padding: 20px 22px 22px; display: flex; flex-direction: column; }
.stage__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stage__num { font-size: 26px; font-weight: 600; line-height: 1; color: #8E9AD2; font-variant-numeric: tabular-nums; }
.stage h3 { margin-bottom: 6px; }
.stage p { font-size: 15px; line-height: 1.5; color: var(--muted); }

.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.portrait { width: 100%; height: auto; background: var(--ink); }
.portrait__caption { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.founder h2 { margin-bottom: 20px; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; list-style: none; margin: 40px 0 0; padding: 0; }
.point { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.point h3 { margin-bottom: 6px; }
.point p { font-size: 16px; line-height: 1.55; color: var(--muted); }
/* A line icon above a point's title (Lucide, ISC licence, src/assets/img/icons; blue, 1.5 stroke baked into each file).
   A point with an icon drops the hairline. */
.point__icon { display: block; width: 44px; height: 44px; margin-bottom: 16px; }
.point:has(> .point__icon) { border-top: 0; padding-top: 0; }
@media (max-width: 680px) { .point__icon { width: 40px; height: 40px; margin-bottom: 12px; } }

.faq { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--tint-line); }
.faq__list details:first-child { border-top: 1px solid var(--tint-line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: baseline; padding: 20px 0; font-size: 19px; font-weight: 600; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: ''; flex: none; width: 0; height: 0; border-left: 7px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; transform: translateY(-2px); }
.faq__list details[open] summary::before { transform: translateY(-2px) rotate(90deg); }
.faq__list details p { padding: 0 0 22px 21px; color: var(--muted); max-width: 62ch; }

/* quote form: a centred heading over the design.cadmore.com project form, one column (Davis: text as a header, not two boxes) */
.section.consult-wrap { padding-top: 0; scroll-margin-top: 32px; } /* .section.x so the phone .section padding doesn't undo it */
.consult-band { max-width: 800px; margin: 0 auto; }
.consult-band__text { text-align: center; margin-bottom: 28px; }
.consult-band h2 { margin-bottom: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.checks li { position: relative; padding-left: 24px; }
.checks li::before { content: ''; position: absolute; left: 4px; top: 3px; width: 6px; height: 12px; border: solid var(--blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* The embed doesn't report its height, so it gets a fixed one per width band. Measured 2026-12-04:
   1102px tall when 520-772px wide (964 at 992), 1390px at 448-480, 1443-1505px at 328-398. */
.consult-embed { display: block; width: 100%; height: 1160px; border: 1px solid var(--tint-line); background: var(--paper); }

/* Header: menu button below 1181px */
@media (max-width: 1180px) {
  html { scroll-padding-top: 72px; }
  .site-header__bar { height: 72px; }
  .site-header__logo img { height: 40px; }
  .nav, .site-header__actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.is-open .nav, .site-header.is-open .site-header__actions { display: flex; }
  .site-header.is-open { max-height: 100vh; max-height: 100dvh; overflow-y: auto; }
  .site-header.is-open .site-header__bar { flex-wrap: wrap; height: auto; padding-top: 16px; padding-bottom: 16px; }
  .site-header.is-open .nav { order: 3; width: 100%; flex-direction: column; align-items: stretch; margin: 8px 0 0; }
  .site-header.is-open .site-header__actions { order: 4; width: 100%; margin: 8px 0 8px; justify-content: space-between; }
  .nav__item { display: block; }
  .nav__top { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav__panel { position: static; border: 0; padding: 6px 0 12px; }
  .nav__item.is-open > .nav__panel { display: block; }
  .nav__panel-intro { display: none; }
  .nav__links, .nav__links:not(:has(> :nth-child(4))) { grid-template-columns: 1fr; gap: 2px; }
  .nav__link { padding: 10px 10px; }
  .nav__link span { font-size: 14px; }
  .nav { gap: 0; }
}

/* Tablet */
@media (max-width: 1040px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .inv-hero__grid, .page-hero__grid, .founder, .faq { grid-template-columns: 1fr; gap: 44px; }
  .inv-head { grid-template-columns: 1fr; align-items: start; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .founder .portrait { max-width: 360px; }
  .sheet__note { left: 22px; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 17px; }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .section { padding: 64px 0; }
  .inv-hero, .page-hero { padding: 48px 0 60px; }
  .stages, .points { grid-template-columns: 1fr; }
  .sheet__note { position: relative; left: 0; bottom: 0; max-width: none; margin-top: 12px; }
  .consult-band__text { margin-bottom: 20px; }
  .btn { white-space: normal; justify-content: center; }
  /* full-width buttons on phones: easier to tap, and stacked buttons line up */
  .btn-row { flex-direction: column; }
  .site-footer__end { margin-left: 0; }
  /* shorter sticky header and sections, so more of the page fits on screen */
  html { scroll-padding-top: 60px; }
  .site-header__bar { height: 60px; }
  .site-header__logo img { height: 34px; }
  .menu-toggle { width: 40px; height: 36px; }
  .section { padding: 52px 0; }
  .section--tight { padding: 48px 0; }
  .inv-hero, .page-hero { padding: 36px 0 48px; }
  /* stage cards: number, name and price on one line, description under the name */
  .stages { gap: 10px; }
  .stage { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 4px; align-items: start; padding: 14px 14px 16px; }
  .stage__top { display: contents; }
  .stage__num { grid-column: 1; grid-row: 1 / span 2; font-size: 20px; padding-top: 1px; }
  .stage .chip { grid-column: 3; grid-row: 1; font-size: 11px; padding: 4px 6px; margin-top: 1px; }
  .stage h3 { grid-column: 2; grid-row: 1; margin: 0; font-size: 17px; }
  .stage p { grid-column: 2 / span 2; grid-row: 2; }
  /* founder photo: smaller */
  .founder { gap: 28px; }
  .founder .portrait { max-width: 220px; }
}

/* Narrow screens: the embed's fields go one per line, so it gets taller */
@media (max-width: 551px) { .consult-embed { height: 1480px; } }
@media (max-width: 430px) { .consult-embed { height: 1560px; } }

/* ==========================================================================
   Shared page components (2026-12-04): the pages moved from the HubSpot theme.
   Same language as /inventors: tint bands, hairline rules, flat 2px corners, blue actions,
   crimson only in kickers. Line icons on feature points (Davis wants icons; Lucide set);
   no shadows or gradients. Reference: src/COMPONENTS.md
   ========================================================================== */

/* Hero over a looping background video (home, careers, scanning), as the HubSpot pages had it */
.video-hero { position: relative; overflow: hidden; display: flex; align-items: center; background: #1C2030;
  min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); padding: 96px 0; }
.video-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(16, 19, 31, 0.36); } /* white text stays readable on bright frames */
.video-hero__content { position: relative; z-index: 2; width: 100%; }
.video-hero__text { max-width: 680px; }
.video-hero h1 { color: #FFFFFF; margin-bottom: 22px; }
.video-hero .lead { color: #FFFFFF; margin-bottom: 34px; }
.video-hero .kicker { color: #DCE3FB; }
@media (max-width: 1180px) { .video-hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); } }
@media (max-width: 680px) { .video-hero { min-height: calc(100vh - 60px); min-height: calc(100svh - 60px); padding: 64px 0; } }
@media (prefers-reduced-motion: reduce) { .video-hero__media { display: none; } }

/* Hero extras: several paragraphs of lead text; centred hero when a page has no picture */
.page-hero .lead + .lead { margin-top: -16px; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .btn-row { justify-content: center; }
.sheet--photo .sheet__img { width: 100%; margin: 14px 0 0; mix-blend-mode: normal; }
.sheet__media { display: block; width: 100%; margin-top: 14px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink); }
.sheet--plain { padding: 0; background: none; border: 0; }
.sheet--plain .sheet__img { width: 100%; margin: 0; }

/* Section heading block: kicker, h2, optional intro */
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head > p { margin-top: 16px; color: var(--muted); }
.section-head > p + p { margin-top: 12px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head--split > p { margin-top: 0; max-width: 46ch; }
.section-head .btn-row { margin-top: 24px; }
.section-head--center .btn-row { justify-content: center; }

/* Points: 2, 3 (default) or 4 across */
.points--2 { grid-template-columns: repeat(2, 1fr); }
.points--4 { grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.section-head + .points, .section-head + .steps, .section-head + .cards, .section-head + .logo-marquee,
.section-head + .quotes, .section-head + .cases, .section-head + .price-cards, .section-head + .jobs,
.section-head + .gallery, .section-head + .showcase { margin-top: 0; }
.point ul, .point ol { margin: 10px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.point li + li { margin-top: 6px; }
.point li strong { color: var(--ink); }
.point .btn-row, .point .text-link { margin-top: 14px; }

/* Rich text inside a column */
.rich > * + * { margin-top: 14px; }
.rich h3 { margin-top: 28px; }
.rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 22px; }
.rich li + li { margin-top: 6px; }
.rich .btn-row { margin-top: 28px; }
.rich > .kicker + * { margin-top: 0; }
.rich h2, .split .rich h2 { margin-bottom: 0; }
.rich > h2 + * { margin-top: 18px; }

/* Text + picture side by side */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
.split h2 { margin-bottom: 18px; }
.split .btn-row { margin-top: 28px; }
.split__media img { width: 100%; }
.split__media--framed { border: 1px solid var(--tint-line); background: var(--paper); }

/* Plain text link with an arrow */
.text-link { display: inline-block; font-weight: 700; font-size: 16px; text-decoration: none; }
.text-link::after { content: ' \2192'; }
.text-link:hover { text-decoration: underline; }
.text-link--bare::after { content: none; } /* the link text already ends in an arrow */

/* Customer and partner logos scrolling in one row, as on the HubSpot pages (site.js adds the copies and starts it).
   The logo files are already grey. Without JS or with reduced motion they sit still in centred rows. */
.logo-marquee { margin-top: 40px; overflow: hidden; }
.logo-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.logo-marquee__track li { flex: none; width: 180px; padding: 0 16px; }
.logo-marquee__track img { display: block; width: 100%; height: auto; }
.logo-marquee.is-running .logo-marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content;
  animation: logo-scroll var(--logo-time, 45s) linear infinite; }
.logo-marquee.is-running:hover .logo-marquee__track { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(var(--logo-shift, -50%)); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee.is-running .logo-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-marquee__track [data-copy] { display: none; }
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.quotes--1 { grid-template-columns: minmax(0, 820px); }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--tint-line); padding: 28px 30px; display: flex; flex-direction: column; }
.quote p { font-size: 20px; line-height: 1.5; color: var(--ink); }
.quote cite, .quote footer { display: block; margin-top: auto; padding-top: 18px; font-style: normal; font-size: 13px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.quote cite strong, .quote footer strong { display: block; color: var(--ink); letter-spacing: 0; text-transform: none; font-size: 16px; }

/* Cards: resources, case studies, related links */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 40px 0 0; padding: 0; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper); border: 1px solid var(--rule); padding: 24px 26px 26px; display: flex; flex-direction: column; }
.section--tint .card { border-color: var(--tint-line); }
.card__img { display: block; width: calc(100% + 52px); max-width: none; margin: -24px -26px 22px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--tint); }
.card .kicker { margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card .text-link, .card .btn-row { margin-top: auto; padding-top: 18px; }
.card .btn-row .btn { padding: 12px 18px; }

/* Call-to-action band */
.cta-band { background: var(--blue); color: #FFFFFF; padding: 72px 0; text-align: center; }
.cta-band h2 { color: #FFFFFF; max-width: 860px; margin: 0 auto; }
.cta-band p { max-width: 62ch; margin: 16px auto 0; color: #E3E8FB; }
.cta-band .kicker { color: #DCE3FB; } /* crimson doesn't read on blue; this passes 4.5:1 */
.cta-band .btn-row { justify-content: center; margin-top: 30px; }
.btn--outline-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue); }

/* Customer stories (the HubSpot pages showed these as tabs): label left, story right, one per row */
.cases { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.case { display: grid; grid-template-columns: 3fr 9fr; gap: 12px 48px; padding: 30px 0 32px; border-bottom: 1px solid var(--rule); }
.case__label { font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--crimson); padding-top: 5px; }
.case h3 { font-size: 23px; margin-bottom: 10px; }
.case p { color: var(--muted); max-width: 68ch; }
.case .btn-row { margin-top: 20px; }
.case .btn-row .btn { padding: 12px 18px; }
.section--tint .cases { border-color: var(--tint-line); }
.section--tint .case { border-color: var(--tint-line); }

/* Price cards */
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.price-card { background: var(--paper); border: 1px solid var(--rule-strong); padding: 30px 32px 32px; display: flex; flex-direction: column; }
.price-card--featured { border: 2px solid var(--blue); padding: 29px 31px 31px; }
.price-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price-card h3 { font-size: 22px; }
.price-card__price { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-top: 20px; font-variant-numeric: tabular-nums; }
.price-card__note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.price-card__desc { font-size: 16px; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.price-card .checks { margin-top: 20px; }
.price-card .btn-row { margin-top: auto; padding-top: 26px; }
.checks--list { flex-direction: column; justify-content: flex-start; gap: 10px; }

/* Numbered steps (a real sequence only) */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; }
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); gap: 36px 32px; }
.step { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.step__num { display: block; font-size: 26px; font-weight: 600; line-height: 1; color: #8E9AD2; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.step p + p { margin-top: 10px; }
.step ul { margin: 10px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.section--tint .step { border-color: var(--tint-line); }

/* Jobs */
.jobs { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.job h3 { font-size: 21px; }
.job p { grid-column: 1; font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 75ch; }
.job .chip, .job .job__status { grid-column: 2; grid-row: 1; align-self: start; }
.chip--muted { background: var(--neutral-tint); color: #5B5D5E; }

/* FAQ answers with more than one paragraph or a list */
.faq__answer { padding: 0 0 22px 21px; color: var(--muted); max-width: 62ch; }
.faq__answer p { padding: 0; }
.faq__answer > * + * { margin-top: 12px; }
.faq__answer ul, .faq__answer ol { padding-left: 20px; }
.faq__answer li + li { margin-top: 6px; }
.faq--wide { grid-template-columns: 3fr 8fr; }

/* Long-form text: case studies, announcements */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; margin-top: 52px; }
.prose h3 { font-size: 21px; margin-top: 36px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose img, .prose figure { margin-top: 32px; margin-bottom: 16px; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.prose blockquote { margin: 32px 0; padding-left: 20px; border-left: 2px solid var(--blue); font-size: 20px; line-height: 1.5; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); }
.prose-wrap { overflow-x: auto; }

/* Video and other embeds */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.container > .video:only-child { max-width: 960px; margin-inline: auto; } /* a video on its own in a section */
.embed-frame { display: block; width: 100%; border: 1px solid var(--tint-line); background: var(--paper); }

/* Picture grids */
.gallery { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a, .gallery img { display: block; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--tint); }
.showcase { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
.showcase--4 { grid-template-columns: repeat(4, 1fr); }
.showcase__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); border: 1px solid var(--rule); }
.showcase__item .kicker { margin: 16px 0 6px; }
.showcase__item p { font-size: 16px; line-height: 1.5; color: var(--ink); }

/* HubSpot meetings calendars, side by side (a single calendar gets the full width) */
.meetings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.meetings:has(> .meetings__item:only-child) { grid-template-columns: minmax(0, 1fr); }
.meetings__item { border: 1px solid var(--tint-line); background: var(--paper); min-height: 640px; }
.meetings__item iframe { display: block; width: 100%; border: 0; }

/* HubSpot forms (raw HTML, css: '' in the embed options), styled like the rest of the site */
.hs-form-wrap { max-width: 760px; background: var(--paper); border: 1px solid var(--tint-line); padding: 32px 34px 34px; }
.hs-form-wrap .hs-form fieldset { max-width: none !important; border: 0; margin: 0; padding: 0; display: flex; gap: 0 16px; }
.hs-form-wrap .hs-form fieldset > div { flex: 1 1 0; min-width: 0; width: auto !important; float: none !important; }
.hs-form-wrap .hs-form-field { margin-bottom: 18px; }
.hs-form-wrap .hs-form-field > label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.hs-form-wrap .hs-form-required { color: var(--crimson); margin-left: 2px; }
.hs-form-wrap .hs-field-desc { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.hs-form-wrap .input { margin: 0 !important; }
.hs-form-wrap .hs-input:not([type=checkbox]):not([type=radio]) { width: 100% !important; font: 16px/1.4 var(--font); color: var(--ink); background: #FFFFFF;
  padding: 11px 12px; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.hs-form-wrap textarea.hs-input { min-height: 130px; resize: vertical; }
.hs-form-wrap select.hs-input { appearance: auto; }
.hs-form-wrap .hs-input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.hs-form-wrap .hs-input.invalid.error { border-color: var(--crimson); }
.hs-form-wrap .inputs-list { list-style: none; margin: 0; padding: 0; }
.hs-form-wrap .inputs-list label { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.hs-form-wrap input[type=checkbox], .hs-form-wrap input[type=radio] { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--blue); flex: none; }
.hs-form-wrap .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.hs-form-wrap .hs-error-msgs label, .hs-form-wrap .hs-error-msg { font-size: 14px; font-weight: 400; color: var(--crimson); }
.hs-form-wrap .hs-richtext, .hs-form-wrap .legal-consent-container { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 14px; }
.hs-form-wrap .hs_submit { margin-top: 8px; }
.hs-form-wrap .hs-button { font: 700 15px/1 var(--font); padding: 15px 22px; border-radius: var(--radius); border: 1px solid var(--blue);
  background: var(--blue); color: #FFFFFF; cursor: pointer; -webkit-appearance: none; appearance: none; }
.hs-form-wrap .hs-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.hs-form-wrap .submitted-message { font-size: 17px; color: var(--ink); }
.hs-form-wrap .submitted-message > * + * { margin-top: 12px; }

/* Components: tablet */
@media (max-width: 1040px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .split, .split--top { grid-template-columns: 1fr; gap: 40px; }
  .split--flip > :first-child { order: 0; }
  .points--4, .steps, .steps--4, .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .case { grid-template-columns: 1fr; gap: 8px; }
  .case__label { padding-top: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .faq--wide { grid-template-columns: 1fr; }
}

/* Components: phone */
@media (max-width: 680px) {
  .hide-phone { display: none !important; }
  .sheet:has(.sheet__media) { padding: 10px; }
  .sheet:has(.sheet__media) .sheet__media { margin-top: 0; }
  .section-head { margin-bottom: 28px; }
  .points--2, .points--4, .steps, .steps--2, .steps--4, .cards, .cards--2, .cards--4, .quotes, .price-cards, .meetings { grid-template-columns: 1fr; }
  .logo-marquee__track li { width: 130px; padding: 0 10px; }
  .quote { padding: 22px 22px; }
  .quote p { font-size: 18px; }
  .card { padding: 20px 20px 22px; }
  .card__img { width: calc(100% + 40px); margin: -20px -20px 18px; }
  .cta-band { padding: 52px 0; }
  .case { padding: 22px 0 24px; }
  .case h3 { font-size: 20px; }
  .price-card, .price-card--featured { padding: 22px 20px 24px; }
  .price-card--featured { padding: 21px 19px 23px; }
  .price-card__price { font-size: 38px; }
  .job { grid-template-columns: 1fr; padding: 20px 0; }
  .job .chip, .job .job__status { grid-column: 1; grid-row: auto; justify-self: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .prose h2 { font-size: 25px; margin-top: 40px; }
  .hs-form-wrap { padding: 22px 18px 24px; }
  .hs-form-wrap .hs-form fieldset { display: block; }
  .meetings__item { min-height: 560px; }
}

/* Ad-test page B (/inventors-b, 2026-12-04): figures, a portrait in the hero, lists in cards */
.page-hero .checks { justify-content: flex-start; margin-top: 28px; }
.hero-portrait .portrait { max-width: 440px; }
.hero-portrait figcaption { margin-top: 12px; max-width: 440px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.hero-portrait figcaption strong { display: block; color: var(--ink); }
.card ul { margin: 6px 0 0; padding-left: 20px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.card li + li { margin-top: 6px; }
.card p + ul { margin-top: 12px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 36px; list-style: none; margin: 40px 0 0; padding: 0; }
.section-head + .stats { margin-top: 0; }
.stats--band { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.stat { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.stat__value { display: block; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 6px; font-weight: 700; color: var(--ink); }
.stat p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.section--navy .stat { border-top-color: var(--navy-line); }
.section--navy .stat__value { color: #FFFFFF; }
.section--navy .stat__label { font-weight: 400; color: var(--on-navy); }
.split + .steps { margin-top: 48px; }
.btn-row--after { margin-top: 32px; }
.faq__intro { margin-top: 16px; color: var(--muted); }
.faq .btn-row { margin-top: 24px; }
.consult-band__note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 1040px) { .stats { grid-template-columns: repeat(3, 1fr); } .stats--band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .stats, .stats--band { grid-template-columns: 1fr 1fr; gap: 24px 20px; } .stat__value { font-size: 30px; } .hero-portrait .portrait { max-width: 260px; } }
