/* Explain: App-specific layout utilities (add as needed) */
.container-app {
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: 1.1rem;
}

.section {
    padding-block: 3.25rem;
}

@media (min-width: 768px) {
    .section {
        padding-block: 4.75rem;
    }
}

.section--surface {
    background: var(--surface-color);
}

.section--dark {
    background: linear-gradient(160deg, var(--primary-color) 0%, #0a2a44 65%, #0e3550 100%);
    color: #fff;
}

.section-head {
    max-width: 640px;
    margin-bottom: 2rem;
}

.section-head h2 {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    margin-bottom: 0.6rem;
}

.section-head p {
    color: var(--text-muted);
}

.section--dark .section-head p {
    color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-hover);
    background: var(--accent-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 0.85rem;
}

.section--dark .eyebrow {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    padding-block: 2.5rem 3rem;
    background: linear-gradient(160deg, #0d3b5e 0%, #0a2a44 60%, #0e3550 100%);
    color: #fff;
}

.hero__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        gap: 3.25rem;
        padding-block: 2rem;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 99px;
    margin-bottom: 1.1rem;
}

.hero__title {
    font-size: clamp(1.7rem, 5.2vw, 2.7rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__sub {
    font-size: clamp(1rem, 2.6vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 34rem;
}

.page-hero {
    background: linear-gradient(160deg, #0d3b5e 0%, #0a2a44 70%, #0e3550 100%);
    color: #fff;
    padding-block: 2.25rem 2.75rem;
}

.page-hero__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .page-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: start;
        gap: 3rem;
    }
}

.page-hero__copy h1 {
    font-size: clamp(1.6rem, 4.6vw, 2.4rem);
    margin-bottom: 0.9rem;
}

.page-hero__copy > p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 36rem;
    margin-bottom: 1.2rem;
}

.steps-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cards-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 860px) {
    .about-grid {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 3rem;
    }
}

.cta-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.prose-wrap {
    max-width: 780px;
}

.prose-wrap h2 {
    font-size: clamp(1.3rem, 3.6vw, 1.7rem);
    margin-top: 1.9rem;
    margin-bottom: 0.7rem;
}

.prose-wrap h2:first-child {
    margin-top: 0;
}

.prose-wrap p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.prose-wrap ul,
.prose-wrap ol {
    margin-bottom: 1rem;
    display: grid;
    gap: 0.5rem;
}

.prose-wrap ul li,
.prose-wrap ol li {
    position: relative;
    padding-inline-start: 1.6rem;
    color: var(--text-color);
}

.prose-wrap ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

.prose-wrap ol {
    counter-reset: item;
}

.prose-wrap ol li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    inset-inline-start: 0;
    top: 0.1rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}