/*
Theme Name: Human Site Builders
Theme URI: https://humansite.builders/
Description: A focused Ollie child theme for the Human Site Builders landing page, header, and footer.
Author: Human Site Builders
Template: ollie
Version: 1.0.0
Text Domain: humansite-ollie
*/

:root {
    --hsb-ink: #121722;
    --hsb-muted: #5d6677;
    --hsb-line: #e6e9ef;
    --hsb-cream: #fffaf1;
    --hsb-panel: #ffffff;
    --hsb-navy: #10192b;
    --hsb-blue: #3157ff;
    --hsb-blue-dark: #223ed1;
    --hsb-gold: #ffc857;
    --hsb-green: #25b684;
    --hsb-radius: 24px;
    --hsb-shadow: 0 28px 80px rgba(16, 25, 43, 0.12);
}

body {
    background: #fbfcff;
    color: var(--hsb-ink);
}

.hsb-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(18, 23, 34, 0.08);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.hsb-header__inner,
.hsb-footer__inner {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.hsb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
}

.hsb-header .wp-block-site-title,
.hsb-header .wp-block-site-title a {
    color: var(--hsb-ink);
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.hsb-header__nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.hsb-header .wp-block-navigation {
    gap: 20px;
}

.hsb-header .wp-block-navigation a {
    color: var(--hsb-muted);
    font-weight: 700;
    text-decoration: none;
}

.hsb-header .wp-block-navigation a:hover,
.hsb-header .wp-block-navigation a:focus-visible {
    color: var(--hsb-blue);
}

.hsb-header .wp-block-button__link,
.hsb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--hsb-blue);
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(49, 87, 255, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hsb-header .wp-block-button__link {
    padding: 14px 18px;
    font-size: 0.94rem;
}

.hsb-button {
    padding: 17px 24px;
}

.hsb-button:hover,
.hsb-button:focus-visible,
.hsb-header .wp-block-button__link:hover,
.hsb-header .wp-block-button__link:focus-visible {
    background: var(--hsb-blue-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(49, 87, 255, 0.32);
}

.hsb-button--secondary {
    border: 1px solid rgba(18, 23, 34, 0.16);
    background: #ffffff;
    color: var(--hsb-ink);
    box-shadow: none;
}

.hsb-button--secondary:hover,
.hsb-button--secondary:focus-visible {
    border-color: rgba(49, 87, 255, 0.3);
    background: #eef2ff;
    color: var(--hsb-blue-dark);
    box-shadow: none;
}

.hsb-page {
    overflow: hidden;
}

.hsb-section,
.hsb-hero {
    padding-inline: 20px;
}

.hsb-wrap {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.hsb-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(76px, 10vw, 132px);
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 200, 87, 0.28), transparent 30%),
        radial-gradient(circle at 82% 12%, rgba(49, 87, 255, 0.26), transparent 34%),
        linear-gradient(135deg, #fffaf1 0%, #f6f8ff 48%, #eef3ff 100%);
}

.hsb-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
    gap: clamp(36px, 6vw, 78px);
    align-items: center;
}

.hsb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 14px;
    border: 1px solid rgba(49, 87, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--hsb-blue-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsb-hero h1 {
    max-width: 880px;
    margin: 0 0 24px;
    color: var(--hsb-ink);
    font-size: clamp(3rem, 7.4vw, 6.7rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.hsb-hero h1 span {
    color: var(--hsb-blue);
}

.hsb-lede {
    max-width: 720px;
    margin: 0 0 34px;
    color: #394253;
    font-size: clamp(1.13rem, 2vw, 1.45rem);
    line-height: 1.52;
}

.hsb-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hsb-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin: 32px 0 0;
    padding: 0;
    color: var(--hsb-muted);
    list-style: none;
}

.hsb-proof li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.hsb-proof li::before {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--hsb-green);
    content: "";
}

.hsb-chat-card {
    position: relative;
    padding: 24px;
    border: 1px solid rgba(18, 23, 34, 0.1);
    border-radius: 32px;
    background: var(--hsb-panel);
    box-shadow: var(--hsb-shadow);
}

.hsb-chat-card::before {
    position: absolute;
    inset: -14px -14px auto auto;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: var(--hsb-gold);
    content: "";
    transform: rotate(8deg);
    z-index: -1;
}

.hsb-chat-card__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--hsb-muted);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsb-message {
    margin: 0 0 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f2f5fb;
    color: #283244;
    line-height: 1.45;
}

.hsb-message--builder {
    margin-left: 24px;
    background: var(--hsb-navy);
    color: #ffffff;
}

