/* ClientAhead company homepage — editorial corporate system */
html.page-company-home {
  color-scheme: light;
  background: #f4f2ed;
}

.page-company-home body {
  background: #f4f2ed;
}

.page-company-home .site-header--saas {
  --shell-bg: rgba(244, 242, 237, 0.9);
  --shell-bg-solid: #f4f2ed;
  --shell-panel: #fbfaf6;
  --shell-panel-soft: #ece9e1;
  --shell-line: rgba(22, 24, 23, 0.16);
  --shell-line-strong: rgba(22, 24, 23, 0.24);
  --shell-text: #161817;
  --shell-muted: #59605b;
  --shell-accent: #174b3f;
  background: var(--shell-bg);
  border-bottom-color: var(--shell-line);
}

.page-company-home .site-header--saas.is-scrolled,
.page-company-home body.nav-open .site-header--saas {
  background: rgba(244, 242, 237, 0.97);
  border-bottom-color: var(--shell-line);
  box-shadow: 0 10px 28px rgba(22, 24, 23, 0.08);
}

.page-company-home .site-logo-lockup--default {
  display: block;
  filter: grayscale(1) brightness(0);
}

.page-company-home .portfolio-logo {
  display: none;
}

.page-company-home .site-header--saas .nav-link--direct:hover,
.page-company-home .site-header--saas .nav-link--direct:focus-visible,
.page-company-home .site-header--saas .portfolio-nav__toggle:hover,
.page-company-home .site-header--saas .portfolio-nav__toggle:focus-visible,
.page-company-home .site-header--saas .portfolio-nav__item.is-open > .portfolio-nav__toggle {
  color: #161817;
  background: #e9e6de;
  border-color: rgba(22, 24, 23, 0.16);
}

.page-company-home .site-header--saas .nav-actions .btn--spark,
.page-company-home .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #174b3f;
  background: #174b3f;
  box-shadow: 0 8px 18px rgba(23, 75, 63, 0.18);
}

.page-company-home .site-header--saas .nav-actions .btn--spark:is(:hover, :focus-visible) {
  border-color: #0f392f;
  background: #0f392f;
}

.page-company-home .site-header--saas .nav-actions .btn--spark__icon,
.page-company-home .site-header--saas .nav-actions .btn--spark__text {
  color: #fff;
}

.page-company-home .nav-toggle {
  color: #161817;
  background: #fbfaf6;
  border-color: rgba(22, 24, 23, 0.18);
}

.page-company-home .footer--saas {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #111513;
  color: #f4f2ed;
}

.page-company-home .footer--saas .footer-label {
  color: #a9cabe;
}

.page-company-home .footer--saas .footer-brand__statement,
.page-company-home .footer--saas .footer-link,
.page-company-home .footer--saas .footer-link--static,
.page-company-home .footer--saas .footer-small,
.page-company-home .footer--saas .footer-mini-link {
  color: #aeb7b1;
}

.company-home {
  --company-ink: #161817;
  --company-ink-soft: #353936;
  --company-paper: #f4f2ed;
  --company-paper-deep: #e8e4dc;
  --company-paper-light: #fbfaf6;
  --company-stone: #b7b4ad;
  --company-muted: #656b66;
  --company-green: #174b3f;
  --company-green-deep: #0f3029;
  --company-green-light: #d8e5de;
  --company-rule: rgba(22, 24, 23, 0.2);
  --company-dark-rule: rgba(244, 242, 237, 0.2);
  --company-max: 1370px;
  --company-serif: "Iowan Old Style", Baskerville, "Times New Roman", Georgia, serif;
  overflow: hidden;
  background: var(--company-paper);
  color: var(--company-ink);
}

.company-home *,
.company-home *::before,
.company-home *::after {
  box-sizing: border-box;
}

.company-home h1,
.company-home h2,
.company-home h3,
.company-home p,
.company-home dl,
.company-home dd,
.company-home figure,
.company-home ol {
  margin: 0;
}

.company-home ol {
  padding: 0;
  list-style: none;
}

.company-home a:focus-visible {
  outline: 3px solid #2c7765;
  outline-offset: 5px;
}

