:root {
    font-size: 18px;
    font-family: 'FormaDJRVariable', sans-serif;
    font-synthesis: none !important;
}

body {
    margin: 0;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    height: 100dvh;
}

.hero {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    background: oklch(0.4682 0.3217 264.93);
    color: #fff;
    flex: 1;
    flex-shrink: 0;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 500;
    font-stretch: 80%;
    margin: 0;
}

.hero p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0;
    text-wrap: balance;
}

.hero img {
    width: 7rem;
    height: 7rem;
    margin-bottom: -1.25rem;
    /* Adjusted for visual balance */
}

.hero .button {
    display: flex;
    padding: 0.60rem 1rem;
    padding-left: 0.9rem;
    background-color: #fff;
    color: black;
    text-decoration: none;
    border-radius: 5rem;
    font-size: 1rem;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.lucide {
    width: 1rem;
    height: 1rem;
    margin-top: 0.05rem;
}

.hero .button:hover {
    background-color: #e1e1e1;
}

.hero .caption {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-feature-settings: "tnum";
}

.hero .title-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero .download-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 3rem;
    box-sizing: border-box;
    align-content: stretch;
    overflow-y: scroll;
}

.hide-on-desktop {
    display: none !important;
}

.demo-video {
    max-width: 100%;
    border: none;
    border-radius: 0.5rem;
}

@media (max-width: 900px) {
    main {
        flex-direction: column;
        height: auto;
    }

    .content {
        padding: 1.5rem;
        padding-top: 2rem;
        overflow-y: initial;
    }

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

    .hide-on-desktop {
        display: flex !important;
    }
}

.content h1 {
    margin: 0;
    font-weight: 500;
    font-stretch: 100%;
    line-height: 110%;
}

.content .top-text {
    font-size: 1.2rem;
    line-height: 125%;
    margin: 0;
    font-variation-settings: "opsz" 18;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.demo-video {
    width: 100%;
    display: block;
    border-radius: 0.75rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.video-overlay.hidden {
    display: none;
}

.play-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.duration-text {
    color: white;
    font-size: 1rem;
    font-weight: 400;
}

.duration-text-head {
    color: white;
    font-size: 2rem;
    font-weight: 500;
}

.duration-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.custom-play-button {
    display: flex;
    padding: 0.50rem 1rem;
    padding-left: 0.9rem;
    background-color: #fff;
    color: black;
    text-decoration: none;
    border-radius: 5rem;
    font-size: 1rem;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    appearance: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.custom-play-button:hover {
    background: #e1e1e1;
}

.custom-play-button:active {
    transform: translateY(0);
}

.bento {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bento div {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0.75rem;
    gap: 0.65rem;
    border-radius: 0.75rem;
    padding-bottom: 0.60rem;
}

.eu-bento {
    background: #003399;
    color: #fff;
}

.muted-bento {
    background: rgba(0,0,0,0.01);
    border: 1px solid rgba(0,0,0,0.1);
}

.bento div svg {
    width: 2.5rem;
    height: 2.5rem;
}

.bento div img {
    width: 2.5rem;
    height: 2.5rem;
}

.bento div span {
    margin-bottom: -0.1rem;
}

.faq-section {
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #0066cc;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}

.acknowledgement {
    font-size: 0.875rem;
    line-height: 130%;
    color: #666;
}

.lang-selector {
    display: flex;
    justify-content: center;
}

.lang-selector a {
    margin: 0 0.5rem;
    text-decoration: none;
    font-size: 0.75rem;
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.lang-selector a:hover {
    opacity: 0.8;
}