.hb {
    --hb-nav: 88px;
    --hb-night: #0f0c29;
    --hb-ink: #161331;
    --hb-soft: #514b70;
    --hb-violet: #7117f2;
    --hb-lav: #ebe7fc;
    --hb-gold: #ffc857;
    --hb-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
    --hb-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --hb-card-shadow: 0 30px 60px -34px rgba(113, 23, 242, 0.4), 0 8px 20px -12px rgba(22, 19, 49, 0.15);
    background: #fff;
    color: var(--hb-ink);
    overflow-x: clip;
}

.hb .hb-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hb .hb-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.hb .hb-h1,
.hb .hb-h2 {
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    color: var(--hb-ink);
    text-wrap: balance;
}

.hb .hb-h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.9rem);
    animation: hb-rise 0.9s var(--hb-spring) both;
}

.hb .hb-h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.hb .hb-h2-light {
    color: #fff;
}

.hb .hb-lead {
    margin-top: 22px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--hb-soft);
    animation: hb-rise 0.9s 0.12s var(--hb-spring) both;
}

.hb .hb-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 34px;
    animation: hb-rise 0.9s 0.24s var(--hb-spring) both;
}

@keyframes hb-rise {
    from {
        transform: translateY(22px);
    }
    to {
        transform: none;
    }
}

.hb .hb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 32px;
    margin-top: 0;
    border-radius: 999px;
    background: var(--hb-gold);
    color: var(--hb-ink);
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 10px 24px -8px rgba(255, 200, 87, 0.9), 0 2px 0 rgba(22, 19, 49, 0.12);
    transition: transform 0.4s var(--hb-spring), box-shadow 0.3s ease;
}

.hb .hb-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 30px -10px rgba(255, 200, 87, 1), 0 2px 0 rgba(22, 19, 49, 0.12);
}

.hb .hb-btn-ink {
    background: var(--hb-ink);
    color: var(--hb-gold);
    box-shadow: 0 12px 26px -10px rgba(22, 19, 49, 0.7);
}

.hb .hb-btn-ink:hover {
    box-shadow: 0 18px 30px -10px rgba(22, 19, 49, 0.8);
}

.hb .hb-quiet {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hb-ink);
    text-decoration: underline;
    text-decoration-color: var(--hb-violet);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.hb .hb-quiet-ink {
    margin-top: 12px;
}

.hb .hb-words .hb-quiet {
    margin-top: 14px;
}

.hb .hb-sec {
    position: relative;
    padding: clamp(72px, 10vw, 140px) 0;
}

.hb .hb-edge {
    position: absolute;
    left: 0;
    right: 0;
    top: -15px;
    height: 16px;
    background: radial-gradient(circle at 50% 100%, var(--edge) 15.5px, transparent 16px) 0 0 / 32px 16px repeat-x;
    pointer-events: none;
}

.hb .hb-edge-white {
    --edge: #ffffff;
}

.hb .hb-edge-lav {
    --edge: #ebe7fc;
}

.hb .hb-edge-gold {
    --edge: #ffc857;
}

.hb .hb-edge-navy {
    --edge: #0f0c29;
}

.hb .hb-hero {
    position: relative;
    background: var(--hb-lav);
    padding: calc(var(--hb-nav) + 56px) 0 clamp(100px, 12vw, 170px);
    overflow: hidden;
}

.hb .hb-hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: var(--hb-nav);
    height: 16px;
    background: radial-gradient(circle at 50% 0, #0f0c29 15.5px, transparent 16px) 0 0 / 32px 16px repeat-x;
    z-index: 2;
}

.hb .hb-hero-navy {
    background: var(--hb-night);
    color: #fff;
}

.hb .hb-hero-navy::before {
    display: none;
}

.hb .hb-white {
    --edge: #ffffff;
    background: #fff;
    color: var(--hb-ink);
}

.hb .hb-lav {
    --edge: #ebe7fc;
    background: var(--hb-lav);
    color: var(--hb-ink);
}

.hb .hb-gold {
    --edge: #ffc857;
    background: var(--hb-gold);
    color: var(--hb-ink);
}

.hb .hb-navy {
    --edge: #0f0c29;
    background: var(--hb-night);
    color: #fff;
}

.hb .hb-lav .hb-tag,
.hb .hb-gold .hb-tag {
    background: #fff;
}

