.hm-page {
    --hm-bg: #090910;
    --hm-surface: #12121f;
    --hm-surface-strong: #171726;
    --hm-line: rgba(148, 163, 184, 0.14);
    --hm-muted: #9aa5b8;
    --hm-subtle: #778397;
    --hm-violet: #8b7cf6;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
    color: #f8fafc;
    background:
        radial-gradient(circle at 48% -8%, rgba(99, 102, 241, 0.18), transparent 35rem),
        linear-gradient(180deg, #0b0b14 0%, var(--hm-bg) 46%, #0b0b14 100%);
    font-family: "Inter", sans-serif;
}

.hm-page *,
.hm-page *::before,
.hm-page *::after { box-sizing: border-box; }
.hm-page h1,
.hm-page h2,
.hm-page h3 { font-family: "Outfit", sans-serif; }
.hm-page a { text-decoration: none; }
.hm-page a:focus-visible,
.hm-page button:focus-visible,
.hm-page input:focus-visible {
    outline: 2px solid #a5b4fc;
    outline-offset: 3px;
}

.hm-container {
    position: relative;
    z-index: 2;
    width: min(100% - 3rem, 1180px) !important;
    max-width: none !important;
    margin-inline: auto;
    padding-inline: 0 !important;
}

.hm-ambient { opacity: 0.72; }
.hm-ambient > div { animation-duration: 18s; }

.hm-page .text-gradient {
    color: transparent;
    background: linear-gradient(120deg, #c4b5fd 5%, #818cf8 48%, #60a5fa 96%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hm-page .input-glow:focus-within {
    border-color: rgba(129, 140, 248, 0.62) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.11), 0 18px 50px rgba(0, 0, 0, 0.28) !important;
}

.hm-page .shimmer-btn {
    color: #fff !important;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 32%, #a78bfa 50%, #8b5cf6 68%, #6366f1 100%) !important;
    background-size: 200% auto !important;
}
.hm-page .shimmer-btn:hover { animation: hmShimmer 2s linear infinite; }
@keyframes hmShimmer { to { background-position: 200% center; } }

.hm-hero {
    width: min(100% - 3rem, 1180px);
    margin-inline: auto;
    padding: clamp(4.25rem, 6vw, 5.75rem) 0 clamp(4.5rem, 7vw, 6.5rem) !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(32rem, 1fr);
    gap: clamp(3rem, 5vw, 4.75rem);
    align-items: center;
}

.hm-hero-copy {
    max-width: 37rem !important;
    margin: 0 !important;
    text-align: left !important;
}

.hm-eyebrow {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.35rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #c4b5fd !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hm-eyebrow::after {
    width: 1.9rem;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, #a78bfa, transparent);
}

.hm-eyebrow span {
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0 !important;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, 0.09);
}

.hm-hero h1 {
    max-width: 760px;
    margin: 0 !important;
    font-size: clamp(3.25rem, 4.7vw, 4.35rem) !important;
    font-weight: 900;
    line-height: 0.97 !important;
    letter-spacing: -0.052em !important;
}
.hm-hero h1 br { display: none; }
.hm-hero-beyond {
    display: block;
    margin-top: 0.9rem;
    color: #aeb8ca;
    font-size: 0.29em;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.015em;
}

.hm-hero-copy > p {
    max-width: 35rem !important;
    margin: 1.4rem 0 0 !important;
    color: #aeb8ca !important;
    font-size: 1.05rem !important;
    line-height: 1.75 !important;
}

.hm-hero-form {
    max-width: 36rem !important;
    margin: 1.4rem 0 0 !important;
}

.hm-hero-form > div:first-child {
    opacity: 0.16 !important;
    filter: blur(16px) !important;
}

.hm-hero-form > div:nth-child(2) {
    gap: 0.45rem !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
    border-radius: 0.95rem !important;
    padding: 0.42rem !important;
    background: rgba(18, 18, 31, 0.9) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.025) inset !important;
}

.hm-hero-form > div:nth-child(2) > div {
    min-width: 0;
    padding: 0.75rem 0.85rem !important;
}

.hm-hero-form input {
    min-width: 0;
    font-size: 0.92rem !important;
}

