/* ==========================================================================
   Agency website — V7.1 design system
   Hand-maintained companion to the generated v7-utilities.css.
   Load order: v7-utilities.css first, then this file (same specificity,
   later wins), so everything here can refine or override a utility.
   Sections: 1 base · 2 header/nav · 3 footer · 4 forms · 5 components ·
             6 responsive (tablet ≤1023, mobile ≤767, small ≤479) · 7 a11y/print
   ========================================================================== */

/* 1 ▸ base ---------------------------------------------------------------- */
:root {
  --font-body: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: Outfit, Poppins, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --nav-height: 72px;
  --nav-break: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img, svg, video { max-width: 100%; }
svg { flex-shrink: 0; }
button { font: inherit; color: inherit; }
.v7-page { min-width: 0; }

/* Interactive polish not expressible in the static design */
a.bg-accent:hover, button.bg-accent:hover { background: var(--accent-hover); color: var(--white); }
a.c-accent.td-none:hover { color: var(--accent-dark); }
a.c-ink.td-none:hover, a.c-ink.td-none:hover > span { color: var(--accent); }
a.rad-full.b-line:hover, a.rad-10.b-line:hover, a.rad-full.b-ink16:hover { border-color: var(--ink); color: var(--ink); }
a.c-muted.td-none:hover { color: var(--ink); }
a.bg-white.b-line4:hover { border-color: var(--ink); color: var(--ink); }
a.c-white:hover { color: var(--white); }

/* Balanced line breaks keep the last word of a heading from sitting alone (the `.balance` utility covers only a few). */
h1, h2, h3 { text-wrap: balance; }

/* 2 ▸ header / navigation -------------------------------------------------- */
.v7-header { position: relative; z-index: 50; }
.v7-nav { position: relative; }
.v7-logo svg { display: block; }
.v7-nav-toggle { display: none; }
.v7-menu { display: contents; }
.v7-menu-trigger {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-body);
}
.v7-menu-trigger svg { transition: transform .18s ease; }
.v7-menu-trigger:hover { color: var(--accent); }
.v7-menu-item.is-open > .v7-menu-trigger,
.v7-menu-item.has-current > .v7-menu-trigger { color: var(--accent); }
.v7-menu-item.is-open > .v7-menu-trigger svg { transform: rotate(180deg); }
.v7-panel { display: none; }
.v7-menu-item.is-open > .v7-panel { display: flex; }
/* keep the panel reachable while the pointer crosses the 12px gap */
.v7-menu-item::after { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 14px; display: none; }
.v7-menu-item.is-open::after { display: block; }
.v7-panel-link:hover { color: var(--accent); }
.v7-panel-link.is-current { color: var(--accent); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v7-panel-link.is-current::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); display: inline-block; flex: none; }
.v7-nav-cta:hover { background: var(--accent-hover); color: var(--white); }
.v7-nav-login:hover { color: var(--accent-dark); }
/* 6a-ii · just above the drawer breakpoint (1100–1199px) the full nav is 1,036px wide: keep every trigger and
   the CTA on one line, tighten the gaps, and pin the 876px Impact panel to the right edge instead of centring it. */
@media (min-width: 1100px) and (max-width: 1199px) {
  .v7-nav-links { gap: 18px; }
  .v7-menu-trigger, .v7-nav-cta, .v7-nav-login { white-space: nowrap; }
  .v7-nav-cta { padding: 12px 14px; }
  .v7-nav-actions { gap: 16px; }
  /* The 876px Impact panel cannot centre under its trigger here: position it against the nav bar (the item
     becomes static so .v7-nav is the containing block) and align it to the right edge. */
  .v7-menu-item[data-menu="impact"] { position: static; }
  .v7-menu-item[data-menu="impact"]::after { left: 0; right: 0; }
  .v7-menu-item[data-menu="impact"] > .v7-panel { left: auto; right: 0; transform: none; }
}

/* 3 ▸ footer ---------------------------------------------------------------- */
.v7-footer a.c-ink:hover { color: var(--accent); }
.v7-footer a.c-muted:hover { color: var(--ink); }

/* 4 ▸ forms (HubSpot embeds rendered into the designed form card) ---------- */
.v7-form-card .hs-form-embed { min-height: 120px; }
.v7-form-card .hs-form fieldset { max-width: none; border: 0; margin: 0; padding: 0; }
.v7-form-card .hs-form .form-columns-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v7-form-card .hs-form .form-columns-1 { display: grid; gap: 12px; margin-top: 12px; }
.v7-form-card .hs-form .form-columns-2 .hs-form-field,
.v7-form-card .hs-form .form-columns-1 .hs-form-field { width: 100% !important; float: none; padding: 0; }
.v7-form-card .hs-form .hs-form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.v7-form-card .hs-form label { font-size: 12px; font-weight: 500; color: var(--ink); }
.v7-form-card .hs-form .hs-form-required { color: var(--accent); }
.v7-form-card .hs-form .input { margin: 0 !important; }
.v7-form-card .hs-form .hs-input {
  width: 100% !important; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line4); border-radius: 8px;
  font-family: var(--font-body); font-size: 13px; color: var(--ink); background: var(--white); outline: none;
}
/* one control height for text inputs, selects and date pickers: browsers size the three differently (a select with
   `appearance: none` came out 4px shorter than the text input beside it, a date input 2px taller) */
.v7-form-card .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]),
.v7-form-card .hs-form select.hs-input { height: 42px; line-height: 20px; padding-top: 0; padding-bottom: 0; }
/* an empty date picker shows its mm/dd/yyyy mask in the placeholder gray, like every other empty field
   (hs-form-submit.js keeps data-empty in step with the value) */