.hb .hb-navy .hb-h1,
.hb .hb-navy .hb-h2,
.hb .hb-hero-navy .hb-h1,
.hb .hb-hero-navy .hb-h2 {
    color: #fff;
}

.hb .hb-navy .hb-lead,
.hb .hb-navy .hb-cap,
.hb .hb-hero-navy .hb-lead {
    color: #d4cdf2;
}

.hb .hb-navy .hb-quiet,
.hb .hb-hero-navy .hb-quiet {
    color: #fff;
    text-decoration-color: var(--hb-gold);
}

.hb .hb-navy a:not(.hb-btn):not(.hb-quiet),
.hb .hb-hero-navy a:not(.hb-btn):not(.hb-quiet) {
    color: var(--hb-gold);
}

.hb .hb-row {
    display: grid;
    gap: 32px;
    align-items: center;
}

.hb .hb-row + .hb-row {
    margin-top: clamp(72px, 10vw, 130px);
}

.hb .hb-words .hb-h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.hb .hb-tag {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--hb-lav);
    color: #4d0fb3;
    font-size: 0.9rem;
    font-weight: 800;
}

.hb .hb-cap {
    margin-top: 16px;
    padding-left: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--hb-soft);
}

.hb .hb-shot {
    border-radius: 28px;
    background: #fff;
    padding: 8px;
    border: 1px solid #e4def7;
    box-shadow: 0 40px 70px -30px rgba(113, 23, 242, 0.35), 0 10px 24px -12px rgba(22, 19, 49, 0.2);
}

.hb .hb-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 21px;
}

.hb .hb-phone {
    padding: 6px;
    border-radius: 30px;
    background: var(--hb-ink);
    box-shadow: 0 34px 50px -24px rgba(22, 19, 49, 0.5), 0 8px 18px -8px rgba(22, 19, 49, 0.25);
}

.hb .hb-screen {
    aspect-ratio: 390 / 844;
    overflow: hidden;
    border-radius: 24px;
    background: var(--hb-ink);
}

.hb .hb-screen-c {
    aspect-ratio: 720 / 1536;
}

.hb .hb-screen img {
    display: block;
    width: 100%;
    height: 100%;
}

.hb .hb-imglink {
    display: block;
    border-radius: inherit;
}

.hb .hb-imglink:focus-visible {
    outline: 3px solid var(--hb-violet);
    outline-offset: 4px;
}

html.hb-js .hb .hb-from-l:not(.is-in) {
    opacity: 0;
    transform: translateX(-90px);
}

html.hb-js .hb .hb-from-r:not(.is-in) {
    opacity: 0;
    transform: translateX(90px);
}

html.hb-js .hb .hb-from-l,
html.hb-js .hb .hb-from-r {
    transition: transform 1.1s var(--hb-spring), opacity 0.7s ease;
}

html.hb-js .hb .hb-up:not(.is-in) {
    opacity: 0;
    transform: translateY(40px);
}

html.hb-js .hb .hb-up {
    transition: transform 1s var(--hb-spring) var(--d, 0s), opacity 0.6s ease var(--d, 0s);
}

.hb .hb-say {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(32px, 6vw, 72px);
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 40px 70px -40px rgba(113, 23, 242, 0.45);
}

.hb .hb-say-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin-bottom: 24px;
}

.hb .hb-say-g {
    flex: none;
}

.hb .hb-say-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5a400;
}

.hb .hb-say-src {
    font-size: 1rem;
    font-weight: 700;
    color: var(--hb-soft);
}

.hb .hb-say-q {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--hb-ink);
}

.hb .hb-say-by {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    margin-top: 28px;
    font-size: 1.05rem;
}

.hb .hb-say-by b {
    font-weight: 800;
}

.hb .hb-say-by span {
    color: var(--hb-soft);
    font-weight: 600;
}

html.hb-js .hb .hb-say:not(.is-in),
html.hb-js .hb .hb-close-in:not(.is-in) {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
}

html.hb-js .hb .hb-say,
html.hb-js .hb .hb-close-in {
    transition: transform 1s var(--hb-spring), opacity 0.6s ease;
}

.hb .hb-close {
    background: var(--hb-gold);
    text-align: center;
    padding-bottom: clamp(90px, 12vw, 160px);
}

.hb .hb-close-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hb .hb-close .hb-h2 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    max-width: 14ch;
}

.hb .hb-close-sub {
    margin-top: -12px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--hb-ink);
}

