/* Covee (covee.net). Mobile first: the base rules are for phones, wider
   layouts are min-width queries. Shared by layout and pages, so that child
   components such as ProtectedContact are styled without ::deep. */

:root {
    --ink: #15121f;
    --muted: #5d5873;
    --line: #e7e3f3;
    --paper: #ffffff;
    --canvas: #fbfaff;
    --lavender: #f2eeff;
    --violet: #6c3ce9;
    --violet-strong: #4f25c2;
    --mint: #0f7f59;
    --mint-tint: #e3f6ee;
    --amber: #92400e;
    --amber-tint: #fdf0d5;
    --radius-l: 24px;
    --radius-m: 16px;
    --shadow: 0 1px 2px rgba(21, 18, 31, 0.05), 0 12px 40px rgba(76, 46, 160, 0.10);
    --content: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure {
    margin: 0;
}

h1, h2, h3 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

ul, ol {
    padding: 0;
    list-style: none;
}

a {
    color: var(--violet-strong);
}

a:focus-visible, summary:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 3px;
    border-radius: 6px;
}

h1:focus {
    outline: none;
}

/* Header */

.siteHeader {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 60px;
    padding: 0 12px 0 16px;
    background: rgba(251, 250, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(21, 18, 31, 0.06);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brandMark {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: linear-gradient(135deg, #8b5cf6 0%, var(--violet) 55%, #3b1d9a 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    transform: rotate(45deg) scale(0.82);
}

.siteNav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.languageSwitch {
    display: flex;
}

.languageSwitch a, .navLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 44px;
    padding: 0 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.siteNav .navLink {
    display: none;
}

.languageSwitch a[aria-current="true"] {
    color: var(--ink);
}

.navCta {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-right: 2px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

/* Buttons */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.buttonPrimary {
    background: var(--violet);
    color: var(--paper);
    box-shadow: 0 8px 24px rgba(108, 60, 233, 0.32);
}

.buttonPrimary:hover {
    background: var(--violet-strong);
    color: var(--paper);
}

.buttonSecondary {
    background: var(--paper);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

.buttonLight {
    background: var(--paper);
    color: var(--ink);
}

.buttonGhost {
    color: var(--paper);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.buttonLight:hover, .buttonGhost:hover {
    color: var(--ink);
    background: var(--paper);
}

/* Hero */

.hero {
    position: relative;
    padding: 48px 16px 64px;
    background:
        radial-gradient(60% 50% at 85% 10%, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 70%),
        radial-gradient(50% 45% at 0% 60%, rgba(16, 185, 129, 0.10) 0%, rgba(16, 185, 129, 0) 70%),
        var(--canvas);
    overflow: hidden;
}

.heroInner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    max-width: var(--content);
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--lavender);
    color: var(--violet-strong);
    font-size: 14px;
    font-weight: 600;
}

.headline {
    margin-top: 20px;
    font-size: 40px;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.subline {
    margin-top: 20px;
    max-width: 560px;
    color: var(--muted);
    font-size: 19px;
}

/* Product illustration */

.mockup {
    position: relative;
    padding-bottom: 56px;
}

.window {
    padding: 20px;
    border-radius: var(--radius-l);
    background: var(--paper);
    box-shadow: var(--shadow), 0 0 0 1px rgba(21, 18, 31, 0.04);
}

.windowBar {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.windowBar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.loanHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mockLabel {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mockTitle {
    font-size: 18px;
    font-weight: 700;
}

.loanFigures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.mockValue {
    font-size: 17px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.progress {
    height: 8px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--lavender);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #8b5cf6, var(--violet));
}

.progressLabel {
    margin-top: 6px;
}

.schedule {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.schedule th {
    padding: 8px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.schedule td {
    padding: 9px 0;
    border-top: 1px solid var(--line);
}

.chip {
    display: inline-flex;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.chipPaid, .chipActive {
    background: var(--mint-tint);
    color: var(--mint);
}

.chipOpen {
    background: var(--amber-tint);
    color: var(--amber);
}

.matchToast {
    position: absolute;
    right: 12px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-m);
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 16px 40px rgba(21, 18, 31, 0.28);
}

.matchToastIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #34d399;
    color: var(--ink);
    font-weight: 800;
}

.matchToastTitle {
    font-size: 14px;
    font-weight: 700;
}

.matchToastText {
    color: #c9c3dc;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

/* Facts */

.facts {
    padding: 0 16px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.factList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: var(--content);
    margin: 0 auto;
}

.factList li {
    display: flex;
    flex-direction: column;
    padding: 20px 8px;
}

.factList strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.factList span {
    color: var(--muted);
    font-size: 14px;
}

/* Sections */

.block {
    padding: 72px 16px;
}

.blockInner {
    max-width: var(--content);
    margin: 0 auto;
}

.narrow {
    max-width: 760px;
}

.tinted {
    background: var(--paper);
}

.kicker {
    color: var(--violet);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blockTitle {
    margin-top: 10px;
    margin-bottom: 36px;
    font-size: 32px;
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.problemGrid, .useCases, .bento, .steps {
    display: grid;
    gap: 16px;
}

.problem {
    padding: 24px 0 0;
    border-top: 2px solid var(--ink);
}

.problem h3, .feature h3, .useCase h3, .step h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.problem p, .feature p, .useCase p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 16px;
}

.feature {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius-l);
    background: var(--canvas);
    box-shadow: inset 0 0 0 1px var(--line);
}

.featureIndex {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--violet);
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.useCase {
    padding: 28px 24px;
    border-radius: var(--radius-l);
    background: linear-gradient(180deg, var(--lavender) 0%, var(--paper) 100%);
}

.dark {
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(139, 92, 246, 0.35) 0%, rgba(139, 92, 246, 0) 70%),
        var(--ink);
    color: var(--paper);
}

.dark .kicker {
    color: #b9a4ff;
}

.steps {
    counter-reset: step;
}

.step {
    counter-increment: step;
    padding: 28px 24px;
    border-radius: var(--radius-l);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}

.step::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--violet);
    font-weight: 700;
}

.step p {
    margin-top: 8px;
    color: #c9c3dc;
    font-size: 16px;
}

.about {
    display: grid;
    gap: 8px;
}

.aboutText {
    font-size: 19px;
    color: #3b3650;
}

.team {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.team li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--muted);
}

.team strong {
    color: var(--ink);
}

.team img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}


/* FAQ */

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    font-size: 18px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--violet);
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    padding-bottom: 22px;
    color: var(--muted);
}

/* Call to action */

.cta {
    padding: 0 16px 72px;
}

.ctaInner {
    max-width: var(--content);
    margin: 0 auto;
    padding: 48px 24px;
    border-radius: 32px;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(52, 211, 153, 0.28) 0%, rgba(52, 211, 153, 0) 60%),
        linear-gradient(135deg, var(--violet) 0%, #3b1d9a 100%);
    color: var(--paper);
    text-align: center;
}

.ctaInner h2 {
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.ctaInner p {
    max-width: 520px;
    margin: 12px auto 0;
    color: #e6defc;
}

.ctaInner .actions {
    justify-content: center;
}

/* Legal notice */

.legalLead {
    color: var(--muted);
}

.legalGrid {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.legalCard {
    padding: 22px;
    border-radius: var(--radius-m);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 15px;
    font-style: normal;
}

.legalCard address {
    margin: 0;
    font-style: normal;
}

.legalLabel {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legalLabelSpaced {
    margin-top: 14px;
}

.legalSections {
    margin-top: 48px;
}

.blockTitle.privacyHeading {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
    margin-bottom: 4px;
}

.legalTitle {
    margin-top: 28px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.legalText {
    margin-top: 6px;
    color: var(--muted);
    font-size: 15px;
}

/* Footer */

.siteFooter {
    padding: 48px 16px;
    border-top: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    font-size: 14px;
}

.footerInner {
    display: grid;
    gap: 24px;
    max-width: var(--content);
    margin: 0 auto;
}

.footerBrand p {
    margin-top: 12px;
}

.footerLinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footerLinks a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: var(--ink);
    text-decoration: none;
}

.footerLinks a:hover {
    color: var(--violet-strong);
}

/* Wider layouts */

@media (min-width: 640px) {
    .siteHeader {
        padding: 0 32px;
    }

    .brand {
        gap: 10px;
        font-size: 22px;
    }

    .navCta {
        margin-right: 12px;
        padding: 0 18px;
    }

    .hero {
        padding: 72px 32px 96px;
    }

    .headline {
        font-size: 56px;
    }

    .factList {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .block {
        padding: 104px 32px;
    }

    .blockTitle {
        font-size: 44px;
        margin-bottom: 48px;
    }

    .problemGrid, .useCases, .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legalGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta {
        padding: 0 32px 104px;
    }

    .ctaInner {
        padding: 72px 48px;
    }

    .ctaInner h2 {
        font-size: 40px;
    }

    .siteFooter {
        padding: 56px 32px;
    }

    .footerInner {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .footerMeta {
        text-align: right;
    }

    .footerMeta .footerLinks {
        align-items: flex-end;
    }
}

@media (min-width: 900px) {
    .siteNav .navLink {
        display: inline-flex;
    }

    .heroInner {
        grid-template-columns: 1.25fr 1fr;
        align-items: center;
        gap: 56px;
    }

    .headline {
        font-size: 58px;
    }

    .mockup {
        padding: 0 0 56px 24px;
    }

    .matchToast {
        right: auto;
        left: -8px;
    }

    .problemGrid, .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about {
        grid-template-columns: 1fr 1.4fr;
        gap: 64px;
    }

    .legalGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button, .faq summary::after {
        transition: none;
    }
}

.privacySubtitle {
    margin-top: 0;
    margin-bottom: 36px;
    color: var(--muted);
}