.v7-form-card .hs-form input[type="date"].hs-input[data-empty] { color: var(--gray); }
.v7-form-card .hs-form input[type="date"].hs-input { -webkit-appearance: none; appearance: none; text-align: left; }
.v7-form-card .hs-form input[type="date"].hs-input::-webkit-date-and-time-value { text-align: left; }
.v7-form-card .hs-form .hs-input::placeholder { color: var(--gray); }
.v7-form-card .hs-form .hs-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(205,56,93,0.12); }
.v7-form-card .hs-form textarea.hs-input { min-height: 72px; resize: vertical; }
.v7-form-card .hs-form select.hs-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.v7-form-card .hs-form input[type="checkbox"].hs-input, .v7-form-card .hs-form input[type="radio"].hs-input { width: auto !important; }
.v7-form-card .hs-form .inputs-list { list-style: none; margin: 0; padding: 0; }
.v7-form-card .hs-form .hs-error-msgs { list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--accent); }
.v7-form-card .hs-form .hs-error-msgs label { color: var(--accent); font-weight: 400; }
.v7-form-card .hs-form .hs_error_rollup { display: none; }
.v7-form-card .hs-form .legal-consent-container, .v7-form-card .hs-form .hs-richtext { font-size: 11.5px; color: var(--gray); line-height: 1.5; }
.v7-form-card .hs-form .hs-submit { margin-top: 4px; }
.v7-form-card .hs-form .hs-button {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; gap: 8px; cursor: pointer;
  background: var(--accent); color: var(--white); border: 0; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 18px; border-radius: 8px; transition: background .15s ease;
}
.v7-form-card .hs-form .hs-button:hover { background: var(--accent-hover); }
.v7-form-card .submitted-message { font-size: 14px; line-height: 1.6; color: var(--ink); padding: 8px 0; }
.v7-form-card .hs-form-embed[data-state="consent-required"], .v7-form-card .hs-form-embed[data-state="failed"] { font-size: 13px; line-height: 1.6; color: var(--body); }

/* first-party forms (scripts/v7/lib/hsforms.js + js/hs-form-submit.js): states the embed never had */
.v7-hs-form { display: flex; flex-direction: column; }
.v7-hs-form .v7-hs-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.v7-hs-form .hs-form-field.is-invalid .hs-input { border-color: var(--accent); }
.v7-hs-form .hs-button[disabled] { opacity: .7; cursor: default; }
.v7-hs-form .v7-hs-status[hidden], .v7-hs-form .v7-hs-success[hidden] { display: none; }
.v7-hs-form .v7-hs-status { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--accent); }
.v7-hs-form .v7-hs-success { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink); outline: none; }
.v7-hs-form .v7-hs-success strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.v7-hs-form .v7-hs-success .hs-button { margin-top: 8px; align-self: flex-start; text-decoration: none; }
.v7-hs-form .v7-hs-status a { color: inherit; text-decoration: underline; font-weight: 500; }
.v7-hs-form[data-hs-state="submitted"] .form-columns-1, .v7-hs-form[data-hs-state="submitted"] .form-columns-2, .v7-hs-form[data-hs-state="submitted"] .hs-submit { display: none; }
.v7-form-card--dark .v7-hs-success { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: var(--white); }
.v7-form-card--dark .v7-hs-status { color: var(--pink); }

/* dark variant (guide / checklist cards on the dark panel) */
.v7-form-card--dark .hs-form label { color: rgba(255,255,255,0.85); }
.v7-form-card--dark .hs-form .hs-input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: var(--white); }
.v7-form-card--dark .hs-form .hs-input::placeholder { color: rgba(255,255,255,0.45); }
.v7-form-card--dark .hs-form .hs-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(240,138,166,0.18); }
.v7-form-card--dark .hs-form select.hs-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f08aa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.v7-form-card--dark .hs-form .hs-button { font-size: 14px; padding: 13px 16px; }
.v7-form-card--dark .hs-form .hs-error-msgs, .v7-form-card--dark .hs-form .hs-error-msgs label { color: var(--pink); }
.v7-form-card--dark .hs-form .legal-consent-container, .v7-form-card--dark .hs-form .hs-richtext, .v7-form-card--dark .submitted-message { color: rgba(255,255,255,0.72); }
.v7-form-card--dark .hs-form-embed[data-state="consent-required"], .v7-form-card--dark .hs-form-embed[data-state="failed"] { color: rgba(255,255,255,0.72); }

/* checkbox groups (hsforms.js `checkboxes`): the group label is a <legend>; options with a description render as
   bordered tiles that take the accent when ticked (the renewal-offer service picker on /soc-2-renewal) */
.v7-form-card .hs-form legend { font-size: 12px; font-weight: 500; color: var(--ink); padding: 0; margin-bottom: 6px; } /* a legend is not a flex item, so the field's 6px gap never reached it */
/* first-party forms: one vertical rhythm. Field margins and row margins used to stack (12px between two paired rows,
   24px before a full-width row, 24px inside a pair once it collapsed to one column on phones). */
.v7-form-card .v7-hs-form .hs-form-field { margin-bottom: 0; }
/* paired fields line their controls up even when one label wraps to a second line */
.v7-form-card .v7-hs-form .form-columns-2 { align-items: end; }
.v7-form-card .v7-hs-form .form-columns-1, .v7-form-card .v7-hs-form .form-columns-2 { margin-top: 14px; row-gap: 14px; }
.v7-form-card .v7-hs-form > .form-columns-1:first-child, .v7-form-card .v7-hs-form > .form-columns-2:first-child { margin-top: 0; }
.v7-form-card .v7-hs-form .hs-submit { margin-top: 18px; }
.v7-form-card .hs-form .inputs-list--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.v7-form-card .hs-form .inputs-list--cards .hs-form-checkbox-display {
  display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; align-items: start; height: 100%;
  flex: 1 1 auto; min-width: 0; box-sizing: border-box; /* fill the grid cell: a short label must not shrink its tile */
  padding: 10px 12px; border: 1px solid var(--line4); border-radius: 8px; background: var(--white); cursor: pointer;
  font-size: 13px; line-height: 1.4; color: var(--ink); transition: border-color .15s ease, background-color .15s ease;
}
.v7-form-card .hs-form .inputs-list--cards li { display: flex; }
.v7-form-card .hs-form .inputs-list--cards .hs-form-checkbox-display:hover { border-color: var(--ink); }
.v7-form-card .hs-form .inputs-list--cards .hs-form-checkbox-display:has(input:checked) { border-color: var(--accent); background: var(--blush); }
.v7-form-card .hs-form .inputs-list--cards .hs-form-checkbox-display:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(205,56,93,0.12); }
.v7-form-card .hs-form .inputs-list--cards input[type="checkbox"].hs-input { margin: 2px 0 0; accent-color: var(--accent); }
.v7-form-card .hs-form .hs-form-checkbox-text { display: flex; flex-direction: column; gap: 2px; }
.v7-form-card .hs-form .hs-form-checkbox-text > span:first-child { font-weight: 500; }
.v7-form-card .hs-form .hs-form-checkbox-desc { font-size: 12px; line-height: 1.45; color: var(--muted); }

