/* =========================
   64SQUARE MARKETING HOMEPAGE
   Scoped with hp- prefix so it never touches the
   shared site-navbar / app styles used by other pages.
========================= */

:root {
    --hp-bg: #060911;
    --hp-bg-2: #0b1220;
    --hp-blue: #2f6feb;
    --hp-blue-light: #6fa8ff;
    --hp-blue-dark: #1d4fc4;
    --hp-white: #ffffff;
    --hp-muted: rgba(255, 255, 255, 0.72);
    --hp-muted-2: rgba(255, 255, 255, 0.55);
    --hp-border: rgba(255, 255, 255, 0.12);

    --hp-section-bg: #eef3fb;
    --hp-panel-bg: #ffffff;
    --hp-ink: #0b1220;
    --hp-ink-muted: #5a6a85;
    --hp-line: #e3e9f5;
    --hp-line-hover: #c7d3ea;
    --hp-accent-red: #e2483d;
}

.hp-page {
    background: var(--hp-bg);
    overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.hp-navbar {
    background: var(--hp-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 3000;
}

.hp-navbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 13px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hp-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.hp-logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: none;
}

.hp-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hp-nav-links a {
    color: var(--hp-muted);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hp-nav-links a:hover {
    color: var(--hp-white);
}

.hp-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Account identity chip -- populated by site.js from the existing
   /me session lookup ("Logged in as {email}"). Hidden by default
   (and while logged out) so the logged-out nav stays "Log in |
   Get Started" with no status text; site.js toggles .hp-visible
   only in the logged-in branch. Truncated so a long email can
   never wrap or overflow the navbar. */
.hp-login-status {
    display: none;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--hp-muted);
    font-size: 0.85rem;
    font-weight: 500;
    vertical-align: middle;
}

.hp-login-status.hp-visible {
    display: inline-block;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    height: 42px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.hp-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--hp-white);
}

.hp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.hp-btn-primary {
    background: var(--hp-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(47, 111, 235, 0.35);
}

.hp-btn-primary:hover {
    background: var(--hp-blue-dark);
    transform: translateY(-1px);
}

.hp-btn-lg {
    height: 52px;
    padding: 0 26px;
    font-size: 1rem;
    border-radius: 12px;
}

.hp-nav-actions .hp-btn {
    height: 38px;
    padding: 0 16px;
    font-size: 0.86rem;
    border-radius: 9px;
}

.hp-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: var(--hp-white);
    font-size: 1.05rem;
    cursor: pointer;
    flex-shrink: 0;
}

.hp-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 32px 20px;
    background: var(--hp-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-mobile-menu.hp-open {
    display: flex;
}

.hp-mobile-menu a {
    color: var(--hp-muted);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-mobile-menu .hp-mobile-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.hp-mobile-menu .hp-btn {
    flex: 1;
}

/* =========================
   HERO
========================= */
.hp-hero {
    min-height: 536px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg,
            rgba(6, 9, 17, 0.97) 0%,
            rgba(6, 9, 17, 0.92) 26%,
            rgba(6, 9, 17, 0.62) 46%,
            rgba(6, 9, 17, 0.22) 64%,
            rgba(6, 9, 17, 0.05) 78%,
            rgba(6, 9, 17, 0) 90%),
        linear-gradient(180deg,
            rgba(6, 9, 17, 0.15) 0%,
            rgba(6, 9, 17, 0) 18%,
            rgba(6, 9, 17, 0) 78%,
            rgba(6, 9, 17, 0.55) 100%),
        url('/static/img/hero-king.png') right center / auto 536px no-repeat,
        linear-gradient(180deg, var(--hp-bg) 0%, var(--hp-bg-2) 100%);
    padding: 44px 32px;
}

.hp-hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    width: 100%;
}

.hp-hero-copy {
    max-width: 800px;
}

.hp-hero-copy h1 {
    font-size: 2.75rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--hp-white);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hp-hero-copy h1 .hp-accent {
    color: var(--hp-blue-light);
}

.hp-hero-sub {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--hp-muted);
    max-width: 540px;
    margin: 0 0 24px;
}

