@property --mode {
    syntax: "<color>";
    initial-value: #fff;
    inherits: true;
}

.material-icon {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: var(--icon-size, 24px);
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

::selection {
    color: #fff;
    background: #b81a13;
    filter: none;
    text-shadow: none;
}

#loader-overlay {
    background: light-dark(#fff, #333);
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    transition: opacity 0.5s ease-in;
    display: flex;
    >* {
        margin: auto;
    }
}

html.loaded #loader-overlay {
    opacity: 0;
    pointer-events: none;
}

:root {
    --mode: light-dark(#fff, #000);

    --content-width: 1140px;

    --light-primary: #b81a13;
    /* --dark-primary: #e6463d; */
    --dark-primary: #f8736c;
    --primary: light-dark(var(--light-primary), var(--dark-primary));

    accent-color: var(--primary);
}

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

:focus-visible {
    outline: 2px dotted var(--primary);
    outline-offset: 1px;
}

.hero-gradient :focus-visible {
    outline-color: #fff;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

html[data-theme="auto"] {
    color-scheme: light dark;
}

html[data-theme="light"] {
    color-scheme: light only;
}

html[data-theme="dark"] {
    color-scheme: dark only;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    font-size: 16px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: light-dark(#fff, #333);
    color: light-dark(#000, #ddd);
    > * {
        flex-shrink: 0;
    }
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
}

.wrap,
.alt-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    padding-left: 20px;
}

.topbar {
    font-size: 13px;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar .topbar-left :is(span, a) {
    margin-right: 18px;
}

.topbar .topbar-left i {
    margin-right: 5px;
}

.topbar .topbar-right a {
    margin-left: 12px;
}

.site-header {
    background: light-dark(#fff, #333);
}

.site-header::after {
    content: "";
    display: block;
    height: 6px;
    background-image: linear-gradient(
        #e26157,
        #dc6652 50%,
        #b81a13 50%,
        #9d0801
    );
    box-shadow: 0 0.333px 0.333px #efa59e inset;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    flex-wrap: wrap;
}

.logo-block {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-light {
    display: block;
}
.logo-dark {
    display: none;
}

@container style(--mode: #000) {
    .logo-light {
        display: none;
    }
    .logo-dark {
        display: block;
    }
}

.logo-block svg {
    display: block;
    height: 64px;
}

nav.main-nav {
    background: linear-gradient(#444, #222);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 4px 10px #0008;
}

nav.main-nav .wrap {
    padding-inline: 0;
}

nav.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

nav.main-nav li {
    display: flex;
    align-items: stretch;
}

nav.main-nav li.spring {
    margin-inline-start: auto;
}

nav.main-nav a {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    color: inherit;
    align-content: center;
    &:hover {
        --_background: var(--light-primary);
        --_effective-background: var(--_background);
        text-decoration: none;

        color: var(--_color);
        background-image: linear-gradient(
            hsl(from var(--_effective-background) h s calc(l - 15)),
            hsl(from var(--_effective-background) h s l)
        );
        text-shadow: 0 -1px 0 hsl(from var(--_effective-background) h s 20%);
    }
}

nav.main-nav li :is(button, .button) {
    display: flex;
    align-items: center;
    appearance: none;
    box-shadow: none;
    background: none;
    padding: 14px 20px;
    border-radius: 0;
    &:hover {
        --_background: var(--light-primary);
        --_effective-background: var(--_background);
        text-decoration: none;
        color: var(--_color);
        background: linear-gradient( hsl(from var(--_effective-background) h s calc(l - 15)), hsl(from var(--_effective-background) h s l) );
        text-shadow: 0 -1px 0 hsl(from var(--_effective-background) h s 20%);
        border: none;
    }
    &:active {
        box-shadow: none;
    }
}

.cart-item {
    display: flex;
    .material-icon {
        line-height: 12pt;
    }
}

.cart-wrapper {
    display: block;
    position: relative;
    line-height: 1;
    .badge {
        display: block;
        position: absolute;
        right: -14px;
        bottom: -10px;
        background: var(--primary);
        color: #fff;
        border-radius: 99px;
        padding: 2px 4px;
        font-size: 0.8em;
        line-break: 1;
        font-style: normal;
        text-align: center;
        min-width: 2em;
    }
}

nav.main-nav a:hover .cart-wrapper .badge {
    background: #fff;
    color: var(--primary);
}

.hero {
    padding: 60px 0;
    font-size: 1.5em;
    overflow: clip;
    isolation: isolate;
}

.hero-gradient {
    --_effective-color: var(--light-primary);
    background: linear-gradient(
        hsl(from var(--_effective-color) h s l),
        hsl(from var(--_effective-color) h s calc(l + 10))
    );
    color: #fff;
    text-shadow: 0 -1px 0 hsl(from var(--_effective-color) h s calc(l - 10));
    position: relative;
    &.hero-gradient-tertiary {
        --_effective-color: #444;
    }
    &::before {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: url("../img/hero-bg.webp") center/cover no-repeat;
        opacity: 0.5;
    }
    &::after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        z-index: 10;
        box-shadow: 0 -2px 20px #0008 inset;
        pointer-events: none;
    }
    ::selection {
        color: #b81a13;
        background: #fff;
        filter: none;
        text-shadow: none;
    }
}

.highlighted-section {
    --_effective-color: light-dark(#444, #111);
    background: linear-gradient(
        hsl(from var(--_effective-color) h s l),
        hsl(from var(--_effective-color) h s calc(l + 10))
    );
    color: #fff;
    text-shadow: 0 -1px 0 hsl(from var(--_effective-color) h s calc(l - 10));
    position: relative;
    padding-block: 64px;
    text-align: center;
    &::after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        z-index: 10;
        box-shadow: 0 -2px 20px #0008 inset;
        pointer-events: none;
    }
    h2 {
        font-size: 2em;
        font-style: italic;
        line-height: 1.2;
        margin: 0;
        letter-spacing: -1.5px;
        background-image: linear-gradient(rgb(from currentColor r g b / 50%), currentColor);
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: none;
        filter: drop-shadow(0 -1px 0 hsl(from var(--_effective-color) h s calc(l - 10)));
    }
    p {
        text-wrap: balance;
    }
}

.hero .wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
}

.hero-text {
    max-width: 30em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.hero-text h1 {
    font-size: 2em;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -1.5px;
    background-image: linear-gradient(rgb(from currentColor r g b / 50%), currentColor);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 -1px 0 hsl(from var(--_effective-color) h s calc(l - 10)));
}

.hero-text p {
    margin: 0;
}

.hero-image {
    flex: 1 1 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
}

.hero-image.hero-icon {
    position: absolute;
    right: -64px;
    bottom: -124px;
    z-index: -1;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

button,
.button {
    --_effective-background: var(--_background);
    --_border-lightness: 20%;
    display: block;
    text-decoration: none;
    position: relative;
    font: inherit;
    appearance: none;
    border-radius: 0.25em;
    border: 1px solid hsl(from var(--_effective-background) h s var(--_border-lightness));
    padding: 0.375em 0.5em;
    color: var(--_color);
    background-image: linear-gradient(
        hsl(from var(--_effective-background) h s l),
        hsl(from var(--_effective-background) h s calc(l - 6)) 50%,
        hsl(from var(--_effective-background) h s calc(l - 9)) 50%,
        hsl(from var(--_effective-background) h s calc(l - 15))
    );
    box-shadow: 0 1px 0 #fffa inset;
    text-shadow: 0 -1px 0 hsl(from var(--_effective-background) h s 20%);
    isolation: isolate;
    cursor: pointer;
    text-align: center;
    &:enabled:hover,
    &:is(a):hover {
        --_effective-background: hsl(from var(--_background) h s calc(l + 10));
        text-decoration: none;
    }
    &:enabled:active,
    &:is(a):active {
        --_effective-background: hsl(from var(--_background) h s calc(l - 10));
        background-image: linear-gradient(
            hsl(from var(--_effective-background) h s calc(l - 10)),
            hsl(from var(--_effective-background) h s l)
        );
        box-shadow: 0 3px 2px #0003 inset;
        color: rgb(from var(--_color) r g b / 50%);
    }
    &.primary {
        --_background: var(--primary);
        --_color: #fff;
        ::selection {
            color: #b81a13;
            background: #fff;
        }
    }
    &.secondary {
        --_background: #dadada;
        --_color: #000;
        text-shadow: 0 1px 0 #fff8;
    }
    &.tertiary {
        --_background: #666;
        --_color: #fff;
        --_border-lightness: 10%;
    }
    &:disabled {
        --_effective-background: #ccc;
        --_color: #444;
        --_border-lightness: 50%;
        background: var(--_effective-background);
        box-shadow: none;
        text-shadow: none;
        cursor: not-allowed;
    }
    .material-icon {
        margin-inline-end: -0.125em;
    }
    .icon {
        display: block;
        width: var(--icon-size, 24px);
        height: var(--icon-size, 24px);
        fill: currentColor;
    }
}

input:is([type="text"], [type="password"], [type="search"], [type="email"], [type="number"]),
textarea {
    appearance: none;
    border: 1px solid light-dark(#aaa, #111);
    padding: 0.375em;
    font: inherit;
    background: linear-gradient(
        light-dark(#f0f0f0, #444),
        light-dark(#fff, #555) 50%
    );
    color: light-dark(#000, #fff);
    border-radius: 0.25em;
    box-shadow: 0 2px 3px #0003 inset;
}

textarea {
    resize: vertical;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-item {
    display: flex;
    flex-direction: column;
    >label {
        align-self: start;
    }
}
.form-actions {
    justify-content: end;
    display: flex;
    gap: 8px;
}
main :is(button, .button):has(>:is(.material-icon, .icon)) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    >.material-icon {
        font-size: 1.5em;
    }
}

section {
    padding: 55px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 28px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 36px;
    font-size: 15px;
}

.intro-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.intro-grid .intro-image {
    flex: 1 1 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.intro-grid .intro-text {
    flex: 1 1 480px;
}

.intro-text ul {
    list-style: none;
    padding: 0;
    margin-top: 18px;
}

.intro-text ul li {
    margin-bottom: 10px;
    padding-inline-start: 26px;
}

.intro-text ul li i {
    margin-inline: -26px 8px;
    width: 18px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 26px 22px;
    text-align: center;
}

.service-card .service-icon {
    display: flex;
    width: 60px;
    height: 60px;
    line-height: 1;
    border-radius: 50%;
    font-size: 26px;
    margin: 0 auto 16px auto;
}

.service-card .service-icon .fa {
    margin: auto;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.usp-item i {
    font-size: 30px;
    margin-bottom: 12px;
    display: block;
}

.usp-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.usp-item p {
    font-size: 14px;
    margin: 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.fact-number {
    font-size: 34px;
    font-weight: bold;
}

.fact-label {
    font-size: 14px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.logo-box {
    padding: 18px 10px;
    text-align: center;
    font-size: 13px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial {
    padding: 20px;
    font-size: 14px;
}

.testimonial p.quote {
    font-style: italic;
    margin-bottom: 14px;
}

.testimonial .author {
    font-weight: bold;
    font-size: 13px;
}

.testimonial .stars {
    margin-bottom: 10px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding-bottom: 18px;
}

.team-photo {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 14px;
}

.team-card h4 {
    margin-bottom: 4px;
    font-size: 16px;
}

.team-card .role {
    font-size: 13px;
    margin-bottom: 8px;
}

.team-card .desc {
    font-size: 13px;
    padding: 0 14px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
}

.news-image {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.news-body {
    padding: 18px;
}

.news-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.news-body h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-body p {
    font-size: 14px;
}

.news-body a {
    font-size: 13px;
    font-weight: bold;
}

.contact-cta {
    text-align: center;
    padding: 45px 0;
}

.contact-cta h2 {
    margin-bottom: 12px;
}

.contact-cta .btn {
}

.contact-cta .btn:hover {
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
}

.contact-info-box,
.hours-box {
    padding: 24px;
    margin-bottom: 20px;
}

.contact-info-box h3,
.hours-box h3 {
    font-size: 18px;
    margin-bottom: 14px;
}

.contact-info-box p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.contact-info-box p i {
    width: 20px;
}

table.hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.hours td {
    padding: 6px 0;
}

table.hours td:last-child {
    text-align: right;
    font-weight: bold;
}

.map-placeholder {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

footer {
    font-size: 14px;
    background: #222;
    color: #fff;

    a {
        color: var(--dark-primary);
    }
    &::before {
        content: "";
        display: block;
        height: 1px;
        background-image: linear-gradient(to right,
            rgb(from currentColor r g b / 0%),
            rgb(from currentColor r g b / 33.3%),
            rgb(from currentColor r g b / 0%)
        );
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
}

.footer-grid h4 {
    font-size: 16px;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid a {
}

.footer-grid a:hover {
}

.contact-list li {
    padding-inline-start: 24px;
}

.contact-list li .fa {
    margin-inline: -24px 6px;
}

.footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-social a:hover {
    text-decoration: none;
}

.footer-social a .fa {
    margin: auto;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 13px;
}

.footer-bottom a {
    margin: 0 8px;
}

.footer-bottom a:hover {
}

.footer-bottom a:not(:last-of-type) {
    position: relative;
}

.footer-bottom .sep {
    display: inline-block;
    width: 1px;
    height: 0.75lh;
    margin-bottom: calc(1em - 0.75lh);
    background: #9a9a9a;
}

.nav-toggle-button {
    display: none;
    appearance: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 12px;
}

html:not(.nav-open) .nav-toggle-button {
    --_background: #dadada;
    --_color: #000;
    text-shadow: 0 1px 0 #fff8;
}

html.nav-open .nav-toggle-button {
    --_background: var(--primary);
    --_color: #fff;
}

.nav-open-icon {
    display: inline-block;
    font-size: inherit;
}
.nav-close-icon {
    display: none;
    font-size: inherit;
}

html.nav-open {
    .nav-open-icon {
        display: none;
    }
    .nav-close-icon {
        display: inline-block;
    }
}

.loader {
    width: 64px;
    height: 64px;
    background-image: url("../img/loader-blur.png");
    animation: loader 0.01s steps(3) infinite;
    transform: skewX(-15deg);
}

.generic-card {
    --_effective-color: var(--primary);
    border: 1px solid var(--_effective-color);
    background-image: linear-gradient(
        rgb(from var(--_effective-color) r g b / 10%),
        rgb(from var(--_effective-color) r g b / 5%)
    );
    border-radius: 4px;
    padding: 32px;
    box-shadow: 0 6px 16px #0002 inset;
    &.secondary-card {
        --_effective-color: currentColor;
    }
}

.seamless-card {
    padding: 33px;
}

.h-100 {
    height: 100%;
}

.product-card {
    border: 1px solid var(--primary);
    background-image: linear-gradient(
        rgb(from var(--primary) r g b / 10%),
        rgb(from var(--primary) r g b / 5%)
    );
    border-radius: 4px;
    padding: 32px;
    display: flex;
    gap: 8px;
    align-items: start;
    margin-top: 32px;
    position: relative;
    padding-inline-start: 192px;
    box-shadow: 0 6px 16px #0002 inset;
}

.product-details {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    flex: 1;
}

.product-details > * {
    margin-block: 0;
}

.product-details h3 {
    align-self: stretch;
    font-size: 1.5em;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -3.125%;
    background-image: linear-gradient(rgb(from currentColor r g b / 50%), currentColor);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.product-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-block-start: 8px;
}

.product-platforms {
    display: flex;
    gap: 8px;
    .icon {
        display: block;
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
}

.product-image {
    display: block;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    top: -20px;
    width: 192px;
}

.product-icon-header {
    display: flex;
    align-items: center;
    gap: 0.25em;
    padding-top: 0.5em;
}

.product-release-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-hero {
    text-align: center;
    padding-block-end: 0;
    .hero-text {
        max-width: none;
        width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        margin-block-end: -25%;
        animation: product-hero-image-in 2s cubic-bezier(0, 1, 0.5, 1) 0.2s backwards;
        @media (prefers-reduced-motion: reduce) {
            animation: none !important;
        }
    }
}

.generic-product-hero {
    text-align: center;
    .hero-text {
        max-width: none;
        width: 100%;
        p {
            text-wrap: balance;
        }
        a {
            color: inherit;
            text-decoration: underline;
            &:hover {
                text-decoration: none;
            }
        }
    }
    .hero-buttons {
        justify-content: center;
    }
}

.hero-product-status {
    font-size: 1rem;
    a {
        color: inherit;
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }
}

.alert {
    border: 1px solid;
    border-radius: 4px;
    padding: 8px;
    display: flex;
    align-items: start;
    gap: 0.5em;
    border: 1px solid var(--alert-color);
    background-image: linear-gradient(
        rgb(from var(--alert-color) r g b / 50%),
        rgb(from var(--alert-color) r g b / 15%)
    );
    box-shadow: 0 6px 16px #0002 inset;

    a {
        color: inherit;
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }

    &.alert-primary {
        --alert-color: var(--primary);
        color: light-dark(#000, #fff);
    }
    &.alert-warn {
        --alert-color: light-dark(#eb0, #fd0);
        color: light-dark(#000, #fff);
    }
    &.alert-info {
        --alert-color: light-dark(#0be, #0df);
        color: light-dark(#000, #fff);
    }
    &.alert-success {
        --alert-color: light-dark(#0c5, #3f7);
        color: light-dark(#000, #fff);
    }

    >.material-icon {
        flex-shrink: 0;
    }
    >.material-icon + span {
        flex: 1;
    }

    &.centered {
        inline-size: fit-content;
        margin: 16px auto;
    }
}

.feature-highlights {
    --col-size: 400px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--col-size)), 1fr));
    gap: 20px;
    margin-block: 32px 64px;
    &.feature-highlights-compact {
        --col-size: 300px;
    }
}

.feature-block-generic {
    margin-block: 32px 64px;
}

main > .wrap > h1,
h1.fancy {
    margin-block: 64px 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 2.75em;
    font-style: italic;
    line-height: 1;
    letter-spacing: -3.125%;
    &::after {
        color: light-dark(#000, #fff);
        content: "";
        display: block;
        height: 1px;
        background: linear-gradient(to right,
            currentColor,
            rgb(from currentColor r g b / 0%)
        );
    }
}

main > .wrap > h2,
h2.fancy {
    margin-block: 64px 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 2em;
    font-style: italic;
    line-height: 1;
    letter-spacing: -3.125%;
    &::after {
        color: light-dark(#000, #fff);
        content: "";
        display: block;
        height: 1px;
        background: linear-gradient(to right,
            currentColor,
            rgb(from currentColor r g b / 0%) max(50%, 300px)
        );
    }
}

main > .wrap > h3,
h3.fancy {
    margin-block: 64px 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5em;
    font-style: italic;
    line-height: 1;
    letter-spacing: -3.125%;
    &::after {
        color: light-dark(#000, #fff);
        content: "";
        display: block;
        height: 1px;
        background: linear-gradient(to right,
            currentColor,
            rgb(from currentColor r g b / 0%) max(33.3%, 200px)
        );
    }
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    background-image: linear-gradient(
        rgb(from var(--primary) r g b / 10%),
        rgb(from var(--primary) r g b / 5%)
    );
    overflow: clip;
    position: relative;
    isolation: isolate;
    box-shadow: 0 6px 16px #0002 inset;
    p {
        margin: 0;
    }
    .feature-watermark-icon {
        position: absolute;
        --icon-size: 128px;
        right: -32px;
        bottom: -32px;
        opacity: 0.15;
        rotate: 10deg;
        color: var(--primary);
        z-index: -1;
    }
}
.feature-header {
    display: flex;
    gap: 24px;
    align-items: center;
    h4 {
        margin: 0;
        font-size: 1.25em;
        font-style: italic;
        background-image: linear-gradient(rgb(from currentColor r g b / 50%), currentColor);
        background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -3.125%;
    }
    .feature-icon {
        --icon-size: 32px;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 4px;
        /* background: linear-gradient(
            160deg,
            var(--primary),
            hsl(from var(--primary) h s calc(l - 8))
        ); */
        background-image: radial-gradient(
            300% 100% at -40% 10%,
            hsl(from var(--primary) h s l),
            hsl(from var(--primary) h s calc(l - 6)) 50%,
            hsl(from var(--primary) h s calc(l - 9)) 50%,
            hsl(from var(--primary) h s calc(l - 15))
        );
        text-shadow: 0 -1px 0 hsl(from var(--primary) h s calc(l - 20));
        box-shadow: 1px 1px 0 #fff8 inset;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: perspective(130px) rotateX(11deg) rotateY(14deg) rotateZ(-3deg) scale(1.25) translateX(4px);
        filter: drop-shadow(4px 7px 15px #0004);
    }
}

.actions-list {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-block: 32px 64px;
    li {
        display: flex;
        gap: 8px;
        flex-direction: column;
        padding: 16px;
        margin: 0;
        border-radius: 4px;
        border: 1px solid currentColor;
        background-image: linear-gradient(
            rgb(from currentColor r g b / 10%),
            rgb(from currentColor r g b / 5%)
        );
        box-shadow: 0 6px 16px #0002 inset;
        .action-header {
            display: flex;
            gap: 8px;
            align-items: center;
            .icon {
                display: block;
                width: 16px;
                height: 16px;
                flex-shrink: 0;
                --icon-primary: var(--primary);
                --icon-secondary: light-dark(#000, #fff);
            }
            .action-name {
                font-weight: bold;
            }
        }
    }
}

.expandable-container {
    position: relative;
    padding-block-end: 25px;
    .expandable-content {
        max-height: 400px;
        overflow: clip;
        mask: linear-gradient(black 50%, transparent);
    }
    .expander {
        position: absolute;
        z-index: 1;
        left: 0;
        right: 0;
        margin-inline: auto;
        inline-size: max-content;
        bottom: 0;
        padding-inline: 1em;
    }
    &::after {
        content: "";
        display: block;
        height: 1px;
        left: 0;
        bottom: 0;
        right: 0;
        background-image: linear-gradient(to right,
            rgb(from currentColor r g b / 0%),
            currentColor,
            rgb(from currentColor r g b / 0%)
        );
    }
    &.expanded {
        position: static;
        padding-block-end: 0;
        .expandable-content {
            mask: none;
            overflow: revert;
            max-height: none;
        }
        .expander {
            display: none;
        }
        &::after {
            content: none;
            display: none;
        }
    }
}

.feature-text {
    em {
        font-style: normal;
        font-weight: bold;
        color: var(--primary);
    }
}

.footnotes {
    font-size: 8pt;
    margin-block: 64px 8px;
}

.faqs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-block: 32px 64px;
    details {
        &:not(:last-of-type)::after {
            content: "";
            display: block;
            margin-block-start: 20px;
            height: 1px;
            background-image: linear-gradient(to right,
                rgb(from currentColor r g b / 0%),
                currentColor
            );
        }
        summary {
            display: flex;
            justify-content: space-between;
            appearance: none;
            font-weight: bold;
            padding: 4px;
            cursor: pointer;
            &::after {
                content: "add";
                color: var(--primary);

                font-family: 'Material Icons Round';
                font-weight: normal;
                font-style: normal;
                font-size: var(--icon-size, 24px);
                line-height: 1;
                letter-spacing: normal;
                text-transform: none;
                display: inline-block;
                white-space: nowrap;
                word-wrap: normal;
                direction: ltr;
                -moz-font-feature-settings: 'liga';
                -moz-osx-font-smoothing: grayscale;
                user-select: none;
            }
        }
        &:open summary::after {
            content: "remove";
        }
        >div {
            padding: 4px;
            margin-block: 4px 0;
        }
    }
}

pre:not(:is(.ide-mockup pre)) {
    --border: light-dark(#555, #000);
    --background: light-dark(#fff, #222);
    --background-muted: light-dark(#ddd, #444);
    --color: light-dark(#000, #fff);
    --color-muted: light-dark(#666, #bbb);

    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--background);
    color: var(--color);
    position: relative;
    padding: 4px;
    overflow: auto;
    &::after {
        content: "";
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        box-shadow: 0 6px 16px #0002 inset;
        pointer-events: none;
    }
}

pre, code {
    font-family: "Fira Code", "Consolas", 'Courier New', Courier, monospace;
}

code:not(:is(pre>code)) {
    border: 1px solid var(--primary);
    background: rgb(from var(--primary) r g b / 15%);
    color: var(--primary);
    border-radius: 4px;
    padding: 2px;
}

.ide-mockup {
    --border: light-dark(#555, #000);
    --background: light-dark(#fff, #222);
    --background-muted: light-dark(#ddd, #444);
    --color: light-dark(#000, #fff);
    --color-muted: light-dark(#666, #bbb);
    --gutter-width: 44px;

    border: 1px solid var(--border);
    border-radius: 4px;
    .ide-tabbar {
        border-bottom: 1px solid var(--border);
        display: flex;
        background: var(--background);
        overflow: auto clip;
        border-radius: 3px 3px 0 0;
        box-shadow: 0 6px 16px #0002 inset;
    }
    .ide-tab {
        display: flex;
        gap: 6px !important;
        align-items: center;
        border-radius: 0;
        box-shadow: none;
        background: linear-gradient(
            hsl(from var(--background-muted) h s calc(l - 5)),
            var(--background-muted)
        );
        color: var(--color-muted);
        padding: 4px 10px;
        cursor: pointer;
        border-right: 1px solid var(--border);
        &:active {
            box-shadow: none;
            color: var(--color-muted);
        }
        &.selected {
            background: linear-gradient(
                var(--background),
                hsl(from var(--background) h s calc(l - 3)) 50%,
                hsl(from var(--background) h s calc(l - 6)) 50%,
                hsl(from var(--background) h s calc(l - 8))
            );
            color: var(--color);
            box-shadow: 0 2px 0 var(--primary) inset;
        }
    }
    .ide-window-controls {
        --gap: 6px;
        display: flex;
        align-items: center;
        margin-inline-start: auto;
        padding-inline: var(--gap);
        gap: var(--gap);
        color: var(--color-muted);
        border-left: 1px solid var(--border);
    }
    .ide-tab-icon {
        --icon-size: 16px;
        color: var(--primary);
        font-size: var(--icon-size, 24px) !important;
    }
    .ide-tab-close-icon {
        --icon-size: 16px;
        color: var(--color-muted);
        font-size: var(--icon-size, 24px) !important;
    }
    .ide-pages {
        background: var(--background);
        position: relative;
        &::after {
            content: "";
            display: block;
            position: absolute;
            inset: 0;
            z-index: 1;
            box-shadow: 0 6px 16px #0002 inset;
            pointer-events: none;
        }
    }
    .ide-page {
        display: none;
        height: 550px;
        overflow: auto;
        background:
            linear-gradient(
                to right,
                hsl(from var(--background-muted) h s calc(l - 5)),
                var(--background-muted) calc(var(--gutter-width) - 1px),
                var(--border) calc(var(--gutter-width) - 1px)
            )
            0 0/var(--gutter-width) 100px repeat-y;
        &.selected {
            display: block;
        }
        > pre {
            margin: 0;
            user-select: contain;
        }
    }
    &.min-height .ide-page {
        height: auto;
    }
}

.split-layout {
    display: flex;
    align-items: stretch;
    gap: 20px;
    .layout-col-2 {
        flex: 2;
    }
    .layout-col-1 {
        flex: 1;
    }
    .layout-col-auto {
        flex-shrink: 0;
    }
    @media (max-width: 600px) {
        flex-direction: column;
        >* {
            flex: revert !important;
        }
    }
}

.action-row {
    display: flex;
    align-items: center;
    gap: 8px;
    @media (max-width: 600px) {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.docs-wrap {
    display: flex;
    gap: 20px;
    align-items: start;
    padding-block: 32px;
}
.docs-nav {
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    min-width: 220px;
    gap: 4px;
    align-items: start;
    position: sticky;
    top: 64px;
    a {
        padding-inline-start: 10px;
        position: relative;
        &::before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            bottom: 0;
            left: -2px;
            width: 4px;
            height: 4px;
            margin: auto;
            background: light-dark(#000, #fff);
            border-radius: 50%;
        }
    }
}
.docs-nav-header {
    font-weight: bold;
    font-style: italic;
    line-height: 1;
    margin-block-end: 8px;
    &::after {
        content: "";
        display: block;
        height: 1px;
        background: linear-gradient(to right, currentColor, rgb(from currentColor r g b / 0%));
    }
}

.hero-loader {
    width: 128px;
    height: 4px;
    border-radius: 99px;
    background: #fff6;
    margin: 16px auto 0;
    overflow: clip;
    box-shadow: 0 0 1px #fffd inset;
    &::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(to left, #fff, #fff0);
        animation: hero-loader 1s ease-out infinite;
    }
}

.hero-spacer {
    height: 2.5lh;
}

.space-top {
    padding-block-start: 64px;
}

.space-bottom {
    padding-block-end: 64px;
}

#about-img {
    width: 192px;
    border-radius: 50%;
    float: right;
    margin: -20px 0 20px 20px;
    border: 1px solid currentColor;
}

blockquote {
    border-radius: 4px;
    padding: 32px;
    font-style: italic;
    border: 1px solid currentColor;
    background-image: linear-gradient(
        rgb(from currentColor r g b / 10%),
        rgb(from currentColor r g b / 5%)
    );
    box-shadow: 0 6px 16px #0002 inset;
    >:first-child { margin-block-start: 0; }
    >:last-child { margin-block-end: 0; }
}

@keyframes hero-loader {
    from { translate: -100%; }
    to { translate: 100%; }
}

@keyframes loader {
    from { background-position: 0 0; }
    to { background-position: -192px 0; }
}

@keyframes slide-in {
    from { translate: 0 -100%; }
}

@keyframes product-hero-image-in {
    from {
        opacity: 0;
        translate: 0 256px;
    }
}

@media (max-width: 1024px) {
    .topbar {
        display: none;
    }
    .header-inner {
        padding-inline: 16px;
    }

    header.site-header {
        position: sticky;
        top: 0;
        z-index: 200;
    }

    .nav-toggle-button {
        display: flex;
    }

    nav.main-nav {
        display: none;
        position: fixed;
        left: 0;
        top: 74px;
        right: 0;
        z-index: 199;
    }

    html.nav-open nav.main-nav {
        display: block;
        animation: slide-in 0.2s ease-out;
    }

    nav.main-nav ul {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    nav.main-nav li {
        display: contents;
        border-right: none;
    }

    nav.main-nav li.spring {
        margin-inline-start: 0;
    }

    .services-grid,
    .usp-grid,
    .facts-grid,
    .logo-grid,
    .testimonial-grid,
    .team-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-image.hero-icon {
        opacity: 0.25;
        width: 256px;
    }

    .product-card {
        padding: 16px;
        display: flex;
        flex-direction: column;
    }
    .product-image {
        position: static;
        top: 0;
        width: 64px;
    }

    .docs-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .docs-nav {
        position: static;
    }
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .services-grid,
    .usp-grid,
    .facts-grid,
    .logo-grid,
    .testimonial-grid,
    .team-grid,
    .news-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 26px;
        margin-block-end: -0.25em;
    }
    .hero-text {
        font-size: 12pt;
        gap: 1em;
    }
}

.phiki {
    font-family: "Fira Code", "Consolas", 'Courier New', Courier, monospace;
    font-size: 11pt;
}

.phiki,
.phiki span {
    background: none !important;
}

.phiki span.line-number {
    width: var(--gutter-width);
    display: inline-block;
    text-align: end;
    padding-inline: 4px;
    margin-inline-end: 8px;
    color: var(--color-muted) !important;
    border-right: 1px solid transparent;
}

.phiki,
.phiki span {
    color: light-dark(var(--phiki-light-color), var(--phiki-dark-color)) !important;
    font-style: light-dark(var(--phiki-light-font-style), var(--phiki-dark-font-style)) !important;
    font-weight: light-dark(var(--phiki-light-font-weight), var(--phiki-dark-font-weight)) !important;
    text-decoration: light-dark(var(--phiki-light-text-decoration), var(--phiki-dark-text-decoration)) !important;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 12px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 20px !important; }
.mt-5 { margin-top: 32px !important; }
.mt-6 { margin-top: 64px !important; }
.mt-auto { margin-top: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 20px !important; }
.mb-5 { margin-bottom: 32px !important; }
.mb-6 { margin-bottom: 64px !important; }
.mb-auto { margin-bottom: auto !important; }

.stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.clip { overflow: clip !important; }
.relative { position: relative !important; }
.isolate { isolation: isolate !important; }

.generic-card-product-image {
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 192px;
    height: 192px;
    opacity: 0.5;
    z-index: -1;
}

hr {
    margin: 32px 0;
    border: none;
    display: block;
    height: 1px;
    background-image: linear-gradient(to right,
        rgb(from currentColor r g b / 0%),
        currentColor,
        rgb(from currentColor r g b / 0%)
    );
}

.highlighted-section-watermark-image {
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    margin-inline: auto;
    bottom: -192px;
    opacity: 0.1;
    width: 384px;
    height: 384px;
}

.attribution {
    position: absolute;
    inset: auto 0 .5lh;
    max-inline-size: var(--content-width);
    padding: 0 20px;
    margin-inline: auto;
    text-align: end;
    font-size: .5rem;
    color: rgb(from currentColor r g b / 25%);
    text-shadow: none;
    a {
        color: inherit;
    }
}

html:has(>body>.sawcb-outer),
html>body:has(>.sawcb-outer) {
    overflow: hidden !important;
}
.sawcb-outer {
    position: fixed;
    z-index: 2147483647;
    background: linear-gradient(#0006, #000c);
    inset: 0;
    padding: 20px;
    align-content: end;
    overflow: auto;
}
.sawcb-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 20px;
    background-color: rgb(from light-dark(#fff, #333) r g b / 75%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: light-dark(#000, #ddd);
    box-shadow: 0 6px 16px #0002 inset, 0 0 96px rgb(from var(--primary) r g b / 50%);
    background-image: linear-gradient(
        rgb(from var(--primary) r g b / 10%),
        rgb(from var(--primary) r g b / 5%)
    );
    overflow: clip;
    position: relative;
    isolation: isolate;
    .watermark-icon {
        position: absolute;
        --icon-size: 256px;
        right: calc(-0.25 * var(--icon-size));
        bottom: calc(-0.25 * var(--icon-size));
        opacity: 0.15;
        rotate: 10deg;
        color: var(--primary);
        z-index: -1;
    }
    >* {
        margin-block: 0;
    }
}
.sawcb-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