/* 5 ▸ components ------------------------------------------------------------ */
/* FAQ accordion (render.js, pages with faqStyle: 'accordion'): native <details>, styled like the FAQ rows */
.v7-faq-item > summary { list-style: none; cursor: pointer; }
.v7-faq-item > summary::-webkit-details-marker { display: none; }
.v7-faq-item > summary:hover { color: var(--accent); }
.v7-faq-chev { display: inline-flex; flex: none; }
.v7-faq-chev svg { transition: transform .18s ease; }
.v7-faq-item[open] > summary .v7-faq-chev svg { transform: rotate(180deg); }
.v7-faq-item > .v7-faq-a { padding: 0 0 18px; }
/* orbit diagrams: absolutely positioned nodes around a centre (see §6 for the stacked fallback) */
.v7-orbit { isolation: isolate; }
/* Hero cards with a centred stack (price card, contents list, stats, answer/definition cards): the mono
   caption at the bottom is absolutely positioned in the design, so a tall stack — or a caption that wraps to two
   lines — collides with it. Keep the caption in flow instead: it still sits 14px from the bottom edge, the stack is
   still centred in the space above it, and the card simply grows when the content is tall. */
.v7-orbit.col.jc-c { padding-bottom: 14px; }
.v7-orbit.col.jc-c > .abs.bottom-14, .v7-orbit.col.jc-c > .abs.bottom-16 { position: static; width: 100%; margin-top: 24px; }
.v7-orbit.col.jc-c > :not(.abs):first-child { margin-top: auto; }
.v7-orbit.col.jc-c > :not(.abs):has(+ .abs) { margin-bottom: auto; }
/* wide tables scroll instead of breaking the layout */
.v7-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.v7-table-wrap > table { min-width: 560px; }
/* renderTable `nowrapFirst`: row labels stay on one line once there is room for it */
@media (min-width: 768px) { .v7-nowrap-md { white-space: nowrap; } }
/* logo marquee ("Trusted by Thousands…"): one line of customer/partner logos scrolling continuously.
   Markup: scripts/v7/lib/logos.js — two identical .v7-logo-set runs; the track moves by exactly one run. */
.v7-logo-marquee { width: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 20px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.v7-logo-track { display: flex; width: max-content; animation: v7-marquee 100s linear infinite; }
.v7-logo-track--reverse { animation-direction: reverse; } /* bottom row scrolls right: the belt turns at the left edge */
.v7-logo-marquee:hover .v7-logo-track { animation-play-state: paused; }
.v7-logo-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; flex-shrink: 0; }
.v7-logo-set img { display: block; height: 28px; width: auto; max-width: 150px; object-fit: contain; }
@keyframes v7-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .v7-logo-track { animation: none; }
  .v7-logo-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .v7-logo-marquee::-webkit-scrollbar { display: none; }
}
/* phase tabs (home "Core services"): Step 1/2/3 filter the service cards; the selected step takes the design's dark tile look */
.v7-step { font: inherit; transition: border-color .15s, background-color .15s; }
.v7-step:hover { border-color: var(--ink); }
.v7-step[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.v7-step[aria-selected="true"] > span > span { color: var(--white); }
.v7-step[aria-selected="true"] > span > span:first-child { color: rgba(255,255,255,0.6); }
.v7-step[aria-selected="true"] svg { stroke: var(--pink); }
.v7-phase-pill.is-active { background: var(--ink); color: var(--white); }
.v7-phase-card[hidden] { display: none; }
/* skip link */
.v7-skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; font-size: 14px; text-decoration: none; }
.v7-skip:focus { top: 12px; color: var(--white); }

/* 6 ▸ responsive ------------------------------------------------------------ */

/* 6a · navigation collapses to a drawer below the nav breakpoint */
@media (max-width: 1099px) {
  .v7-nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0; margin-right: -8px; border: 0; background: none; cursor: pointer; border-radius: 8px;
  }
  .v7-nav-toggle-bar { display: block; width: 22px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .v7-header.is-open .v7-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .v7-header.is-open .v7-nav-toggle-bar:nth-child(2) { opacity: 0; }
  .v7-header.is-open .v7-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .v7-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    background: var(--white); border-bottom: 1px solid var(--line2); box-shadow: 0 30px 80px rgba(0,0,0,0.10);
    max-height: calc(100vh - var(--nav-height)); max-height: calc(100dvh - var(--nav-height)); overflow-y: auto;
    padding: 8px 32px 24px;
  }
  .v7-header.is-open .v7-menu { display: block; }
  .v7-header.is-open { border-bottom-color: transparent; }
  .v7-nav-links { display: block; height: auto; }
  .v7-menu-item { display: block; height: auto; position: static; border-bottom: 1px solid var(--line3); }
  .v7-menu-item::after { display: none !important; }
  .v7-menu-trigger { display: flex; width: 100%; justify-content: space-between; padding: 16px 0; font-size: 16px; }
  .v7-panel {
    position: static; transform: none; width: auto; padding: 0 0 16px; border: 0; border-radius: 0; box-shadow: none;
    flex-direction: column; gap: 16px;
  }
  .v7-menu-item.is-open > .v7-panel { display: flex; }
  .v7-panel-col { min-width: 0 !important; width: auto !important; }
  .v7-panel-divider { display: none; }
  .v7-panel-link { padding: 10px 0; font-size: 15px; }
  .v7-nav-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 20px; }
  .v7-nav-login { font-size: 16px; padding: 4px 0; }
  .v7-nav-cta { justify-content: center; padding: 14px 20px; font-size: 16px; }
  /* Scroll lock for the open drawer, on <body>: `html { overflow: hidden }` would make <body> its own scroll
     box, and the sticky header (§8b) would then stick to a box that never scrolls and leave the screen. */
  html.v7-menu-open body { overflow: hidden; }
}

/* 6b · tablet: 768–1023 */
@media (max-width: 1023px) {
  .v7-page p, .v7-page li { overflow-wrap: anywhere; }
  /* single-column layouts: a sticky Contents card would sit over the document (legal pages) */
  .v7-toc.sticky { position: static; }
  .fs-68 { font-size: 54px; }
  .fs-64 { font-size: 50px; }
  .fs-56 { font-size: 44px; }
  .fs-48 { font-size: 40px; }
  .fs-44 { font-size: 38px; }
  .fs-40 { font-size: 34px; }
  .fs-36 { font-size: 32px; }
  .fs-34 { font-size: 30px; }
  .p-96-32 { padding: 72px 28px; }
  .p-0-32-96 { padding: 0 28px 72px; }
  .p-96-32-56 { padding: 72px 28px 48px; }
  .p-56-32-88 { padding: 44px 28px 64px; }
  .p-56-32-96 { padding: 44px 28px 72px; }
  .p-48-32-64 { padding: 40px 28px 56px; }
  .p-120-32-120 { padding: 88px 28px; }
  .p-0-32-88 { padding: 0 28px 64px; }
  .p-16-32-0 { padding: 16px 28px 0; }
  .p-0-32 { padding: 0 28px; }
  .p-48-32 { padding: 40px 28px; }
  .p-64 { padding: 44px; }
  .gap-64 { gap: 40px; }
  .gap-56 { gap: 36px; }
}