.company-wrap {
  width: min(var(--company-max), calc(100% - 64px));
  margin-inline: auto;
}

.company-eyebrow,
.company-index,
.company-roots__facts dt {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.company-section {
  padding-block: clamp(96px, 9vw, 142px);
}

/* Hero */
.company-hero {
  padding: calc(var(--header-h) + 30px) 0 clamp(92px, 9vw, 138px);
  background:
    linear-gradient(rgba(22, 24, 23, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 23, 0.034) 1px, transparent 1px),
    var(--company-paper);
  background-size: 52px 52px;
}

.company-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  gap: clamp(58px, 8vw, 138px);
  align-items: center;
  margin-top: 0;
}

.company-eyebrow {
  color: var(--company-green);
}

.company-hero h1,
.company-model__intro h2,
.company-principles__intro h2,
.company-platforms__intro h2,
.company-products__intro h2,
.company-roots__copy h2,
.company-final h2 {
  max-width: 920px;
  font-family: var(--company-serif);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.company-hero h1 {
  max-width: 850px;
  margin-top: 27px;
  font-size: clamp(4.15rem, 7vw, 7.5rem);
}

.company-hero-word-cycle {
  display: inline-grid;
  position: relative;
  margin-left: 0.05em;
  vertical-align: baseline;
  color: var(--company-green);
}

.company-hero-word-cycle > span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.24em);
  will-change: opacity, transform;
}

.company-hero-word-cycle > span:first-child {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .company-hero-word-cycle > span {
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }

  .company-hero-word-cycle > span:nth-child(1) {
    animation-name: company-hero-word-one;
  }

  .company-hero-word-cycle > span:nth-child(2) {
    animation-name: company-hero-word-two;
  }

  .company-hero-word-cycle > span:nth-child(3) {
    animation-name: company-hero-word-three;
  }

  .company-hero-word-cycle > span:nth-child(4) {
    animation-name: company-hero-word-four;
  }
}

@keyframes company-hero-word-one {
  0%, 22% { opacity: 1; transform: translateY(0); }
  25%, 100% { opacity: 0; transform: translateY(-0.24em); }
}

@keyframes company-hero-word-two {
  0%, 22% { opacity: 0; transform: translateY(0.24em); }
  25%, 47% { opacity: 1; transform: translateY(0); }
  50%, 100% { opacity: 0; transform: translateY(-0.24em); }
}

@keyframes company-hero-word-three {
  0%, 47% { opacity: 0; transform: translateY(0.24em); }
  50%, 72% { opacity: 1; transform: translateY(0); }
  75%, 100% { opacity: 0; transform: translateY(-0.24em); }
}

@keyframes company-hero-word-four {
  0%, 72% { opacity: 0; transform: translateY(0.24em); }
  75%, 97% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-0.24em); }
}

.company-hero__lede {
  max-width: 660px;
  margin-top: 36px !important;
  padding-left: 19px;
  border-left: 1px solid var(--company-stone);
  color: #47504a;
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.75;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 33px;
}

.company-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.company-button .material-symbols-rounded {
  font-size: 18px;
}

.company-button--solid {
  background: var(--company-green);
  color: #fff;
}

.company-button--solid:hover {
  background: var(--company-green-deep);
  transform: translateY(-2px);
}

.company-button--text {
  border-color: var(--company-rule);
  background: rgba(255, 255, 255, 0.25);
  color: var(--company-green);
}

.company-button--text:hover {
  border-color: var(--company-green);
  background: var(--company-paper-light);
}

.company-hero-stack {
  position: relative;
  min-height: 520px;
  margin: 0;
  perspective: 1200px;
}

.company-hero-stack__scene {
  position: absolute;
  top: -18px;
  bottom: -18px;
  left: 50%;
  width: calc(100% + 60px);
  overflow: visible;
  pointer-events: none;
  transform: translateX(-50%) scale(0.9);
  transform-origin: center center;
}

.company-hero-stack__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(76px);
  opacity: 0.29;
  pointer-events: none;
}

.company-hero-stack__orb--green {
  top: 9%;
  left: 18%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(81, 144, 115, 0.55) 0%, transparent 70%);
}