.hp-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hp-hero-note {
    font-size: 0.86rem;
    color: var(--hp-muted-2);
    margin: 0;
}

.hp-hero-note-link {
    color: var(--hp-muted-2);
    text-decoration: underline;
}

.hp-hero-note-link:hover {
    color: var(--hp-blue-light);
}

.hp-hero-note .hp-accent-inline {
    color: var(--hp-blue-light);
    font-weight: 600;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px) {
    .hp-hero-copy {
        min-width: 0;
        max-width: 100%;
    }

    .hp-hero-copy h1 {
        font-size: 2.3rem;
    }
}

/* Hamburger threshold raised from 860px, matching design-system.css:
   the homepage nav now carries the same 7 primary links as every
   interior page (Home, Features, Game Analysis, Position Analysis,
   Opening Lab, Pricing, Resources) plus the account area, instead of
   the short nav this was originally tuned for. Kept in its own query
   -- separate from the 860px block below -- so it doesn't shift when
   the homepage hero's own responsive treatment (untouched) kicks in.
   Sized without a browser available; re-verify against real
   rendering. */
@media (max-width: 1500px) {
    .hp-nav-links,
    .hp-nav-actions {
        display: none;
    }

    .hp-nav-toggle {
        display: flex;
    }
}

@media (max-width: 860px) {
    .hp-hero {
        background:
            linear-gradient(rgba(6, 9, 17, 0.68), rgba(6, 9, 17, 0.68)),
            linear-gradient(90deg,
                rgba(6, 9, 17, 0.9) 0%,
                rgba(6, 9, 17, 0.75) 55%,
                rgba(6, 9, 17, 0.45) 78%,
                rgba(6, 9, 17, 0.2) 100%),
            linear-gradient(180deg,
                rgba(6, 9, 17, 0.3) 0%,
                rgba(6, 9, 17, 0) 20%,
                rgba(6, 9, 17, 0) 75%,
                rgba(6, 9, 17, 0.6) 100%),
            url('/static/img/hero-king.png') right 14% / cover no-repeat,
            linear-gradient(180deg, var(--hp-bg) 0%, var(--hp-bg-2) 100%);
    }
}

@media (max-width: 640px) {
    .hp-navbar-inner {
        padding: 14px 20px;
    }

    .hp-mobile-menu {
        padding: 8px 20px 18px;
    }

    .hp-hero {
        padding: 40px 20px 64px;
    }

    .hp-hero-copy h1 {
        font-size: 1.9rem;
    }

    .hp-hero-sub {
        font-size: 1rem;
    }

    .hp-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-hero-ctas .hp-btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .hp-logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .hp-logo-img {
        height: 34px;
    }
}

/* =========================
   EXAMPLE ANALYSIS SECTION
========================= */
.hp-examples {
    background: var(--hp-section-bg);
    padding: 80px 32px 96px;
}

.hp-examples-inner {
    max-width: 1360px;
    margin: 0 auto;
}

.hp-examples-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 44px;
}

.hp-examples-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.hp-examples-header p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--hp-ink-muted);
    margin: 0;
}

.hp-demo-panel {
    background: var(--hp-panel-bg);
    border: 1px solid var(--hp-line);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(11, 18, 32, 0.08);
    padding: 32px;
}

.hp-demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

.hp-demo-col {
    min-width: 0;
}

/* ---- LEFT: board ---- */
.hp-demo-game-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--hp-ink);
    margin: 0 0 4px;
}

.hp-demo-game-meta {
    font-size: 0.82rem;
    color: var(--hp-ink-muted);
    margin: 0 0 18px;
}

.hp-demo-board-wrap {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.hp-demo-board {
    width: 100%;
    height: 100%;
}

.hp-demo-highlight {
    position: absolute;
    width: 12.5%;
    height: 12.5%;
    background: rgba(226, 72, 61, 0.32);
    border: 2px solid var(--hp-accent-red);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 4;
    transition: left 0.25s ease, top 0.25s ease;
}

.hp-demo-arrow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}