/* 6c · mobile: ≤767 */
@media (max-width: 767px) {
  /* 24px tap targets for the small text links (breadcrumbs, footer columns) */
  .v7-crumbs a, .v7-footer-cols a, .v7-footer-bottom a { display: inline-block; padding: 5px 0; }
  /* price-card checklist: the tick stays on the text's line; the text wraps inside its own box */
  .v7-orbit .flex.ai-fstart.gap-8, .v7-orbit .flex.ai-c.gap-8.wrap { flex-wrap: nowrap; }
  .v7-orbit .flex.ai-fstart.gap-8 > span:last-child:not(:first-child), .v7-orbit .flex.ai-c.gap-8.wrap > span:last-child:not(:first-child) { flex: 1 1 0; min-width: 0; }
  /* comparison tables: readable column headings */
  .v7-table-wrap th { font-size: 11px; }
  .v7-g2-badges img { height: 96px; }
  .v7-cert-badges img { height: 60px; }
  .v7-logo-marquee { gap: 16px; }
  .v7-logo-set { gap: 40px; padding-right: 40px; }
  .v7-logo-set img { height: 24px; max-width: 128px; }
  :root { --nav-height: 64px; }
  .v7-nav { height: 64px; }
  .v7-header { padding: 0 20px; }
  .v7-menu { padding: 4px 20px 24px; }
  .fs-68 { font-size: 40px; letter-spacing: -0.02em; }
  .fs-64 { font-size: 38px; letter-spacing: -0.02em; }
  .fs-56 { font-size: 34px; }
  .fs-48 { font-size: 32px; }
  .fs-44 { font-size: 30px; }
  .fs-40 { font-size: 28px; }
  .fs-36 { font-size: 26px; }
  .fs-34 { font-size: 26px; }
  .fs-32 { font-size: 24px; }
  .fs-30 { font-size: 24px; }
  .fs-28 { font-size: 22px; }
  .fs-26 { font-size: 22px; }
  .fs-24 { font-size: 20px; }
  .fs-22 { font-size: 19px; }
  .fs-19 { font-size: 17px; }
  .fs-18 { font-size: 16px; }
  .fs-17 { font-size: 16px; }
  .p-96-32 { padding: 56px 20px; }
  .p-0-32-96 { padding: 0 20px 56px; }
  .p-96-32-56 { padding: 56px 20px 40px; }
  .p-56-32-88 { padding: 32px 20px 56px; }
  .p-56-32-96 { padding: 32px 20px 56px; }
  .p-48-32-64 { padding: 32px 20px 48px; }
  .p-120-32-120 { padding: 64px 20px; }
  .p-0-32-88 { padding: 0 20px 56px; }
  .p-16-32-0 { padding: 16px 20px 0; }
  .p-0-32 { padding: 0 20px; }
  .p-48-32 { padding: 40px 20px; }
  .p-64 { padding: 28px 22px; }
  .p-48 { padding: 28px 22px; }
  .p-44 { padding: 24px 20px; }
  .p-40 { padding: 24px 20px; }
  .p-40-44 { padding: 24px 20px; }
  .p-36 { padding: 24px 20px; }
  .p-32 { padding: 22px 20px; }
  .p-28 { padding: 20px 18px; }
  .p-28-32 { padding: 20px 18px; }
  .p-24-28 { padding: 20px 18px; }
  .p-18-32 { padding: 16px 20px; }
  .p-16-28 { padding: 14px 22px; }
  .p-18-22 { padding: 16px 18px; }
  .p-52-24-48, .p-56-24-48 { padding: 36px 20px 32px; }
  .gap-64 { gap: 32px; }
  .gap-56 { gap: 28px; }
  .gap-48 { gap: 28px; }
  .gap-40 { gap: 24px; }
  .gap-24-48 { gap: 16px 24px; }
  .cols-96-1fr, .cols-160-1fr, .cols-mm220-340-1fr, .cols-mm200-260-1fr, .cols-mm150-180-1fr,
  .cols-mm0-220-1fr, .cols-mm0-300-1fr, .cols-2, .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .cols-96-1fr > .ff-mono.pt-8 { padding-top: 0; }
  .colspan-2 { grid-column: auto; }
  .columns-3-300px { columns: 1; }
  .h-72 { height: auto; }
  .maxw-1376 { max-width: 100%; }
  /* breadcrumbs wrap as whole crumbs */
  .v7-crumbs { flex-wrap: wrap; row-gap: 6px; }
  .v7-crumbs > a { white-space: nowrap; }
  /* hero meta rows stack */
  .v7-hero .gap-20.wrap.jc-c > .w-1 { display: none; }
  /* orbit diagrams: stack the nodes instead of orbiting */
  .v7-orbit { min-height: 0 !important; height: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
  .v7-orbit > [aria-hidden="true"] { display: none; }
  .v7-orbit > * { position: static !important; margin: 0 !important; width: auto !important; max-width: none !important; }
  .v7-orbit > .v7-orbit-center { order: -1; height: auto; padding: 14px 16px; }
  .v7-orbit > .v7-orbit-meta { order: -2; }
  .v7-orbit > .left-18.top-16, .v7-orbit > .right-18.top-16 { order: -2; }
  .v7-orbit > .bottom-14, .v7-orbit > .bottom-16 { order: 10; padding-top: 6px; }
  .v7-orbit > span.abs { display: block; }
  /* the status label keeps its dot-and-text layout once it is in the flow (display:block glued the dot to the text) */
  .v7-orbit > span.abs.iflex { display: flex; align-items: center; gap: 8px; }
  .v7-orbit .flex:not(.col) { flex-wrap: wrap; }
  .v7-orbit .nowrap { white-space: normal; }
  /* wide pill rows in tight cards */
  .w-max { width: auto; max-width: 100%; }
  .v7-logo-track { width: max-content; max-width: none; } /* the marquee track must keep its full width or the scroll distance collapses */
}

/* 6c-ii · narrow phones: the 560px comparison tables always scroll inside the card — fade the right edge as the affordance */
@media (max-width: 599px) {
  .v7-table-wrap { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
}
/* renderTable `fit`: narrow tables wrap inside the card on phones — no sideways scroll, so no fade either */
@media (max-width: 767px) {
  .v7-table-wrap--fit > table { min-width: 0; }
  .v7-table-wrap--fit th, .v7-table-wrap--fit td { padding: 10px 10px; }
  .v7-table-wrap--fit { -webkit-mask-image: none; mask-image: none; }
}

/* 6d · small phones: ≤479 */
@media (max-width: 479px) {
  /* two-column forms become one column: the GRC-platform select was clipping its own labels at 156px */
  .v7-form-card .hs-form .form-columns-2 { grid-template-columns: minmax(0, 1fr); }
  .v7-form-card .hs-form .inputs-list--cards { grid-template-columns: minmax(0, 1fr); }
  /* the cover mock-ups' 6–8px labels are illegible on a phone */
  .fs-6, .fs-7, .fs-8 { font-size: 9px; }
  .v7-header { padding: 0 16px; }
  .v7-menu { padding: 4px 16px 24px; }
  .fs-68, .fs-64 { font-size: 34px; }
  .fs-56, .fs-48 { font-size: 30px; }
  .fs-44, .fs-40 { font-size: 27px; }
  .p-96-32 { padding: 48px 16px; }
  .p-0-32-96 { padding: 0 16px 48px; }
  .p-96-32-56 { padding: 48px 16px 36px; }
  .p-56-32-88 { padding: 28px 16px 48px; }
  .p-56-32-96 { padding: 28px 16px 48px; }
  .p-48-32-64 { padding: 28px 16px 40px; }
  .p-120-32-120 { padding: 56px 16px; }
  .p-0-32-88 { padding: 0 16px 48px; }
  .p-16-32-0 { padding: 16px 16px 0; }
  .p-0-32 { padding: 0 16px; }
  .p-48-32 { padding: 36px 16px; }
  .p-64, .p-48, .p-44, .p-40, .p-40-44, .p-36, .p-32 { padding: 20px 16px; }
  .p-28, .p-28-32, .p-24-28 { padding: 18px 16px; }
  .cols-56-1fr-auto { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .cols-64-1fr { grid-template-columns: 40px 1fr; }
  .cols-40-1fr { grid-template-columns: 32px 1fr; }
  .gap-24-48 { gap: 14px 20px; }
  .w-160 { width: 100%; }
  /* button rows go full width, and the pair shares one height (the filled button's mobile padding made it
     4px shorter than the outlined one under it) */
  .v7-hero .gap-16.wrap > a.rad-8 { width: 100%; justify-content: center; min-height: 56px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
  /* breadcrumb links and the "See it on the home page" link get a 44px tap area without moving anything */
  .v7-crumbs a { padding: 15px 0; margin: -15px 0; } /* 14px of text + 30px of padding, cancelled by the negative margin */
  #more-agency a.iflex.c-accent { min-height: 44px; }
  /* form controls at 16px: iOS Safari zooms the page when a focused field's text is smaller */
  .v7-form-card .hs-form .hs-input { font-size: 16px; }
  .v7-form-card .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]),
  .v7-form-card .hs-form select.hs-input { height: 46px; }
  .v7-cta a.rad-8 { width: 100%; justify-content: center; }
}

/* 7 ▸ accessibility & print ------------------------------------------------ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.v7-menu-trigger:focus-visible, .v7-nav-toggle:focus-visible { outline-offset: 4px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }
@media print {
  .v7-header, .v7-footer, .v7-cta { display: none !important; }
  body { background: #fff; }
}

/* 8 ▸ KYC intake form (/smb-kyc) — the one first-party HTML form on the site -- */
.v7-kyc .kyc-form { display: flex; flex-direction: column; gap: 28px; }
.v7-kyc .kyc-section { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line3); }
.v7-kyc .kyc-section:first-child { padding-top: 0; border-top: 0; }
.v7-kyc .kyc-section-title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.v7-kyc .kyc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.v7-kyc .kyc-field, .v7-kyc fieldset.kyc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.v7-kyc .kyc-label, .v7-kyc legend.kyc-label { font-size: 12px; font-weight: 500; color: var(--ink); padding: 0; }
.v7-kyc .kyc-optional { color: var(--accent); font-weight: 500; }
.v7-kyc .kyc-hint { font-size: 12px; line-height: 1.5; color: var(--muted); }
.v7-kyc .kyc-input, .v7-kyc .kyc-select, .v7-kyc .kyc-textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line4); border-radius: 8px; background: var(--white);
  font-family: var(--font-body); font-size: 13px; color: var(--ink); outline: none;
}
.v7-kyc .kyc-input::placeholder, .v7-kyc .kyc-textarea::placeholder { color: var(--gray); }
.v7-kyc .kyc-input:focus, .v7-kyc .kyc-select:focus, .v7-kyc .kyc-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(205,56,93,0.12); }
.v7-kyc .kyc-textarea { min-height: 96px; resize: vertical; }
.v7-kyc .kyc-select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.v7-kyc .kyc-checkbox-group { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.v7-kyc .kyc-checkbox-group input { margin: 3px 0 0; accent-color: var(--accent); }
.v7-kyc .kyc-attestations { display: flex; flex-direction: column; gap: 12px; }
.v7-kyc .kyc-radio-group { display: flex; gap: 20px; font-size: 13.5px; color: var(--body); }
.v7-kyc .kyc-radio-group input { accent-color: var(--accent); margin-right: 6px; }
.v7-kyc .kyc-section p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.v7-kyc .kyc-submit-wrap { display: flex; flex-direction: column; gap: 10px; }
.v7-kyc .kyc-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; cursor: pointer; background: var(--accent); color: var(--white); border: 0; font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 14px 18px; border-radius: 8px; }
.v7-kyc .kyc-submit:hover { background: var(--accent-hover); }
.v7-kyc .kyc-submit:disabled { opacity: 0.6; cursor: default; }
.v7-kyc .kyc-privacy, .v7-kyc .kyc-note { font-size: 12px; line-height: 1.55; color: var(--gray); text-align: center; }
.v7-kyc .kyc-success { display: none; text-align: center; padding: 24px 0; }
.v7-kyc .kyc-success h2 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink); }
.v7-kyc .kyc-success p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--body); }
.v7-kyc .kyc-error { display: none; font-size: 13px; line-height: 1.5; color: var(--accent); background: var(--blush); border: 1px solid var(--blushline); border-radius: 8px; padding: 10px 12px; }
@media (max-width: 767px) { .v7-kyc .kyc-row { grid-template-columns: minmax(0, 1fr); } }

