.north-star-animation {
    position: relative;
    display: inline-block;
    width: 75px;
    height: 75px;
    pointer-events: none
}

.north-star-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 75px;
    height: 75px;
    opacity: 1;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6));
    animation: northStarGlow 3s ease-in-out infinite
}

.north-star-spinning {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 53.5px;
    height: 53.5px;
    transform: translate(-50%, -50%);
    animation: northStarSpin 4s linear infinite;
    z-index: 2;
    opacity: .8
}

@keyframes northStarGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6))
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, .9))
    }

    to {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6))
    }
}

@keyframes northStarSpin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg)
    }

    to {
        transform: translate(-50%, -50%) rotate(1turn)
    }
}

@media (max-width:1023px) and (min-width:810px) {

    .north-star-animation,
    .north-star-base {
        width: 60px;
        height: 60px
    }

    .north-star-spinning {
        width: 30px;
        height: 30px
    }
}

@media (max-width:809px) {

    .north-star-animation,
    .north-star-base {
        width: 50px;
        height: 50px
    }

    .north-star-spinning {
        width: 25px;
        height: 25px
    }
}

.built-thoughtfully-section {
    justify-content: center;
    overflow: hidden;
    padding: 64px 280px;
    background-color: #0e0e0e;
    box-sizing: border-box
}

.bt-heading-group,
.built-thoughtfully-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%
}

.bt-heading-group {
    gap: 24px;
    text-align: center;
    margin-bottom: 80px
}

.bt-title-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center
}

.bt-main-heading-part-1 {
    font-family: var(--font-geist-mono), "Geist Mono", monospace;
    font-weight: 400
}

.bt-main-heading-part-1,
.bt-main-heading-part-2 {
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -.02em;
    color: #fbfbfd;
    margin: 0;
    /* white-space: nowrap */
}

.bt-main-heading-part-2 {
    font-weight: 700
}

.bt-description,
.bt-main-heading-part-2 {
    font-family: var(--font-geist), "Geist", sans-serif
}

.bt-description {
    font-size: 18px;
    line-height: 150%;
    color: rgba(251, 251, 253, .7);
    width: 656px;
    /* white-space: pre-wrap; */
    word-break: break-word;
    margin: 0
}

.bt-north-star-wrapper {
    position: relative;
    pointer-events: none;
    display: block
}

.bt-north-star-positioned {
    position: absolute;
    top: -39px;
    right: 96px
}

@media (max-width:809px) {
    .bt-north-star-positioned {
        top: -29px;
        right: 173px
    }
}

.bt-grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    max-width: 1360px;
    height: 800px;
    justify-content: center;
    overflow: visible;
}

.bt-card,
.bt-grid-container {
    width: 100%;
    position: relative
}

.bt-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-color: hsla(0, 0%, 100%, .03);
    border-radius: 40px;
    border: 1px solid hsla(0, 0%, 100%, .1);
    height: 100%
}

.bt-card-open-source,
.bt-card-safe-dev {
    grid-column: span 3;
    grid-row: span 1
}

.bt-card-unrestrained {
    grid-column: span 3;
    grid-row: span 1
}

.bt-card-ai-models {
    grid-column: span 3;
    grid-row: span 1
}

.bt-card-visual-wrapper {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden
}

.bt-card-visual {
    object-fit: cover;
    object-position: center
}

.bt-card-visual,
.bt-card-visual-contain {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit
}

.bt-card-visual-contain {
    object-fit: contain;
    object-position: center top
}

.bento-visual-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsla(0, 0%, 100%, .5)
}

.bento-visual-svg {
    width: 80%;
    height: 80%
}

.bt-shield-icon {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    width: 212px;
    height: 238px;
    color: #fff2f6;
    fill: currentColor
}

.bt-card-safe-dev .bt-card-text-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px;
    align-items: center;
    text-align: center
}

.bt-card-safe-dev .bt-card-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 0
}

.bt-title-thin {
    font-weight: 400
}

.bt-model-icons {
    position: absolute;
    left: 33px;
    bottom: 61px;
    display: flex;
    flex-direction: row;
    gap: 10px
}

.bt-model-icon-wrapper {
    width: 61px;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #423459;
    fill: currentColor;
    border-radius: 50%;
    background-color: transparent
}

.bt-card-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 40px;
    position: relative;
    z-index: 1
}

.bt-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -.02em;
    color: #fbfbfd
}

.bt-card-description,
.bt-card-title {
    font-family: var(--font-geist), "Geist", sans-serif;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    text-align: left
}

.bt-card-description {
    font-size: 16px;
    line-height: 150%;
    color: hsla(0, 0%, 100%, .7);
    opacity: .7
}

@media (min-width:1920px) {

    .bt-main-heading-part-1,
    .bt-main-heading-part-2 {
        font-size: 64px
    }
}

@media (min-width:1440px) and (max-width:1919px) {

    .bt-main-heading-part-1,
    .bt-main-heading-part-2 {
        font-size: 64px
    }
}

@media (min-width:1024px) and (max-width:1439px) {
    .built-thoughtfully-section {
        padding: 64px 80px
    }

    .bt-main-heading-part-1,
    .bt-main-heading-part-2 {
        font-size: 56px
    }
}

@media (min-width:810px) and (max-width:1023px) {

    .bt-main-heading-part-1,
    .bt-main-heading-part-2 {
        font-size: 41px
    }
}

