:root {
    --navy: #163450;
    --cream: #f5f4f0;
    --amber: #d7a063;
    --teal: #29868f;
    --coral: #eb7567;
    --white: #fff;
    --ink: #20384d;
    --muted: #5c6d7b;
    --line: #d8ddd9;
    --radius: 24px;
    --shadow: 0 18px 55px rgba(22,52,80,.11)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 17px/1.65 "Segoe UI",Arial,sans-serif
}

a {
    color: inherit
}

h1, h2, h3, p {
    margin-top: 0
}

h1, h2 {
    font-family: Georgia,"Times New Roman",serif;
    color: var(--navy);
    line-height: 1.08
}

h1 {
    font-size: clamp(2.8rem,6vw,5.8rem);
    letter-spacing: -.035em
}

h2 {
    font-size: clamp(2rem,4vw,3.4rem)
}

h3 {
    color: var(--navy);
    line-height: 1.25
}

button, a {
    touch-action: manipulation
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 999;
    background: var(--white);
    padding: .8rem 1rem;
    border-radius: 10px
}

    .skip-link:focus {
        top: 1rem
    }

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245,244,240,.96);
    border-bottom: 1px solid rgba(22,52,80,.1);
    backdrop-filter: blur(12px)
}

.nav-wrap {
    max-width: 1240px;
    margin: auto;
    min-height: 82px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700
}

.logo {
    width: 44px;
    height: 50px;
    object-fit: contain;
    flex: none
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem
}

    .site-nav > a:not(.button) {
        text-decoration: none;
        font-weight: 600;
        font-size: .92rem
    }

    .site-nav > a.active:not(.button) {
        color: var(--teal)
    }

.menu-button {
    display: none;
    border: 0;
    background: transparent;
    padding: 10px
}

    .menu-button span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--navy);
        margin: 5px
    }

.language {
    display: flex;
    align-items: center;
    gap: .2rem
}

    .language button {
        border: 0;
        background: none;
        color: var(--muted);
        font-weight: 700;
        padding: .3rem
    }

        .language button.active {
            color: var(--teal);
            text-decoration: underline
        }

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin: 1.6rem 0
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: .8rem 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700
}

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

    .button.secondary {
        background: var(--amber);
        color: var(--navy)
    }

    .button.compact {
        min-height: 42px;
        padding: .55rem .9rem
    }

    .button.disabled {
        opacity: .72;
        cursor: not-allowed
    }

.text-link {
    color: #18737b;
    font-weight: 700;
    text-underline-offset: 4px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    font-size: .78rem;
    color: #20777f
}

.lead {
    font-size: clamp(1.08rem,2vw,1.3rem);
    max-width: 690px;
    color: var(--muted)
}

.platform-note {
    font-size: .9rem;
    color: var(--muted);
    margin-top: 1rem
}

.hero {
    max-width: 1240px;
    margin: auto;
    min-height: 710px;
    padding: 100px 24px 80px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 70px;
    overflow: hidden
}

.hero-copy h1 {
    max-width: 650px
}

.app-showcase {
    position: relative;
    min-height: 475px
}

    .app-showcase figure {
        margin: 0;
        overflow: hidden;
        background: white;
        border: 1px solid rgba(22,52,80,.14);
        box-shadow: var(--shadow)
    }

    .app-showcase img {
        display: block;
        width: 100%;
        height: auto
    }

.windows-preview {
    position: absolute;
    top: 30px;
    left: 0;
    width: 94%;
    border-radius: 20px;
    transform: rotate(1deg)
}

.android-preview {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 31%;
    max-height: 420px;
    border-radius: 25px;
    transform: rotate(-2deg)
}

    .android-preview img {
        margin-top: -1px
    }

.section, .page-hero, .note, .warning {
    max-width: 1160px;
    margin: 0 auto;
    padding: 90px 24px
}

.page-hero {
    padding-top: 110px;
    padding-bottom: 65px;
    text-align: center;
    max-width: 900px
}

    .page-hero p:last-child {
        font-size: 1.15rem;
        color: var(--muted)
    }

.section-heading {
    max-width: 680px;
    margin-bottom: 38px
}

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

.feature-card, .download-card, .contact-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 25px rgba(22,52,80,.05)
}

.icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #e1f0ee;
    color: var(--teal);
    font-size: 1.35rem;
    font-weight: 700
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0
}

.accent-panel {
    background: var(--navy);
    color: white;
    border-radius: 34px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

    .accent-panel h2 {
        color: white
    }

    .accent-panel > div:first-child {
        max-width: 700px
    }

.privacy-mark {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--amber);
    display: grid;
    place-items: center;
    color: var(--navy);
    font-size: 3rem
}

    .privacy-mark span {
        font-size: .8rem
    }

.center {
    text-align: center;
    max-width: 800px
}

    .center .button-row {
        justify-content: center
    }

.feature-list {
    display: grid;
    gap: 24px
}

    .feature-list article {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 24px;
        background: white;
        border-radius: var(--radius);
        padding: 32px
    }

    .feature-list h2 {
        font-size: 2rem
    }

    .feature-list ul {
        columns: 2;
        padding-left: 1.2rem
    }