.company-hero-stack__orb--violet {
  right: 9%;
  bottom: 13%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(91, 61, 245, 0.39) 0%, transparent 70%);
}

.company-hero-panel {
  position: absolute;
  display: block;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 24px 56px rgba(22, 24, 23, 0.29), 0 2px 6px rgba(22, 24, 23, 0.16);
  object-fit: contain;
  backface-visibility: hidden;
  will-change: transform;
}

.company-hero-panel--shopify {
  top: 4%;
  left: 2%;
  z-index: 2;
  width: 72%;
  transform: rotate(-1deg);
}

.company-hero-panel--code {
  top: 8%;
  right: -2%;
  z-index: 3;
  width: 62%;
  transform: rotate(1.5deg);
  border-color: rgba(121, 219, 173, 0.34);
}

.company-hero-panel--mobile {
  top: 25%;
  left: -5%;
  z-index: 5;
  width: 24%;
  max-width: 180px;
  border-color: rgba(121, 219, 173, 0.48);
  border-radius: 20px;
  transform: rotate(1deg);
}

.company-hero-panel--ai {
  right: 11%;
  bottom: 15%;
  z-index: 2;
  width: 64%;
  transform: rotate(-0.8deg);
  border-color: rgba(99, 128, 224, 0.28);
}

.company-hero-badge {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(22, 24, 23, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 36%, rgba(255, 255, 255, 0.52) 100%);
  box-shadow: 0 12px 24px rgba(22, 24, 23, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  will-change: transform;
}

.company-hero-badge img {
  position: relative;
  z-index: 1;
  display: block;
  width: 27px;
  height: 29px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(22, 24, 23, 0.12));
}

.company-hero-badge--shopify {
  top: -3%;
  left: 9%;
}

.company-hero-badge--wordpress {
  top: 6%;
  right: 8%;
}

.company-hero-badge--android {
  bottom: 42%;
  left: 20%;
}

.company-hero-badge--apple {
  right: 10%;
  bottom: 8%;
}

.company-hero-badge--wordpress,
.company-hero-badge--apple {
  border-color: rgba(255, 255, 255, 0.26);
  background: #174b3f;
  box-shadow: 0 12px 24px rgba(22, 24, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.company-hero-badge--wordpress img {
  width: 30px;
  height: 30px;
}

.company-hero-icon-badge {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(23, 75, 63, 0.26);
  border-radius: 14px;
  background: rgba(244, 242, 237, 0.84);
  box-shadow: 0 8px 24px rgba(22, 24, 23, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: var(--company-green);
  will-change: transform;
}

.company-hero-icon-badge .material-symbols-rounded {
  font-size: 24px;
}

.company-hero-icon-badge--calendar {
  top: 31%;
  left: -9%;
}

.company-hero-icon-badge--ledger {
  top: 38%;
  right: 7%;
}

.company-hero-icon-badge--apps {
  bottom: 19%;
  left: 11%;
}

.company-hero-stack__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (prefers-reduced-motion: no-preference) {
  .company-hero-stack__orb--green,
  .company-hero-panel--shopify,
  .company-hero-panel--mobile,
  .company-hero-badge--shopify,
  .company-hero-badge--android,
  .company-hero-icon-badge--ledger {
    animation: company-hero-float-a 7s ease-in-out infinite alternate;
  }

  .company-hero-stack__orb--violet,
  .company-hero-panel--code,
  .company-hero-panel--ai,
  .company-hero-badge--wordpress,
  .company-hero-badge--apple,
  .company-hero-icon-badge--calendar,
  .company-hero-icon-badge--apps {
    animation: company-hero-float-b 8.5s ease-in-out infinite alternate-reverse;
  }

  .company-hero-panel--mobile,
  .company-hero-badge--android,
  .company-hero-icon-badge--calendar {
    animation-delay: -1.8s;
  }

  .company-hero-panel--ai,
  .company-hero-badge--apple,
  .company-hero-icon-badge--apps {
    animation-delay: -1.4s;
  }
}

@keyframes company-hero-float-a {
  from { translate: 0 0; }
  to { translate: 0 -12px; }
}

@keyframes company-hero-float-b {
  from { translate: 0 0; }
  to { translate: 0 10px; }
}

/* Reusable section label */
.company-index {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr);
  gap: 14px;
  align-items: center;
  color: #686e69;
}

.company-index i {
  height: 1px;
  margin-left: 8px;
  background: #c1beb7;
}

.company-index--light {
  color: #aeb6b0;
}

.company-index--light i {
  background: rgba(244, 242, 237, 0.25);
}

/* Company model */
.company-model {
  background: var(--company-paper);
}

.company-model__intro,
.company-principles__intro,
.company-platforms__intro,
.company-products__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(50px, 7vw, 104px);
  align-items: end;
  margin-top: 49px;
}

.company-model__intro h2,
.company-principles__intro h2,
.company-platforms__intro h2,
.company-products__intro h2,
.company-roots__copy h2 {
  font-size: clamp(3.6rem, 5.7vw, 6.25rem);
}

.company-model__intro > div {
  display: grid;
  gap: 23px;
}

.company-model__intro p,
.company-principles__intro > p,
.company-platforms__intro > p,
.company-products__intro > p {
  color: #555e58;
  font-size: 1rem;
  line-height: 1.75;
}

.company-model__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(68px, 7vw, 94px);
  border-top: 1px solid #aeadA6;
}

