/* Marketing-site-only styles (HearthTrades.Blazor). Loaded after _content/HearthTrades.UI/css/hearthtrades.css,
   so it can use every --ht-* token and the motion tokens. Anything the app (HearthTrades.Wasm) also needs
   belongs in hearthtrades.css. Used by the homepage and the database-driven /{trade}/{city} pages, which
   share every block below.

   Look: calm and trustworthy. White and soft gray bands, big plain type, real job photos with the app's own
   cards standing on them. No solid black blocks. Orange only on the call to action.
   Motion: the hero rises in once on load; nothing loops and nothing waits on scrolling. */

:root {
    --mk-radius: 28px;
}

/* In-page links (#how, #pros) glide to their section; the sticky-header offset is in hearthtrades.css. */
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    -webkit-font-smoothing: antialiased;
}

/* ---------- Small helpers ---------- */
.ht-muted { color: var(--color-text-muted); }
.ht-stack--xs { gap: 2px; }
.ht-stack--sm { gap: var(--ht-space-2); }
.ht-stack--xl { gap: clamp(32px, 4vw, 56px); }
.ht-measure { max-width: 640px; }
.ht-section { padding-block: clamp(72px, 10vw, 128px); }
.ht-section--flush-top { padding-top: 0; }

/* Used by the legal pages. */
.ht-display--page { font-size: clamp(36px, min(6vw, 7vh), 64px); }

.ht-link { text-decoration: underline; text-underline-offset: 3px; }

.ht-link-arrow {
    font-weight: 600;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-line-soft);
    text-underline-offset: 5px;
    transition: text-decoration-color var(--duration-normal) var(--ease-standard);
}

    .ht-link-arrow:hover { text-decoration-color: currentColor; }

.ht-mk-h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0;
    text-wrap: balance;
}

.ht-section-head {
    display: flex;
    flex-direction: column;
    gap: var(--ht-space-3);
    max-width: 680px;
}

    .ht-section-head .ht-body-lg { color: var(--color-text-muted); }

/* An arrow inside a button nudges right on hover: it shows where the button goes. */
.ht-btn svg { transition: transform var(--duration-normal) var(--ease-standard); }
.ht-btn:hover svg { transform: translateX(3px); }

/* ---------- Bands: every section is a full-width band with its own background ----------
   Each section must read as its own: gray bands get a hairline at both edges (the gray alone is very light),
   and two white sections in a row keep their full spacing with a hairline between them. */
.ht-band { padding-block: clamp(80px, 10vw, 128px); }
.ht-band--white { background: var(--color-bg); }

.ht-band--gray {
    background: var(--color-canvas);
    border-block: 1px solid var(--color-hairline);
}

.ht-band--white + .ht-band--white { padding-top: 0; }

    .ht-band--white + .ht-band--white > .ht-container {
        border-top: 1px solid var(--color-hairline);
        padding-top: clamp(80px, 10vw, 128px);
    }

/* ---------- Entrance: the hero rises in once, in order ---------- */
@keyframes ht-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.ht-rise { animation: ht-rise var(--duration-slow) var(--ease-standard) both; }
.ht-mk-hero__copy > .ht-rise:nth-child(2) { animation-delay: 60ms; }
.ht-mk-hero__copy > .ht-rise:nth-child(3) { animation-delay: 120ms; }
.ht-mk-hero__copy > .ht-rise:nth-child(4) { animation-delay: 180ms; }
.ht-mk-hero__media.ht-rise { animation-delay: 120ms; }

/* ---------- Hero: headline and request form left, photo and match card right ---------- */
.ht-mk-hero {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border-bottom: 1px solid var(--color-hairline);
}

