/* HERO */
.hero {
    padding: clamp(6rem, 10vw, 10rem) 0;
    background: var(--white);
}
.hero__label {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    grid-column: 1/-1;
    margin-bottom: 2rem;
}
.hero__h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 0.95;
    grid-column: 1/-1;
    margin-bottom: 3rem;
}
.hero__subtitle {
    font-size: 1.25rem;
    color: var(--gray-text);
    grid-column: 1/8;
    line-height: 1.65;
}

/* APPLICATION SECTIONS */
.app-section {
    padding: clamp(6rem, 10vw, 10rem) 0;
    border-bottom: 2px solid var(--black);
}
.app-section--dark {
    background: var(--gray-light);
    border-bottom: none;
}
.app-section--light {
    background: var(--white);
}
.app-section--gray {
    background: var(--gray-light);
}

.app-section__index {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 14vw, 18rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.85;
    grid-column: 1/5;
    align-self: start;
    color: rgba(0,0,0,0.08);
    user-select: none;
}
.app-section--dark .app-section__index {
    color: rgba(0,0,0,0.06);
}

.app-section__content {
    grid-column: 5/13;
    padding-top: 1rem;
}

.app-section__tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.app-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--black);
}
.app-section__desc {
    font-size: 1.0625rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 56ch;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--gray-light);
}
.app-section--dark .app-features {
    border-top-color: rgba(0,0,0,0.12);
}
.app-section--gray .app-features {
    border-top-color: rgba(0,0,0,0.12);
}

.app-feature {
    padding: 1.25rem 1.5rem 1.25rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.app-section--dark .app-feature {
    border-bottom-color: rgba(0,0,0,0.1);
}
.app-section--gray .app-feature {
    border-bottom-color: rgba(0,0,0,0.1);
}
.app-feature:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid var(--gray-light);
}
.app-section--dark .app-feature:nth-child(odd) {
    border-right-color: rgba(0,0,0,0.1);
}
.app-section--gray .app-feature:nth-child(odd) {
    border-right-color: rgba(0,0,0,0.1);
}
.app-feature:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
}
.app-feature__bullet {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1em;
}
.app-feature__text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--black);
}

/* CTA BANNER */
.cta-banner {
    background: var(--accent);
    padding: clamp(6rem, 10vw, 10rem) 0;
}
.cta-banner__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.04em;
    line-height: 1.05;
    grid-column: 1/9;
}
.cta-banner__links {
    grid-column: 9/13;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}
.btn-white {
    display: inline-block;
    padding: 1.125rem 2rem;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.btn-white:hover { background: var(--black); color: var(--white); }
.btn-outline-white {
    display: inline-block;
    padding: 1.125rem 2rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 2px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

@media (max-width: 768px) {
    .hero__h1 { grid-column: 1/-1; font-size: clamp(2.5rem, 8vw, 4rem); word-break: break-word; overflow-wrap: break-word; }
    .hero__subtitle { grid-column: 1/-1; }
}
@media (max-width: 1024px) {
    .hero__subtitle { grid-column: 1/-1; }
    .app-section__index { grid-column: 1/-1; font-size: 6rem; margin-bottom: -1rem; }
    .app-section__content { grid-column: 1/-1; }
    .app-features { grid-template-columns: 1fr; }
    .app-feature:nth-child(odd) { border-right: none; padding-right: 0; }
    .app-feature:nth-child(even) { padding-left: 0; }
    .cta-banner__title { grid-column: 1/-1; }
    .cta-banner__links { grid-column: 1/-1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