.company-model__steps li {
  display: flex;
  min-height: 255px;
  flex-direction: column;
  justify-content: end;
  padding: 25px 32px 29px 0;
  border-right: 1px solid #c6c4bc;
  border-bottom: 1px solid #c6c4bc;
}

.company-model__steps li + li {
  padding-left: 32px;
}

.company-model__steps li:last-child {
  border-right: 0;
}

.company-model__steps h3,
.company-principles__grid h3 {
  font-family: var(--company-serif);
  font-size: clamp(1.75rem, 2.3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.company-model__steps p,
.company-principles__grid p {
  max-width: 340px;
  margin-top: 14px;
  color: #616861;
  font-size: 0.86rem;
  line-height: 1.7;
}

/* Principles */
.company-principles {
  background: var(--company-ink);
  color: var(--company-paper);
}

.company-principles__intro > p {
  color: #afb8b1;
}

.company-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(70px, 7vw, 96px);
  border-top: 1px solid var(--company-dark-rule);
}

.company-principles__grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 25px 34px 28px 0;
  border-right: 1px solid var(--company-dark-rule);
}

.company-principles__grid article + article {
  padding-left: 34px;
}

.company-principles__grid article:last-child {
  border-right: 0;
}

.company-principles__grid h3 {
  margin-top: auto;
  color: var(--company-paper);
}

.company-principles__grid p {
  color: #a4ada6;
}

/* Platforms */
.company-platforms {
  background: var(--company-green);
  color: var(--company-paper);
}

.company-platforms .company-index {
  color: #b8c6be;
}

.company-platforms .company-index i {
  background: rgba(244, 242, 237, 0.34);
}

.company-platforms__intro > p {
  color: #c5d3cb;
}

.company-platforms__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(70px, 7vw, 96px);
  padding: 0;
  list-style: none;
}

