:root {
    --fs-300: clamp(0.94rem, calc(0.92rem + 0.08vw), 0.98rem);
    --fs-400: clamp(1.13rem, calc(1.06rem + 0.33vw), 1.31rem);
    --fs-500: clamp(1.35rem, calc(1.21rem + 0.69vw), 1.75rem);
    --fs-600: clamp(1.62rem, calc(1.37rem + 1.24vw), 2.33rem);
    --fs-700: clamp(1.94rem, calc(1.54rem + 2.03vw), 3.11rem);
    --fs-800: clamp(2.33rem, calc(1.7rem + 3.15vw), 4.14rem);
    --fs-900: clamp(2.8rem, calc(1.85rem + 4.74vw), 5.52rem);

    --scout-heading-font: "Poppins", sans-serif;
    --scout-main-font: "Poppins", sans-serif;
    --scout-primary-color: #1700ed;
    --scout-secondary-color: #8c4ffc;
    --scout-stone-color: #e0e0de;
    --large-spacing: 8rem;
    --medium-spacing: 5rem;
    --border-radius: 10px;
}

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

html {
    color-scheme: dark light;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 2rem;
    }
}

body {
    margin: 0 auto;
    background-color: #f8f8f8;
    color: #000;
    width: 100%;
    min-height: 100svh;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
    container-type: inline-size;
}

img,
video,
svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.subtitle,
.bento-title {
    font-family: var(--scout-heading-font);
    font-weight: bold;
    line-height: 1.3;
    text-wrap: balance;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: var(--fs-700);
}

h2 {
    font-size: var(--fs-700);
    max-width: 35ch;
}

h3 {
    font-size: var(--fs-600);
    max-width: 30ch;
}

h3::after {
    content: "";
    width: 7rem;
    height: 4px;
    background: #000;
    display: block;
    margin-top: 1rem;
}

.subtitle {
    color: var(--scout-primary-color);
    font-size: var(--fs-300);
    margin-bottom: 0.75rem;
}

p {
    font-family: var(--scout-main-font);
    font-weight: normal;
    line-height: 1.5;
    font-size: 1.1rem;
    max-width: 80ch;
    text-wrap: pretty;
    margin: 1.25rem 0;
    color: #222;
}

@container (max-width: 550px) {
    p {
        font-size: 1rem;
    }
}

/* .main-wrapper {
  max-width: 1680px;
  margin: 0 auto;
} */

.flex {
    display: flex;
}

/*/ //////////////////
NAV STYLES
///////////////////*/

header {
    background: #000;
    padding-block: 0.75rem;
    position: relative;
}

header .main-wrapper {
    width: 100%;
    justify-content: space-between;
    gap: 2em;
    align-items: center;
}

