:root {
    color-scheme: light;
    font-family: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #101b2c;
    background: #f8fafc;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    font-weight: 400;

    --ink: #101b2c;
    --muted: #64748b;
    --blue: #2563eb;
    --line: #e2e8f0;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
}

a {
    color: inherit;
}

.page-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    padding: 48px 24px 30px;
}

.coming-soon {
    display: flex;
    width: min(100%, 760px);
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0 64px;
    text-align: center;
}

.wordmark {
    display: inline-flex;
    align-items: baseline;
    color: var(--ink);
    font-size: 19px;
    letter-spacing: 0.13em;
    line-height: 1;
    text-decoration: none;
}

.wordmark-strong {
    font-weight: 750;
}

.wordmark-light {
    font-weight: 350;
}

.tagline {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.message {
    margin-top: clamp(72px, 12vh, 118px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px #dbeafe;
}

h1 {
    margin: 24px 0 0;
    color: var(--ink);
    font-size: clamp(42px, 7vw, 68px);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.description {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
}

.contact {
    margin-top: clamp(54px, 9vh, 86px);
}

.contact p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.email-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--blue);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 4px;
}

.email-link:hover,
.email-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
    text-decoration: underline;
}

:focus-visible {
    border-radius: 3px;
    outline: 3px solid #93c5fd;
    outline-offset: 4px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    font-size: 13px;
}

.site-footer a {
    color: #475569;
    text-decoration: none;
    text-underline-offset: 3px;
}

.footer-separator {
    color: #94a3b8;
}

.legal-page {
    width: min(100%, 680px);
    flex: 1;
    padding: clamp(44px, 9vh, 88px) 0 72px;
}

.legal-page .wordmark {
    margin-bottom: 54px;
}

.legal-page h1 {
    margin: 0 0 38px;
    font-size: clamp(38px, 6vw, 52px);
}