.company-platform {
  position: relative;
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(244, 242, 237, 0.26);
  background: rgba(4, 27, 23, 0.2);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.company-platform::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 242, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 237, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.company-platform:hover {
  border-color: rgba(244, 242, 237, 0.55);
  background: rgba(4, 27, 23, 0.35);
  transform: translateY(-4px);
}

.company-platform:hover::before {
  opacity: 1;
}

.company-platform__mark,
.company-platform h3,
.company-platform p {
  position: absolute;
  z-index: 1;
}

.company-platform__mark {
  top: 24px;
  left: 24px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
}

.company-platform__mark img {
  display: block;
  width: 100%;
  max-width: 64px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
}

.company-platform h3 {
  right: 24px;
  bottom: 54px;
  left: 24px;
  color: #fff;
  font-family: var(--company-serif);
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.company-platform p {
  right: 24px;
  bottom: 25px;
  left: 24px;
  color: #b7ccc1;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
}

.company-platform--current {
  border-color: #e5f0a9;
  background: #edf3c5;
}

.company-platform--current::before {
  opacity: 1;
  background-image:
    linear-gradient(rgba(22, 24, 23, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 24, 23, 0.07) 1px, transparent 1px);
}

.company-platform--current h3 {
  color: #1e342b;
}

.company-platform--current p {
  color: #35604f;
}

.company-platform--more {
  background: transparent;
  border-style: dashed;
}

.company-platform--more .company-platform__mark {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(244, 242, 237, 0.42);
  border-radius: 50%;
  color: #d9ebe1;
  font-size: 30px;
}

/* Product portfolio */
.company-products {
  background: var(--company-paper-deep);
}

.company-products__marquee {
  --company-product-gap: clamp(18px, 2vw, 30px);
  position: relative;
  margin-top: clamp(58px, 6vw, 80px);
  overflow: hidden;
  border-block: 1px solid #aaa99f;
}

.company-products__viewport {
  overflow: hidden;
}

.company-products__track,
.company-products__set {
  display: flex;
  align-items: stretch;
}

.company-products__track {
  width: max-content;
  will-change: transform;
}

.company-products__set {
  flex: none;
  gap: var(--company-product-gap);
  padding-right: var(--company-product-gap);
}

.company-product-marquee__item {
  display: inline-flex;
  min-width: clamp(360px, 34vw, 510px);
  min-height: 154px;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2vw, 34px);
  padding: 24px clamp(30px, 3.2vw, 54px);
  border-right: 1px solid #c4c2b9;
  color: var(--company-ink);
  text-decoration: none;
  transition: background 170ms ease, color 170ms ease;
}

.company-product-marquee__item:hover,
.company-product-marquee__item:focus-visible {
  background: #fffefa;
  color: var(--company-green);
}

.company-product-marquee__bookimatic-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.company-product-marquee__bookimatic-logo img {
  width: clamp(48px, 4vw, 64px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(67, 42, 181, 0.17));
}

.company-product-marquee__bookimatic-logo strong {
  color: #2d2359;
  font-size: clamp(2.35rem, 3.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.075em;
}

.company-product-marquee__recoup-logo {
  color: #064d42;
  font-family: var(--company-serif);
  font-size: clamp(3.25rem, 4.8vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 1;
}

.company-product-marquee__recoup-logo::after {
  display: block;
  width: 68%;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #c57b16 0 22%, #064d42 22% 100%);
  content: "";
}

.company-product-marquee__arrow {
  color: var(--company-green);
  font-size: 23px;
  transition: transform 170ms ease;
}

.company-product-marquee__item:hover .company-product-marquee__arrow,
.company-product-marquee__item:focus-visible .company-product-marquee__arrow {
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: no-preference) {
  .company-products__track {
    animation: company-product-marquee 26s linear infinite;
  }

  .company-products__marquee:hover .company-products__track,
  .company-products__marquee:focus-within .company-products__track {
    animation-play-state: paused;
  }
}

@keyframes company-product-marquee {
  to { transform: translateX(-50%); }
}

/* Local roots and globe */
.company-roots {
  position: relative;
  padding-bottom: 0;
  isolation: isolate;
  overflow: hidden;
  background: #090d0c;
  color: var(--company-paper);
}

.company-roots::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 75% 48%, rgba(23, 75, 63, 0.34), transparent 34%),
    radial-gradient(circle at 10% 15%, rgba(117, 155, 137, 0.11), transparent 28%),
    #090d0c;
  content: "";
}

.company-roots__stars,
.company-final__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/stars.webp") repeat;
  background-size: 512px 512px;
  opacity: 0.72;
  pointer-events: none;
}

.company-final__stars {
  z-index: 0;
}

.company-roots__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.87fr) minmax(480px, 1.13fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.company-roots__copy h2 {
  margin-top: 51px;
}

.company-roots__copy > p {
  max-width: 610px;
  margin-top: 31px;
  color: #b7c2bb;
  font-size: 1rem;
  line-height: 1.8;
}

.company-roots__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 46px;
  border-block: 1px solid rgba(244, 242, 237, 0.18);
}

.company-roots__facts div {
  min-height: 100px;
  padding: 21px 22px 20px 0;
}