.comparison {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: white
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 17px 22px;
    border-bottom: 1px solid var(--line)
}

    .comparison-row:last-child {
        border: 0
    }

    .comparison-row.head {
        background: var(--navy);
        color: white;
        font-weight: 700
    }

.mobile-label {
    display: none
}

.steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

    .steps article {
        display: flex;
        gap: 20px;
        padding: 28px;
        background: white;
        border-radius: var(--radius)
    }

        .steps article > span {
            display: grid;
            place-items: center;
            flex: none;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: var(--coral);
            color: var(--navy);
            font-weight: 800
        }

    .steps h2 {
        font-size: 1.7rem
    }

.note, .warning {
    padding: 28px 32px;
    border-radius: 18px;
    background: #e4f1ef;
    border-left: 6px solid var(--teal);
    max-width: 1112px
}

.warning {
    background: #fff0ec;
    border-color: var(--coral)
}

    .note p, .warning p {
        margin: 0
    }

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

    .screenshot-grid figure {
        margin: 0
    }

    .screenshot-grid figcaption {
        font-size: .86rem;
        color: var(--muted);
        padding: .6rem
    }

.real-screenshots {
    grid-template-columns: minmax(0,2fr) minmax(240px,.72fr);
    align-items: start
}

    .real-screenshots figure {
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: white;
        box-shadow: 0 8px 25px rgba(22,52,80,.06)
    }

    .real-screenshots img {
        display: block;
        width: 100%;
        height: auto
    }

.download-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.platform-icon {
    font-size: 2.8rem;
    color: var(--teal)
}

.download-card dl > div {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding: .7rem 0
}

.download-card dt {
    color: var(--muted)
}

.download-card dd {
    font-weight: 700
}

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

    .contact-grid article {
        min-height: 250px
    }

.faq-list {
    max-width: 900px
}

    .faq-list details {
        background: white;
        border: 1px solid var(--line);
        border-radius: 16px;
        margin: 12px 0;
        padding: 0 20px
    }

    .faq-list summary {
        padding: 20px 35px 20px 0;
        font-weight: 700;
        color: var(--navy);
        cursor: pointer
    }

    .faq-list p {
        color: var(--muted)
    }

.prose {
    max-width: 850px
}

    .prose article {
        border-bottom: 1px solid var(--line);
        padding: 20px 0
    }

    .prose h2 {
        font-size: 1.8rem
    }

.footer {
    margin-top: 90px;
    background: var(--navy);
    color: #e8eeef;
    padding: 70px 24px 20px
}

.footer-grid {
    max-width: 1160px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 45px
}

.footer h2 {
    font: 700 1rem "Segoe UI",Arial,sans-serif;
    color: white
}

.footer a {
    display: block;
    margin: .5rem 0;
    color: #e8eeef
}

.footer-brand {
    color: white
}

.footer-bottom {
    max-width: 1160px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid #ffffff25;
    font-size: .84rem
}

.muted {
    color: var(--muted)
}

.footer .muted {
    color: #b8c5cc
}

.loading {
    min-height: 100vh;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--navy)
}

    .loading span {
        width: 42px;
        height: 42px;
        border: 4px solid var(--line);
        border-top-color: var(--teal);
        border-radius: 50%;
        animation: spin 1s linear infinite
    }

#blazor-error-ui {
    display: none
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media (prefers-reduced-motion:reduce) {
    *, *:before, *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important
    }
}

@media(max-width:950px) {
    .menu-button {
        display: block
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 74px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 22px;
        box-shadow: var(--shadow);
        align-items: stretch;
        flex-direction: column
    }

        .site-nav.open {
            display: flex
        }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px
    }

    .card-grid {
        grid-template-columns: 1fr 1fr
    }

    .screenshot-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr
    }

        .footer-grid > div:last-child {
            grid-column: 2
        }

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

@media(max-width:650px) {
    body {
        font-size: 16px
    }

    .nav-wrap {
        padding: 0 16px
    }

    .brand span {
        font-size: .9rem
    }

    .hero {
        padding: 55px 18px
    }

    .app-showcase {
        min-height: 390px
    }

    .windows-preview {
        top: 12px;
        width: 100%
    }

    .android-preview {
        width: 36%;
        max-height: 325px
    }

    .section, .page-hero {
        padding: 65px 18px
    }

    .card-grid, .steps, .download-grid, .screenshot-grid {
        grid-template-columns: 1fr
    }

    .accent-panel {
        margin: 0 18px;
        padding: 36px 24px;
        display: block
    }

    .privacy-mark {
        display: none
    }

    .feature-list article {
        padding: 24px
    }

    .feature-list ul {
        columns: 1
    }

    .comparison-row.head {
        display: none
    }

    .comparison-row {
        grid-template-columns: 1fr;
        padding: 18px;
        gap: 5px
    }

    .mobile-label {
        display: inline
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

        .footer-grid > div:last-child {
            grid-column: auto
        }

    .button-row {
        flex-direction: column;
        align-items: stretch
    }

    .button {
        width: 100%
    }
}