/* 8 ▸ design round 1 (2026-11) ------------------------------------------------
   Site-wide since 2026-11-15 (piloted on five pages first). Every rule is scoped under the `.v7-page` wrapper
   so it outranks the generated utility it adjusts. Three changes:
     8a  readable type: a 12px floor for labels, 15–16px for text, and a shorter scale
     8b  a sticky header, section rows that use their left half, anchors that clear the header
     8c  clickable things look clickable; static tags stop looking like buttons; evener grids
   These deviate from the 1440px artboards on purpose. */

/* 8a · type ---------------------------------------------------------------- */
/* Labels drawn inside a diagram (`.v7-orbit > .abs …`) and absolutely positioned corner labels sit in fixed
   boxes, so they are left out of the floor here and handled on their own below. */
.v7-page main :is(.fs-9, .fs-10, .fs-10p5, .fs-11, .fs-11p5):not(.abs, .v7-orbit > .abs *),
.v7-page .v7-footer .fs-10, .v7-page .v7-footer .fs-11, .v7-page .v7-footer .fs-11p5 { font-size: 12px; }
.v7-page main .fs-12:not(.v7-orbit > .abs, .v7-orbit > .abs *), .v7-page .v7-footer .fs-12 { font-size: 13px; }
.v7-page main .fs-12p5, .v7-page main .fs-13, .v7-page main .fs-13p5, .v7-page main .fs-14,
.v7-page .v7-footer .fs-12p5, .v7-page .v7-footer .fs-13 { font-size: 15px; }
.v7-page main .fs-15:not(.v7-orbit > .abs, .v7-orbit > .abs *) { font-size: 16px; }
/* pills and chips are labels, not reading text: one compact size */
.v7-page main .rad-full.fs-13, .v7-page main .rad-full.fs-13p5, .v7-page main .rad-full.fs-14 { font-size: 13px; }
/* wide tracking was drawn for 10px caps; at 12px it only eats width */
.v7-page main .upper.ls-14, .v7-page main .upper.ls-16, .v7-page .v7-footer .upper.ls-14 { letter-spacing: 0.1em; }
/* the legal pages' Contents card is navigation: compact, two lines an entry at most, so it fits beside the document */
.v7-page main .sticky.top-24 a { font-size: 13px; }
/* (overflow clips at the padding edge, so the bottom padding becomes a margin and the box ends on line two) */
.v7-page main .sticky.top-24 a { box-sizing: content-box; max-height: calc(2 * 1.4em); overflow: hidden; padding-bottom: 0; margin-bottom: 8px; }
/* a mono label that shares one line with a partner (card header pairs, the "Engineers + AI" tag beside the logo):
   11px on tighter tracking is exactly as wide as the designed 10px, so the pair still fits on its line */