.hp-demo-arrow line {
    transition: x1 0.25s ease, y1 0.25s ease, x2 0.25s ease, y2 0.25s ease;
}

.hp-demo-board-controls {
    margin-top: 18px;
}

.hp-demo-nav-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.hp-demo-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--hp-line);
    background: #f7f9fd;
    color: var(--hp-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.hp-demo-nav-btn:hover {
    background: var(--hp-section-bg);
    border-color: var(--hp-line-hover);
}

.hp-demo-move-indicator {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hp-ink);
}

/* ---- CENTER: critical moments ---- */
.hp-demo-col-heading {
    font-weight: 700;
    font-size: 1rem;
    color: var(--hp-ink);
    margin: 0 0 14px;
}

.hp-demo-moments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-demo-moment {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 14px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    background: #fbfcfe;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
}

.hp-demo-moment:hover {
    border-color: var(--hp-line-hover);
    background: #f3f7ff;
}

.hp-demo-moment.hp-active {
    border-color: var(--hp-blue);
    background: #eef4ff;
    box-shadow: 0 0 0 1px var(--hp-blue) inset;
}

.hp-demo-moment-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--hp-accent-red);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.hp-demo-moment-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-demo-moment-move {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--hp-ink);
}

.hp-demo-moment-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hp-accent-red);
}

.hp-demo-moment-desc {
    font-size: 0.82rem;
    color: var(--hp-ink-muted);
    line-height: 1.4;
}

.hp-demo-moment-chevron {
    flex-shrink: 0;
    color: #9aa8c4;
    font-size: 0.9rem;
    align-self: center;
}

.hp-demo-actions {
    margin-top: 18px;
}

.hp-demo-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--hp-blue);
    color: var(--hp-blue);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.hp-demo-link-btn:hover {
    background: #eef4ff;
}

/* ---- RIGHT: explanation ---- */
.hp-demo-explain {
    background: #fbfcfe;
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hp-demo-explain-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hp-ink);
    margin: 0 0 12px;
}

.hp-demo-explain-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #38455c;
    margin: 0 0 18px;
}

.hp-demo-lesson {
    display: flex;
    gap: 10px;
    background: #eef4ff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}

.hp-demo-lesson-icon {
    flex-shrink: 0;
    color: var(--hp-blue);
    font-size: 1rem;
    margin-top: 2px;
}

.hp-demo-lesson-title {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--hp-ink);
    margin-bottom: 4px;
}

.hp-demo-lesson-text {
    font-size: 0.85rem;
    color: #38455c;
    line-height: 1.5;
}

.hp-demo-explain-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--hp-blue);
    color: var(--hp-blue);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.hp-demo-explain-link:hover {
    background: #eef4ff;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .hp-demo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-demo-explain-col {
        grid-column: 1 / -1;
    }

    .hp-demo-explain {
        height: auto;
    }
}

@media (max-width: 720px) {
    .hp-examples {
        padding: 56px 20px 64px;
    }

    .hp-examples-header {
        margin-bottom: 32px;
    }

    .hp-examples-header h2 {
        font-size: 1.6rem;
    }

    .hp-examples-header p {
        font-size: 0.96rem;
    }

    .hp-demo-panel {
        padding: 20px;
    }

    .hp-demo-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hp-demo-explain-col {
        grid-column: auto;
    }

    .hp-demo-board-wrap {
        max-width: 320px;
    }
}

/* =========================
   VALUE PROPOSITION SECTION
========================= */
.hp-value {
    background: #ffffff;
    padding: 88px 32px 96px;
}

.hp-value-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.hp-value-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
}

.hp-value-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.hp-value-header p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--hp-ink-muted);
    margin: 0;
}

.hp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.hp-value-item {
    position: relative;
    text-align: center;
    padding: 0 16px;
}

.hp-value-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: -16px;
    width: 1px;
    background: var(--hp-line);
}

.hp-value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    color: #ffffff;
}

.hp-value-icon-blue { background: var(--hp-blue); }
.hp-value-icon-red { background: var(--hp-accent-red); }
.hp-value-icon-green { background: #16a34a; }
.hp-value-icon-purple { background: #8b5cf6; }

.hp-value-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hp-ink);
    margin: 0 0 10px;
}