.hm-hero-form button {
    min-height: 3.25rem;
    border-radius: 0.72rem !important;
    padding: 0.8rem 1.15rem !important;
    font-size: 0.9rem !important;
    box-shadow: 0 14px 30px rgba(99, 102, 241, 0.24) !important;
}

.hm-proof-points {
    justify-content: flex-start !important;
    gap: 0.7rem 1rem !important;
    margin-top: 1.15rem !important;
    color: #7f8a9d !important;
    font-size: 0.75rem !important;
}

.hm-hero-proof {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
}

.hm-proof-badge { display: none !important; }

.hm-proof-browser {
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.18) !important;
    border-radius: 1.05rem !important;
    background: linear-gradient(145deg, rgba(25, 25, 43, 0.97), rgba(11, 11, 21, 0.99)) !important;
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.025) inset !important;
    transform: none;
}

.hm-proof-browser > div:nth-child(2) {
    display: none !important;
}

.hm-proof-browser > div:nth-child(3) {
    padding: 1.1rem !important;
    background: rgba(13, 13, 23, 0.86) !important;
}
.hm-proof-browser > div:nth-child(3) > div:first-child {
    margin-bottom: 0.95rem !important;
    padding: 0.25rem 0.15rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.hm-proof-browser > div:nth-child(3) > div:first-child button {
    border-color: rgba(129, 140, 248, 0.26) !important;
    background: rgba(99, 102, 241, 0.11) !important;
    color: #b7b4ff !important;
    box-shadow: none !important;
}
.hm-proof-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.hm-api-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 2.3rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 0.55rem;
    color: #a5b4c8;
    background: rgba(8, 145, 178, 0.08);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.hm-api-badge strong { color: #a5f3fc; }
.hm-api-badge > i:first-child { color: #67e8f9; }
.hm-api-badge > i:last-child {
    color: #718096;
    font-size: 0.58rem;
}
.hm-api-badge:hover {
    border-color: rgba(103, 232, 249, 0.5);
    color: #eefcff;
    background: rgba(8, 145, 178, 0.15);
}

.hm-proof-browser h3 { font-size: 1.2rem !important; }
.hm-proof-browser p { font-size: 0.75rem !important; }
.hm-proof-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}
.hm-proof-card-muted { display: none !important; }
.hm-proof-card-primary {
    display: grid;
    grid-template-columns: 11.5rem minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 2.4vw, 1.6rem);
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(139, 124, 246, 0.38) !important;
    border-radius: 0.9rem !important;
    background:
        radial-gradient(circle at 82% 28%, rgba(99, 102, 241, 0.1), transparent 15rem),
        linear-gradient(145deg, #11111e, #0d0d17) !important;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28) !important;
    transform: none !important;
}
.hm-proof-video {
    width: 11.5rem;
    min-height: 0;
    aspect-ratio: 9 / 16 !important;
    justify-self: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.68rem;
    background: #08080d !important;
}
.hm-proof-video video {
    opacity: 0.9 !important;
    transition: opacity 180ms ease !important;
}
.hm-proof-video:hover video { opacity: 1 !important; }
.hm-proof-slider .hm-proof-video video,
.hm-proof-details {
    transition: opacity 180ms ease, transform 180ms ease !important;
}
.hm-proof-slider.is-switching .hm-proof-video video,
.hm-proof-slider.is-switching .hm-proof-details {
    opacity: 0 !important;
}
.hm-proof-slider.is-switching .hm-proof-details { transform: translateY(4px); }
.hm-proof-card-primary > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-top: 0 !important;
    border-left: 0;
    padding: 1.1rem 1rem 1.1rem 0.2rem !important;
    background: transparent !important;
}
.hm-proof-card-primary > div:last-child::before {
    margin-bottom: 0.85rem;
    color: #8b95a9;
    content: "SELECTED MOMENT";
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}
.hm-proof-card-primary > div:last-child::after {
    width: min(100%, 10rem);
    height: 1px;
    margin-top: 1.15rem;
    content: "";
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.62), transparent);
}
.hm-proof-card-primary > div:last-child > div:first-child {
    width: 100%;
    margin-bottom: 0.9rem !important;
    align-items: flex-start !important;
}
.hm-proof-card-primary > div:last-child > div:first-child > div {
    max-width: 13rem;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}