.legal-page h2 {
    margin: 30px 0 10px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.legal-page p {
    margin: 0 0 8px;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.legal-page .company-name {
    color: var(--ink);
    font-weight: 600;
}

.legal-page a:not(.wordmark) {
    color: var(--blue);
    text-decoration: none;
    text-underline-offset: 3px;
}

.legal-page a:not(.wordmark):hover,
.legal-page a:not(.wordmark):focus-visible {
    text-decoration: underline;
}

.legal-notice {
    margin-top: 32px !important;
    padding: 16px 18px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e3a8a !important;
    font-size: 13px !important;
}

.back-link {
    display: inline-block;
    margin-top: 34px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 4px;
}

@media (max-width: 520px) {
    .page-shell {
        padding: 32px 22px 24px;
    }

    .coming-soon {
        padding: 40px 0 52px;
    }

    .tagline {
        max-width: 270px;
        font-size: 13px;
    }

    .message {
        margin-top: 76px;
    }

    .desktop-break {
        display: none;
    }

    .contact p {
        max-width: 290px;
    }

    .legal-page {
        padding-top: 38px;
    }

    .legal-page .wordmark {
        margin-bottom: 42px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .message,
    .contact {
        animation: enter 600ms ease-out both;
    }

    .contact {
        animation-delay: 100ms;
    }

    @keyframes enter {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Homepage styles are scoped so the shared legal-page presentation stays intact. */
.home-page {
    --home-navy: #172554;
    --home-orange: #f28c28;
    --home-green: #26835c;
    --home-muted: #526078;
    --home-line: #e4e9f1;
    background: #fff;
    color: var(--home-navy);
}

.home-page a {
    color: inherit;
}

.home-header,
.home-hero,
.home-section,
.home-m365,
.home-demo,
.home-footer {
    width: min(100% - 48px, 1160px);
    margin-right: auto;
    margin-left: auto;
}

.home-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--home-line);
    background: #fff;
}

.home-logo {
    display: inline-flex;
    width: min(352px, 52.8vw);
    flex: 0 1 352px;
}

.home-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.home-nav a {
    color: var(--home-navy);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 5px;
}

.home-page [id] {
    scroll-margin-top: 112px;
}

.home-divider {
    width: 25vw;
    height: 1px;
    margin: clamp(32px, 5vw, 56px) auto;
    border: 0;
    background: var(--home-line);
}

    .home-nav a:hover,
    .home-nav a:focus-visible,
    .home-footer a:hover,
    .home-footer a:focus-visible,
    .demo-contact a:hover,
    .demo-contact a:focus-visible {
        text-decoration: underline;
    }

    .home-page :focus-visible {
        border-radius: 3px;
        outline: 3px solid var(--home-orange);
        outline-offset: 4px;
    }

    .home-hero {
        padding-top: clamp(40px, 6vw, 76px);
    }

    .hero-copy {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .home-eyebrow {
        margin: 0;
        color: #53617b;
        font-size: 13px;
        font-weight: 650;
        letter-spacing: 0.045em;
    }

    .hero-copy h1 {
        max-width: 790px;
        margin: 17px auto 0;
        color: var(--home-navy);
        font-size: clamp(34px, 5vw, 56px);
        font-weight: 680;
        letter-spacing: -0.045em;
        line-height: 1.12;
    }

    .hero-description {
        max-width: 750px;
        margin: 20px auto 0;
        color: #394862;
        font-size: clamp(16px, 2vw, 18px);
        line-height: 1.65;
    }

    .home-button {
        display: inline-flex;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        margin-top: 25px;
        padding: 0 24px;
        border: 2px solid var(--home-orange);
        border-radius: 6px;
        background: var(--home-orange);
        color: #172554 !important;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
    }

    .home-button:hover {
        border-color: #d97706;
        background: #d97706;
    }

    .hero-visual {
        width: 100%;
        margin: clamp(34px, 5vw, 58px) auto 0;
    }

    .hero-visual img {
        display: block;
        width: 100%;
        height: auto;
    }

    .home-section {
        padding-top: clamp(64px, 8vw, 96px);
    }

    .home-section h2,
    .home-m365 h2,
    .home-demo h2 {
        margin: 0;
        color: var(--home-navy);
        font-size: clamp(25px, 3vw, 32px);
        font-weight: 670;
        letter-spacing: -0.035em;
        line-height: 1.2;
    }

    .home-points {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(32px, 6vw, 76px);
    }

    .point-list {
        display: grid;
        gap: 15px;
        margin: 24px 0 0;
        padding: 0;
        list-style: none;
    }

    .point-list li {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        color: #273750;
        font-size: 16px;
        font-weight: 550;
        line-height: 1.5;
    }

    .point-list svg {
        width: 20px;
        height: 20px;
        margin-top: 1px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }

    .problem-list svg {
        color: #d97706;
    }

    .benefit-list svg {
        color: var(--home-green);
    }

    .privacy-note {
        margin: 20px 0 0 32px;
        color: #53617b;
        font-size: 13px;
        line-height: 1.6;
    }

    .home-m365 {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 18px;
        margin-top: clamp(56px, 7vw, 80px);
        padding: clamp(24px, 4vw, 36px);
        border: 1px solid #dfe6f0;
        border-left: 4px solid var(--home-orange);
        border-radius: 8px;
        background: #f8fafc;
    }

    .m365-mark {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border-radius: 8px;
        background: #e9eef7;
        color: var(--home-navy);
    }

    .m365-mark svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }

    .home-m365 h2 {
        font-size: 22px;
    }

    .m365-main {
        margin: 9px 0 0;
        color: #273750;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.55;
    }

    .m365-note {
        margin: 5px 0 0;
        color: var(--home-muted);
        font-size: 14px;
        line-height: 1.55;
    }

    .workflow {
        padding-bottom: clamp(64px, 8vw, 96px);
        text-align: center;
    }

    .steps {
        display: grid;
        grid-template-columns: 1fr auto 1fr auto 1fr;
        align-items: center;
        gap: clamp(12px, 3vw, 34px);
        max-width: 820px;
        margin: 34px auto 0;
        padding: 0;
        list-style: none;
    }

    .steps li:not(.step-arrow) {
        display: flex;
        min-height: 190px;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 13px;
        color: var(--home-navy);
        font-size: 16px;
    }

    .step-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
    }

    .step-title {
        font-weight: 650;
    }

    .step-description {
        max-width: 240px;
        color: var(--home-muted);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
    }

    .step-icon {
        display: grid;
        width: 48px;
        height: 48px;
        place-items: center;
        border: 1px solid #e4e9f1;
        border-radius: 50%;
        background: #f8fafc;
        color: var(--home-green);
    }

    .step-icon svg,
    .step-arrow svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }

    .step-arrow {
        color: #8b97aa;
    }

    .home-demo {
        width: min(100% - 48px, 1160px);
        padding: clamp(40px, 6vw, 64px) 24px;
        border-radius: 10px;
        background: #fff3e5;
        text-align: center;
    }

    .home-demo h2 {
        margin-top: 10px;
    }

    .demo-button {
        margin-top: 22px;
    }

    .demo-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 26px;
        margin-top: 24px;
    }

    .demo-contact a {
        color: #273750;
        font-size: 14px;
        text-decoration: none;
        text-underline-offset: 4px;
    }

    .home-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-top: 26px;
        padding-bottom: 28px;
        color: #53617b;
        font-size: 13px;
    }

    .home-footer a {
        color: var(--home-navy);
        text-decoration: none;
        text-underline-offset: 4px;
    }

    @media (max-width: 700px) {
        .home-header,
        .home-hero,
        .home-section,
        .home-m365,
        .home-footer {
            width: min(100% - 36px, 560px);
        }

        .home-header {
            min-height: 78px;
            gap: 12px;
        }

        .home-logo {
            width: min(242px, 46.2vw);
            flex-basis: 242px;
        }

        .home-nav {
            gap: clamp(10px, 3vw, 20px);
        }

        .home-nav a {
            font-size: 13px;
        }

        .home-page [id] {
            scroll-margin-top: 96px;
        }

        .hero-copy h1 {
            font-size: clamp(32px, 8vw, 44px);
        }

        .home-points {
            grid-template-columns: 1fr;
            gap: 38px;
        }

        .home-demo {
            width: min(100% - 36px, 560px);
        }
    }

    @media (max-width: 480px) {
        .home-header,
        .home-hero,
        .home-section,
        .home-m365,
        .home-footer {
            width: min(100% - 32px, 440px);
        }

        .home-header {
            min-height: 0;
            flex-wrap: wrap;
            gap: 8px;
            padding: 10px 0;
        }

        .home-page [id] {
            scroll-margin-top: 88px;
        }

        .home-logo {
            width: min(242px, 72.6vw);
            flex-basis: 242px;
        }

        .home-nav {
            width: 100%;
            gap: 11px;
            justify-content: space-between;
        }

        .home-nav a {
            font-size: 12px;
        }

        .home-hero {
            padding-top: 42px;
        }

        .hero-copy h1 {
            font-size: clamp(30px, 9vw, 39px);
        }

        .home-button {
            width: 100%;
        }

        .home-m365 {
            grid-template-columns: 38px minmax(0, 1fr);
            gap: 13px;
            padding: 22px 18px;
        }

        .m365-mark {
            width: 38px;
            height: 38px;
        }

        .steps {
            grid-template-columns: 1fr;
            gap: 0;
            margin-top: 24px;
        }

        .steps li:not(.step-arrow) {
            min-height: 140px;
            flex-direction: column;
            justify-content: flex-start;
            gap: 10px;
        }

        .step-icon {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
        }

        .step-content {
            align-items: center;
        }

        .step-description {
            max-width: 320px;
        }

        .step-arrow {
            display: none;
        }

        .home-demo {
            width: calc(100% - 32px);
            padding-right: 20px;
            padding-left: 20px;
        }

        .demo-contact {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .home-footer {
            font-size: 12px;
        }
    }
