﻿:root {
    --app-primary: #2F66ED;
    --app-background: #F7F9FC;
    --app-surface: #FFFFFF;
    --app-text-primary: #111111;
    --app-text-secondary: #344054;
    --app-border: #D8E0EC;
    --app-error: #D92D20;
    --radius-button: 14px;
    --radius-card: 16px;
    --container-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--app-background);
    color: var(--app-text-primary);
}

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

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

.container {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--app-border);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: 52px;
}

.brand-mark-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--app-text-primary);
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .main-nav a {
        color: var(--app-text-secondary);
        font-size: 15px;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .main-nav a:hover {
            color: var(--app-primary);
        }

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--app-primary);
    border-radius: var(--radius-button);
    background-color: var(--app-surface);
    color: var(--app-primary);
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .login-button:hover {
        background-color: var(--app-primary);
        color: white;
    }

.page-placeholder {
    padding: 80px 0;
}

.hero {
    padding: 48px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    align-items: center;
    gap: 52px;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--app-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: var(--app-text-primary);
    font-size: clamp(42px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.hero h2 {
    margin: 18px 0 18px;
    max-width: 560px;
    color: var(--app-text-primary);
    font-size: clamp(24px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.hero-text {
    margin: 0 0 12px;
    max-width: 620px;
    color: var(--app-text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: min(260px, 100%);
    padding: 7px;
    background-color: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.10), 0 5px 14px rgba(17, 24, 39, 0.06);
}

.hero-screen {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: var(--radius-button);
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

    .button:hover {
        transform: translateY(-1px);
    }

.primary-button {
    background-color: var(--app-primary);
    color: white;
    border: 1px solid var(--app-primary);
}

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

.secondary-button {
    background-color: var(--app-surface);
    color: var(--app-primary);
    border: 1px solid var(--app-border);
}

    .secondary-button:hover {
        border-color: var(--app-primary);
    }

.challenge-section {
    padding: 72px 0;
    background-color: var(--app-surface);
    border-top: 1px solid var(--app-border);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

    .section-heading h2 {
        margin: 0 0 16px;
        color: var(--app-text-primary);
        font-size: 32px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.015em;
    }

.section-intro {
    margin: 0;
    color: var(--app-text-secondary);
    font-size: 16px;
    line-height: 1.65;
}


/* Statistics */

.challenge-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 24px;
    background-color: var(--app-background);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
}

.stat-value {
    margin-bottom: 8px;
    color: var(--app-primary);
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    color: var(--app-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}


/* Patient → information → clinician */

.challenge-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.flow-item {
    min-height: 170px;
    padding: 22px;
    background-color: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
}

.flow-number {
    margin-bottom: 18px;
    color: var(--app-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.flow-item h3 {
    margin: 0 0 10px;
    color: var(--app-text-primary);
    font-size: 18px;
}

.flow-item p {
    margin: 0;
    color: var(--app-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.flow-arrow {
    color: var(--app-primary);
    font-size: 24px;
}


/* Conclusion */

.challenge-conclusion {
    max-width: 820px;
    padding-left: 22px;
    border-left: 3px solid var(--app-primary);
}

.challenge-problem {
    margin: 0 0 8px;
    color: var(--app-text-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
}

.challenge-transition {
    margin: 0;
    color: var(--app-text-secondary);
    font-size: 15px;
    line-height: 1.55;
}

.project-goal-section {
    padding: 44px 0;
    background-color: var(--app-background);
    border-top: 1px solid var(--app-border);
}

.project-goal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.project-goal-content {
    max-width: 700px;
}

    .project-goal-content h2 {
        margin: 0 0 14px;
        color: var(--app-text-primary);
        font-size: 30px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.015em;
    }

    .project-goal-content p:last-child {
        margin: 0;
        color: var(--app-text-secondary);
        font-size: 16px;
        line-height: 1.65;
    }

.project-goal-points {
    display: grid;
    gap: 14px;
}

.goal-point {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
}

.goal-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(47, 102, 237, 0.08);
    color: var(--app-primary);
    font-size: 15px;
    font-weight: 700;
}

.goal-point span:last-child {
    color: var(--app-text-primary);
    font-size: 15px;
    font-weight: 600;
}

.solution-section {
    padding: 48px 0;
    background-color: var(--app-surface);
    border-top: 1px solid var(--app-border);
}

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

.solution-card {
    grid-column: span 2;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
    background-color: var(--app-background);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
}

.solution-card:nth-child(4),
.solution-card:nth-child(5) {
    grid-column: span 3;
}

.solution-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    margin-bottom: 0;
    background-color: rgba(47, 102, 237, 0.08);
    border-radius: 12px;
}

.solution-icon img {
    width: 24px;
    height: 24px;
}

.solution-card h3 {
    margin: 0 0 10px;
    color: var(--app-text-primary);
    font-size: 18px;
    font-weight: 700;
}

.solution-card p {
    margin: 0;
    color: var(--app-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

.solution-content {
    min-width: 0;
}

.solution-content h3 {
    margin: 0 0 10px;
}

.solution-content p {
    margin: 0;
}

.target-users-section {
    padding: 48px 0;
    background-color: var(--app-background);
    border-top: 1px solid var(--app-border);
}

.target-users-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.user-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
}

.user-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    background-color: rgba(47, 102, 237, 0.08);
    border-radius: 12px;
}

    .user-icon img {
        width: 26px;
        height: 26px;
    }

.user-content {
    min-width: 0;
}

    .user-content h3 {
        margin: 0 0 10px;
        color: var(--app-text-primary);
        font-size: 19px;
        font-weight: 700;
    }

    .user-content p {
        margin: 0;
        color: var(--app-text-secondary);
        font-size: 14px;
        line-height: 1.6;
    }

    .user-content .user-needs {
        margin-top: 12px;
    }

.user-needs strong {
    color: var(--app-text-primary);
}

.prototype-section {
    padding: 48px 0;
    background-color: var(--app-surface);
    border-top: 1px solid var(--app-border);
}

    .prototype-section .section-heading {
        margin-bottom: 24px;
    }

/* Demo video */

.prototype-video {
    width: 320px;
    max-width: 100%;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    overflow: hidden;
    background-color: #111111;
    border: 1px solid var(--app-border);
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

    .prototype-video video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.video-caption {
    margin: 10px 0 24px;
    color: var(--app-text-secondary);
    font-size: 13px;
    text-align: center;
}

/* Application screens */

.prototype-screens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.prototype-screens {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.prototype-thumb {
    padding: 0;
    overflow: hidden;
    background-color: var(--app-background);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
    cursor: pointer;
    text-align: left;
}

    .prototype-thumb img {
        display: block;
        width: 100%;
        height: 190px;
        object-fit: cover;
        object-position: top;
    }

    .prototype-thumb span {
        display: block;
        padding: 12px 14px;
        color: var(--app-text-primary);
        font-size: 14px;
        font-weight: 600;
        background-color: var(--app-surface);
    }

    .prototype-thumb:hover {
        border-color: var(--app-primary);
    }

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: rgba(17, 17, 17, 0.72);
}

    .image-modal.is-open {
        display: flex;
    }

    .image-modal img {
        max-width: min(420px, 90vw);
        max-height: 88vh;
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    }

.image-modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background-color: var(--app-surface);
    color: var(--app-text-primary);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.status-section {
    padding: 48px 0;
    background-color: var(--app-background);
    border-top: 1px solid var(--app-border);
}

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

.status-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background-color: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--radius-card);
}

.status-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border-radius: 50%;
    background-color: var(--app-background);
    border: 1px solid var(--app-border);
    color: var(--app-text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.status-card.is-complete .status-marker {
    background-color: var(--app-primary);
    border-color: var(--app-primary);
    color: white;
}

.status-card.is-current .status-marker {
    position: relative;
    background-color: rgba(47, 102, 237, 0.08);
    border-color: var(--app-primary);
}

    .status-card.is-current .status-marker::after {
        content: "";
        width: 8px;
        height: 8px;
        background-color: var(--app-primary);
        border-radius: 50%;
    }

.status-card.is-upcoming .status-marker {
    background-color: var(--app-surface);
    border-color: var(--app-border);
}

.status-content {
    min-width: 0;
}

    .status-content h3 {
        margin: 0 0 6px;
        color: var(--app-text-primary);
        font-size: 16px;
        font-weight: 700;
    }

.status-label {
    margin: 0 0 8px;
    color: var(--app-primary);
    font-size: 13px;
    font-weight: 700;
}

.status-content p:last-child {
    margin: 0;
    color: var(--app-text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.about-section {
    padding: 48px 0;
    background-color: var(--app-surface);
    border-top: 1px solid var(--app-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 72px;
}

.about-content {
    max-width: 680px;
}

    .about-content h2 {
        margin: 0 0 18px;
        color: var(--app-text-primary);
        font-size: 30px;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: -0.015em;
    }

    .about-content > p:not(.eyebrow) {
        margin: 0 0 12px;
        color: var(--app-text-secondary);
        font-size: 15px;
        line-height: 1.65;
    }

    .about-content > p:last-child {
        margin-bottom: 0;
    }

.project-details {
    border-top: 1px solid var(--app-border);
}

.project-detail {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--app-border);
}

.detail-label {
    color: var(--app-text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.detail-value {
    color: var(--app-text-primary);
    font-size: 14px;
    font-weight: 600;
}

.site-footer {
    padding: 24px 0;
    background-color: var(--app-primary);
    color: white;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-project {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.footer-name {
    font-size: 15px;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.footer-note {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
}

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-content {
        min-height: 68px;
    }

    .hero {
        padding: 32px 0 36px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        max-width: none;
        text-align: center;
    }

    .hero h2,
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .phone-frame {
        width: min(285px, 82vw);
    }

    .challenge-section {
        padding: 48px 0;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .challenge-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-bottom: 28px;
    }

    .challenge-flow {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .flow-item {
        min-height: 150px;
        padding: 22px;
        background-color: var(--app-surface);
        border: 1px solid var(--app-border);
        border-radius: var(--radius-card);
    }

    .flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .project-goal-section {
        padding: 40px 0;
    }

    .project-goal-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .project-goal-content h2 {
        font-size: 26px;
    }

    .solution-section {
        padding: 40px 0;
    }

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

    .target-users-section {
        padding: 40px 0;
    }

    .target-users-grid {
        grid-template-columns: 1fr;
    }

    .prototype-section {
        padding: 40px 0;
    }

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

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

    .prototype-thumb img {
        height: 160px;
    }

    .status-section {
        padding: 40px 0;
    }

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

    .about-section {
        padding: 40px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-project {
        flex-direction: column;
        gap: 3px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-left: auto;
        padding: 0;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

        .menu-toggle span {
            width: 22px;
            height: 2px;
            display: block;
            background-color: var(--app-text-primary);
            border-radius: 2px;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }

    .mobile-nav {
        display: none;
        padding: 8px 20px 16px;
        background-color: var(--app-surface);
        border-top: 1px solid var(--app-border);
    }

        .mobile-nav.is-open {
            display: grid;
        }

        .mobile-nav a {
            padding: 12px 4px;
            color: var(--app-text-secondary);
            font-size: 15px;
            font-weight: 600;
            border-bottom: 1px solid var(--app-border);
        }

            .mobile-nav a:last-child {
                border-bottom: 0;
            }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-content {
        gap: 10px;
    }

    .login-button {
        margin-left: 0;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(var(--container-width), calc(100% - 28px));
        margin-left: auto;
        margin-right: auto;
    }

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

    .header-content {
        min-height: 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 8px;
    }

    .login-button {
        min-height: 40px;
        padding: 0 14px;
        margin-left: 0;
        justify-self: end;
        font-size: 14px;
    }

    .hero {
        padding: 28px 0 32px;
    }

    .hero-grid {
        gap: 28px;
    }

    .eyebrow {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.05;
    }

    .hero h2 {
        margin: 14px 0 14px;
        font-size: 24px;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 22px;
    }

    .button {
        width: 100%;
        min-height: 48px;
    }

    .phone-frame {
        width: min(230px, 72vw);
    }

    .section-heading {
        margin-bottom: 24px;
    }

        .section-heading h2,
        .project-goal-content h2,
        .about-content h2 {
            font-size: 24px;
            line-height: 1.2;
        }

    .section-intro,
    .project-goal-content p:last-child,
    .about-content > p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.55;
    }

    .challenge-section,
    .project-goal-section,
    .solution-section,
    .target-users-section,
    .prototype-section,
    .status-section,
    .about-section {
        padding: 36px 0;
    }

    .challenge-stats,
    .solution-grid,
    .target-users-grid,
    .status-grid,
    .prototype-screens {
        grid-template-columns: 1fr;
    }

    .challenge-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .solution-card,
    .solution-card:nth-child(4),
    .solution-card:nth-child(5) {
        grid-column: auto;
    }

    .solution-card,
    .user-card,
    .status-card {
        padding: 18px;
    }

    .prototype-video {
        width: min(300px, 88vw);
    }

    .prototype-thumb img {
        height: 150px;
    }

    .about-grid {
        gap: 24px;
    }

    .project-detail {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 10px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-project {
        flex-direction: column;
        gap: 3px;
    }

    .challenge-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-card {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }

    .stat-value {
        font-size: 22px;
    }

    .challenge-flow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .flow-item {
        width: 100%;
        min-width: 0;
    }

    .flow-arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .challenge-conclusion {
        width: 100%;
        max-width: 100%;
    }

    .section-heading {
        width: 100%;
        max-width: 100%;
    }

    .menu-toggle {
        margin-left: 0;
        justify-self: end;
    }

    .brand-logo {
        height: 44px;
    }

    .brand-mark-image {
        width: 34px;
        height: 34px;
    }

    .brand-name {
        font-size: 17px;
    }
}