.hm-proof-card-primary > div:last-child > div:first-child > span {
    padding-top: 0.24rem;
}
.hm-proof-tags {
    flex-wrap: wrap;
}
.hm-proof-slider-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}
.hm-proof-slider-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.55rem;
    color: #aeb8ca;
    background: rgba(30, 30, 48, 0.76);
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.hm-proof-slider-controls button:hover {
    border-color: rgba(167, 139, 250, 0.5);
    color: #fff;
    background: rgba(99, 102, 241, 0.18);
}
.hm-proof-dots {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.2rem;
}
.hm-proof-slider-controls .hm-proof-dots button {
    min-width: 0;
    width: 0.45rem;
    height: 0.45rem;
    border: 0;
    border-radius: 999px;
    background: #4b5568;
    transition: width 160ms ease, background 160ms ease;
}
.hm-proof-slider-controls .hm-proof-dots button.is-active {
    width: 1.15rem;
    background: #a78bfa;
}
.hm-proof-count {
    margin-left: auto;
    color: #778397;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.hm-proof-pause[aria-pressed="true"] {
    color: #c4b5fd;
    background: rgba(99, 102, 241, 0.18);
}

.hm-platform-rail {
    position: relative;
    z-index: 2;
    padding-block: 1.65rem !important;
    border-color: rgba(148, 163, 184, 0.1) !important;
    background: rgba(12, 12, 21, 0.72) !important;
}
.hm-platform-rail p { margin-bottom: 1rem !important; font-size: 0.69rem !important; }
.hm-platform-rail i,
.hm-platform-rail span { font-size: 1.55rem !important; }

.hm-section {
    position: relative;
    z-index: 1;
    padding-block: clamp(4.5rem, 8vw, 7rem) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.hm-section-tonal {
    background: linear-gradient(180deg, rgba(18, 18, 31, 0.78), rgba(10, 10, 18, 0.82)) !important;
}

.hm-section-heading {
    max-width: 54rem;
    margin: 0 0 clamp(2.5rem, 5vw, 4.2rem) !important;
    text-align: left !important;
}
.hm-section-heading > p:first-child {
    margin-bottom: 0.9rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.14em !important;
}
.hm-section-heading h2 {
    margin: 0 !important;
    font-size: clamp(2.65rem, 5vw, 4.35rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em;
}
.hm-section-heading h2 br { display: none; }
.hm-section-heading > p:last-child {
    max-width: 43rem !important;
    margin: 1.2rem 0 0 !important;
    color: #9ba7ba !important;
    font-size: 1rem !important;
    line-height: 1.75;
}

.hm-step-grid,
.hm-value-grid,
.hm-mode-grid,
.hm-note-grid { gap: 1rem !important; }

.hm-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hm-line) !important;
    border-radius: 1.1rem !important;
    background: linear-gradient(145deg, rgba(24, 24, 40, 0.86), rgba(13, 13, 23, 0.94)) !important;
    box-shadow: none !important;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease !important;
}
.hm-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(167, 139, 250, 0.34) !important;
}
.hm-card::before {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
    opacity: 0.35;
}
.hm-step-card,
.hm-value-card,
.hm-mode-card,
.hm-note-card { padding: clamp(1.35rem, 2.5vw, 2rem) !important; }
.hm-card h3 { letter-spacing: -0.02em; }
.hm-card p { color: #929eb1 !important; }

.hm-inline-cta { margin-top: 2.75rem !important; text-align: left !important; }
.hm-inline-cta a,
.hm-final-cta a {
    border-radius: 0.82rem !important;
    transform: none !important;
}
.hm-inline-cta a:hover,
.hm-final-cta a:hover { transform: translateY(-2px) !important; }

.hm-pricing .pricing-marketing-card,
.hm-pricing [class*="pricing-card"] {
    border-color: var(--hm-line) !important;
}
.hm-pricing .pricing-card {
    background: linear-gradient(145deg, rgba(24, 24, 40, 0.88), rgba(13, 13, 23, 0.96)) !important;
    box-shadow: none !important;
    transition: transform 160ms ease, border-color 160ms ease !important;
}
.hm-pricing .pricing-card:hover { transform: translateY(-2px); border-color: rgba(167, 139, 250, 0.34) !important; }
.hm-pricing .pricing-card.popular {
    border-color: rgba(99, 102, 241, 0.5) !important;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.11), rgba(16, 16, 28, 0.95)) !important;
    box-shadow: 0 24px 60px rgba(49, 46, 129, 0.16) !important;
}

