* {
    box-sizing: border-box;
}

:root {
    --bg-base: #f8f1ea;
    --bg-soft: #fff9f4;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --surface-soft: #fff8f3;
    --surface-warm: #fff3ea;
    --text-strong: #181311;
    --text-body: #5e514b;
    --text-muted: #7b6961;
    --accent: #d95a2b;
    --accent-deep: #a94824;
    --accent-soft: #fff0e7;
    --line: #ead9cf;
    --line-strong: #e0c8ba;
    --shadow-soft: 0 18px 38px rgba(90, 58, 36, 0.07);
    --shadow-medium: 0 24px 52px rgba(70, 43, 26, 0.12);
    --shadow-accent: 0 20px 44px rgba(217, 90, 43, 0.22);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 18px;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(217, 90, 43, 0.08), transparent 24%),
        radial-gradient(circle at 100% 12%, rgba(255, 255, 255, 0.72), transparent 22%),
        linear-gradient(180deg, #fcf7f2 0%, var(--bg-base) 38%, #f6ede5 100%);
    color: var(--text-strong);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(252, 246, 240, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(117, 89, 72, 0.08);
    box-shadow: 0 14px 30px rgba(89, 58, 39, 0.05);
}

.header-inner {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 32px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.brand-full-logo {
    display: block;
    width: auto;
    height: 72px;
    max-width: 100%;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 10px 18px rgba(56, 34, 23, 0.10));
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    color: #5f514b;
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    align-items: center;
    min-width: 0;
    justify-self: center;
    width: 100%;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
    border-radius: 999px;
    color: #5f514b;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.nav a:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 18px rgba(90, 58, 36, 0.06);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    justify-self: end;
}

.header-actions > * {
    flex: 0 0 auto;
}

.header-user {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 10px;
    color: #6a5850;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 1240px) {
    .header-inner {
        grid-template-columns: 215px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .nav {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 11px 15px;
    }

    .tmdb-attribution {
        flex-direction: column;
        align-items: flex-start;
    }

    .tmdb-attribution-copy {
        text-align: left;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.82);
    color: #342822;
    box-shadow: 0 10px 22px rgba(70, 40, 20, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(70, 40, 20, 0.1);
    border-color: #d9b9a8;
}

.btn-primary {
    background: linear-gradient(135deg, #e56a35 0%, #d95a2b 58%, #be4a1f 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-accent);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 52px rgba(217, 90, 43, 0.28);
}

.btn-current {
    border-color: rgba(217, 90, 43, 0.28);
    background: rgba(255, 240, 231, 0.92);
    color: var(--accent-deep);
}

.btn-with-badge {
    position: relative;
    gap: 10px;
}

.btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e56a35 0%, #d95a2b 58%, #be4a1f 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(217, 90, 43, 0.24);
}

.btn:focus-visible,
.nav a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(217, 90, 43, 0.14),
        0 16px 30px rgba(70, 40, 20, 0.08);
}

.inline-form,
.movie-inline-form {
    display: inline-flex;
    margin: 0;
}

.page-flash {
    margin: 22px 0;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(90, 58, 36, 0.06);
}

.page-flash-success {
    background: #f4fff6;
    border-color: #b7dfbf;
    color: #275a32;
}

.page-flash-error {
    background: #fff6f4;
    border-color: #efc1b8;
    color: #8c2f1d;
}

.report-inline-form {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid #ead9cf;
    background: rgba(255, 255, 255, 0.76);
    display: grid;
    gap: 10px;
}

.report-inline-form-compact {
    margin-top: 14px;
    margin-left: auto;
    max-width: 320px;
    padding: 14px 16px;
}

.report-inline-label {
    display: block;
    color: #8b4a30;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-inline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.report-inline-select {
    flex: 1 1 190px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid #e4d2c7;
    background: #fffdfa;
    color: #2b221f;
    padding: 10px 14px;
    font-size: 14px;
}

.tmdb-attribution {
    width: min(1280px, calc(100% - 40px));
    margin: 28px auto 36px;
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid rgba(54, 110, 175, 0.16);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(48, 72, 103, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tmdb-attribution-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.tmdb-attribution-logo {
    width: auto;
    height: 26px;
}

.tmdb-attribution-wordmark {
    font-weight: 900;
    color: #0d253f;
    letter-spacing: 0.06em;
}

.tmdb-attribution-copy {
    margin: 0;
    color: #47617b;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
}

.hero {
    padding: 44px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 244, 236, 0.86);
    border: 1px solid #f0d7c8;
    border-radius: 999px;
    color: #985333;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(90, 58, 36, 0.04);
}

.hero h1 {
    margin: 18px 0 12px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.05em;
    font-weight: 900;
    max-width: 760px;
}

.accent {
    color: #d95a2b;
    text-shadow: 0 2px 8px rgba(217, 90, 43, 0.15);
    font-weight: 800;
}

.accent-link {
    color: #d95a2b;
    text-decoration: none;
}

.hero p {
    margin: 0;
    max-width: 580px;
    font-size: 18px;
    color: #5e514b;
    line-height: 1.8;
}


.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-pulse-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.demo-page .hero-pulse-row {
    display: none;
}

.pulse-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #ead9cf;
    color: #6b574d;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(90, 58, 36, 0.05);
}

.hero-chip-section {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.hero-chip-head {
    color: #8c5a3e;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    font-weight: 900;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    background: #fff8f3;
    border: 1px solid #efd8cc;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 800;
    color: #4c3f39;
    box-shadow: 0 8px 18px rgba(70, 40, 20, 0.05);
    transition: all 0.15s ease;
}

.chip-link {
    text-decoration: none;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: #e1b89f;
    box-shadow: 0 12px 22px rgba(70, 40, 20, 0.08);
}

.stat-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card,
.panel,
.menu-card,
.feature-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.stat-card {
    padding: 22px;
}

.stat-label {
    color: #8b776f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stat-value {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.stat-text {
    margin-top: 8px;
    color: #665851;
    font-size: 14px;
}

.hero-panel {
    position: relative;
    padding: 18px;
    background: linear-gradient(180deg, #2d1c19 0%, #241715 60%, #1b1211 100%);
    color: #fff;
    border-radius: 34px;
    border: 1px solid #3a2823;
    box-shadow:
        0 20px 50px rgba(32, 21, 19, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    min-height: 100%;
    transition: all 0.25s ease;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
    pointer-events: none;
}

.hero-panel:hover {
    transform: translateY(-3px);
}

.panel-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.panel-title {
    margin-top: 8px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.panel-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.panel-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 18px;
}

.panel-box strong {
    display: block;
    font-size: 18px;
    margin-top: 6px;
}

.panel-box small {
    color: rgba(255, 255, 255, 0.62);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.featured-pick {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #181311;
    border-radius: 26px;
    padding: 18px;
    margin-top: 14px;
}

.featured-pick h3 {
    margin: 10px 0 6px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff3eb;
    border: 1px solid #efd1c0;
    font-size: 13px;
    font-weight: 800;
    color: #8b4a30;
}

.featured-pick p {
    color: #695b54;
    font-size: 15px;
    line-height: 1.7;
}

.featured-pick-note {
    color: #8a756b;
    font-size: 13px;
    line-height: 1.6;
    margin-top: -6px;
    margin-bottom: 16px;
}

.section {
    padding: 28px 0;
}

.section-highlight {
    padding-top: 8px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.section-kicker {
    color: #a15f40;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 900;
}

.section-head h2 {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.feed-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

.menu-list {
    display: grid;
    gap: 20px;
}

.menu-card {
    padding: 22px;
    transition: all 0.2s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.menu-top {
    display: flex;
    gap: 14px;
    align-items: start;
    justify-content: space-between;
}

.menu-card h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.menu-meta {
    margin-top: 6px;
    color: #7b6961;
    font-size: 14px;
    font-weight: 700;
}

.poster-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.poster {
    position: relative;
    overflow: hidden;
    min-height: 135px;
    border-radius: 22px;
    background: linear-gradient(160deg, #2f1e19 0%, #6e3020 55%, #dc6830 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%, rgba(0, 0, 0, 0.15));
}

.poster span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.menu-note {
    margin-top: 16px;
    color: #5f524b;
    font-size: 16px;
}

.menu-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0dfd6;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #5a4d47;
    font-size: 14px;
    font-weight: 800;
}

.sidebar {
    display: grid;
    gap: 18px;
}

.panel,
.feature-card {
    padding: 22px;
}

.panel h3,
.feature-card h3 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.panel p,
.feature-card p {
    color: #665851;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.trending-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.trend-item {
    background: #fff4ec;
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.trend-item strong {
    display: block;
    font-size: 15px;
}

.trend-item small {
    color: #8a756b;
    font-weight: 700;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


.activity-panel-footer-center {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.demo-compact-discovery {
    display: grid;
    gap: 12px;
}

.demo-compact-group {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid #ead9cf;
}

.demo-compact-group:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.demo-compact-label {
    color: #8b4a30;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.demo-compact-list {
    display: grid;
    gap: 6px;
}

.demo-poster-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.demo-poster-link {
    display: block;
}

.demo-poster-link .poster {
    min-height: 112px;
    border-radius: 18px;
}

.demo-poster-link .poster span {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.demo-table-list {
    display: grid;
    gap: 8px;
    padding-bottom: 18px;
}

.demo-table-list a {
    color: #181311;
    font-weight: 700;
    line-height: 1.35;
}

.demo-compact-list a {
    color: #181311;
    font-weight: 700;
    line-height: 1.35;
}

.activity-panel {
    padding: 24px;
}

.activity-head h3 {
    margin: 8px 0 0;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.activity-list {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

.activity-card {
    padding: 18px;
    border-radius: 22px;
    background: #fff7f2;
    border: 1px solid #efddd1;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #6a5850;
    font-size: 13px;
    font-weight: 700;
}

.activity-meta a {
    color: #d95a2b;
}

.activity-card h4 {
    margin: 10px 0 0;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.activity-card p {
    margin: 12px 0 0;
    color: #665851;
    font-size: 15px;
    line-height: 1.7;
}

.activity-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #ead9cf;
    color: #7b6a62;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.activity-empty {
    padding: 18px;
    border-radius: 20px;
    background: #fff6f0;
    color: #6d5b53;
    border: 1px solid #efd8cc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff4ec;
    font-size: 24px;
}

.empty-state {
    padding: 18px;
    border-radius: 18px;
    background: #fff6f0;
    color: #6d5b53;
    border: 1px solid #efd8cc;
}

.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.phones-section {
    padding: 36px 0 60px;
}

.phones-frame {
    background: linear-gradient(180deg, #fffaf6 0%, #f6ede6 100%);
    border: 1px solid #ead9cf;
    border-radius: 34px;
    padding: 24px;
    box-shadow: 0 20px 35px rgba(95, 63, 42, 0.08);
}

.phones-frame img {
    width: 100%;
    border-radius: 24px;
}

.site-footer {
    padding: 18px 0 0;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 20px;
    padding: 18px 22px;
    border: 1px solid rgba(117, 89, 72, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 24px rgba(90, 58, 36, 0.05);
}

.site-footer-copy {
    color: #7f6c63;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
}

.site-footer-links a {
    color: #6b584f;
    font-size: 13px;
    font-weight: 800;
}

.site-footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .brand-full-logo {
        height: 64px;
    }

    .nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        width: auto;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .header-actions {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .feed-grid,
    .features-grid,
    .activity-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .poster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

    .header-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 0;
        gap: 16px;
    }

    .brand-full-logo {
        height: 54px;
    }

    .brand,
    .header-actions {
        justify-self: stretch;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .section-head,
    .menu-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .hero {
        padding-top: 24px;
    }

    .brand-full-logo {
        height: 42px;
    }

    .btn {
        padding: 11px 15px;
    }

    .header-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .header-actions > * {
        width: 100%;
    }

    .header-actions .btn,
    .header-actions .btn-with-badge {
        justify-content: center;
    }

    .poster-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .report-inline-row {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-poster-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-inline-form-compact {
        max-width: none;
        width: 100%;
    }

    .site-footer {
        padding-top: 14px;
    }

    .site-footer-inner {
        padding: 16px 18px;
        border-radius: 18px;
    }
}