.hp-value-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--hp-ink-muted);
    margin: 0;
}

@media (max-width: 980px) {
    .hp-value {
        padding: 72px 32px 80px;
    }

    .hp-value-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

    .hp-value-item:nth-child(even)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .hp-value {
        padding: 56px 20px 64px;
    }

    .hp-value-header {
        margin-bottom: 40px;
    }

    .hp-value-header h2 {
        font-size: 1.6rem;
    }

    .hp-value-header p {
        font-size: 0.96rem;
    }

    .hp-value-grid {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }

    .hp-value-item::after {
        display: none;
    }
}

/* =========================
   TRUST / PLAYER FEEDBACK SECTION
========================= */
.hp-trust {
    background: var(--hp-section-bg);
    padding: 80px 32px 88px;
}

.hp-trust-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.hp-trust-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 44px;
}

.hp-trust-header p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hp-trust-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-blue);
    margin: 0 0 12px;
}

.hp-trust-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--hp-ink);
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.hp-trust-header p {
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--hp-ink-muted);
    margin: 0;
}

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

.hp-trust-item {
    background: var(--hp-panel-bg);
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    padding: 26px;
}

.hp-trust-item-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--hp-blue);
    margin: 0 0 10px;
}

.hp-trust-item-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--hp-ink-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .hp-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-trust-item:last-child {
        grid-column: 1 / -1;
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hp-trust {
        padding: 56px 20px 64px;
    }

    .hp-trust-header {
        margin-bottom: 32px;
    }

    .hp-trust-header h2 {
        font-size: 1.5rem;
    }

    .hp-trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hp-trust-item:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
}

/* =========================
   FINAL CTA SECTION
========================= */
.hp-final-cta {
    background:
        radial-gradient(circle at 85% 30%, rgba(47, 111, 235, 0.22), transparent 55%),
        radial-gradient(circle at 15% 80%, rgba(212, 175, 55, 0.10), transparent 50%),
        linear-gradient(180deg, var(--hp-bg) 0%, var(--hp-bg-2) 100%);
    padding: 88px 32px;
}

.hp-final-cta-inner {
    max-width: 1360px;
    margin: 0 auto;
}

.hp-final-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--hp-white);
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    max-width: 640px;
}

.hp-final-cta p {
    font-size: 1.08rem;
    color: var(--hp-muted);
    margin: 0 0 32px;
    max-width: 540px;
}

.hp-final-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.hp-final-cta-note {
    font-size: 0.88rem;
    color: var(--hp-muted-2);
    margin: 0;
}

@media (max-width: 640px) {
    .hp-final-cta {
        padding: 56px 20px;
    }

    .hp-final-cta h2 {
        font-size: 1.7rem;
    }

    .hp-final-cta p {
        font-size: 1rem;
    }

    .hp-final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-final-cta-buttons .hp-btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }
}

/* =========================
   COMPACT FUNCTIONAL FOOTER
   Low-weight closing footer used on public/product pages.
   Sits below the dark final-CTA section -- not a hero, not a CTA.
========================= */
.hp-footer {
    background: var(--hp-bg-2);
    border-top: 1px solid var(--hp-border);
    padding: 28px 32px;
}

.hp-footer-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hp-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.hp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-footer-logo {
    height: 22px;
    width: auto;
    display: block;
}

.hp-footer-tagline {
    font-size: 0.82rem;
    color: var(--hp-muted-2);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.hp-footer-links a {
    font-size: 0.85rem;
    color: var(--hp-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.hp-footer-links a:hover {
    color: var(--hp-white);
}

.hp-footer-bottom {
    padding-top: 14px;
    border-top: 1px solid var(--hp-border);
}

.hp-footer-copyright {
    font-size: 0.78rem;
    color: var(--hp-muted-2);
}

@media (max-width: 640px) {
    .hp-footer {
        padding: 22px 20px;
    }

    .hp-footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .hp-footer-links {
        gap: 10px 16px;
    }
}