.hm-final-cta {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding-block: clamp(5rem, 9vw, 8rem) !important;
}
.hm-final-cta h2 {
    font-size: clamp(3rem, 6vw, 5.25rem) !important;
    line-height: 0.98;
    letter-spacing: -0.05em !important;
}
.hm-final-cta > div:first-child { background: linear-gradient(180deg, #0b0b14, rgba(49, 46, 129, 0.12), #090910) !important; }

/* Creator slider (index page) */
.idx-creator-range {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    outline: none;
    transition: all 0.2s ease;
}
.idx-creator-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    opacity: 0.3;
}
.idx-creator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.idx-creator-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.idx-creator-range::-moz-range-track {
    height: 6px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    opacity: 0.3;
}
.idx-creator-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
#idx-creator-price { transition: all 0.2s ease; }
.idx-price-bump { animation: idxPriceBump 0.3s ease; }
@keyframes idxPriceBump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); color: #a855f7; }
}

@media (max-width: 1060px) {
    .hm-hero {
        grid-template-columns: minmax(0, 0.96fr) minmax(28rem, 1.04fr);
        gap: 2.5rem;
    }
    .hm-hero h1 { font-size: clamp(3.1rem, 4.8vw, 3.9rem) !important; }
    .hm-proof-card-primary { grid-template-columns: 10.5rem minmax(0, 1fr); }
    .hm-proof-video { width: 10.5rem; }
}

@media (max-width: 900px) {
    .hm-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 5.25rem !important;
    }
    .hm-hero-copy { max-width: 42rem !important; }
    .hm-hero h1 { max-width: 42rem; font-size: clamp(3.35rem, 8vw, 4.25rem) !important; }
    .hm-hero-form { max-width: 39rem !important; }
    .hm-hero-proof { max-width: 42rem !important; }
    .hm-proof-card-primary { grid-template-columns: 12rem minmax(0, 1fr); }
    .hm-proof-video { width: 12rem; }
}

@media (max-width: 700px) {
    .hm-container,
    .hm-hero { width: min(100% - 2rem, 1180px) !important; }
    .hm-hero { padding: 4rem 0 3.75rem !important; }
    .hm-hero h1 { font-size: clamp(2.8rem, 13vw, 3.65rem) !important; }
    .hm-hero-copy > p { font-size: 0.98rem !important; }
    .hm-hero-form > div:nth-child(2) { align-items: stretch !important; }
    .hm-hero-form button { width: 100% !important; }
    .hm-proof-points { display: grid !important; grid-template-columns: 1fr 1fr; }
    .hm-proof-browser > div:nth-child(3) { padding: 0.85rem !important; }
    .hm-proof-browser > div:nth-child(3) > div:first-child { align-items: flex-start !important; }
    .hm-proof-header-actions { justify-content: flex-start; }
    .hm-proof-card-primary { grid-template-columns: 1fr; }
    .hm-proof-video { width: min(100%, 12rem); }
    .hm-proof-card-primary > div:last-child {
        border-top: 1px solid var(--hm-line) !important;
        border-left: 0;
        padding: 1.25rem !important;
    }
    .hm-section { padding-block: 4.5rem !important; }
    .hm-section-heading h2 { font-size: clamp(2.55rem, 12vw, 3.35rem) !important; }
    .hm-step-grid,
    .hm-value-grid,
    .hm-mode-grid,
    .hm-note-grid { grid-template-columns: 1fr !important; }
    .hm-platform-rail .hm-container > div { gap: 1.25rem !important; }
    .hm-inline-cta { text-align: center !important; }
    .hm-final-cta h2 { font-size: clamp(2.8rem, 12vw, 3.8rem) !important; }
}

@media (max-width: 430px) {
    .hm-proof-points { grid-template-columns: 1fr; }
    .hm-proof-video { width: min(100%, 10.5rem); }
}

@media (prefers-reduced-motion: reduce) {
    .hm-page *,
    .hm-page *::before,
    .hm-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hm-proof-browser { transform: none; }
}