.company-roots__facts div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(244, 242, 237, 0.18);
}

.company-roots__facts dt {
  color: #88ad9c;
}

.company-roots__facts dd {
  margin-top: 13px;
  color: #f4f2ed;
  font-family: var(--company-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.company-globe {
  position: relative;
  min-height: clamp(490px, 48vw, 650px);
  overflow: visible;
}

.company-globe::before,
.company-globe::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(92%, 600px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 229, 222, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.company-globe::after {
  width: min(108%, 700px);
  border-style: dashed;
  opacity: 0.7;
}

.company-globe::before {
  background: radial-gradient(
    circle at 50% 48%,
    rgba(47, 135, 113, 0.22) 0,
    rgba(19, 79, 67, 0.12) 43%,
    transparent 72%
  );
  box-shadow: 0 0 78px rgba(38, 119, 99, 0.12);
}

.company-globe__fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(80%, 515px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(216, 229, 222, 0.22);
  border-radius: 50%;
  background-image: url("../three/earth_day_2048.jpg");
  background-position: 58% 50%;
  background-size: 215% 100%;
  box-shadow: -28px 4px 74px rgba(0, 0, 0, 0.68), 0 0 80px rgba(33, 116, 89, 0.15);
  transform: translate(-50%, -50%);
  transition: opacity 500ms ease;
}

.company-globe__fallback::before {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(1, 6, 5, 0.7) 0, transparent 48%, rgba(13, 68, 54, 0.12) 100%);
  content: "";
}

.company-globe__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms ease;
}

.company-globe.is-live .company-globe__canvas {
  opacity: 1;
}

.company-globe.is-live .company-globe__fallback {
  opacity: 0;
}

.company-globe__label {
  position: absolute;
  top: 43%;
  left: 51%;
  z-index: 5;
  display: grid;
  gap: 4px;
  min-width: 145px;
  padding: 9px 11px;
  border: 1px solid rgba(125, 203, 169, 0.42);
  border-radius: 7px;
  background: rgba(8, 13, 11, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  color: #fff;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.company-globe__label::before {
  position: absolute;
  top: 50%;
  left: -6px;
  width: 9px;
  height: 9px;
  border: 2px solid #0c1713;
  border-radius: 50%;
  background: #77ddb0;
  content: "";
  transform: translate(-50%, -50%);
}

.company-globe__label span {
  color: #96c6b1;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-globe__label strong {
  font-size: 0.76rem;
  font-weight: 650;
}

.company-globe__orbit {
  position: absolute;
  inset: 0;
  z-index: 4;
  color: #afc4b9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.company-globe__orbit span {
  position: absolute;
  padding: 7px 9px;
  border: 1px solid rgba(244, 242, 237, 0.17);
  background: rgba(9, 13, 12, 0.72);
}

.company-globe__orbit span:first-child {
  top: 16%;
  left: 4%;
}

.company-globe__orbit span:last-child {
  right: 1%;
  bottom: 14%;
}

/* Closing */
.company-final {
  position: relative;
  padding-top: 0;
  isolation: isolate;
  overflow: hidden;
  background: #090d0c;
  color: var(--company-paper);
}

.company-final .company-eyebrow {
  color: #88ad9c;
}

.company-final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  padding-block: 10px;
}

.company-final h2 {
  margin-top: 35px;
  font-size: clamp(4rem, 6.5vw, 7rem);
}

.company-final__inner > div > p:last-child {
  max-width: 690px;
  margin-top: 29px;
  color: #b7c2bb;
  font-size: 1rem;
  line-height: 1.75;
}

.company-final__inner > .company-button {
  min-width: 218px;
}

/* Progressive reveal */
.company-home.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.company-home.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .company-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 56px;
  }

  .company-hero h1 {
    font-size: clamp(3.8rem, 6.5vw, 5.6rem);
  }

  .company-model__intro,
  .company-principles__intro,
  .company-platforms__intro,
  .company-products__intro {
    gap: 52px;
  }

  .company-roots__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: 42px;
  }

  .company-platforms__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .company-wrap {
    width: min(var(--company-max), calc(100% - 40px));
  }

  .company-hero__layout,
  .company-model__intro,
  .company-principles__intro,
  .company-platforms__intro,
  .company-products__intro,
  .company-roots__layout,
  .company-final__inner {
    grid-template-columns: 1fr;
  }

  .company-hero-stack {
    width: 100%;
    max-width: 700px;
    justify-self: center;
    margin-inline: auto;
  }

  .company-model__steps,
  .company-principles__grid {
    grid-template-columns: 1fr;
  }

  .company-platforms__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-model__steps li,
  .company-model__steps li + li,
  .company-principles__grid article,
  .company-principles__grid article + article {
    min-height: 210px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--company-rule);
  }

  .company-principles__grid article,
  .company-principles__grid article + article {
    border-bottom-color: var(--company-dark-rule);
  }

  .company-platform {
    min-height: 240px;
  }

  .company-platform--more {
    grid-column: span 2;
  }

  .company-roots__layout {
    gap: 48px;
  }

  .company-globe {
    min-height: 590px;
  }

  .company-final__inner {
    align-items: start;
  }

  .company-final__inner > .company-button {
    width: max-content;
  }
}

