.prayo-home {
    overflow-wrap: anywhere;
}

.prayo-home .container {
    width: min(1240px, calc(100% - 48px));
}

.prayo-home .site-header {
    background: rgba(245, 247, 251, 0.96);
    border-bottom: 1px solid var(--border);
}

.prayo-home .nav-container {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 168px;
    gap: 24px;
    padding-block: 16px;
}

.home-brand img,
.home-footer-mark {
    display: block;
    width: 148px;
    height: auto;
}

.prayo-home .nav-menu {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    padding: 0;
    min-width: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.prayo-home .lang-select {
    appearance: auto;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-radius: 12px;
    font: inherit;
    font-size: 0.85rem;
}

.prayo-home .lang-select:empty {
    display: none;
}

.prayo-home :focus-visible {
    outline: 3px solid #7288ff;
    outline-offset: 4px;
}

.prayo-home .hero {
    position: relative;
    background: radial-gradient(ellipse at 10% 15%, rgba(37, 99, 235, 0.19), transparent 55%),
        radial-gradient(ellipse at 90% 85%, rgba(124, 58, 237, 0.16), transparent 50%),
        linear-gradient(120deg, #0e1730, #231643);
    color: #fff;
    padding: clamp(48px, 6vw, 88px) 0 32px;
}

.prayo-home .hero-content {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.prayo-home .hero .eyebrow {
    color: #b9c8ff;
    letter-spacing: 0.16em;
}

.prayo-home .hero h1 {
    font-size: clamp(38px, 4.6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-block: 18px 24px;
    font-weight: 700;
}

.prayo-home .hero-points {
    color: #c8d2eb;
    padding-inline-start: 20px;
    margin-block: 0 28px;
    font-size: 0.95rem;
}

.prayo-home .hero-points li {
    margin-block: 12px;
}

.prayo-home .hero-points strong {
    color: #fff;
}

.prayo-home .btn {
    border-radius: 12px;
    min-height: 48px;
    text-align: center;
}

.prayo-home .home-hero-guide {
    color: #fff;
    border-color: #667499;
    background: rgba(255, 255, 255, 0.04);
}

.home-brand-card {
    min-width: 0;
    border: 1px solid #47517b;
    border-radius: 28px;
    padding: clamp(16px, 2vw, 28px);
    background: rgba(14, 23, 48, 0.74);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.home-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.home-app-shortcuts {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.home-app-shortcuts a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #465477;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.home-app-shortcuts a:hover,
.home-app-shortcuts a:focus-visible {
    border-color: #a5b4fc;
    background: rgba(255, 255, 255, 0.1);
}

.home-app-shortcuts img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
}

.home-app-shortcuts strong,
.home-app-shortcuts small {
    display: block;
}

.home-app-shortcuts small {
    margin-top: 2px;
    color: #c6d2eb;
    font-size: 0.78rem;
}

.home-values {
    border-top: 1px solid #47517b;
    margin-top: 48px;
    padding-top: 24px;
}

.home-values h2 {
    color: #c8d2eb;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}

.home-values ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #c8d2eb;
    font-size: 0.85rem;
}

.home-values strong {
    color: #fff;
}

.prayo-home .section {
    padding-block: clamp(48px, 6vw, 88px);
    scroll-margin-top: 100px;
}

.prayo-home .section h2 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.prayo-home .grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.prayo-home .card,
.prayo-home .product-card,
.prayo-home .panel {
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(18, 24, 38, 0.05);
}

.prayo-home .product-grid,
.prayo-home .feature-panels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.prayo-home .product-card,
.prayo-home .panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
}

.prayo-home .product-card.highlight {
    border-color: #a0b8fb;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.1);
}

.prayo-home .product-card .toc-title-row {
    gap: 14px;
    margin-block: 20px 8px;
}

.prayo-home .product-card .app-icon-sm {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    flex-shrink: 0;
}

.prayo-home .product-badge {
    align-self: flex-start;
    font-size: 0.75rem;
}

.prayo-home .download-strip {
    display: grid;
    align-items: stretch;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

@supports (grid-template-rows: subgrid) {
    .prayo-home .product-card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
        row-gap: 0;
    }

    .prayo-home .product-card .download-strip {
        grid-template-rows: subgrid;
        grid-row: span 2;
        margin-top: 0;
        row-gap: 12px;
    }
}

.prayo-home .product-card-content {
    min-width: 0;
}

.prayo-home .product-card-content > :last-child {
    margin-bottom: 0;
}

.prayo-home .panel .btn {
    margin-top: auto;
}

.prayo-home .panel .bullet-grid {
    padding-inline-start: 20px;
    margin-bottom: 28px;
}

.prayo-home .guide-steps {
    counter-reset: home-steps;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    gap: 20px;
}

.prayo-home .guide-steps li {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    min-width: 0;
}

.prayo-home .guide-steps li::before {
    counter-increment: home-steps;
    content: "0" counter(home-steps);
    display: block;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
}

.home-contact-card {
    padding: 36px;
    border: 1px solid #c7d2fe;
    border-radius: 24px;
    background: linear-gradient(130deg, #fff, #eef0ff);
}

.home-contact-card img {
    display: block;
    width: 64px;
    height: 64px;
}

.home-contact-card .form-note {
    margin-block: 16px 0;
}

.prayo-home .contact-email {
    overflow-wrap: anywhere;
}

.prayo-home .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 32px;
}

.prayo-home .footer-links {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.prayo-home .home-footer-mark {
    box-sizing: content-box;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
}

.home-footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid #475569;
    font-size: 0.8rem;
    color: #cbd5e1;
}

.home-footer-policies a {
    padding-block: 4px;
}

@media (max-width: 1000px) {
    .prayo-home .nav-container {
        grid-template-columns: 144px minmax(0, 1fr) 156px;
        gap: 16px;
    }

    .prayo-home .nav-menu {
        gap: 8px 18px;
        font-size: 0.9rem;
    }

    .prayo-home .hero-content,
    .prayo-home .grid-two {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-brand-card {
        max-width: 620px;
        width: 100%;
        justify-self: center;
    }

    .prayo-home .product-grid,
    .prayo-home .feature-panels,
    .prayo-home .guide-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .prayo-home .container {
        width: calc(100% - 32px);
    }

    .prayo-home .nav-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 156px);
        gap: 12px 16px;
        padding-block: 12px;
    }

    .home-brand img {
        width: 124px;
        max-width: 100%;
    }

    .prayo-home .nav-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        gap: 10px 20px;
    }

    .prayo-home .lang-select {
        grid-column: 2;
        grid-row: 1;
    }

    .prayo-home .hero {
        padding-top: 36px;
    }

    .prayo-home .hero h1 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .home-values ul,
    .prayo-home .product-grid,
    .prayo-home .feature-panels,
    .prayo-home .guide-steps,
    .prayo-home .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-values ul {
        gap: 16px;
    }

    .prayo-home .product-card,
    .prayo-home .panel,
    .home-contact-card {
        padding: 24px;
    }

    .prayo-home .section {
        scroll-margin-top: 140px;
    }

    .prayo-home .footer-links {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .prayo-home .btn,
    .prayo-home .nav-menu a::after {
        transition: none;
    }
}