.v7-page main .flex.jc-between.wrap.ff-mono:is(.fs-10, .fs-11), .v7-page main .flex.jc-between.wrap > .ff-mono:is(.fs-10, .fs-11) { font-size: 11px; letter-spacing: 0.06em; }
/* the Earn / Demonstrate / Maintain pills keep their row */
.v7-page main .v7-phase-pill { letter-spacing: 0.08em; }
/* icons never shrink beside text that wraps */
.v7-page main :is(.flex, .iflex) > svg { flex-shrink: 0; }
@media (min-width: 768px) {
  /* from tablets up there is room for corner labels to reach the floor. Diagram labels keep their designed
     sizes at every width: their boxes are positioned to the pixel, and a half-pixel more makes them collide. */
  .v7-page main .abs:is(.fs-9, .fs-10, .fs-10p5, .fs-11, .fs-11p5):not(.v7-orbit *) { font-size: 12px; }
}
/* forms follow the same floor */
.v7-page .v7-form-card .hs-form .hs-input { font-size: 15px; }
.v7-page .v7-form-card .hs-form label, .v7-page .v7-form-card .hs-form legend { font-size: 13px; }
@media (min-width: 1024px) {
  /* a shorter scale on desktop (tablets and phones keep their own heading sizes): 18 · 20 · 22 · 28 · 34 · 44 · 56 · 64 */
  .v7-page main .fs-17 { font-size: 18px; }
  .v7-page main .fs-19 { font-size: 20px; }
  .v7-page main .fs-24 { font-size: 22px; }
  .v7-page main .fs-26, .v7-page main .fs-30 { font-size: 28px; }
  .v7-page main .fs-32, .v7-page main .fs-36 { font-size: 34px; }
  .v7-page main .fs-40, .v7-page main .fs-48 { font-size: 44px; }
  .v7-page main .fs-68 { font-size: 64px; } /* 56px stays: it is the price figure, sized to its card */
}
@media (max-width: 767px) {
  /* phones: form text stays at 16px so iOS does not zoom */
  .v7-page .v7-form-card .hs-form .hs-input { font-size: 16px; }
  /* breadcrumbs: 12px glyphs on the tracking that keeps each crumb as wide as it was at 11px, so a deep trail
     still wraps where it did */
  .v7-page main .v7-crumbs { letter-spacing: 0.04em; }
  /* diagram step rows ("Assess → Build → Operate → Certify"): wrap as whole chips. The §6c rule for label rows
     gave the last chip no width of its own and crushed it against the card edge. */
  .v7-page .v7-orbit .flex.ai-c.gap-8.wrap.ff-mono { flex-wrap: wrap; row-gap: 6px; }
  .v7-page .v7-orbit .flex.ai-c.gap-8.wrap.ff-mono > span:last-child:not(:first-child) { flex: 0 0 auto; }
  .v7-page .v7-orbit .flex.ai-c.gap-8.wrap.ff-mono > span { white-space: nowrap; }
}
@media (max-width: 599px) {
  /* a cover card's two corner labels share one line: the left one gives way instead of running under the right */
  .v7-page main .rel:not(.v7-orbit) > span.abs.left-18.top-16:has(~ span.abs.right-18.top-16) { max-width: calc(100% - 156px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* 8b · sticky header + section rows ---------------------------------------- */
.v7-page .v7-header { position: sticky; top: 0; transition: box-shadow .2s ease; }
.v7-page .v7-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.v7-page .v7-nav, .v7-page .v7-nav-links, .v7-page .v7-menu-item { transition: height .2s ease; }
@media (min-width: 1100px) {
  /* slimmer once the page has scrolled */
  .v7-page .v7-header.is-scrolled .v7-nav, .v7-page .v7-header.is-scrolled .v7-nav-links, .v7-page .v7-header.is-scrolled .v7-menu-item { height: 60px; }
  /* a pinned header cannot be scrolled past, so in a short window a tall menu panel scrolls inside itself
     (the header is at most 77px tall; 20px keeps the panel's shadow and rounded end on screen) */
  .v7-page .v7-header .v7-panel { max-height: calc(100vh - 97px); overflow-y: auto; overscroll-behavior: contain; }
}
/* in-page jumps land below the pinned header */
.v7-page [id] { scroll-margin-top: 88px; }
/* so does anything else that sticks (the legal pages' Contents card); a card taller than the window scrolls inside */
@media (min-width: 1024px) { .v7-page main .sticky.top-24 { top: 92px; max-height: calc(100vh - 116px); overflow-y: auto; } }
@media (max-width: 1023px) { .v7-page main .sticky.top-24 { position: static; } } /* single column: nothing to stick beside */
/* a wide table scrolls inside its own card; it must not widen the row's text column and the page with it */
.v7-page main .cols-96-1fr > * { min-width: 0; }
/* the compact CTA that v7.js adds to the mobile bar (hidden everywhere else) */
.v7-nav-cta-bar { display: none; }
@media (max-width: 1099px) {
  .v7-page .v7-nav-cta-bar {
    display: inline-flex; align-items: center; margin-left: auto; padding: 10px 14px; border-radius: 8px;
    background: var(--accent); color: var(--white); font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  }
  .v7-page .v7-nav-cta-bar:hover { background: var(--accent-hover); color: var(--white); }
  .v7-page .v7-header.is-open .v7-nav-cta-bar { display: none; } /* the open drawer has the full button */
  .v7-page .v7-nav { gap: 8px; }
}
@media (min-width: 1100px) {
  /* text rows: a narrower heading column and a wider text column (about 75 characters a line at 16px) */
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48:not(:has(> .v7-offer-card)) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  /* the section heading stays in view while its content scrolls past */
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48:not(:has(> .v7-offer-card)) > :first-child { position: sticky; top: 92px; }
  /* list rows (five items or more): heading on top, the list in two columns across the full width */
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48:has(.flex.col.bt-line > :nth-child(5)) { grid-template-columns: minmax(0, 1fr); }
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48:has(.flex.col.bt-line > :nth-child(5)) > :first-child { position: static; }
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48 .flex.col.bt-line:has(> :nth-child(5)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
  .v7-page main .cols-96-1fr > .cols-fit-340.gap-24-48:has(.flex.col.bt-line > :nth-child(5)) p { max-width: 760px; }
  /* a heading + intro pair that opens a longer row gets the same split, so every text column on a page starts
     on the same line */
  .v7-page main .cols-96-1fr > .flex.col > .cols-fit-340.gap-24-48:first-child:has(> h3:first-child) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  /* numbered checklists of six items or more read down two columns */
  .v7-page main .cols-96-1fr > .flex.col > .flex.col.gap-12:has(> span.grid.cols-24-1fr:nth-child(6)) { display: block; column-count: 2; column-gap: 56px; }
  .v7-page main .cols-96-1fr > .flex.col > .flex.col.gap-12:has(> span.grid.cols-24-1fr:nth-child(6)) > span { break-inside: avoid; margin-bottom: 12px; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  /* tablets: the FAQ's question column took its 340px maximum and left the answer a 235px strip */
  .v7-page main .cols-mm220-340-1fr { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* tablets: a legal document reads full width under its Contents card (which is not sticky here) */
  .v7-page main .cols-mm0-300-1fr { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 764px) and (max-width: 1123px) {
  /* three related cards in two columns: the third spans the row instead of sitting alone beside a gap */
  .v7-page main .cols-fit-340.gap-20 > :nth-child(3):last-child { grid-column: 1 / -1; }
}

/* phones: a two- or three-column table wraps inside its card instead of taking the 560px minimum and scrolling
   sideways (what renderTable's `fit` opts into, §6c-ii — here for every such table). Four columns and more
   still scroll, with the faded right edge as the cue. */
@media (max-width: 767px) {
  .v7-page main .v7-table-wrap:has(thead th:nth-child(2):last-child, thead th:nth-child(3):last-child) > table { min-width: 0; }
  .v7-page main .v7-table-wrap:has(thead th:nth-child(2):last-child, thead th:nth-child(3):last-child) :is(th, td) { padding: 10px 7px; }
  /* three columns share about 330px: 14px text, and only long words (10+ letters) hyphenate, rather than widen the table */
  .v7-page main .v7-table-wrap:has(thead th:nth-child(3):last-child) td { font-size: 14px; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; }
  .v7-page main .v7-table-wrap:has(thead th:nth-child(2):last-child, thead th:nth-child(3):last-child) { -webkit-mask-image: none; mask-image: none; }
}

/* 8c · clickable vs decoration --------------------------------------------- */
/* static tags: soft filled chips with no outline, so they stop reading as buttons */
.v7-page main span.rad-full.b-line { border-color: transparent; background: rgba(45,45,45,0.06); color: var(--ink2); }
.v7-page main span.rad-full.b-w20 { border-color: transparent; background: rgba(255,255,255,0.10); }
/* links keep their outline and answer the pointer */
.v7-page main a.rad-full.b-line, .v7-page main a.b-line, .v7-page main a.b-line2 { transition: border-color .15s ease, background-color .15s ease; }
.v7-page main a.rad-full.b-line:hover, .v7-page main a.b-line:hover, .v7-page main a.b-line2:hover { border-color: var(--ink); background-color: var(--white); }
/* A card whose ONLY link is its closing "Learn more" is clickable as a whole. A card that holds other links
   (a tile grid with an "Explore all" link under it) is left alone, or the stretched link would cover them. */
.v7-page main :is(.rad-20, .rad-16):has(> a.iflex.gap-8:not(.bg-accent):last-child):not(:has(> :not(:last-child) a), :has(> a:not(:last-child))), .v7-page .v7-phase-card { position: relative; transition: border-color .15s ease; }
.v7-page main :is(.rad-20, .rad-16):has(> a.iflex.gap-8:not(.bg-accent):last-child):not(:has(> :not(:last-child) a), :has(> a:not(:last-child))) > a:last-child::after,
.v7-page .v7-phase-card a.c-accent::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.v7-page main :is(.rad-20, .rad-16):has(> a.iflex.gap-8:not(.bg-accent):last-child):not(:has(> :not(:last-child) a), :has(> a:not(:last-child))):hover, .v7-page .v7-phase-card:hover { border-color: var(--ink); }
@media (max-width: 767px) {
  /* phones: text links ("Explore …", row titles) get a 44px tap area without moving anything; the stretched
     card links above already cover their whole card */
  .v7-page main a.iflex.gap-8.td-none:not([class*="bg-"]):not(.v7-phase-card a), .v7-page main a.ff-display.fs-16.td-none { position: relative; }
  .v7-page main a.iflex.gap-8.td-none:not([class*="bg-"]):not(.v7-phase-card a)::before, .v7-page main a.ff-display.fs-16.td-none::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; bottom: -12px; }
  .v7-page main :is(.rad-20, .rad-16):has(> a.iflex.gap-8:not(.bg-accent):last-child):not(:has(> :not(:last-child) a), :has(> a:not(:last-child))) > a:last-child { position: static; }
  .v7-page main :is(.rad-20, .rad-16):has(> a.iflex.gap-8:not(.bg-accent):last-child):not(:has(> :not(:last-child) a), :has(> a:not(:last-child))) > a:last-child::before { content: none; }
  /* the "More from Agency" pills: 34px → 42px tall (the static chips beside them too, so a row stays level) */
  .v7-page main .rad-full.p-6-12 { padding-top: 10px; padding-bottom: 10px; }
}
@media (min-width: 1100px) {
  /* home: ten framework tiles as an even 5 × 2 */
  .v7-page .v7-fw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v7-page .v7-fw-grid > a { font-size: 14px; padding: 14px 4px; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
  /* …and the two rows grow (to 80px a tile) to fill the card beside "Challenges We Solve" */
  .v7-page .v7-fw-grid { flex: 1 1 auto; grid-auto-rows: minmax(0, 1fr); max-height: 174px; }
  /* home: platform groups as three rows on one five-column grid instead of three columns of 5, 8 and 3 */
  .v7-page .v7-platform-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .v7-page .v7-platform-grid > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; row-gap: 4px; padding: 28px 32px 20px; }
  .v7-page .v7-platform-grid > div > span:first-child { grid-column: 1 / -1; }
  .v7-page .v7-platform-grid > div > a { border-bottom: 0; padding: 12px 0; }
}

/* 8d · home: the logo belt above the fold --------------------------------------
   The belt is the last block of the home hero (Main.html, `.v7-home-belt`). The hero's vertical rhythm follows
   the window's height: `--t` is how much taller the window is than the shortest one catered for, and every
   spacing below grows with it from a compact floor to the designed value. At the designed sizes the belt needs a
   window about 870px tall; with this it fits from about 640px on laptops and from about 640px on phones, where
   the belt is also ordered before the "Trusted by / Rated" lines. `svh` is the height with the phone's toolbars
   showing, which is what "above the fold" means there. */
.v7-page .v7-home-hero { --t: calc(100vh - 640px); padding-bottom: 16px; }
@supports (height: 100svh) { .v7-page .v7-home-hero { --t: calc(100svh - 640px); } }
.v7-page .v7-home-belt { min-width: 0; }
@media (min-width: 768px) {
  .v7-page .v7-home-hero { padding-top: clamp(40px, calc(40px + var(--t) * 0.233), 96px); }
  .v7-page .v7-home-hero > div { gap: clamp(18px, calc(18px + var(--t) * 0.042), 28px); }
  .v7-page .v7-home-belt { padding-top: clamp(8px, calc(8px + var(--t) * 0.033), 16px); gap: clamp(16px, calc(16px + var(--t) * 0.033), 24px); }
  .v7-page .v7-home-belt .v7-logo-marquee { gap: clamp(16px, calc(16px + var(--t) * 0.017), 20px); }
}
@media (min-width: 1024px) {
  .v7-page main .v7-home-hero h1 { font-size: clamp(52px, calc(52px + var(--t) * 0.05), 64px); }
  .v7-page main .v7-home-hero h1 + p { font-size: clamp(18px, calc(18px + var(--t) * 0.0083), 20px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  /* a narrow desktop window or a small tablet on its side: the same idea from the tablet sizes (54px / 19px) */
  .v7-page .v7-home-hero { padding-top: clamp(24px, calc(24px + var(--t) * 0.3), 96px); }
  .v7-page main .v7-home-hero h1 { font-size: clamp(40px, calc(40px + var(--t) * 0.058), 54px); }
  .v7-page main .v7-home-hero h1 + p { font-size: clamp(16px, calc(16px + var(--t) * 0.0125), 19px); }
  .v7-page main .v7-home-hero .pt-8 { padding-top: 0; }
}
@media (min-width: 1024px) and (max-height: 879px) {
  /* a shorter window: the lead takes two lines instead of three, and the button row sits closer */
  .v7-page main .v7-home-hero h1 + p { max-width: 900px; }
  .v7-page main .v7-home-hero .pt-8 { padding-top: 0; }
}
@media (max-width: 767px) {
  .v7-page .v7-home-hero { --t: calc(100vh - 600px); padding-top: clamp(14px, calc(14px + var(--t) * 0.18), 48px); padding-bottom: 28px; }
  @supports (height: 100svh) { .v7-page .v7-home-hero { --t: calc(100svh - 600px); } }
  .v7-page .v7-home-hero > div { gap: clamp(10px, calc(10px + var(--t) * 0.05), 24px); }
  .v7-page main .v7-home-hero h1 + p { font-size: clamp(16px, calc(16px + var(--t) * 0.012), 18px); }
  .v7-page main .v7-home-hero .pt-8 { padding-top: 0; }
  /* logos first, then the "Trusted by / Rated / frameworks" lines */
  .v7-page .v7-home-belt { order: 1; padding: 0; gap: clamp(12px, calc(12px + var(--t) * 0.04), 20px); }
  .v7-page .v7-home-belt .v7-logo-marquee { gap: clamp(12px, calc(12px + var(--t) * 0.03), 18px); }
  .v7-page .v7-home-meta { order: 2; padding-top: 6px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  /* short phones (a 6.1" iPhone with Safari's bars showing is about 660px tall): one notch tighter */
  .v7-page .v7-home-hero { padding-top: 12px; }
  .v7-page main .v7-home-hero h1 + p { font-size: 15px; }
  .v7-page main .v7-home-hero .gap-16.wrap > a.rad-8 { min-height: 50px; }
}
@media (max-width: 374px) and (max-height: 700px) {
  .v7-page main .v7-home-hero h1 { font-size: 31px; }
}