.ht-mk-hero__grid {
    padding-block: clamp(24px, 3vw, 40px) clamp(48px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.ht-mk-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 560px;
    padding-top: clamp(0px, 2vw, 24px);
}

.ht-mk-hero__title {
    margin: 0;
    font-size: clamp(40px, 5.4vw, 72px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.ht-mk-hero__title--long {
    font-size: clamp(40px, 4.8vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.ht-mk-hero__lead {
    margin: 0;
    max-width: 500px;
    font-size: clamp(18px, 1.5vw, 20px);
    line-height: 1.5;
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.ht-mk-hero__media {
    position: relative;
    align-self: stretch;
    min-height: 480px;
    width: 100%;
}

.ht-mk-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--mk-radius);
}

/* ---------- Request form: the description box, then the button under it ---------- */
.ht-req-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 4px;
}

.ht-req {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.ht-req__field {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 22px;
    border-radius: 18px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    cursor: text;
    transition: border-color var(--duration-normal) var(--ease-standard);
}

    .ht-req__field:hover { border-color: var(--color-border-strong); }
    .ht-req__field:focus-within { border-color: var(--color-text); }

.ht-req__input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
}

    .ht-req__input:focus { box-shadow: none; }
    .ht-req__input::placeholder { color: var(--color-text-faint); }

/* ---------- Trust points: three checks in a row ---------- */
.ht-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
}

    .ht-points li { display: inline-flex; align-items: center; gap: 6px; }
    .ht-points svg { color: var(--color-success); }

/* ---------- Match card (stands over the hero photo) and tradesman rows ---------- */
.ht-match {
    position: absolute;
    left: clamp(-56px, -4vw, -24px);
    bottom: 32px;
    width: min(340px, 92%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: var(--shadow-float);
}

.ht-match__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ht-match__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.ht-match__tag {
    padding: 3px 9px;
    border-radius: var(--ht-radius-pill);
    background: var(--color-surface-soft);
    color: var(--color-text-muted);
    font-size: 11px;
    font-weight: 700;
}

.ht-match__req {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ht-match__status {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-success);
}

.ht-match__pros {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    /* The matches arrive one by one, once, after the card is in place. */
    .ht-match__pros .ht-pro { animation: ht-rise var(--duration-slow) var(--ease-standard) both; }
    .ht-match__pros .ht-pro:nth-child(1) { animation-delay: 420ms; }
    .ht-match__pros .ht-pro:nth-child(2) { animation-delay: 540ms; }
    .ht-match__pros .ht-pro:nth-child(3) { animation-delay: 660ms; }

.ht-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--color-surface);
    color: var(--color-text);
}

.ht-pro__avatar {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-text-inverse);
}

.ht-pro__avatar--a { background: #1F3A5F; }
.ht-pro__avatar--b { background: #8A4B2A; }
.ht-pro__avatar--c { background: #3D6B52; }

.ht-pro__who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ht-pro__name {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
}

.ht-pro__role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .ht-pro__role svg { flex: none; color: var(--color-success); }

.ht-pro__status {
    flex: none;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--color-surface-soft);
    color: var(--color-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.ht-pro__status--yes {
    background: var(--color-success-tint);
    color: var(--color-success);
}

/* ---------- Trade directory (homepage): a grid of tiles, one per trade ---------- */
.ht-section-head--center {
    align-items: center;
    text-align: center;
    margin-inline: auto;
}

/* Wrapping rows with the last one centered, so any number of trades looks deliberate. */
.ht-directory {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 1.6vw, 16px);
}

    .ht-directory > li { flex: 0 1 236px; min-width: min(200px, 100%); }

.ht-directory__tile {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    min-height: 76px;
    padding: 12px 16px 12px 12px;
    border-radius: 18px;
    background: var(--color-surface);
    border: 1px solid transparent;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color var(--duration-normal) var(--ease-standard),
                border-color var(--duration-normal) var(--ease-standard);
}

    .ht-directory__tile:hover {
        text-decoration: none;
        background: var(--color-bg);
        border-color: var(--color-border);
    }

    .ht-directory__tile:focus-visible { outline: var(--ht-focus); outline-offset: 2px; }

.ht-directory__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: var(--shadow-card);
}

.ht-directory__name {
    flex: 1;
    min-width: 0;
    font-size: 17px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.ht-directory__arrow {
    flex: none;
    color: var(--color-text-muted);
    transition: transform var(--duration-normal) var(--ease-standard), color var(--duration-normal) var(--ease-standard);
}

.ht-directory__tile:hover .ht-directory__arrow { transform: translateX(3px); color: var(--color-text); }

/* ---------- Tradesman call to action, compact (homepage): pitch left, what they get right ---------- */
.ht-pros-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 5vw, 64px);
    border-radius: 32px;
    background: var(--color-surface);
}

    /* The warm version uses the closing call-to-action panel's soft orange; its perks sit on white. */
    .ht-pros-cta--warm {
        background: var(--color-tint);
    }

        .ht-pros-cta--warm .ht-pros-cta__perk {
            background: var(--color-bg);
        }

    /* On a gray band the panel turns white, so it still stands out. */
    .ht-band--gray .ht-pros-cta {
        background: var(--color-bg);
        border: 1px solid var(--color-hairline);
    }

    .ht-band--gray .ht-pros-cta__perk {
        background: var(--color-surface);
    }

.ht-pros-cta__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ht-pros-cta__perk-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: var(--shadow-card);
}

.ht-pros-cta__perk-icon { width: 48px; height: 48px; border-radius: 14px; }

.ht-pros-cta__title {
    margin: 0;
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.ht-pros-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 12px;
}

.ht-pros-cta__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ht-pros-cta__perk {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 20px;
    background: var(--color-bg);
}

/* ---------- Plain hero (homepage): centered headline and form, no photo ---------- */
.ht-mk-hero--plain .ht-mk-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
}

