html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

.homepage {
    width: 100%;
    position: relative;
    color: white;
    padding-bottom: 90px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top right, rgba(234, 107, 45, 0.24), transparent 25%),
        linear-gradient(180deg, #1b1713 0%, #18120d 48%, #f6f2eb 48%, #f6f2eb 100%);
}

.homepage .hero {
    position: relative;
    min-height: 78vh;
    padding: calc(var(--ff-top-bar-height) + 28px) 20px 40px;
    overflow: hidden;
}

.homepage .hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(9, 7, 6, 0.88), rgba(16, 11, 8, 0.68)),
        url('/images/homepage/tvRoom.webp') no-repeat center top / cover;
    transform: scale(1.03);
}

.homepage .container {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 24px));
    margin: 0 auto;
}

.hero-layout {
    display: grid;
    gap: 24px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 18px;
}

.hero-copy h1,
.hero-copy p,
.hero-copy span,
.hero-copy button,
.hero-copy strong {
    font-family: 'Poppins', sans-serif;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.02;
    max-width: 13ch;
    letter-spacing: -0.04em;
}

.hero-summary {
    max-width: 54ch;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 247, 242, 0.82);
}

.hero-pills {
    justify-content: center;
    gap: 10px 12px;
}

.hero-pills .pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd5c0;
    backdrop-filter: blur(12px);
    text-align: center;
}

.hero-buttons-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.small-button {
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    cursor: pointer;
    min-width: 132px;
    text-align: center;
    background: #fff3ec;
    color: #19120d;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.small-button.dark {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
}

.hero-microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-microcopy span::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 14px;
    border-radius: 50%;
    background: rgba(234, 107, 45, 0.8);
}

.hero-microcopy span:last-child::after {
    display: none;
}

.hero-visual {
    justify-self: center;
    display: grid;
    gap: 14px;
    width: min(430px, 100%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.12);
    color: white;
}

.hero-phones {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(8px);
}

.hero-visual-caption {
    display: grid;
    gap: 6px;
    text-align: left;
}

.hero-visual-caption strong {
    color: white;
    font-size: 1rem;
}

.hero-visual-caption span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.about-section,
.feature-band,
.cta-strip {
    padding: 26px 18px;
}

.about-section,
.feature-band,
.cta-strip,
.homepage .panel-card,
.homepage .page-hero {
    color: #1c1612;
}

.feature-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1c1612;
}

.feature-card p {
    color: #6f645c;
}

.cta-card {
    display: grid;
    gap: 18px;
    align-items: center;
}

.cta-strip .container {
    width: min(1080px, calc(100% - 24px));
}

.cta-card h3 {
    margin: 0 0 8px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-actions .small-button {
    box-shadow: none;
}

@media (min-width: 860px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    }

    .cta-card {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 640px) {
    .homepage .hero {
        padding-top: calc(var(--ff-top-bar-height) + 18px);
        min-height: auto;
    }

    .hero-copy h1 {
        max-width: none;
        font-size: clamp(2rem, 12vw, 3.3rem);
    }

    .small-button {
        width: 100%;
    }

    .cta-actions {
        display: grid;
    }

    .hero-layout {
        gap: 18px;
    }

    .hero-summary {
        font-size: 0.98rem;
    }

    .hero-microcopy {
        font-size: 0.84rem;
        gap: 10px;
    }

    .hero-microcopy span::after {
        margin-left: 10px;
    }

    .hero-visual {
        width: 100%;
    }
}
