* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f8fb;
    color: #172033;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

h1:focus {
    outline: none;
}

.landing-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.site-header {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    padding: 1.25rem 1.5rem;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 800;
    gap: 0.7rem;
    letter-spacing: 0;
}

.brand-mark {
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 18%, transparent 19%),
        linear-gradient(135deg, #176b87, #64ccc5 58%, #ffb000);
    border-radius: 0.8rem;
    box-shadow: 0 10px 24px rgba(23, 107, 135, 0.2);
    display: inline-block;
    height: 2.25rem;
    width: 2.25rem;
}

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

.site-nav a {
    color: #4c5870;
    font-size: 0.95rem;
    font-weight: 700;
}

.site-nav a:hover {
    color: #176b87;
}

.hero-section {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    margin: 0 auto;
    max-width: 1180px;
    min-height: calc(100vh - 5rem);
    padding: 2.5rem 1.5rem 5rem;
}

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

.eyebrow {
    color: #176b87;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 0.9rem;
    text-transform: uppercase;
}

.hero-content h1,
.section-heading h2,
.trust-section h2 {
    color: #111827;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
}

.hero-content h1 {
    font-size: clamp(2.7rem, 7vw, 5.7rem);
    max-width: 760px;
}

.hero-copy {
    color: #445066;
    font-size: 1.18rem;
    line-height: 1.75;
    margin: 1.4rem 0 0;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.primary-action,
.secondary-action {
    align-items: center;
    border-radius: 0.55rem;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.9rem 1.25rem;
}

.primary-action {
    background: #176b87;
    box-shadow: 0 18px 36px rgba(23, 107, 135, 0.25);
    color: #ffffff;
}

.secondary-action {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    color: #172033;
}

.hero-metrics {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 2.25rem 0 0;
    max-width: 620px;
}

.hero-metrics div {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e0e7f0;
    border-radius: 0.5rem;
    padding: 1rem;
}

.hero-metrics dt {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
}

.hero-metrics dd {
    color: #5d6678;
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.phone-showcase {
    display: flex;
    justify-content: center;
}

.phone-frame {
    aspect-ratio: 9 / 18.6;
    background: #101828;
    border: 0.75rem solid #101828;
    border-radius: 2.4rem;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.28);
    max-width: 360px;
    padding: 0.75rem;
    position: relative;
    width: min(78vw, 360px);
}

.phone-frame::before {
    background: #273143;
    border-radius: 999px;
    content: "";
    height: 0.35rem;
    left: 50%;
    position: absolute;
    top: 0.42rem;
    transform: translateX(-50%);
    width: 5.5rem;
    z-index: 2;
}

.phone-status,
.app-screen {
    background: #f8fafc;
}

.phone-status {
    align-items: center;
    border-radius: 1.5rem 1.5rem 0 0;
    display: flex;
    font-size: 0.78rem;
    font-weight: 800;
    justify-content: space-between;
    padding: 1.4rem 1rem 0.7rem;
}

.status-pill {
    background: #d8f3ee;
    border-radius: 999px;
    color: #176b5d;
    padding: 0.28rem 0.55rem;
}

.app-screen {
    border-radius: 0 0 1.5rem 1.5rem;
    min-height: calc(100% - 3.7rem);
    padding: 1rem;
}

.screen-heading {
    display: grid;
    gap: 0.25rem;
}

.screen-heading span {
    color: #6b7280;
    font-size: 0.85rem;
}

.screen-heading strong {
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.16;
}

.check-card {
    align-items: center;
    background: #176b87;
    border-radius: 1.15rem;
    color: #ffffff;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto 1fr auto;
    margin-top: 1.1rem;
    padding: 1rem;
}

.check-ring {
    border: 0.36rem solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: inline-block;
    height: 3.25rem;
    width: 3.25rem;
}

.check-card p {
    font-size: 0.82rem;
    margin: 0 0 0.2rem;
    opacity: 0.82;
}

.check-card strong {
    display: block;
    font-size: 1.45rem;
}

.check-card button {
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    color: #176b87;
    font-weight: 900;
    min-height: 2.35rem;
    min-width: 2.8rem;
}

.mini-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.85rem;
}