.hsb-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.hsb-status span {
    padding: 12px;
    border-radius: 14px;
    background: #f7f8fb;
    color: var(--hsb-muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.hsb-section {
    padding-block: clamp(70px, 8vw, 112px);
}

.hsb-section--soft {
    background: #f6f8fc;
}

.hsb-section__header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.hsb-section__header h2,
.hsb-final h2 {
    margin: 0 0 14px;
    color: var(--hsb-ink);
    font-size: clamp(2rem, 4.4vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hsb-section__header p,
.hsb-muted {
    color: var(--hsb-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.hsb-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hsb-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hsb-card {
    padding: 28px;
    border: 1px solid var(--hsb-line);
    border-radius: var(--hsb-radius);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(16, 25, 43, 0.06);
}

.hsb-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--hsb-blue-dark);
    font-weight: 900;
}

.hsb-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.hsb-card p {
    margin: 0;
    color: var(--hsb-muted);
    line-height: 1.58;
}

.hsb-split {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.hsb-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsb-list li {
    padding: 18px 20px;
    border: 1px solid var(--hsb-line);
    border-radius: 18px;
    background: #ffffff;
    color: #30394b;
    font-weight: 700;
}

.hsb-compare-wrap {
    overflow-x: auto;
    border: 1px solid var(--hsb-line);
    border-radius: var(--hsb-radius);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(16, 25, 43, 0.06);
}

.hsb-compare {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.hsb-compare th,
.hsb-compare td {
    padding: 19px 22px;
    border-bottom: 1px solid var(--hsb-line);
    text-align: left;
    vertical-align: top;
}

.hsb-compare th {
    background: var(--hsb-navy);
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hsb-compare tr:last-child td {
    border-bottom: 0;
}

.hsb-compare td:first-child {
    font-weight: 800;
}

.hsb-section--pricing {
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 200, 87, 0.2), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.hsb-pricing .hsb-eyebrow {
    margin-bottom: 18px;
}

.hsb-pricing-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: center;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(49, 87, 255, 0.16);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: var(--hsb-shadow);
}

.hsb-pricing-card__label {
    display: block;
    margin-bottom: 12px;
    color: var(--hsb-muted);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsb-pricing-card__rate {
    margin: 0;
    color: var(--hsb-blue-dark);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
}

.hsb-pricing-card__rate span {
    color: var(--hsb-ink);
    font-size: clamp(4rem, 11vw, 7.5rem);
    line-height: 0.86;
}

.hsb-pricing-card__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsb-pricing-card__list li {
    position: relative;
    padding-left: 30px;
    color: #30394b;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.55;
}

.hsb-pricing-card__list li::before {
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--hsb-green);
    content: "";
}

.hsb-signup-pricing {
    max-width: 860px;
    margin: 0 auto 1.5rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border: 1px solid rgba(49, 87, 255, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(255, 200, 87, 0.22),
            transparent 32%
        ),
        #ffffff;
    box-shadow: 0 18px 48px rgba(16, 25, 43, 0.08);
    color: var(--hsb-ink);
}

.hsb-signup-pricing strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.hsb-signup-pricing p {
    margin: 0 0 1rem;
    color: #394253;
    font-size: 1rem;
    line-height: 1.6;
}

.hsb-signup-pricing ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsb-signup-pricing li {
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--hsb-blue-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

.hsb-final {
    position: relative;
    overflow: hidden;
    padding: clamp(46px, 8vw, 82px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 200, 87, 0.28), transparent 28%),
        linear-gradient(135deg, var(--hsb-navy), #18284a 70%);
    color: #ffffff;
    text-align: center;
}

.hsb-final h2 {
    color: #ffffff;
}

.hsb-final p {
    max-width: 660px;
    margin: 0 auto 28px;
    color: #dbe5ff;
    font-size: 1.15rem;
    line-height: 1.6;
}

.hsb-footer {
    border-top: 1px solid rgba(18, 23, 34, 0.08);
    background: #ffffff;
}

.hsb-footer__inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    padding-block: 56px 34px;
}

.hsb-footer .wp-block-site-title,
.hsb-footer .wp-block-site-title a {
    margin-bottom: 12px;
    color: var(--hsb-ink);
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
}

.hsb-footer p {
    color: var(--hsb-muted);
    line-height: 1.62;
}

.hsb-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.hsb-footer h3 {
    margin: 0 0 12px;
    color: var(--hsb-ink);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsb-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hsb-footer a {
    color: var(--hsb-muted);
    font-weight: 700;
    text-decoration: none;
}

.hsb-footer a:hover,
.hsb-footer a:focus-visible {
    color: var(--hsb-blue);
}

.hsb-footer__bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--hsb-line);
    color: var(--hsb-muted);
    font-size: 0.94rem;
}

@media (max-width: 960px) {
    .hsb-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .hsb-header__nav {
        width: 100%;
        justify-content: space-between;
    }

    .hsb-hero__grid,
    .hsb-split,
    .hsb-pricing-card,
    .hsb-footer__inner {
        grid-template-columns: 1fr;
    }

    .hsb-grid,
    .hsb-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .hsb-header__inner,
    .hsb-footer__inner {
        width: min(100% - 28px, 1180px);
    }

    .hsb-header__nav,
    .hsb-buttons,
    .hsb-proof {
        align-items: stretch;
        flex-direction: column;
    }

    .hsb-header .wp-block-navigation {
        width: 100%;
    }

    .hsb-header .wp-block-button,
    .hsb-header .wp-block-button__link,
    .hsb-button {
        width: 100%;
    }

    .hsb-hero h1 {
        font-size: clamp(2.55rem, 15vw, 4.3rem);
        letter-spacing: -0.07em;
    }

    .hsb-grid,
    .hsb-grid--three,
    .hsb-footer__links,
    .hsb-status {
        grid-template-columns: 1fr;
    }

    .hsb-card,
    .hsb-chat-card {
        padding: 22px;
    }
}
