@font-face
{
    font-family: "regular";
    src: url("../../font/Poppins-Regular.ttf");
}

@font-face
{
    font-family: "semibold";
    src: url("../../font/Poppins-SemiBold.ttf");
}

@font-face
{
    font-family: "bold";
    src: url("../../font/Poppins-Bold.ttf");
}

@font-face
{
    font-family: "light";
    src: url("../../font/Poppins-Light.ttf");
}

:root
{
    --bg: #f2f2f2;
    --text: #363636;
    --bg_card: #ffffff;
    --radius: 4px;
    --max: 980px;
}

html
{
    height: 100%;
}

body
{
    margin: 0;
    color: var(--text);
    font-family: "regular";
    font-size: 11pt;
    letter-spacing: 0.4px;
    background-color: var(--bg);
}

h1
{
    font-family: "bold";
    font-size: 22px;
    margin: 0 0 16px 0;
}

h2
{
    font-family: "semibold";
    font-size: 18px;
    margin: 0 0 12px 0;
}

h3
{
    font-family: "semibold";
    font-size: 14px;
    margin: 0 0 6px 0;
}

p
{
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.5;
}


.small {
    font-size: 10px;
    line-height: 1.5;
    color: #666;
}

.medium {
    font-size: 12px;
    line-height: 1.5;
    color: #555;
}

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

.semibold
{
    font-family: "semibold";
}

.bold
{
    font-family: "bold";
}

.regular
{
    font-family: "regular";
    font-size: 14pt;
}

.light
{
    font-family: "light";
}

.subline
{
    font-family: "semibold";
    color: #ffffffaa;
    font-size: 13px;
}

.card
{
    margin-top: 28px;
    background: var(--bg_card);
    border-radius: var(--radius);
    padding: 30px 40px;
    scroll-margin-top: 80px;
}


.download-buttons
{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 10px 0 12px 0;
}

.download-button
{
    width: 292px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #00b4ff;
    color: white;
    border-radius: 6px;

    font-family: "semibold";
    font-size: 15px;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.download-button:hover
{
    background: #009fe3;
}

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

.download-icon
{
    width: 26px;
    height: 26px;
    display: block;
}


a.external-link {
    color: #00b4ff;
    text-decoration: underline;
}

a.external-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}


.youtube-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.youtube-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.youtube-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.youtube-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 60px;
    height: 60px;

    border-radius: 50%;
    background: rgba(0,0,0,0.5);

    color: white;
    font-size: 28px;
    line-height: 64px;
    text-align: center;
}

.youtube-play span {
    position: relative;
    left: 3px;
    top: -1px;
}

.youtube-label {
    font-size: 16px;
    font-weight: 500;
    margin-top: 6px;
    color: #00b4ff;
}


.two-column {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.two-column .column {
    flex: 1;
    min-width: 0;
}

@media (max-width: 800px) {
    .two-column {
        flex-direction: column;
    }
}



.footer
{
    max-width: var(--max);
    margin: 40px auto 0 auto;
    padding: 0 20px 40px 20px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
}

.footer a
{
    color: rgba(54, 54, 54, 0.65);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer a:hover
{
    color: rgba(54, 54, 54, 1);
}


.screenshots
{
    display: grid;
    grid-template-columns: 1fr;
}

.media
{
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);
}

.shot
{
    grid-column: span 6;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.shot.small
{
    grid-column: span 4;
}


.thumb
{
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.thumb img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shot-label
{
    position: absolute;
    inset: auto 14px 14px 14px;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(8, 24, 32, 0.5);
    width: fit-content;
}

@media (max-width: 920px)
{
    .grid
    {
        grid-template-columns: 1fr;
    }

    .shot,
    .shot.small
    {
        grid-column: span 12;
    }
}

.highlight
{
    font-weight: bold;
}

.name
{
    font-style: italic;
}

.name bold
{
    font-weight: bold;
}

.note
{
    font-size: 11px;
    color: grey;
    line-height: 1.3;
}


.video-frame
{
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
}

.video-frame video
{
    display: block;
    width: 100%;
    border-radius: var(--radius);
}


/* ---------- top navigation ---------- */

.topbar
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
}

.topbar-inner
{
    max-width: var(--max);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo
{
    font-family: "semibold";
    font-size: 16px;
}

.logo img
{
    height: 24px;
    display: block;
}

.nav a
{
    margin-left: 26px;
    font-family: "semibold";
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    opacity: 0.7;
}

.nav a:hover
{
    opacity: 1;
}

/* space so header doesn't overlap page */

.wrap
{
    padding-top: 76px;
}

/* smooth scrolling */

html
{
    scroll-behavior: smooth;
}



.funding-list
{
    margin: 10px 0 20px 0;
    padding-left: 24px;
    list-style-position: inside;
}

.funding-list li
{
    margin-bottom: 12px;
    line-height: 1.5;
}



.card:first-child
{
    margin-top: 0;
}


#elevatorPitch p
{
    margin-bottom: 0;
}



@media print
{
    @page
    {
        size: A4;
        margin: 12mm;
    }

    html
    {
        height: auto;
        scroll-behavior: auto;
    }

    body
    {
        margin: 0;
        background: #ffffff !important;
        color: #222222;
        font-size: 11pt;
        line-height: 1.4;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .topbar,
    .modal,
    .btn,
    .dots,
    .video-frame,
    video
    {
        display: none !important;
    }

    #video
    {
        display: none !important;
    }

    .wrap
    {
        max-width: none;
        margin: 0;
        padding: 0 !important;
    }

    h1
    {
        font-size: 20pt;
        margin: 0 0 4mm 0;
        page-break-after: avoid;
    }

    h2
    {
        font-size: 14pt;
        margin: 0 0 2mm 0;
        page-break-after: avoid;
    }

    p
    {
        margin: 0 0 4mm 0;
        line-height: 1.4;
    }

    .card,
    .card-screenshots
    {
        display: block;
        margin: 0 0 8mm 0;
        padding: 8mm 10mm;
        background: #f4f4f4 !important;
        border: 0;
        border-radius: 8px;
        box-shadow: none !important;
        break-inside: auto;
        page-break-inside: auto;
        page-break-before: always;
        break-before: page;
    }

    
    .card:first-child
    {
        margin-top: 0;
        page-break-before: auto;
        break-before: auto;
    }

    /* keep only compact/visual sections together */
    #elevatorPitch,
    #overview,
    .card-screenshots,
    #milestones
    {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* screenshot section as compact printable grid */
    .media
    {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 5mm;
    }

    .shot,
    .shot.small
    {
        display: block;
        grid-column: auto !important;
        width: auto;
        margin: 0;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        border-radius: 0;
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .thumb
    {
        display: block;
        width: 100%;
        height: 100%;
    }

    .thumb img,
    .shot img
    {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .shot-label
    {
        position: static;
        display: block;
        margin-top: 2mm;
        padding: 0;
        background: none;
        color: #555555;
        border-radius: 0;
        font-size: 10pt;
        width: auto;
    }

    .mylist
    {
        margin: 2mm 0 4mm 6mm;
        padding-left: 0;
        list-style-position: outside;
    }

    .mylist li
    {
        margin-bottom: 2mm;
        line-height: 1.4;
    }

    .highlight
    {
        font-weight: bold;
    }

    .name
    {
        font-style: italic;
    }
    



    a,
    a:visited
    {
        color: inherit;
        text-decoration: none;
    }
}