/* Shared finishing details. Homepage hero, header, and media are untouched. */
/* Both routes close with the same spacing, headline scale, and action style. */
.home-page .desktop-mega { border-bottom:0; }
:is(.home-page,.harness-page) #contact {
  display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.7fr);gap:10%;
  align-items:end;padding-block:100px 112px;background:#080909;color:#e9eee8;
  border-top:1px solid #ffffff26;
}
:is(.home-page,.harness-page) #contact h2 { margin:0;font-size:clamp(54px,7vw,100px);font-weight:400;line-height:1.08;letter-spacing:-.035em; }
:is(.home-page,.harness-page) #contact h2 span { color:#98a996; }
:is(.home-page,.harness-page) #contact .cta-actions { margin:0;min-width:0; }
:is(.home-page,.harness-page) #contact .cta-actions p { margin:0 0 28px;font-size:15px;line-height:1.7;max-width:34ch;color:#a8b1aa; }
:is(.home-page,.harness-page) #contact .cta-button { display:flex;justify-content:center;min-height:52px;width:100%;padding:14px 20px;border:0;clip-path:none;background:#dbe4d7;color:#111811;font-size:14px;line-height:1.5;white-space:normal;text-align:center; }
:is(.home-page,.harness-page) #contact .cta-button:hover { background:#eff4ec;transform:none; }