.ht-mk-hero--plain .ht-mk-hero__copy {
    max-width: 760px;
    align-items: center;
    text-align: center;
    padding-top: 0;
}

.ht-mk-hero--plain .ht-mk-hero__title { font-size: clamp(44px, 7vw, 96px); }
.ht-mk-hero--plain .ht-mk-hero__lead { max-width: 560px; }
/* The form's wrapper spans the column, so the form can be wider than its own content. */
.ht-mk-hero--plain .ht-mk-hero__copy > .ht-rise:last-child { align-self: stretch; }
.ht-mk-hero--plain .ht-req { width: min(560px, 100%); max-width: none; margin-inline: auto; text-align: left; }
.ht-mk-hero--plain .ht-points { justify-content: center; }

/* ---------- How it works: three cards ---------- */
.ht-how {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.ht-how__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--mk-radius);
    background: var(--color-surface);
}

.ht-band--gray .ht-how__card { background: var(--color-card); }

.ht-how__visual {
    aspect-ratio: 5 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 2.6vw, 36px);
}

    .ht-how__visual .ht-job-card {
        width: 100%;
        border: 0;
        box-shadow: var(--shadow-card-hover);
    }

.ht-how__pros {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .ht-how__pros .ht-pro {
        background: var(--color-bg);
        box-shadow: var(--shadow-card);
    }

.ht-how__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 clamp(24px, 2.6vw, 32px) clamp(28px, 3vw, 36px);
}

.ht-how__n {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-text);
    color: var(--color-text-inverse);
    font-size: 14px;
    font-weight: 800;
}

.ht-how__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ht-how__body {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* The button under the steps, centered, with the reassurance beside it. */
.ht-how__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
}

/* Drawn request form (how it works, step one) */
.ht-mock-form {
    width: 100%;
    background: var(--color-bg);
    border-radius: var(--ht-radius-lg);
    box-shadow: var(--shadow-card-hover);
    padding: var(--ht-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ht-space-3);
}

.ht-mock-form__label { font-size: 13px; line-height: 18px; font-weight: 700; }

.ht-mock-form__field {
    border: 1px solid var(--color-text);
    border-radius: var(--ht-radius-md);
    padding: 10px 12px;
    font-size: 15px;
    line-height: 22px;
}

