/* Kanology landing — overrides & additions on top of styles.css */

.kanology .hero--kanology {
  min-height: min(1200px, 62.5vw);
}

.kanology .hero__bg img {
  object-fit: cover;
  object-position: 55% 35%;
}

.kanology .hero__overlay--kanology {
  background:
    linear-gradient(2.77deg, rgba(8, 16, 20, 0) 68.3%, #081014 142.84%),
    linear-gradient(180deg, rgba(8, 16, 20, 0) 33%, #081014 100%);
}

/* ========== Kanology header (Figma 938:54395) ========== */
.kanology .nav--kanology {
  position: relative;
  z-index: 3;
  background: linear-gradient(95.4deg, rgba(255, 254, 254, 0.1) 64.72%, rgba(255, 255, 255, 0.1) 110.15%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kanology .nav__inner--kanology {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 21px 73px;
  height: 110px;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
}

.kanology .nav__brand--kanology {
  flex-shrink: 0;
  line-height: 0;
}

.kanology .nav__brand--kanology img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.kanology .nav__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-width: 0;
}

.kanology .nav__menu--kanology {
  display: flex;
  align-items: center;
  gap: 13px;
}

.kanology .nav--kanology .nav__link {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--white);
  height: 40px;
  padding: 20px 16px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.kanology .nav--kanology .nav__link:first-child {
  padding-inline: 16px;
}

.kanology .nav--kanology .nav__link:hover,
.kanology .nav--kanology .nav__link:focus-visible {
  border-bottom-color: rgba(255, 255, 255, 0.48);
}

.kanology .nav__academy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 11px;
  border: 1px solid var(--white);
  border-radius: 50px;
  background: linear-gradient(-89.88deg, rgba(255, 255, 255, 0.1) 76.89%, rgb(255, 255, 255) 256.35%);
  font-family: "Inter", var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--white);
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.kanology .nav__academy:hover {
  background: linear-gradient(-89.88deg, rgba(255, 255, 255, 0.18) 76.89%, rgb(255, 255, 255) 256.35%);
}

.kanology .nav__academy-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.kanology .nav__academy--bar {
  display: none;
}

.kanology .nav__drawer-link {
  display: none;
}

.kanology .nav__cta--kanology {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.kanology .nav__signin {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--white);
  height: 40px;
  padding: 20px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.kanology .nav__signin:hover {
  background: rgba(255, 255, 255, 0.08);
}

.kanology .nav__demo {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--white);
  height: 47px;
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 10px;
  background: linear-gradient(129.68deg, rgba(255, 255, 255, 0.02) 18.15%, rgba(109, 254, 133, 0) 247.36%);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.kanology .nav__demo:hover {
  background: linear-gradient(129.68deg, rgba(255, 255, 255, 0.08) 18.15%, rgba(109, 254, 133, 0) 247.36%);
  border-color: rgba(255, 255, 255, 0.65);
}

.kanology .nav__toggle--kanology {
  display: none;
}

.kanology .hero__content--kanology {
  position: absolute;
  left: var(--pad-l);
  right: var(--pad-r);
  bottom: 200px;
  top: auto;
  max-width: 1033px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 27px;
  align-items: flex-start;
}

.kanology .hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.kanology .hero__title {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 80px;
  line-height: 89px;
  letter-spacing: -3.686px;
  text-transform: none;
  max-width: 1163px;
}

.kanology .hero__subtitle {
  font-family: var(--font-geist);
  font-size: 20px;
  line-height: 26px;
  color: var(--white);
  max-width: 1163px;
}

/* Backed By — wide row + looping carousel (logos keep fixed spacing) */
.kanology .hero__backed {
  padding: 29px 48px;
}

.kanology .hero__backed-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-content: flex-start;
  gap: 40px;
}

.kanology .hero__backed-label {
  width: auto;
  min-width: 147px;
  flex-shrink: 0;
}

.kanology .hero__partners-marquee {
  flex: 1;
  min-width: 0;
}

@media (min-width: 1281px) {
  .kanology .hero__backed {
    padding: 29px 73px;
  }

  .kanology .hero__partners-marquee {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    overflow: hidden;
  }

  .kanology .hero__partners {
    gap: 76px;
    width: max-content;
    max-width: none;
    justify-content: flex-start;
    padding-right: 76px;
  }
}

.kanology .label__logo--falcon {
  width: 52px;
  height: 45px;
  object-fit: contain;
}

.kanology .about--kanology {
  padding-top: 107px;
  padding-bottom: 107px;
}

.kanology .about__headline--kanology {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: 30px;
  line-height: 50px;
  letter-spacing: 0;
}

.kanology .about__right p {
  font-family: var(--font-geist);
}

.kanology .os__headline--kanology {
  font-family: var(--font-geist);
  font-weight: 400;
  font-size: 30px;
  line-height: 50.4px;
  letter-spacing: 0;
}

.kanology .tcard__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kanology .tcard__meta span:first-child {
  font-family: var(--font-acres);
  font-size: 12px;
  line-height: 16.8px;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.kanology .tcard__role {
  font-family: var(--font-geist);
  font-size: 12px;
  line-height: 16.8px;
  text-transform: capitalize;
  letter-spacing: 0;
}

/* Testimonials carousel controls (tablet / mobile) */
.kanology .testimonials__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.kanology .testimonials__controls.is-visible {
  display: flex;
}

.kanology .testimonials__arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(8, 16, 20, 0.15);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.kanology .testimonials__arrow:hover {
  background: rgba(8, 16, 20, 0.05);
  border-color: rgba(8, 16, 20, 0.35);
}

.kanology .testimonials__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.kanology .testimonials__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(8, 16, 20, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
}

.kanology .testimonials__dot.is-active {
  width: 22px;
  border-radius: 4px;
  background: var(--ink);
}

/* Kanology footer */
.kanology .footer--kanology {
  background: var(--ink);
}

.kanology .footer--kanology .footer__bg {
  display: block;
}

.kanology .footer__brand {
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 280px;
}

.kanology .footer__kanology-logo {
  width: 279px;
  height: auto;
}

.kanology .footer__tagline {
  font-family: var(--font-neue);
  font-size: 20px;
  line-height: 28.8px;
  letter-spacing: -0.4px;
  color: var(--white);
}

.kanology .footer__copy--kanology {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.kanology .footer__wordmark--kanology {
  display: block;
  width: 115px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.kanology .footer__copy--kanology span {
  font-family: var(--font-neue);
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  white-space: nowrap;
}

.kanology .footer__powered--kanology {
  text-align: right;
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .kanology .nav__inner--kanology {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
    padding: 21px 70px;
    height: auto;
    min-height: 94px;
  }

  .kanology .nav__center {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 70px;
    z-index: 110;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    min-width: 260px;
    padding: 27px 20px;
    border-radius: 12px;
    background: rgba(255, 254, 254, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(8, 16, 20, 0.1);
  }

  .kanology .nav__center.is-open {
    display: flex;
  }

  .kanology .nav__menu--kanology {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
  }

  .kanology .nav--kanology .nav__link {
    color: var(--ink);
    height: auto;
    padding: 0;
    border-bottom: none;
  }

  .kanology .nav--kanology .nav__link:first-child {
    padding-inline: 0;
  }

  .kanology .nav--kanology .nav__link:hover,
  .kanology .nav--kanology .nav__link:focus-visible {
    border-bottom: none;
    opacity: 0.65;
  }

  .kanology .nav__academy {
    color: var(--ink);
    border-color: rgba(8, 16, 20, 0.2);
    background: rgba(8, 16, 20, 0.04);
  }

  .kanology .nav__center .nav__academy {
    display: none;
  }

  .kanology .nav__academy--bar {
    display: inline-flex;
    height: 40px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.48);
    background: linear-gradient(129.68deg, rgba(255, 255, 255, 0.02) 18.15%, rgba(109, 254, 133, 0) 247.36%);
  }

  .kanology .nav__academy--bar:hover {
    background: linear-gradient(129.68deg, rgba(255, 255, 255, 0.08) 18.15%, rgba(109, 254, 133, 0) 247.36%);
  }

  .kanology .nav__academy--bar .nav__academy-icon {
    filter: brightness(0) invert(1);
  }

  .kanology .nav__cta--kanology .nav__signin,
  .kanology .nav__cta--kanology .nav__demo {
    display: none;
  }

  .kanology .nav__drawer-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-geist);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.32px;
    color: var(--ink);
    transition: opacity 0.2s ease, background 0.2s ease;
  }

  .kanology .nav__signin-drawer:hover,
  .kanology .nav__signin-drawer:focus-visible {
    opacity: 0.65;
  }

  .kanology .nav__demo-drawer {
    margin-top: 4px;
    padding: 11px 18px;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  .kanology .nav__demo-drawer:hover,
  .kanology .nav__demo-drawer:focus-visible {
    background: rgba(8, 16, 20, 0.85);
  }

  .kanology .nav__cta--kanology {
    margin-left: auto;
    gap: 12px;
  }

  .kanology .nav__demo {
    height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .kanology .nav__signin {
    height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .kanology .nav__toggle--kanology {
    display: flex;
    margin-left: 12px;
  }

  .kanology .hero__title {
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .kanology .hero__content--kanology {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 24px 64px 32px;
    flex: 1;
    justify-content: center;
  }
}

@media (min-width: 1001px) and (max-width: 1280px),
       (min-width: 1001px) and (max-height: 860px) {
  .kanology .hero--kanology {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
  }

  .kanology .hero__content--kanology {
    padding: 24px 64px 16px;
    justify-content: flex-end;
  }

  .kanology .hero__copy {
    gap: 18px;
    max-width: 900px;
  }

  .kanology .hero__title {
    font-size: 38px;
    line-height: 1.15;
    max-width: 820px;
  }

  .kanology .hero__subtitle {
    font-size: 16px;
    line-height: 1.4;
    max-width: 700px;
  }

  .kanology .hero__content--kanology .link-button {
    padding: 11px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .kanology .hero__backed {
    position: relative;
    top: auto;
    flex-shrink: 0;
    margin-top: auto;
    min-height: auto;
    padding: 20px 32px 16px;
  }

  .kanology .hero__backed-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 32px;
    max-width: none;
    padding: 0;
  }

  .kanology .hero__partners-marquee {
    flex: 1;
    min-width: 0;
  }

  .kanology .hero__partners {
    gap: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1001px) and (max-width: 1280px) and (orientation: landscape) {
  .kanology .hero--kanology {
    padding-bottom: 32px;
  }

  .kanology .hero__backed {
    padding: 4px 70px 0;
    transform: translateY(16px);
  }
}

@media (max-width: 1000px) {
  .kanology .hero--kanology {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
  }

  .kanology .hero__content--kanology {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 16px var(--pad-l) 72px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .kanology .hero__copy {
    gap: 16px;
    max-width: none;
  }

  .kanology .hero__title {
    font-size: 36px;
    line-height: 1.18;
    max-width: none;
  }

  .kanology .hero__subtitle {
    font-size: 17px;
    line-height: 1.45;
    max-width: 680px;
  }

  .kanology .hero__content--kanology .link-button {
    margin-top: 20px;
  }

  .kanology .hero__backed {
    position: relative;
    top: auto;
    margin-top: 0;
    flex-shrink: 0;
    min-height: auto;
    padding: 0 12px 4px;
  }
}

@media (max-width: 768px) {
  .kanology .about--kanology {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .kanology .nav__inner--kanology {
    padding: 16px 20px;
    min-height: 72px;
    gap: 10px;
  }

  .kanology .nav__brand--kanology img {
    width: min(180px, 34vw);
    height: auto;
  }

  .kanology .nav__cta--kanology {
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .kanology .nav__signin,
  .kanology .nav__demo {
    height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.2;
  }

  .kanology .nav__academy--bar {
    height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
  }

  .kanology .nav__toggle--kanology {
    width: 38px;
    height: 38px;
    margin-left: 8px;
  }

  .kanology .nav__toggle-icon {
    width: 20px;
    height: 20px;
  }

  .kanology .hero__content--kanology {
    padding: 32px 20px 56px;
    gap: 20px;
  }

  .kanology .hero__title {
    font-size: 30px;
    line-height: 1.18;
  }

  .kanology .hero__subtitle {
    font-size: 16px;
    line-height: 1.4;
  }

  .kanology .hero__backed {
    padding-bottom: 2px;
  }

  .kanology .hero__backed-inner {
    gap: 20px;
  }

  .kanology .hero__backed-label {
    font-size: 15px;
    letter-spacing: 2.5px;
    line-height: 1.25;
    min-width: auto;
  }

  .kanology .hero__partners {
    gap: 24px;
    padding-right: 24px;
  }

  .kanology .footer__kanology-logo {
    width: 220px;
  }

  .kanology .footer__powered--kanology {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .kanology .nav__inner--kanology {
    padding: 12px 16px;
    min-height: 64px;
    gap: 6px;
  }

  .kanology .nav__brand--kanology img {
    width: min(112px, 30vw);
    height: auto;
  }

  .kanology .nav__center {
    right: 16px;
  }

  .kanology .nav__cta--kanology .nav__signin {
    display: none;
  }

  .kanology .nav__cta--kanology {
    gap: 4px;
  }

  .kanology .nav__demo {
    height: 32px;
    font-size: 11px;
    padding: 6px 9px;
  }

  .kanology .nav__academy--bar {
    height: 32px;
    padding: 6px 10px;
    font-size: 11px;
    gap: 4px;
  }

  .kanology .nav__academy--bar .nav__academy-icon {
    width: 16px;
    height: 16px;
  }

  .kanology .hero__title {
    font-size: 27px;
    line-height: 1.18;
  }

  .kanology .hero__content--kanology {
    padding: 28px 20px 48px;
    gap: 18px;
  }

  .kanology .hero--kanology {
    min-height: 100svh;
  }

  .kanology .hero__bg img {
    object-position: 60% 30%;
  }

  .kanology .hero__subtitle {
    font-size: 14px;
    line-height: 1.42;
  }

  .kanology .hero__content--kanology .link-button {
    width: auto;
    max-width: 100%;
    margin-top: 0;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.35;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
  }

  .kanology .hero__content--kanology .link-button__arrow {
    width: 14px;
    height: 14px;
  }

  .kanology .hero__backed {
    padding-bottom: 0;
  }

  .kanology .hero__backed-inner {
    gap: 18px;
  }

  .kanology .hero__backed-label {
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1.25;
  }
}

@media (max-width: 360px) {
  .kanology .nav__academy--bar {
    width: 32px;
    padding: 0;
    gap: 0;
    justify-content: center;
  }

  .kanology .nav__academy--bar span {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .kanology .hero--kanology {
    min-height: 100svh;
  }

  .kanology .hero__title {
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .kanology .hero__subtitle {
    font-size: 12px;
    line-height: 1.35;
  }

  .kanology .hero__content--kanology {
    padding: 12px 20px 8px;
    justify-content: flex-end;
    gap: 12px;
  }

  .kanology .hero__copy {
    gap: 8px;
  }

  .kanology .hero__content--kanology .link-button {
    margin-top: 4px;
  }

  .kanology .nav__center {
    gap: 16px;
    padding: 18px 20px;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .kanology .nav__menu--kanology {
    gap: 16px;
  }
}