.mini-grid div,
.timeline {
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 0.85rem;
    padding: 0.85rem;
}

.mini-grid span {
    color: #6b7280;
    display: block;
    font-size: 0.75rem;
}

.mini-grid strong {
    color: #111827;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.timeline {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto 1fr;
    margin-top: 0.75rem;
}

.timeline span {
    background: #64ccc5;
    border-radius: 50%;
    display: inline-block;
    height: 0.8rem;
    width: 0.8rem;
}

.timeline p {
    color: #273143;
    font-size: 0.84rem;
    margin: 0;
}

.timeline.muted span {
    background: #ffb000;
}

.section-block,
.feature-band,
.trust-section,
.landing-footer {
    margin: 0 auto;
    max-width: 1180px;
    padding: 5rem 1.5rem;
}

.section-heading {
    max-width: 720px;
}

.section-heading h2,
.trust-section h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.steps-grid,
.features-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid article,
.features-grid article {
    background: #ffffff;
    border: 1px solid #dde6f1;
    border-radius: 0.5rem;
    box-shadow: 0 14px 40px rgba(39, 49, 67, 0.06);
    padding: 1.35rem;
}

.steps-grid span {
    color: #176b87;
    font-size: 0.85rem;
    font-weight: 900;
}

.steps-grid h3,
.features-grid h3 {
    color: #111827;
    font-size: 1.15rem;
    margin: 0.65rem 0 0.55rem;
}

.steps-grid p,
.features-grid p,
.trust-section p,
.trust-list {
    color: #4c5870;
    line-height: 1.65;
}

.steps-grid p,
.features-grid p {
    margin: 0;
}

.feature-band {
    background: #eaf5f4;
    max-width: none;
}

.feature-band > * {
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
}

.features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-section {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
}

.trust-section p {
    font-size: 1.08rem;
    margin: 1rem 0 0;
}

.trust-list {
    background: #172033;
    border-radius: 0.5rem;
    color: #dce7f5;
    list-style: none;
    margin: 0;
    padding: 1.5rem;
}

.trust-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0;
}

.trust-list li:first-child {
    padding-top: 0;
}

.trust-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.landing-footer {
    align-items: center;
    border-top: 1px solid #dbe4ef;
    color: #4c5870;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.landing-footer span {
    color: #172033;
    font-weight: 900;
}

.landing-footer p {
    margin: 0;
}

.landing-footer a {
    color: #176b87;
    font-weight: 800;
}

.policy-page {
    min-height: 100vh;
}

.policy-header {
    border-bottom: 1px solid #dbe4ef;
}

.policy-document {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 0.5rem;
    box-shadow: 0 18px 50px rgba(39, 49, 67, 0.07);
    margin: 3rem auto 5rem;
    max-width: 920px;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.policy-document h1 {
    color: #111827;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.04;
    margin: 0;
}

.policy-updated {
    color: #667085;
    font-weight: 700;
    margin: 0.85rem 0 2.5rem;
}

.policy-document section {
    border-top: 1px solid #e5eaf1;
    padding: 1.75rem 0 0;
}

.policy-document section + section {
    margin-top: 1.75rem;
}

.policy-document h2 {
    color: #172033;
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.policy-document p,
.policy-document li {
    color: #4c5870;
    line-height: 1.75;
}

.policy-document p {
    margin: 0;
}

.policy-document ul {
    margin: 0.85rem 0 0;
    padding-left: 1.25rem;
}

.policy-document li + li {
    margin-top: 0.55rem;
}

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

    .hero-section {
        min-height: auto;
        padding-top: 1rem;
    }

    .phone-showcase {
        justify-content: flex-start;
    }

    .steps-grid,
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 0.8rem 1rem;
    }

    .hero-section,
    .section-block,
    .feature-band,
    .trust-section,
    .landing-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content h1 {
        font-size: 2.55rem;
    }

    .hero-metrics,
    .steps-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions a {
        width: 100%;
    }

    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .policy-document {
        margin-top: 1.5rem;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .phone-frame {
        border-width: 0.55rem;
        width: min(92vw, 340px);
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