.ht-mock-form__row { display: flex; flex-wrap: wrap; gap: var(--ht-space-2); }

.ht-mock-form__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--ht-radius-pill);
    background: var(--color-surface-soft);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
}

/* ---------- Trust band: the checks, then three big figures ---------- */
.ht-trust-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.ht-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ht-check {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--color-hairline-strong);
}

    .ht-check:last-child { border-bottom: 1px solid var(--color-hairline-strong); }

.ht-check__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-soft);
    color: var(--color-text);
}

.ht-band--gray .ht-check__icon { background: var(--color-card); box-shadow: var(--shadow-card); }

.ht-check__text { display: flex; flex-direction: column; gap: 2px; }

.ht-check__title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
}

.ht-check__body {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-muted);
}

/* ---------- FAQ: heading on the left, questions on the right ---------- */
.ht-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.ht-faq-layout__head {
    position: sticky;
    top: calc(var(--ht-header-height) + var(--ht-space-6));
}

    .ht-faq-layout__head .ht-body-lg { color: var(--color-text-muted); }

.ht-faq-layout .ht-faq { border-color: var(--color-hairline-strong); }
.ht-faq-layout .ht-faq summary { padding-block: 22px; font-weight: 600; }
.ht-faq-layout .ht-faq__answer { color: var(--color-text-muted); }

/* ---------- Closing call to action: one dark panel ---------- */
.ht-finale { padding-block: 0 clamp(64px, 8vw, 104px); }

.ht-finale__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px);
    border-radius: 32px;
    background: var(--color-tint);
    color: var(--color-text);
    text-align: center;
}

.ht-finale__title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.ht-finale__body {
    margin: 0 0 8px;
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--color-text-muted);
}

/* The band before the panel keeps its own color; the panel sits on white. */
.ht-band--gray + .ht-finale { padding-top: clamp(64px, 8vw, 104px); }

/* The tradesmen panel follows the closing panel directly; the panel's own spacing is enough. */
.ht-finale + .ht-band--white { padding-top: 0; }

/* ---------- Related pages (trade/city pages): same trade elsewhere, other trades here ---------- */
.ht-related { padding-block: clamp(48px, 6vw, 72px); }

.ht-related__group { display: flex; flex-direction: column; gap: var(--ht-space-4); }

.ht-related__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ht-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ht-related__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--color-bg);
    border: 1px solid var(--color-hairline);
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    transition: border-color var(--duration-normal) var(--ease-standard);
}

    .ht-related__link:hover { text-decoration: none; border-color: var(--color-border-strong); }
    .ht-related__link:focus-visible { outline: var(--ht-focus); outline-offset: 2px; }
    .ht-related__link svg { flex: none; color: var(--color-text-muted); }

/* ---------- About page: the mission in big type, three beliefs, a word to each audience ---------- */
.ht-mission {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border-bottom: 1px solid var(--color-hairline);
}

.ht-mission__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-block: clamp(64px, 10vw, 136px);
}

.ht-mission__title {
    margin: 0;
    max-width: 15ch;
    font-size: clamp(44px, 7vw, 96px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.ht-mission__lead {
    margin: 0;
    max-width: 600px;
    font-size: clamp(18px, 1.6vw, 21px);
    line-height: 1.55;
    color: var(--color-text-muted);
    text-wrap: pretty;
}

.ht-beliefs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.ht-belief {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(24px, 3vw, 32px);
    border-radius: 28px;
    background: var(--color-bg);
    border: 1px solid var(--color-hairline);
    box-shadow: var(--shadow-card);
}

    .ht-belief p {
        margin: 0;
        font-size: 16px;
        line-height: 1.6;
        color: var(--color-text-muted);
    }

.ht-belief__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 8px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-soft);
    color: var(--color-text);
}

.ht-belief__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* The figure that backs the belief up, pinned to the bottom so the three cards line up. */
.ht-belief__proof {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--color-hairline);
    display: flex;
    align-items: center;
    gap: 14px;
}