.hb .hb-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 32px;
}

.hb .hb-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--hb-ink);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}

.hb .hb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.hb .hb-card {
    padding: clamp(24px, 3vw, 36px);
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e4def7;
    box-shadow: var(--hb-card-shadow);
    color: var(--hb-ink);
}

.hb .hb-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--hb-ink);
}

.hb .hb-card-text {
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--hb-soft);
}

.hb .hb-prose {
    max-width: 64ch;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--hb-ink);
}

.hb .hb-prose > * + * {
    margin-top: 1.1em;
}

.hb .hb-prose h2,
.hb .hb-prose h3 {
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--hb-ink);
    text-wrap: balance;
}

.hb .hb-prose h2 {
    margin-top: 2.2em;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.hb .hb-prose h3 {
    margin-top: 1.8em;
    font-size: 1.35rem;
}

.hb .hb-prose ul,
.hb .hb-prose ol {
    padding-left: 1.3em;
}

.hb .hb-prose li + li {
    margin-top: 0.5em;
}

.hb .hb-prose a {
    color: #5b12c4;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hb .hb-navy .hb-prose,
.hb .hb-navy .hb-prose h2,
.hb .hb-navy .hb-prose h3 {
    color: #fff;
}

.hb .hb-navy .hb-prose a {
    color: var(--hb-gold);
}

.hb .hb-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb .hb-list li {
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
}

.hb .hb-list li + li {
    border-top: 1px solid rgba(22, 19, 49, 0.14);
}

.hb .hb-navy .hb-list li + li {
    border-top-color: rgba(235, 231, 252, 0.2);
}

.hb .hb-pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb .hb-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--hb-lav);
    color: #4d0fb3;
    font-size: 0.95rem;
    font-weight: 800;
}

.hb .hb-lav .hb-pill,
.hb .hb-gold .hb-pill {
    background: #fff;
}

.hb .hb-navy .hb-pill {
    background: rgba(235, 231, 252, 0.14);
    color: #fff;
}

.hb .hb-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hb .hb-fact-n {
    display: block;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hb .hb-fact-l {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hb-soft);
}

.hb .hb-navy .hb-fact-l {
    color: #d4cdf2;
}

.hb .hb-steps {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hb-step;
}

.hb .hb-steps > li {
    position: relative;
    min-height: 52px;
    padding-left: 72px;
    counter-increment: hb-step;
}

.hb .hb-steps > li::before {
    content: counter(hb-step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--hb-gold);
    color: var(--hb-ink);
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 8px 18px -8px rgba(255, 200, 87, 0.9);
}

.hb .hb-gold .hb-steps > li::before {
    background: var(--hb-ink);
    color: var(--hb-gold);
    box-shadow: none;
}

.hb :where(a, button):focus-visible {
    outline: 3px solid var(--hb-violet);
    outline-offset: 4px;
}

.hb .hb-navy :where(a, button):focus-visible,
.hb .hb-hero-navy :where(a, button):focus-visible {
    outline-color: var(--hb-gold);
}

@media (min-width: 900px) {
    .hb .hb-row {
        grid-template-columns: 1.7fr 1fr;
        gap: 64px;
    }

    .hb .hb-row-flip {
        grid-template-columns: 1fr 1.7fr;
    }

    .hb .hb-row-flip .hb-words {
        order: -1;
    }
}

@media (min-width: 1100px) {
    .hb .hb-hero {
        padding-top: calc(var(--hb-nav) + 72px);
    }
}

@media (max-width: 899px) {
    .hb .hb-wrap {
        padding: 0 16px;
    }

    .hb .hb-actions {
        gap: 8px 24px;
    }

    .hb .hb-row-flip .hb-words {
        order: 2;
    }

    html.hb-js .hb .hb-from-l:not(.is-in),
    html.hb-js .hb .hb-from-r:not(.is-in) {
        transform: translateY(60px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb .hb-h1,
    .hb .hb-lead,
    .hb .hb-actions {
        animation: none;
    }

    html.hb-js .hb .hb-from-l:not(.is-in),
    html.hb-js .hb .hb-from-r:not(.is-in),
    html.hb-js .hb .hb-up:not(.is-in),
    html.hb-js .hb .hb-say:not(.is-in),
    html.hb-js .hb .hb-close-in:not(.is-in) {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hb {
        --hb-nav: 73px;
    }
}