@media (max-width: 560px) {
  .company-wrap {
    width: min(var(--company-max), calc(100% - 32px));
  }

  .company-section {
    padding-block: 88px;
  }

  .company-roots {
    padding-bottom: 0;
  }

  .company-final {
    padding-top: 0;
  }

  .company-hero {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 76px;
    background-size: 38px 38px;
  }

  .company-hero__layout {
    gap: 48px;
  }

  .company-hero h1,
  .company-model__intro h2,
  .company-principles__intro h2,
  .company-platforms__intro h2,
  .company-products__intro h2,
  .company-roots__copy h2,
  .company-final h2 {
    font-size: clamp(3.1rem, 14.8vw, 4.65rem);
    line-height: 0.94;
  }

  .company-hero__lede {
    margin-top: 28px !important;
  }

  .company-actions {
    align-items: stretch;
  }

  .company-button {
    width: 100%;
  }

  .company-hero-stack {
    min-height: 340px;
    perspective: 800px;
  }

  .company-hero-stack__scene {
    top: -8px;
    bottom: -8px;
    left: 50%;
    width: calc(100% + 36px);
    transform: translateX(-50%) scale(0.94);
  }

  .company-hero-stack__orb {
    filter: blur(56px);
    opacity: 0.22;
  }

  .company-hero-stack__orb--green {
    width: 180px;
    height: 180px;
  }

  .company-hero-stack__orb--violet {
    width: 150px;
    height: 150px;
  }

  .company-hero-panel--shopify {
    top: 2%;
    left: 28px;
    width: 72%;
  }

  .company-hero-panel--code {
    top: 40px;
    right: -4%;
    width: 58%;
  }

  .company-hero-panel--mobile {
    top: 25%;
    left: -2%;
    width: 28%;
    max-width: 140px;
  }

  .company-hero-panel--ai {
    right: 7%;
    bottom: 2%;
    width: 60%;
  }

  .company-hero-badge {
    width: 42px;
    height: 42px;
  }

  .company-hero-badge img {
    width: 23px;
    height: 23px;
  }

  .company-hero-badge--shopify {
    top: -3%;
    left: 9%;
  }

  .company-hero-badge--wordpress {
    top: 6%;
    right: 10%;
  }

  .company-hero-badge--android {
    bottom: 37%;
    left: 28%;
  }

  .company-hero-badge--apple {
    right: 3%;
    bottom: 9%;
  }

  .company-hero-badge--wordpress img {
    width: 25px;
    height: 25px;
  }

  .company-hero-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .company-hero-icon-badge .material-symbols-rounded {
    font-size: 18px;
  }

  .company-hero-icon-badge--calendar {
    top: 36%;
    left: -5%;
  }

  .company-hero-icon-badge--ledger {
    top: 39%;
    right: 6%;
  }

  .company-hero-icon-badge--apps {
    bottom: 10%;
    left: 20%;
  }

  .company-index {
    grid-template-columns: auto minmax(20px, 1fr);
    gap: 10px;
  }

  .company-model__intro,
  .company-principles__intro,
  .company-platforms__intro,
  .company-products__intro {
    gap: 28px;
    margin-top: 36px;
  }

  .company-model__steps,
  .company-principles__grid,
  .company-platforms__grid {
    margin-top: 56px;
  }

  .company-model__steps li,
  .company-model__steps li + li,
  .company-principles__grid article,
  .company-principles__grid article + article {
    min-height: 190px;
  }

  .company-products__marquee {
    margin-top: 48px;
  }

  .company-products__viewport {
    margin-inline: -16px;
  }

  .company-product-marquee__item {
    min-width: 285px;
    min-height: 118px;
    gap: 17px;
    padding: 18px 28px;
  }

  .company-platform {
    min-height: 200px;
    padding: 18px;
  }

  .company-platform__mark {
    top: 18px;
    left: 18px;
    width: 52px;
    height: 52px;
  }

  .company-platform__mark img {
    max-width: 52px;
    max-height: 52px;
  }

  .company-platform h3 {
    right: 18px;
    bottom: 47px;
    left: 18px;
    font-size: 1.7rem;
  }

  .company-platform p {
    right: 18px;
    bottom: 19px;
    left: 18px;
    font-size: 0.57rem;
  }

  .company-platform--more .company-platform__mark {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .company-product-marquee__bookimatic-logo {
    gap: 12px;
  }

  .company-product-marquee__bookimatic-logo img {
    width: 43px;
  }

  .company-product-marquee__bookimatic-logo strong {
    font-size: clamp(2rem, 9.2vw, 2.9rem);
  }

  .company-product-marquee__recoup-logo {
    font-size: clamp(2.8rem, 12.5vw, 3.8rem);
  }

  .company-product-marquee__recoup-logo::after {
    margin-top: 11px;
  }

  .company-roots__facts {
    grid-template-columns: 1fr;
  }

  .company-roots__facts div + div {
    padding-left: 0;
    border-top: 1px solid rgba(244, 242, 237, 0.18);
    border-left: 0;
  }

  .company-globe {
    min-height: 440px;
    margin-inline: -16px;
  }

  .company-globe__orbit span:first-child {
    top: 9%;
    left: 3%;
  }

  .company-globe__orbit span:last-child {
    right: 2%;
    bottom: 9%;
  }

  .company-globe__label {
    min-width: 125px;
  }

  .company-final__inner > .company-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .company-home *,
  .company-home *::before,
  .company-home *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .company-home.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .company-hero-word-cycle > span {
    animation: none !important;
    opacity: 0;
    transform: none;
  }

  .company-hero-word-cycle > span:first-child {
    opacity: 1;
  }

  .company-globe__canvas {
    display: none;
  }

  .company-products__viewport {
    overflow: visible;
  }

  .company-products__track,
  .company-products__set {
    width: 100%;
    flex-wrap: wrap;
  }

  .company-products__track {
    transform: none !important;
  }

  .company-products__set {
    padding-right: 0;
  }

  .company-products__set[aria-hidden="true"] {
    display: none;
  }

  .company-product-marquee__item {
    flex: 1 1 300px;
  }
}

@media (forced-colors: active) {
  .company-hero-panel,
  .company-hero-badge,
  .company-hero-icon-badge,
  .company-product-marquee__item,
  .company-button,
  .company-globe__label,
  .company-globe__orbit span {
    border: 1px solid CanvasText;
    box-shadow: none;
  }

  .company-globe__fallback,
  .company-roots__stars,
  .company-final__stars {
    display: none;
  }

  .company-globe {
    min-height: 240px;
    border: 1px solid CanvasText;
  }

  .company-globe::before,
  .company-globe::after {
    background: transparent;
    box-shadow: none;
  }
}

@media print {
  .company-home {
    background: #fff;
    color: #000;
  }

  .company-section,
  .company-hero {
    padding-block: 36px;
    break-inside: avoid;
  }

  .company-principles,
  .company-platforms,
  .company-roots,
  .company-final {
    background: #fff;
    color: #000;
  }

  .company-globe,
  .company-roots__stars,
  .company-final__stars {
    display: none;
  }

  .company-home.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