.ht-belief__figure {
    flex: none;
    min-width: 2.2ch;
    font-size: clamp(44px, 4.4vw, 60px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
    font-variant-numeric: tabular-nums;
}

.ht-belief__figure--accent { color: var(--color-cta); }

.ht-belief__label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.ht-about-audiences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 6vw, 96px);
}

.ht-about-audience {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

    .ht-about-audience p {
        margin: 0;
        max-width: 460px;
        font-size: 17px;
        line-height: 27px;
        color: var(--color-text-muted);
    }

.ht-about-audience__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-soft);
    color: var(--color-text);
}

.ht-about-audience__title {
    margin: 0;
    font-size: 26px;
    line-height: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

@media (max-width: 900px) {
    .ht-beliefs,
    .ht-about-audiences { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion off: everything is simply there ---------- */
@media (prefers-reduced-motion: reduce) {
    .ht-rise,
    .ht-match__pros .ht-pro { animation: none; }

    .ht-btn:hover svg,
    .ht-directory__tile:hover .ht-directory__arrow { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .ht-mk-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .ht-mk-hero__copy { max-width: 600px; }
    .ht-mk-hero__media { align-self: auto; aspect-ratio: 4 / 3; min-height: 0; }
    .ht-match { left: 16px; bottom: 16px; }

    .ht-trust-head { grid-template-columns: minmax(0, 1fr); }

    .ht-how { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

@media (max-width: 900px) {
    .ht-pros-cta { grid-template-columns: minmax(0, 1fr); }
    .ht-faq-layout { grid-template-columns: minmax(0, 1fr); }
    .ht-faq-layout__head { position: static; }
}

@media (max-width: 640px) {
    .ht-mk-hero__grid { padding-block: 16px 40px; gap: 28px; }
    .ht-mk-hero__copy { gap: 16px; }
    .ht-mk-hero__media { aspect-ratio: auto; height: 460px; }
    .ht-mk-hero__photo { border-radius: 20px; }
    .ht-match { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; }
    .ht-req__field { height: 58px; padding: 0 18px; }


    .ht-how__card { border-radius: 22px; }
    .ht-pros-cta__actions .ht-btn,
    .ht-how__cta .ht-btn { width: 100%; }
    .ht-how__cta { flex-direction: column; text-align: center; }
    .ht-directory > li { flex-basis: calc(50% - 8px); min-width: 0; }
    .ht-directory__tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .ht-directory__arrow { display: none; }
    .ht-finale__panel { border-radius: 24px; }
    .ht-finale__panel .ht-btn { width: 100%; }
}

/* ---------- Legal and text pages ---------- */
.ht-legal {
    max-width: 760px;
}

    .ht-legal > .ht-display {
        margin-bottom: var(--ht-space-4);
    }

    .ht-legal h2 {
        font-size: 28px;
        line-height: 34px;
        font-weight: 800;
        letter-spacing: -0.02em;
        margin: var(--ht-space-7) 0 var(--ht-space-3);
    }

    .ht-legal h3 {
        font-size: 20px;
        line-height: 26px;
        font-weight: 700;
        margin: var(--ht-space-5) 0 var(--ht-space-2);
    }

    .ht-legal p,
    .ht-legal ul {
        margin: 0 0 var(--ht-space-4);
        font-size: 16px;
        line-height: 26px;
    }

    .ht-legal > .ht-eyebrow,
    .ht-legal > .ht-label-text {
        margin-bottom: var(--ht-space-1);
    }

    .ht-legal > .ht-body-lg {
        margin-top: var(--ht-space-5);
        font-size: 18px;
        line-height: 28px;
    }

    .ht-legal ul {
        padding-left: var(--ht-space-5);
    }

    .ht-legal li + li {
        margin-top: var(--ht-space-2);
    }

    .ht-legal a:not(.ht-btn) {
        text-decoration: underline;
    }