/* Retain the product page's paper / sage / graphite rhythm. */
.harness-page .site-header,.harness-page .section-nav { border-bottom:0; }
@media(min-width:768px) {
  .harness-page .harness-product-hero { min-height:calc(100svh - var(--nr-header-height) - env(safe-area-inset-top)); }
}
.harness-page :is(.product-overview,.product-capabilities,.product-method,.product-details) { padding-block:104px; }
.harness-page :is(.product-overview-grid,.capabilities-heading,.method-heading,.details-heading) { border-top:0;padding-top:0; }
.harness-page :is(.product-overview,.product-capabilities,.product-method,.product-details) h2 { font-size:clamp(42px,4.8vw,68px);font-weight:400;line-height:1.08;letter-spacing:-.035em; }
.harness-page .product-overview-grid>div { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);column-gap:10%;align-items:start; }
.harness-page .overview-copy { margin:0;font-size:16px;line-height:1.7;max-width:50ch; }
.harness-page .inline-arrow { grid-column:2;justify-self:start;min-height:44px;margin-top:24px; }
.harness-page .capabilities-heading { display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10%;align-items:end; }
.harness-page .capabilities-heading>p { margin:0;font-size:16px;line-height:1.7;max-width:42ch; }
.harness-page .capability-grid { margin-top:56px; }
.harness-page .capability-grid article { display:block;padding:28px 0; }
.harness-page .capability-grid article>div { display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10%; }
.harness-page .capability-grid h3 { margin:0;font-size:clamp(23px,2.2vw,30px);font-weight:400;line-height:1.25;letter-spacing:-.025em;max-width:22ch; }
.harness-page .capability-grid p { font-size:15px;line-height:1.7;max-width:58ch; }
.harness-page .method-heading { display:block; }
.harness-page .method-grid { margin-top:48px;padding-top:32px; }
.harness-page .method-lead { font-size:28px;line-height:1.25;letter-spacing:-.025em; }
.harness-page .method-copy>p:not(.method-lead) { font-size:15px;line-height:1.7;color:#b3bcb4; }
.harness-page :is(.inline-arrow,.method-link) { min-height:44px;text-underline-offset:5px; }
.harness-page :is(.inline-arrow,.method-link):hover { text-decoration:underline; }
.harness-page .flow-node-active { box-shadow:none;border-color:#b7c4b5; }
.harness-page .flow-node small { color:#b3bcb4;line-height:1.5; }
.harness-page .details-list>div { padding:28px; }
.harness-page .details-list h3 { margin:20px 0 12px;font-size:24px;font-weight:400;line-height:1.25;letter-spacing:-.025em; }
.harness-page .details-list p { font-size:14px;line-height:1.7;max-width:44ch; }
.harness-page .section-nav a:focus-visible { outline-offset:-5px; }
.harness-page .showcase-caption,.harness-page .showcase-footnote { font-size:11px;line-height:1.5;letter-spacing:.025em; }

/* Below-hero mobile copy follows the same reading scale across both pages. */
@media(max-width:1023px) {
  .harness-page .product-overview-grid>div,.harness-page .capabilities-heading { gap:6%; }
  :is(.home-page,.harness-page) #contact { gap:6%; }
}
@media(max-width:767px) {
  html:has(>.harness-page) { scroll-padding-top:calc(var(--nr-header-height) + 16px); }
  .harness-page .harness-product-hero { padding-block:32px 40px;gap:28px; }
  .harness-page .harness-product-copy { padding:0; }
  .harness-page .product-availability { margin-bottom:16px; }
  .harness-page .harness-product-copy h1 { font-size:clamp(40px,11vw,64px);overflow-wrap:normal; }
  .harness-page .harness-product-copy .product-lead { max-width:none;font-size:clamp(24px,6.5vw,30px);line-height:1.3;margin:20px 0 24px; }
  .harness-page .harness-product-copy .product-actions { align-items:stretch;gap:8px; }
  .harness-page .harness-product-copy .product-button { width:100%;justify-content:center;clip-path:none;font-size:15px; }
  .harness-page .harness-product-copy .product-back { justify-content:center;font-size:14px; }
  .harness-page .product-setup-note { margin-top:16px;max-width:none;font-size:13px;line-height:1.6; }
  .harness-page .harness-detail-visual { height:auto;aspect-ratio:auto;margin:0;padding:12px; }
  .harness-page .harness-detail-visual .detail-preview-stage { padding:12px 0; }
  .harness-page .harness-detail-visual .harness-window { height:auto;max-height:none;aspect-ratio:auto; }
  .harness-page .harness-detail-visual :is(.detail-visual-meta,.detail-visual-bottom) { margin-inline:0;font-size:9px;line-height:1.5; }
  .harness-page .harness-detail-visual .harness-headline { font-size:clamp(20px,6vw,32px); }
  .harness-page .section-nav { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding-block:8px;overflow:visible; }
  .harness-page .section-nav a { min-height:44px;font-size:14px; }
  :is(.home-page,.harness-page) #contact { grid-template-columns:1fr;gap:32px;padding-block:64px; }
  :is(.home-page,.harness-page) #contact h2 { font-size:clamp(40px,11vw,64px); }
  :is(.home-page,.harness-page) #contact .cta-actions p { max-width:40ch; }
  .harness-page :is(.product-overview,.product-capabilities,.product-method,.product-details) { padding-block:64px; }
  .harness-page :is(.product-overview,.product-capabilities,.product-method,.product-details) h2 { font-size:clamp(36px,10vw,52px); }
  .harness-page .product-overview-grid>div,.harness-page .capabilities-heading { display:block; }
  .harness-page .overview-copy,.harness-page .capabilities-heading>p { margin-top:24px;font-size:16px; }
  .harness-page .capability-grid { margin-top:36px; }
  .harness-page .capability-grid article { padding-block:24px; }
  .harness-page .capability-grid article>div { display:block; }
  .harness-page .capability-grid h3 { font-size:24px;max-width:none;margin-bottom:12px; }
  .harness-page .capability-grid p { font-size:16px;line-height:1.65; }
  .harness-page .method-grid { margin-top:32px; }
  .harness-page .method-lead { font-size:24px; }
  .harness-page .method-copy>p:not(.method-lead) { font-size:16px;line-height:1.65; }
  .harness-page .method-flow { padding-block:28px 44px; }
  .harness-page .product-signal-row p,.harness-page .details-list p { font-size:16px;line-height:1.65; }
  .harness-page .harness-showcase { margin-block:32px;padding:10px; }
  .harness-page .showcase-user-line { flex-wrap:wrap;gap:8px; }
  .harness-page .showcase-answer { gap:12px; }
  .harness-page .showcase-answer p { font-size:14px; }
  .harness-page .showcase-work-tools { grid-template-columns:1fr;height:auto; }
  .harness-page .showcase-file-tree { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;font-size:11px;white-space:normal;overflow-wrap:anywhere;border-right:0;border-bottom:1px solid #343d34; }
  .harness-page .showcase-file-tree small { grid-column:1/-1; }
  .harness-page .showcase-code pre { padding:16px;font-size:11px;overflow-x:auto; }
  .harness-page .details-list>div { padding:24px 20px; }
  .harness-page .details-list h3 { font-size:22px;margin-top:16px; }
  .harness-page .showcase-caption,.harness-page .showcase-footnote { flex-wrap:wrap;gap:8px;font-size:10px; }
  .home-page :is(.project-detail,.principles p) { font-size:14px;line-height:1.7; }
  .home-page :is(.project-availability,.visual-caption,.visual-bottom,.operation-stage small,.operation-footnote) { font-size:11px; }
  .home-page .project-header { flex-wrap:wrap;gap:8px 16px; }
  .home-page .project-availability { margin-bottom:0; }
  .home-page .operation-stage { min-height:96px; }
  .home-page .operation-footnote { flex-wrap:wrap;gap:8px 20px;line-height:1.6; }
}