@media (max-width:1023px) and (min-width:810px) {
    .built-thoughtfully-section {
        padding: 80px 40px 64px
    }

    .bt-heading-group {
        width: 100%;
        margin-bottom: 60px
    }

    .bt-title-wrapper {
        flex-direction: column;
        gap: 0
    }

    .bt-north-star-graphic {
        width: 150px
    }

    .bt-grid-container {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, minmax(300px, 1fr));
        gap: 16px
    }

    .bt-card {
        min-height: 300px
    }

    .bt-card-ai-models,
    .bt-card-open-source,
    .bt-card-safe-dev,
    .bt-card-unrestrained {
        grid-column: span 1;
        grid-row: span 1
    }

    .bt-card-ai-models .bt-card-visual-contain {
        transform: translateY(-20%)
    }

    .bt-shield-icon {
        top: 85%
    }
}

@media (max-width:809px) {
    .built-thoughtfully-section {
        padding: 64px 20px
    }

    .bt-heading-group {
        width: 100%;
        gap: 16px;
        margin-bottom: 64px
    }

    .bt-title-wrapper {
        flex-direction: column;
        gap: 0
    }

    .bt-main-heading-part-1,
    .bt-main-heading-part-2 {
        font-size: 32px
    }

    .bt-description {
        width: 100%
    }

    .bt-grid-container {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 16px
    }

    .bt-card {
        height: 360px;
        width: 100%
    }

    .bt-card-open-source {
        order: 0
    }

    .bt-card-safe-dev {
        order: 1
    }

    .bt-card-unrestrained {
        order: 2
    }

    .bt-card-ai-models {
        order: 3
    }

    .bt-card-text-content {
        padding: 32px;
        align-items: center
    }

    .bt-card-title {
        font-size: 16px;
        text-align: center
    }

    .bt-card-description {
        text-align: center;
        font-size: 14px
    }

    .bt-github-logo {
        left: 50%;
        transform: translateX(-50%)
    }

    .bt-git-flow-icon {
        display: none
    }

    .bt-shield-icon {
        left: 50%;
        transform: translate(-50%, -50%);
        height: 258px;
        width: 233px;
        top: 75%;
        bottom: unset;
        right: unset
    }

    .bt-model-icons {
        justify-content: center;
        left: 50%;
        transform: translateX(-50%)
    }
}

.bt-principles-section {
    width: 100%;
    max-width: 1360px;
    margin-top: 80px;
    padding: 60px;
    background: url(../../../assets/images/home/misc/loopkit-northstar.webp), linear-gradient(180deg, rgba(55, 19, 133, .8) 0, rgba(40, 12, 80, .8) 50%, rgba(27, 8, 55, .8));
    background-size: 100%;
    background-position: 100% 0, 50%;
    background-repeat: no-repeat;
    border-radius: 40px;
    border: 1px solid hsla(0, 0%, 100%, .1);
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    min-height: 600px
}

.bt-principles-content {
    display: flex;
    flex-direction: column
}

.bt-principles-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: hsla(0, 0%, 100%, .05);
    border-radius: 20px;
    border: 1px solid hsla(0, 0%, 100%, .1);
    overflow: hidden
}

.bt-principles-graphic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit
}

.bt-principles-heading {
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -.02em;
    color: #fbfbfd;
    margin: 0 0 24px
}

.bt-principles-heading,
.bt-principles-intro {
    font-family: var(--font-geist), "Geist", sans-serif;
    text-align: left
}

.bt-principles-intro {
    font-size: 18px;
    line-height: 185%;
    color: rgba(251, 251, 253, .9);
    margin: 0 0 40px
}

.bt-principles-list {
    gap: 20px;
    margin-bottom: 40px
}

.bt-principle,
.bt-principles-list {
    display: flex;
    flex-direction: column
}

.bt-principle {
    gap: 12px
}

.bt-principle-title {
    font-family: var(--font-geist), "Geist", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -.02em;
    color: #f3ad8a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 100%;
    text-align: left;
    transition: opacity .2s ease
}

.bt-principle-title:hover {
    opacity: .8
}

.bt-principle-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #f3ad8a;
    transition: transform .3s ease
}

.bt-principle-chevron-open {
    transform: rotate(180deg)
}

.bt-principle-description-wrapper {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    transition: max-height .3s ease, padding-top .3s ease
}

.bt-principle-description-open {
    max-height: 200px;
    padding-top: 0
}

.bt-principle-description {
    font-size: 16px;
    line-height: 22px;
    color: hsla(0, 0%, 100%, .7);
    padding: 0 0 12px 32px
}

.bt-principle-description,
.bt-principles-result {
    font-family: var(--font-geist), "Geist", sans-serif;
    margin: 0
}

.bt-principles-result {
    font-size: 18px;
    line-height: 150%;
    color: rgba(251, 251, 253, .9);
    text-align: left
}

@media (max-width:1023px) {
    .bt-principles-section {
        padding: 40px;
        margin-top: 60px;
        gap: 40px
    }

    .bt-principles-heading {
        font-size: 32px
    }

    .bt-principles-graphic {
        min-height: 300px
    }
}

@media (max-width:809px) {
    .bt-principles-section {
        padding: 32px 24px;
        margin-top: 48px;
        grid-template-columns: 1fr;
        gap: 32px
    }

    .bt-principles-heading {
        font-size: 28px
    }

    .bt-principles-intro,
    .bt-principles-result {
        font-size: 16px
    }

    .bt-principle-title {
        font-size: 18px
    }

    .bt-principle-description {
        font-size: 14px
    }

    .bt-principle:first-child {
        padding-top: 40px
    }

    .bt-principles-graphic {
        min-height: 250px
    }
}