/* Digiknack home hero — dark shell, orange panel (layout nod to split hero) */

html:has(body.home-landing) {
  height: auto;
  overflow: auto;
}

body.home-landing ::selection {
  background: color-mix(in srgb, #ea7402 45%, transparent);
  color: #e3dbcc;
}

body.home-landing ::-moz-selection {
  background: color-mix(in srgb, #ea7402 45%, transparent);
  color: #e3dbcc;
}

/* Outer frame — content inset; nav stays fixed on top */
body.home-landing {
  overflow: auto;
  height: auto;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding:
    calc(var(--site-nav-h, 4.25rem) + 36px)
    max(110px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px))
    max(110px, env(safe-area-inset-left, 0px));
}

.home-landing .home-main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 0;
  min-height: 0;
}

/* Footer — flush to body 110px inset (no extra pad; beats scroll-read) */
.home-landing footer,
.home-landing.scroll-page .home-main footer,
.scroll-page.home-landing .home-main footer,
html.scroll-page body.home-landing .home-main footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.home-landing .footer-content {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0 !important;
  gap: 1rem;
}

.home-landing .footer-right {
  gap: 1.15rem;
}

.home-landing .footer-left p,
.home-landing .footer-right a,
.home-landing .footer-link-btn {
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: var(--font-eyebrow-size, 11px);
  font-weight: var(--font-eyebrow-weight, 400);
  letter-spacing: var(--font-eyebrow-tracking, 0.14em);
  text-transform: uppercase;
  opacity: 1;
  line-height: 1.3;
}

.home-landing .footer-left p {
  margin: 0;
  color: var(--site-nav-beige, #d8dfdc);
}

.home-landing .footer-right a,
.home-landing .footer-link-btn {
  color: var(--site-nav-beige, #d8dfdc);
}

.home-landing .footer-right a:hover,
.home-landing .footer-link-btn:hover {
  color: var(--site-nav-beige-hi, #eef3f0);
  opacity: 1;
}

.home-hero {
  flex: 0 1 auto;
  width: 100%;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    'copy visual'
    'logos logos';
  column-gap: clamp(28px, 5vw, 56px);
  row-gap: 0.85rem;
  align-items: center;
  box-sizing: border-box;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  /* Light lift toward bottom-right */
  background:
    linear-gradient(
      155deg,
      #090a0f 0%,
      #090a0f 42%,
      color-mix(in srgb, #090a0f 78%, #ffffff) 100%
    );
  border: none;
  box-shadow: none;
  min-height: 0;
}

/* Full-page inquire — form only, locked to viewport */
html:has(body.home-landing--contact) {
  height: 100%;
  overflow: hidden;
}

body.home-landing.home-landing--contact {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #060606;
  background-color: #060606;
}

.home-landing--contact .home-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.home-hero--contact {
  flex: 1 1 auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'copy';
  align-items: start;
  overflow: auto;
  /* Solid chrome — no warm/red lift cover */
  background: #060606;
  border-radius: 28px;
}

.home-hero--contact .home-hero__copy {
  align-self: start;
  max-width: min(100%, 56rem);
  width: 100%;
}

.home-hero--contact .home-hero__lede {
  max-width: none;
}

.home-hero--contact .home-hero__word {
  opacity: 1;
  transform: none;
  animation: none;
}

.home-contact__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-contact__form {
  margin-top: 1.5rem;
  width: 100%;
  max-width: min(100%, 56rem);
}

.home-contact__form .dk-form-card {
  width: 100%;
  /* Autofill inset must match page #060606 — not --secondary-color-bg grey */
  --dk-form-card-autofill-bg: #060606;
}

.home-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
}

.home-contact__col--fields {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--dk-form-card-gap, 8px);
  min-width: 0;
}

/* Vertical rule — same inset as field hairlines / input pad (not flush to card edge) */
.home-contact__col--fields::after {
  content: '';
  position: absolute;
  top: var(--dk-form-card-pad-y, 8px);
  bottom: var(--dk-form-card-pad-y, 8px);
  right: 0;
  width: 1px;
  background: var(--dk-form-card-border, rgba(227, 219, 204, 0.35));
  pointer-events: none;
}

.home-contact__col--fields > .dk-form-card__field + .dk-form-card__field::before,
.home-contact__col--fields > .contact-field + .contact-field::before,
.home-contact__col--fields > .dk-form-card__field + .contact-field::before,
.home-contact__col--fields > .contact-field + .dk-form-card__field::before {
  content: '';
  position: absolute;
  top: calc(var(--dk-form-card-gap, 8px) / -2);
  left: var(--dk-form-card-pad-x, 16px);
  right: var(--dk-form-card-pad-x, 16px);
  height: 1px;
  background: var(--dk-form-card-border, rgba(227, 219, 204, 0.35));
  pointer-events: none;
}

.home-contact__col--message {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  height: auto;
  align-self: stretch;
}

.home-contact__form .dk-form-card .home-contact__col--message textarea.contact-input.contact-textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  height: 100%;
  max-height: 100%;
  resize: none;
  field-sizing: fixed;
  box-sizing: border-box;
}

.home-contact__form .contact-actions {
  margin-top: 0;
}

/* Form values — site-nav beige (not gold secondary) */
.home-landing--contact .contact-input,
.home-landing--contact .dk-form-card .contact-input,
.home-landing--contact .dk-select__face,
.home-landing--contact .dk-select__trigger {
  color: #d8dfdc;
  caret-color: #d8dfdc;
}

.home-landing--contact .contact-input::placeholder {
  color: rgba(216, 223, 220, 0.5);
}

/* Beat global .contact-input autofill grey (#2A2C2E) — stay flush with page */
.home-landing--contact .contact-input:-webkit-autofill,
.home-landing--contact .contact-input:-webkit-autofill:hover,
.home-landing--contact .contact-input:-webkit-autofill:focus,
.home-landing--contact .contact-input:-webkit-autofill:active,
.home-landing--contact .dk-form-card .contact-input:-webkit-autofill,
.home-landing--contact .dk-form-card .contact-input:-webkit-autofill:hover,
.home-landing--contact .dk-form-card .contact-input:-webkit-autofill:focus,
.home-landing--contact .dk-form-card .contact-input:-webkit-autofill:active {
  -webkit-text-fill-color: #d8dfdc !important;
  caret-color: #d8dfdc !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: 0 0 0 1000px #060606 inset !important;
  -webkit-box-shadow: 0 0 0 1000px #060606 inset !important;
  transition: background-color 99999s ease-in-out 0s !important;
  border: none !important;
  outline: none !important;
}

.home-landing--contact .contact-consent__text {
  color: rgba(216, 223, 220, 0.85);
}

.home-landing--contact .contact-consent__checkbox {
  border-color: rgba(216, 223, 220, 0.85);
}

/* Send — same pill as Inquire */
.home-landing--contact .home-contact__form .dk-btn,
.home-landing--contact #dk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 30px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 116, 2, 0.85);
  background: transparent;
  color: #eef3f0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.home-landing--contact .home-contact__form .dk-btn .dk-btn__icon,
.home-landing--contact #dk-btn .dk-btn__icon,
.home-landing--contact .home-contact__form .dk-btn svg.lucide,
.home-landing--contact #dk-btn svg.lucide {
  display: none;
}