.main-logo {
    max-width: 175px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

.nav-menu li {
    list-style: none;
}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

@media only screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.button {
    font-family: var(--scout-main-font);
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    cursor: pointer;
}

.button.nav-link:hover {
    text-decoration: underline;
}

header .button.primary:hover {
    background-color: #fff;
    color: #000;
}

/*////////////////////////
SUPER TEMPLATE LAYOUT//
////////////////////////*/

.bg-white {
    background: #fff;
}

.bg-black {
    background: #000;
}

.pad-both {
    padding: var(--large-spacing) 0;
}

.pad-top {
    padding: var(--large-spacing) 0 0;
}

.pad-bot {
    padding: 0 0 var(--large-spacing);
}

.mt-3 {
    margin-top: 3rem;
}

.show-on-mobile {
    display: none;
}

@container (max-width: 1190px) {
    .pad-both {
        padding: var(--medium-spacing) 0;
    }

    .pad-top {
        padding: var(--medium-spacing) 0 0;
    }

    .pad-bot {
        padding: 0 0 var(--medium-spacing);
    }

    .show-on-mobile {
        display: block;
    }

    .hide-on-mobile {
        display: none;
    }
}

.white h2,
.white p {
    color: #fff;
}

.flex-wrapper {
    display: flex;
    align-items: center;
    gap: 2em;
}

.split-content {
    display: grid;
    gap: 6em;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@container (max-width: 1190px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 4em;
    }
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.padded-sides {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.align-center {
    align-items: center;
    justify-content: center;
}

.align-left {
    justify-content: flex-start;
}

.align-right {
    justify-content: flex-end;
}

.justify-middle {
    justify-content: center;
}

.content-wrapper {
    width: 100%;
}

.lr-feature .content-wrapper {
    flex: 1;
}

/* .align-left .content-wrapper,
.align-right .content-wrapper {
  width: 50%;
} */

.content-wrapper.padded {
    padding: 3rem;
}

.content-wrapper.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@container (max-width: 1190px) {
    .content-wrapper.text-center {
        text-align: left;
        align-items: flex-start;
    }
}

.media-wrapper {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    align-self: stretch;
}

@container (max-width: 1190px) {
    .content-wrapper {
        order: 1;
    }

    .media-wrapper {
        order: 2;
    }
}

.media-wrapper.stretch {
    align-self: stretch;
    flex-direction: column;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-center {
    margin-inline: auto;
}

.grid {
    display: grid;
}

@container (min-width: 1190px) {
    .centered {
        text-align: center;
        justify-items: center;
    }
}

/*/ //////////////////
STYLES
///////////////////*/

.relative {
    position: relative;
}

.content-grid {
    --padding-inline: 1.5rem;
    --content-max-width: 1480px;
    display: grid;
    grid-template-columns:
        [full-width-start] minmax(var(--padding-inline), 1fr) [content-start] min(100% - (var(--padding-inline) * 2),
            var(--content-max-width)) [content-end] minmax(var(--padding-inline), 1fr) [full-width-end];
}

.content-grid> :not(.full-width),
.full-width> :not(.full-width) {
    grid-column: content;
}

.content-grid>.full-width {
    grid-column: full-width;
    display: grid;
    grid-template-columns: inherit;
}

.action-bar {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button.primary {
    background-color: var(--scout-primary-color);
}

.button.primary:hover {
    background-color: #000;
}

.button.secondary {
    background-color: var(--scout-stone-color);
    color: #000;
}

.button.secondary:hover {
    background-color: #000;
    color: #fff;
}

.blue {
    color: var(--scout-primary-color);
}

.bg-greydient {
    background: linear-gradient(to bottom, #f8f8f8, #e0e0de);
    overflow: hidden;
}

.hero-split {
    position: relative;
}

.scout-bg-logo {
    position: absolute;
    bottom: -75%;
    right: 20%;
    width: 120%;
    max-width: none;
    pointer-events: none;
}

@container (max-width: 1190px) {
    .scout-bg-logo {
        bottom: -10%;
        right: -75%;
        width: 210%;
        clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);
    }
}

.hero-split .content-wrapper,
.hero-split .media-wrapper {
    position: relative;
}

.core-features {
    margin-top: calc(var(--large-spacing) * 3);
}

@container (max-width: 1190px) {
    .core-features {
        margin-top: calc(var(--large-spacing) * 1.5);
    }
}

.feature-grid {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    container-type: inline-size;
    container-name: gridcard;
}

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

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

@container (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.grid-card {
    display: flex;
    gap: 2em;
}

.feature-grid .grid-card {
    padding: 2rem;
}

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

.align-center {
    align-items: center;
}

.grid-card p {
    font-size: var(--fs-300);
}

@container gridcard (min-width: 721px) and (max-width: 1000px) {
    .grid-card {
        flex-direction: column;
    }
}

@container gridcard (max-width: 420px) {
    .grid-card {
        flex-direction: column;
    }
}

.bordered {
    background: #fff;
    border-radius: var(--border-radius);
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    border-bottom: 6px solid #000;
}

.grid-icon-wrapper {
    background: var(--scout-primary-color);
    border-radius: 100%;
    color: #fff;
    width: 5rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-icon-wrapper img {
    width: 50%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.grid-text {
    flex: 1;
}

.grid-title {
    font-size: var(--fs-400);
    font-weight: bold;
}

.bg-highlight {
    background: #000 url("/images/blurry-gradient.svg") center / cover no-repeat;
}

.feature-grid.grid-3 {
    margin-top: var(--medium-spacing);
    gap: 4em;
}

.custom-arrow {
    height: 100px;
    width: auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -47px);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

.bento-grid .grid-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
}

.grid-inner {
    padding: 1.5rem;
    height: 100%;
}

.bento-grid .grid-item:first-of-type {
    grid-row: span 2;
}

.bento-grid .grid-item:last-of-type {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
}

@container (max-width: 1190px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@container (max-width: 590px) {
    .bento-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .bento-grid .grid-item:first-of-type {
        grid-row: span 1;
    }

    .bento-grid .grid-item:last-of-type {
        grid-column: span 1;
        flex-direction: column-reverse;
    }
}

.bento-icon {
    width: 160px;
    margin-bottom: 1.5rem;
}

.bento-icon-bell {
    max-width: 200px;
    object-fit: contain;
    padding: 0 1rem 1rem 0;
}

@container (max-width: 590px) {
    .bento-icon-bell {
        padding: 0 1.5rem;
        height: 100%;
    }
}

.bento-title {
    font-weight: bold;
    font-size: clamp(1.5rem, calc(1.37rem + 1.24vw), 2rem);
}

.grid-card.boxed {
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.grid-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
}

.card-stack {
    display: grid;
    gap: 1.5rem;
}

.card-stack p {
    margin: 0;
}

.grid-card.dark {
    background: #000;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    align-items: center;
}

.grid-card.dark p {
    color: #fff;
}

.grid-icon-wrapper.number {
    background: #fff;
    width: 4rem;
}

.grid-icon-number {
    font-size: var(--fs-600);
    font-weight: bold;
    line-height: 1;
    text-align: center;
    color: #000;
}

.bg-waves {
    background: #000 url("/images/layered-waves.svg") 50% 90% / cover no-repeat;
}

@container (max-width: 1190px) {
    .bg-waves {
        background: #000 url("/images/layered-waves.svg") center bottom / contain no-repeat;
    }
}

.bg-circle {
    background: #000 url("/images/scout-logo-clipped.webp") 45% 50% / cover no-repeat;
}

.card-stack.gradient {
    gap: 0.75rem;
}

.card-stack.gradient .grid-card:nth-child(1) {
    background: var(--scout-primary-color);
}

.card-stack.gradient .grid-card:nth-child(2) {
    background: var(--scout-primary-color);
}

.card-stack.gradient .grid-card:nth-child(3) {
    background: linear-gradient(to bottom,
            var(--scout-primary-color),
            var(--scout-secondary-color) 150%);
}

.card-stack.gradient .grid-card:nth-child(4) {
    background: linear-gradient(to bottom,
            var(--scout-primary-color) -100%,
            var(--scout-secondary-color));
}

.bg-contact {
    background: linear-gradient(to bottom, #001929 50%, #000000 120%);
    background: #000 url("/images/contact-wave.svg") center / cover no-repeat;
}

.scout-form {
    display: grid;
    gap: 2rem;
    text-align: left;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 40rem;
    padding: 2rem;
    margin-top: var(--medium-spacing);
    background: #f2f4f7;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    border-bottom: 6px solid #000;
}

.scout-form-row {
    display: grid;
    margin-top: 0.5rem;
}

.scout-form input {
    border: 0;
}

.scout-form .form-field,
.scout-form textarea {
    display: block;
    height: auto;
    padding: 0.5rem 0.875rem;
    border: 1px solid #d0d4dd;
    background-color: #fff;
    border-radius: var(--border-radius);
    font-family: var(--scout-main-font);
    font-size: 1rem;
    color: #000;
}

.scout-form .form-field {
    min-height: 2.75rem;
    margin-bottom: 0;
    line-height: 1.5;
    transition: all 0.3s;
}

.scout-form .form-label {
    color: #000;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.scout-form textarea.form-field {
    min-height: 10rem;
    overflow: auto;
    resize: vertical;
}

.footer {
    background-color: #000;
    padding: 1rem;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.copyright {
    color: #fff;
}

.footer .main-logo {
    width: 8rem;
}