.home-landing--contact .home-contact__form .dk-btn:hover:not([disabled]),
.home-landing--contact #dk-btn:hover:not([disabled]) {
  background: #ea7402;
  border-color: #ea7402;
  color: #060606;
}

.home-landing--contact .home-contact__form .dk-btn[disabled],
.home-landing--contact #dk-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.home-landing--contact .contact-feedback {
  margin-top: 0.85rem;
  max-width: min(100%, 56rem);
}

.home-landing--contact .contact-recaptcha-legal {
  margin-top: 0.65rem;
  max-width: min(100%, 56rem);
}

.home-landing--contact footer {
  flex: 0 0 auto;
}

.home-hero__copy {
  grid-area: copy;
  min-width: 0;
  align-self: center;
}

.home-hero__eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono, var(--site-nav-font-family, "IBM Plex Mono", ui-monospace, Menlo, monospace));
  font-size: var(--font-eyebrow-size, var(--site-nav-font-size, 11px));
  font-weight: var(--font-eyebrow-weight, var(--site-nav-font-weight, 400));
  letter-spacing: var(--font-eyebrow-tracking, var(--site-nav-letter-spacing, 0.14em));
  text-transform: uppercase;
  color: var(--accent-color, #ea7402);
}

.home-hero__soon {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  animation: home-hero-soon-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-hero__soon-label {
  animation: home-hero-soon-pulse 2.4s ease-in-out infinite;
}

.home-hero__soon-dots {
  display: inline-flex;
  width: 1.5em;
  letter-spacing: 0.02em;
}

.home-hero__soon-dots span {
  opacity: 0;
  animation: home-hero-soon-dot 1.4s ease-in-out infinite;
}

.home-hero__soon-dots span:nth-child(1) {
  animation-delay: 0s;
}

.home-hero__soon-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.home-hero__soon-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes home-hero-soon-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-soon-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@keyframes home-hero-soon-dot {
  0%,
  20% {
    opacity: 0;
  }
  40%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__soon,
  .home-hero__soon-label,
  .home-hero__soon-dots span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.home-hero__title {
  margin: 0;
  max-width: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28em;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-color-hi, #d8dfdc);
  white-space: nowrap;
}

.home-hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  animation: home-hero-word-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-hero__word:nth-child(1) {
  animation-delay: 0.12s;
}

.home-hero__word:nth-child(2) {
  animation-delay: 0.38s;
}

.home-hero__word:nth-child(3) {
  animation-delay: 0.64s;
}

.home-hero__word:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes home-hero-word-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__word {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.home-hero__lede {
  margin: 1.35rem 0 0;
  max-width: 42ch;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.55;
  color: var(--text-color, #80837d);
  border-top: none;
  padding-top: 0;
}


.home-hero__visual {
  grid-area: visual;
  position: relative;
  align-self: center;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.home-hero__orbit {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
}

.home-hero__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

.home-hero__ring--1 {
  width: 96%;
  height: 96%;
  background: conic-gradient(
    from 0deg,
    color-mix(in srgb, #d8dfdc 8%, transparent) 0 72%,
    color-mix(in srgb, #d8dfdc 55%, transparent) 72% 100%
  );
  animation: home-hero-ring-spin 12s linear infinite;
}

.home-hero__ring--2 {
  width: 78%;
  height: 78%;
  background: conic-gradient(
    from 90deg,
    color-mix(in srgb, #ea7402 10%, transparent) 0 68%,
    color-mix(in srgb, #ea7402 70%, transparent) 68% 100%
  );
  animation: home-hero-ring-spin-rev 9s linear infinite;
}

.home-hero__ring--3 {
  width: 60%;
  height: 60%;
  background: conic-gradient(
    from 180deg,
    color-mix(in srgb, #d8dfdc 8%, transparent) 0 70%,
    color-mix(in srgb, #d8dfdc 48%, transparent) 70% 100%
  );
  animation: home-hero-ring-spin 7s linear infinite;
}

.home-hero__ring--4 {
  width: 42%;
  height: 42%;
  background: conic-gradient(
    from 270deg,
    color-mix(in srgb, #ea7402 12%, transparent) 0 65%,
    color-mix(in srgb, #ea7402 75%, transparent) 65% 100%
  );
  animation: home-hero-ring-spin-rev 5.5s linear infinite;
}

.home-hero__orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.home-hero__orbit-mark {
  display: block;
  width: auto;
  height: 36px;
  object-fit: contain;
}

/* Product wordmarks stay inside innermost ring (ring--4 = 42%) */
.home-hero__orbit--clincare .home-hero__orbit-core,
.home-hero__orbit--orangecup .home-hero__orbit-core,
.home-hero__orbit--digiknack .home-hero__orbit-core,
.home-hero__orbit--northnode .home-hero__orbit-core {
  width: 30%;
  max-width: 30%;
  box-sizing: border-box;
}

/* Short PRIVC / GNOS marks — keep inside the inner ring without ballooning */
.home-hero__orbit--privc .home-hero__orbit-core,
.home-hero__orbit--gnos .home-hero__orbit-core {
  width: 16%;
  max-width: 16%;
  box-sizing: border-box;
}

.home-hero__orbit-mark--clincare,
.home-hero__orbit-mark--orangecup,
.home-hero__orbit-mark--digiknack,
.home-hero__orbit-mark--northnode,
.home-hero__orbit-mark--privc,
.home-hero__orbit-mark--gnos {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  filter: brightness(1.55);
}

.home-hero__node {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  offset-path: circle(48% at 50% 50%);
  offset-rotate: 0deg;
  offset-anchor: center;
  animation: home-hero-node-orbit 22s linear infinite;
}

/* Inner → outer ring tracks (match ring diameters 42 / 60 / 78 / 96) */
.home-hero__node--on-4 {
  offset-path: circle(21% at 50% 50%);
}

.home-hero__node--on-3 {
  offset-path: circle(30% at 50% 50%);
}

.home-hero__node--on-2 {
  offset-path: circle(39% at 50% 50%);
}

.home-hero__node--on-1 {
  offset-path: circle(48% at 50% 50%);
}

.home-hero__node-dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ea7402;
  box-shadow: 0 0 0 5px color-mix(in srgb, #ea7402 20%, transparent);
  animation: home-hero-dot-pulse 2.8s ease-in-out infinite;
}

.home-hero__node-chip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: #e3dbcc;
  background: linear-gradient(
    155deg,
    #090a0f 0%,
    color-mix(in srgb, #090a0f 78%, #ffffff) 100%
  );
  box-shadow: 0 10px 24px color-mix(in srgb, #090a0f 22%, transparent);
  opacity: 0;
  pointer-events: none;
  animation: home-hero-chip 8s ease-in-out infinite;
}

.home-hero__node--1 {
  --orbit-from: 0%;
  --orbit-to: 100%;
}

.home-hero__node--2 {
  --orbit-from: 25%;
  --orbit-to: 125%;
}

.home-hero__node--3 {
  --orbit-from: 50%;
  --orbit-to: 150%;
}

.home-hero__node--4 {
  --orbit-from: 75%;
  --orbit-to: 175%;
}

/* CRM angles: pairs sit opposite (50% apart); trio evenly spaced */
.home-hero__orbit--crm .home-hero__node--1 {
  /* inner alone */
  --orbit-from: 0%;
  --orbit-to: 100%;
}

.home-hero__orbit--crm .home-hero__node--2 {
  /* ring 3 pair */
  --orbit-from: 0%;
  --orbit-to: 100%;
}

.home-hero__orbit--crm .home-hero__node--3 {
  --orbit-from: 50%;
  --orbit-to: 150%;
}

.home-hero__orbit--crm .home-hero__node--4 {
  /* ring 2 pair — rotated 90° from ring 3 */
  --orbit-from: 25%;
  --orbit-to: 125%;
}

.home-hero__orbit--crm .home-hero__node--5 {
  --orbit-from: 75%;
  --orbit-to: 175%;
}

.home-hero__orbit--crm .home-hero__node--6 {
  /* outer trio — 120° apart */
  --orbit-from: 0%;
  --orbit-to: 100%;
}

.home-hero__orbit--crm .home-hero__node--7 {
  --orbit-from: 33.333%;
  --orbit-to: 133.333%;
}

.home-hero__orbit--crm .home-hero__node--8 {
  --orbit-from: 66.666%;
  --orbit-to: 166.666%;
}

/* Clincare: 9 platform modules — outer ring is a quartet */
.home-hero__orbit--clincare .home-hero__node--6 {
  --orbit-from: 0%;
  --orbit-to: 100%;
}

.home-hero__orbit--clincare .home-hero__node--7 {
  --orbit-from: 25%;
  --orbit-to: 125%;
}

.home-hero__orbit--clincare .home-hero__node--8 {
  --orbit-from: 50%;
  --orbit-to: 150%;
}

.home-hero__orbit--clincare .home-hero__node--9 {
  --orbit-from: 75%;
  --orbit-to: 175%;
}

.home-hero__orbit--crm .home-hero__node-chip {
  animation-duration: 16s;
}

/* CRM: dots appear/disappear in sequence so the orbit stays sparse */
.home-hero__orbit--crm .home-hero__node-dot {
  opacity: 0;
  animation:
    home-hero-dot-pulse 2.8s ease-in-out infinite,
    home-hero-dot-fade 16s ease-in-out infinite;
}

.home-hero__orbit--crm .home-hero__node--1 .home-hero__node-dot {
  animation-delay: 0s, 0s;
}

.home-hero__orbit--crm .home-hero__node--2 .home-hero__node-dot {
  animation-delay: 0.35s, 2s;
}

.home-hero__orbit--crm .home-hero__node--3 .home-hero__node-dot {
  animation-delay: 0.7s, 4s;
}

.home-hero__orbit--crm .home-hero__node--4 .home-hero__node-dot {
  animation-delay: 1.05s, 6s;
}

.home-hero__orbit--crm .home-hero__node--5 .home-hero__node-dot {
  animation-delay: 1.4s, 8s;
}

.home-hero__orbit--crm .home-hero__node--6 .home-hero__node-dot {
  animation-delay: 1.75s, 10s;
}

.home-hero__orbit--crm .home-hero__node--7 .home-hero__node-dot {
  animation-delay: 2.1s, 12s;
}

.home-hero__orbit--crm .home-hero__node--8 .home-hero__node-dot {
  animation-delay: 2.45s, 14s;
}

.home-hero__orbit--clincare .home-hero__node--9 .home-hero__node-dot {
  opacity: 0;
  animation:
    home-hero-dot-pulse 2.8s ease-in-out infinite,
    home-hero-dot-fade 16s ease-in-out infinite;
  animation-delay: 2.8s, 15s;
}

.home-hero__orbit--clincare .home-hero__node--9 .home-hero__node-chip {
  animation-duration: 16s;
  animation-delay: 1.4s;
}

.home-hero__node--1 .home-hero__node-chip {
  animation-delay: 0s;
}

.home-hero__node--1 .home-hero__node-dot {
  animation-delay: 0s;
}

.home-hero__node--2 .home-hero__node-chip {
  animation-delay: 2s;
}

.home-hero__node--2 .home-hero__node-dot {
  animation-delay: 0.35s;
}

.home-hero__node--3 .home-hero__node-chip {
  animation-delay: 4s;
}

.home-hero__node--3 .home-hero__node-dot {
  animation-delay: 0.7s;
}

.home-hero__node--4 .home-hero__node-chip {
  animation-delay: 6s;
}

.home-hero__node--4 .home-hero__node-dot {
  animation-delay: 1.05s;
}

.home-hero__orbit--crm .home-hero__node--1 .home-hero__node-chip {
  animation-delay: 0s;
}

.home-hero__orbit--crm .home-hero__node--2 .home-hero__node-chip {
  animation-delay: 2s;
}

.home-hero__orbit--crm .home-hero__node--3 .home-hero__node-chip {
  animation-delay: 4s;
}

.home-hero__orbit--crm .home-hero__node--4 .home-hero__node-chip {
  animation-delay: 6s;
}

.home-hero__orbit--crm .home-hero__node--5 .home-hero__node-chip {
  animation-delay: 8s;
}

.home-hero__orbit--crm .home-hero__node--6 .home-hero__node-chip {
  animation-delay: 10s;
}

.home-hero__orbit--crm .home-hero__node--7 .home-hero__node-chip {
  animation-delay: 12s;
}

.home-hero__orbit--crm .home-hero__node--8 .home-hero__node-chip {
  animation-delay: 14s;
}

.home-hero__orbit--crm .home-hero__node--5 .home-hero__node-dot {
  animation-delay: 1.4s;
}

.home-hero__orbit--crm .home-hero__node--6 .home-hero__node-dot {
  animation-delay: 1.75s;
}

.home-hero__orbit--crm .home-hero__node--7 .home-hero__node-dot {
  animation-delay: 2.1s;
}

.home-hero__orbit--crm .home-hero__node--8 .home-hero__node-dot {
  animation-delay: 2.45s;
}

/* Longer product ledes (CRM / Clincare) */
body.home-landing:has(.home-hero__orbit--crm) .home-hero__lede {
  max-width: 52ch;
}


@keyframes home-hero-ring-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes home-hero-ring-spin-rev {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes home-hero-node-orbit {
  from {
    offset-distance: var(--orbit-from, 0%);
  }
  to {
    offset-distance: var(--orbit-to, 100%);
  }
}

@keyframes home-hero-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 5px color-mix(in srgb, #ea7402 20%, transparent);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 8px color-mix(in srgb, #ea7402 12%, transparent);
  }
}

@keyframes home-hero-dot-fade {
  0%,
  6% {
    opacity: 0;
  }
  12%,
  20% {
    opacity: 1;
  }
  28%,
  100% {
    opacity: 0;
  }
}

@keyframes home-hero-chip {
  0%,
  8% {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  14%,
  22% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  28%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__ring--1,
  .home-hero__ring--2,
  .home-hero__ring--3,
  .home-hero__ring--4,
  .home-hero__node,
  .home-hero__node-dot {
    animation: none;
  }

  .home-hero__node--1 {
    offset-distance: 0%;
  }

  .home-hero__node--2 {
    offset-distance: 25%;
  }

  .home-hero__node--3 {
    offset-distance: 50%;
  }

  .home-hero__node--4 {
    offset-distance: 75%;
  }

  .home-hero__orbit--crm .home-hero__node--2 {
    offset-distance: 0%;
  }

  .home-hero__orbit--crm .home-hero__node--3 {
    offset-distance: 50%;
  }

  .home-hero__orbit--crm .home-hero__node--4 {
    offset-distance: 25%;
  }

  .home-hero__orbit--crm .home-hero__node--5 {
    offset-distance: 75%;
  }

  .home-hero__orbit--crm .home-hero__node--6 {
    offset-distance: 0%;
  }

  .home-hero__orbit--crm .home-hero__node--7 {
    offset-distance: 33.333%;
  }

  .home-hero__orbit--crm .home-hero__node--8 {
    offset-distance: 66.666%;
  }

  .home-hero__orbit--clincare .home-hero__node--6 {
    offset-distance: 0%;
  }

  .home-hero__orbit--clincare .home-hero__node--7 {
    offset-distance: 25%;
  }

  .home-hero__orbit--clincare .home-hero__node--8 {
    offset-distance: 50%;
  }

  .home-hero__orbit--clincare .home-hero__node--9 {
    offset-distance: 75%;
  }

  .home-hero__node-chip {
    animation: none;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .home-hero__orbit--clincare .home-hero__node--9 .home-hero__node-dot {
    opacity: 1;
  }
}

/* Product logos — bottom of hero */
.home-hero .home-logos {
  grid-area: logos;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  align-self: start;
}

.home-logos__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: var(--font-eyebrow-size, 11px);
  font-weight: var(--font-eyebrow-weight, 400);
  letter-spacing: var(--font-eyebrow-tracking, 0.14em);
  text-transform: uppercase;
  color: var(--text-color, #80837d);
}

.home-logos__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: start;
  justify-items: center;
  align-items: stretch;
  gap: 0 1.35rem;
  width: max-content;
  max-width: 100%;
}

.home-logos__row > li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-height: 28px;
  box-sizing: border-box;
}

.home-logos__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.72;
  transition: opacity 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.home-logos__link:hover {
  opacity: 1;
}

.home-logos__link img {
  display: block;
  height: auto;
  width: auto;
  max-height: 16px;
  max-width: 120px;
  object-fit: contain;
  object-position: center;
}

.home-logos__link[title='Clincare'] img,
.home-logos__link[title='PRIVC'] img,
.home-logos__link[title='GNOS'] img {
  max-height: 14px;
}

.home-logos__link[title='Digiknack CRM'] img {
  max-height: 18px;
  margin-top: 2px;
}

.home-logos__row--crm {
  grid-template-columns: repeat(6, max-content);
  gap: 0.55rem 0.75rem;
}

.home-logos__row--clincare {
  grid-template-columns: repeat(5, max-content);
  flex-wrap: nowrap;
}

.home-logos__row--orangecup {
  grid-template-columns: repeat(8, max-content);
  flex-wrap: nowrap;
}

.home-logos__row--northnode,
.home-logos__row--privc,
.home-logos__row--gnos {
  grid-template-columns: repeat(6, max-content);
  flex-wrap: nowrap;
}

.home-logos__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8dfdc;
  background: linear-gradient(
    155deg,
    #090a0f 0%,
    color-mix(in srgb, #090a0f 78%, #ffffff) 100%
  );
  border: 1px solid color-mix(in srgb, #d8dfdc 14%, transparent);
}

/* Feature grid — open on page, not a hero card */
.home-features {
  width: 100%;
  margin: 0.75rem 0 2.25rem;
  padding: clamp(8px, 1.5vw, 16px) 0 0;
  box-sizing: border-box;
  background: transparent;
}

.home-features__head {
  max-width: none;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.home-features__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: var(--font-eyebrow-size, 11px);
  font-weight: 400;
  letter-spacing: var(--font-eyebrow-tracking, 0.14em);
  text-transform: uppercase;
  color: #ea7402;
}

.home-features__title {
  margin: 0;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #d8dfdc;
  white-space: nowrap;
}

.home-features__title-muted {
  color: #80837d;
}

.home-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid color-mix(in srgb, #d8dfdc 14%, transparent);
}

.home-features__cell {
  padding: 1.35rem 1.5rem 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  border-right: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  box-sizing: border-box;
}

.home-features__cell:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.home-features__cell:nth-child(3n + 1) {
  padding-left: 0;
}

.home-features__step {
  margin: 0 0 0.7rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea7402;
}

.home-features__name {
  margin: 0;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #d8dfdc;
}

.home-features__text {
  margin: 0.55rem 0 0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.55;
  color: #80837d;
  max-width: 36ch;
}

.home-features__cell:hover .home-features__name {
  color: #e3dbcc;
}

.home-features__scale {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #80837d;
}

.home-features__scale-label {
  display: block;
  margin: 0 0 0.4rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea7402;
}

/* Clincare impact / cost payoff */
.home-impact {
  width: 100%;
  margin: 0.75rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  box-sizing: border-box;
}

.home-impact__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: var(--font-eyebrow-size, 11px);
  font-weight: 400;
  letter-spacing: var(--font-eyebrow-tracking, 0.14em);
  text-transform: uppercase;
  color: #ea7402;
}

.home-impact__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #d8dfdc;
}

.home-impact__lede {
  margin: 0 0 1.25rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.55;
  color: #80837d;
}

.home-impact__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.home-impact__stat {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  background: color-mix(in srgb, #090a0f 55%, transparent);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.home-impact.is-in .home-impact__stat {
  opacity: 1;
  transform: none;
}

.home-impact.is-in .home-impact__stat:nth-child(1) {
  transition-delay: 0.08s;
}

.home-impact.is-in .home-impact__stat:nth-child(2) {
  transition-delay: 0.2s;
}

.home-impact.is-in .home-impact__stat:nth-child(3) {
  transition-delay: 0.32s;
}

.home-impact__stat:hover {
  border-color: color-mix(in srgb, #ea7402 42%, transparent);
}

.home-impact__stat-value {
  margin: 0;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ea7402;
  font-variant-numeric: tabular-nums;
}

.home-impact__stat-label {
  margin: 0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.45;
  color: #d8dfdc;
}

.home-impact__copy .home-impact__cta {
  margin-top: 1.35rem;
}

.home-impact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
  height: 34px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 116, 2, 0.85);
  background: transparent;
  color: #eef3f0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.home-impact.is-in .home-impact__cta {
  opacity: 1;
  transform: none;
}

.home-impact__cta:hover {
  background: #ea7402;
  border-color: #ea7402;
  color: #060606;
}

.home-impact__copy,
.home-impact__aside {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-impact.is-in .home-impact__copy,
.home-impact.is-in .home-impact__aside {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-impact__copy,
  .home-impact__aside,
  .home-impact__stat,
  .home-impact__cta {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Commission / feature marketplace */
.home-commission {
  width: 100%;
  margin: 0.5rem 0 2.5rem;
  box-sizing: border-box;
}

.home-commission__panel {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  overflow: visible;
}

.home-commission__glow {
  display: none;
}

.home-commission__copy,
.home-commission__cards,
.home-commission__foot {
  position: relative;
  z-index: 1;
}

.home-commission__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: var(--font-eyebrow-size, 11px);
  font-weight: 400;
  letter-spacing: var(--font-eyebrow-tracking, 0.14em);
  text-transform: uppercase;
  color: #ea7402;
}

.home-commission__title {
  margin: 0;
  max-width: none;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #d8dfdc;
  white-space: nowrap;
}

.home-commission__title-muted {
  color: #80837d;
}

.home-commission__cards {
  list-style: none;
  margin: clamp(1.35rem, 2.5vw, 1.85rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.home-commission__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
  background: color-mix(in srgb, #090a0f 62%, transparent);
  border: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    background 0.25s ease;
}

.home-commission.is-in .home-commission__card {
  opacity: 1;
  transform: none;
}

.home-commission.is-in .home-commission__card:nth-child(1) {
  transition-delay: 0.08s;
}

.home-commission.is-in .home-commission__card:nth-child(2) {
  transition-delay: 0.2s;
}

.home-commission.is-in .home-commission__card:nth-child(3) {
  transition-delay: 0.32s;
}

.home-commission__card:hover {
  border-color: color-mix(in srgb, #ea7402 42%, transparent);
  background: color-mix(in srgb, #090a0f 48%, transparent);
}

.home-commission__rail {
  position: relative;
  display: block;
  height: 2px;
  width: 100%;
  margin-bottom: 0.35rem;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, #d8dfdc 14%, transparent);
}

.home-commission__rail-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, #ea7402 55%, transparent) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
}

.home-commission.is-in .home-commission__rail-line {
  animation: home-commission-rail 2.8s ease-in-out infinite;
}

.home-commission.is-in .home-commission__card:nth-child(2) .home-commission__rail-line {
  animation-delay: 0.45s;
}

.home-commission.is-in .home-commission__card:nth-child(3) .home-commission__rail-line {
  animation-delay: 0.9s;
}

.home-commission__rail-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #ea7402;
  box-shadow: 0 0 0 3px color-mix(in srgb, #ea7402 22%, transparent);
  transform: translateX(0);
  opacity: 0;
}

.home-commission.is-in .home-commission__rail-dot {
  animation: home-commission-dot 2.8s ease-in-out infinite;
}

.home-commission.is-in .home-commission__card:nth-child(2) .home-commission__rail-dot {
  animation-delay: 0.45s;
}

.home-commission.is-in .home-commission__card:nth-child(3) .home-commission__rail-dot {
  animation-delay: 0.9s;
}

.home-commission__card-step {
  margin: 0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea7402;
}

.home-commission__card-title {
  margin: 0;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 400;
  font-size: clamp(16px, 1.45vw, 19px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #d8dfdc;
}

.home-commission__card-text {
  margin: 0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #80837d;
}

.home-commission__cut {
  color: #ea7402;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.home-commission__foot {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.15rem);
  padding-top: 1.35rem;
  border-top: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

.home-commission.is-in .home-commission__foot {
  opacity: 1;
  transform: none;
}

.home-commission__foot-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 46rem;
}

.home-commission__close {
  margin: 0;
  font-family: var(--font-sans, clother, sans-serif);
  font-weight: 300;
  font-size: clamp(17px, 1.8vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #d8dfdc;
}

.home-commission__deck {
  display: grid;
  gap: 0.65rem;
  margin: 0.85rem 0 0;
  padding: 0;
  border: 0;
}

.home-commission__deck p {
  margin: 0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #80837d;
}

.home-commission__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  height: 34px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 116, 2, 0.85);
  background: transparent;
  color: #eef3f0;
  font-family: var(--font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.25s ease;
}

.home-commission__cta:hover {
  background: #ea7402;
  border-color: #ea7402;
  color: #060606;
  box-shadow: 0 0 0 4px color-mix(in srgb, #ea7402 18%, transparent);
}

.home-commission__copy {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-commission.is-in .home-commission__copy {
  opacity: 1;
  transform: none;
}

@keyframes home-commission-glow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.08) translate(-4%, 3%);
  }
}

@keyframes home-commission-rail {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes home-commission-dot {
  0% {
    left: 0;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 7px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-commission__glow,
  .home-commission.is-in .home-commission__rail-line,
  .home-commission.is-in .home-commission__rail-dot {
    animation: none;
  }

  .home-commission__copy,
  .home-commission__card,
  .home-commission__foot {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-commission__rail-dot {
    left: calc(100% - 7px);
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  body.home-landing {
    padding:
      max(28px, env(safe-area-inset-top, 0px))
      max(48px, env(safe-area-inset-right, 0px))
      max(28px, env(safe-area-inset-bottom, 0px))
      max(48px, env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 860px) {
  body.home-landing {
    padding:
      calc(var(--site-nav-h, 3.75rem) + 20px + env(safe-area-inset-top, 0px))
      max(20px, env(safe-area-inset-right, 0px))
      max(20px, env(safe-area-inset-bottom, 0px))
      max(20px, env(safe-area-inset-left, 0px));
  }

  .home-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      'visual'
      'copy'
      'logos';
    min-height: 0;
    padding: 20px 20px 28px;
    border-radius: 20px;
    row-gap: 1.15rem;
  }

  /* Orbit on top; copy + logos flow below */
  .home-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
  }

  .home-hero__copy {
    align-self: start;
    text-align: left;
  }

  .home-hero--contact {
    grid-template-areas: 'copy';
  }

  .home-hero--contact .home-hero__visual {
    display: none !important;
  }

  .home-hero--contact .home-hero__copy,
  .home-contact__form {
    max-width: none;
  }

  .home-contact__grid {
    grid-template-columns: 1fr;
  }

  .home-contact__col--fields::after {
    top: auto;
    bottom: 0;
    left: var(--dk-form-card-pad-x, 16px);
    right: var(--dk-form-card-pad-x, 16px);
    width: auto;
    height: 1px;
  }

  .home-contact__col--fields {
    padding-bottom: var(--dk-form-card-gap, 8px);
  }

  .home-contact__form .dk-form-card .home-contact__col--message textarea.contact-input.contact-textarea {
    min-height: 9rem;
    height: auto;
    max-height: none;
    resize: none;
  }

  .home-hero__orbit {
    width: min(72vw, 260px);
  }

  .home-hero__lede {
    max-width: none;
  }

  .home-hero__title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .home-logos__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 1rem 1.25rem;
    justify-content: stretch;
    justify-items: start;
  }

  .home-logos__row > li {
    height: 32px;
    min-height: 32px;
    width: 100%;
    justify-content: flex-start;
  }

  .home-logos__link {
    opacity: 0.92;
    width: 100%;
    justify-content: flex-start;
  }

  .home-logos__link img {
    max-height: 20px;
    max-width: min(100%, 148px);
    /* Lift #80837D marks toward cream on dark card */
    filter: brightness(1.55) contrast(1.05);
  }

  .home-logos__link[title='Clincare'] img,
  .home-logos__link[title='PRIVC'] img,
  .home-logos__link[title='GNOS'] img {
    max-height: 18px;
  }

  .home-logos__link[title='Digiknack CRM'] img {
    max-height: 22px;
    margin-top: 0;
  }

  .home-logos__row--crm,
  .home-logos__row--orangecup,
  .home-logos__row--northnode,
  .home-logos__row--privc,
  .home-logos__row--gnos,
  .home-logos__row--clincare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .home-features {
    padding: 4px 0 0;
  }

  .home-features__title {
    white-space: normal;
  }

  .home-commission__title {
    white-space: normal;
  }

  .home-impact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-impact__title {
    max-width: none;
  }

  .home-commission__cards {
    grid-template-columns: 1fr;
  }

  .home-commission__foot {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-commission__cta {
    margin-left: 0;
  }

  .home-features__grid {
    grid-template-columns: 1fr;
  }

  .home-features__cell,
  .home-features__cell:nth-child(3n),
  .home-features__cell:nth-child(3n + 1) {
    border-right: 0;
    padding: 1.15rem 0;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .home-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-features__cell:nth-child(3n) {
    border-right: 1px solid color-mix(in srgb, #d8dfdc 10%, transparent);
    padding-right: 1.25rem;
  }

  .home-features__cell:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }

  .home-features__cell:nth-child(2n + 1) {
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .home-hero__title {
    font-size: clamp(22px, 6.5vw, 28px);
  }
}
