/*
 * Honey brand system for the customer portal.
 * Mirrors honeylegal.co.uk (tokens taken from its live app.css) so moving between the
 * website and my.honeylegal.co.uk feels seamless.
 * Design + rationale: docs/superpowers/specs/2026-11-24-portal-brand-redesign-design.md
 *
 * Sections: 1 fonts · 2 tokens · 3 base · 4 layout · 5 header · 6 hero · 7 type · 8 buttons
 *           9 forms · 10 feedback · 11 cards & panels · 12 hexagons · 13 journey components
 *           14 help band & footer · 15 Bootstrap safety net · 16 utilities · 17 responsive · 18 print
 */

/* 1 ─ Fonts ───────────────────────────────────────────────────────────── */
@font-face {
    font-family: "museo-sans";
    font-style: normal;
    font-weight: 100 400; /* 300 face also serves "normal" so Bootstrap's 400 never falls to 500 */
    font-display: swap;
    src: url("/Content/fonts/MuseoSans_300-webfont.woff2") format("woff2"),
         url("/Content/fonts/MuseoSans_300-webfont.woff") format("woff");
}

@font-face {
    font-family: "museo-sans";
    font-style: normal;
    font-weight: 500 900; /* the repo ships no 700; bold maps to 500 instead of a synthetic bold */
    font-display: swap;
    src: url("/Content/fonts/MuseoSans_500-webfont.woff") format("woff"),
         url("/Content/fonts/MuseoSans_500-webfont.ttf") format("truetype");
}

/* 2 ─ Tokens ──────────────────────────────────────────────────────────── */
:root {
    --hl-orange: #ee8900;
    --hl-orange-deep: #d47a00;
    --hl-orange-tint: #fdf0dc;
    --hl-orange-wash: #fdf6ea;
    --hl-yellow: #f9ca23;
    --hl-teal: #028aa5;
    --hl-teal-deep: #016a7f;
    --hl-teal-tint: #e0f1f5;
    --hl-green: #6fb24a;
    --hl-green-deep: #3d6b22;
    --hl-green-tint: #e8f3e1;
    --hl-danger: #c4432d;
    --hl-danger-deep: #8a2a17;
    --hl-danger-tint: #fbe6e2;
    --hl-charcoal: #242321;
    --hl-charcoal-deep: #1a1917;
    --hl-ink: #13110e;
    --hl-body: #666666;
    --hl-muted: #8a8a8a;
    --hl-stone: #aaa2a2;
    --hl-mist: #f3f2f2;
    --hl-field: #fafafa;
    --hl-line: #dbd7d7;
    --hl-border: #e6e6e6;
    --hl-sunrise: linear-gradient(90deg, #f9ca23, #ee8900);
    --hl-fresh: linear-gradient(90deg, #028aa5, #6fb24a);
    --hl-shadow-sm: 0 6px 20px rgba(19, 17, 14, 0.06);
    --hl-shadow: 0 14px 40px rgba(19, 17, 14, 0.08);
    --hl-shadow-lg: 0 20px 50px rgba(19, 17, 14, 0.16);
    --hl-radius: 4px;
    --hl-pill: 30px;
    --hl-container: 1172px;
    --hl-gutter: 24px;
    --hl-font: "museo-sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --hl-script: "SegoeScript", "Segoe Script", "Bradley Hand", cursive;
    --hl-hex-mask: url("/Content/images/brand/hex-mask.svg");
}

/* 3 ─ Base ────────────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding: 0;
    font-family: var(--hl-font) !important;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--hl-body);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

table { font-family: var(--hl-font) !important; font-weight: 300; }

h1, h2, h3, h4, h5, h6 { font-family: var(--hl-font); font-weight: 300; line-height: 1.15; }
h1, h2 { color: var(--hl-orange); }
h1 { font-size: 42px; }
h2 { font-size: 35px; }
h3 { font-size: 26px; color: var(--hl-teal); }
h4 { font-size: 21px; color: var(--hl-ink); }
h5 { font-size: 17px; color: var(--hl-ink); font-weight: 500; }
h6 { font-size: 15px; color: var(--hl-ink); font-weight: 500; }

strong, b { font-weight: 500; }
a { color: var(--hl-teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--hl-ink); }
img { max-width: 100%; }
::selection { background: #fde2bb; color: var(--hl-ink); }

:focus-visible { outline: 3px solid rgba(238, 137, 0, 0.5); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

.hl-skip {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: #ffffff; color: var(--hl-ink); padding: 10px 18px; border-radius: var(--hl-pill);
    box-shadow: var(--hl-shadow); text-decoration: none; transition: top 0.15s ease;
}
.hl-skip:focus { top: 12px; }

/* 4 ─ Layout ──────────────────────────────────────────────────────────── */
.hl-container {
    width: 100%;
    max-width: var(--hl-container);
    margin: 0 auto;
    padding: 0 var(--hl-gutter);
    box-sizing: border-box;
}

.hl-page { padding-top: 80px; padding-bottom: 104px; }
.hl-page--tight { padding-top: 64px; }

.hl-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 64px;
}

.hl-sidebar {
    flex: 1 1 240px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.hl-main {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.hl-main--narrow { max-width: 760px; }
.hl-section { display: flex; flex-direction: column; gap: 20px; }
.hl-section > * { margin-top: 0; margin-bottom: 0; }

.hl-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.hl-split > * { flex: 1 1 380px; min-width: 0; }

.hl-band { background: var(--hl-mist); }
.hl-band > .hl-container { padding-top: 88px; padding-bottom: 88px; }

/* 5 ─ Header ──────────────────────────────────────────────────────────── */
.hl-header {
    position: relative;
    z-index: 20;
    min-height: 102px;
    padding: 0 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: #ffffff;
    box-sizing: border-box;
}

.hl-header__logo { display: flex; align-items: center; padding: 24px 0; flex: none; }
.hl-header__logo img { width: 124px; height: auto; display: block; }

.hl-nav { display: flex; align-items: center; gap: 42px; margin-left: 80px; }
.hl-nav a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    position: relative;
}
.hl-nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 4px;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.hl-nav a:hover { color: #ffffff; }
.hl-nav a:hover::after { transform: scaleX(1); }

.hl-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.hl-burger {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: transparent; border: 0; padding: 0; color: #ffffff; cursor: pointer;
    border-radius: 50%;
}
.hl-burger svg { width: 24px; height: 24px; }
.hl-burger .hl-burger__close { display: none; }
.hl-header.is-open .hl-burger .hl-burger__open { display: none; }
.hl-header.is-open .hl-burger .hl-burger__close { display: block; }

.hl-icon-btn {
    width: 44px; height: 44px; border-radius: 50%;
    display: none; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.2); color: #ffffff;
}
.hl-icon-btn svg { width: 18px; height: 18px; }
.hl-icon-btn:hover { background: rgba(255, 255, 255, 0.32); color: #ffffff; }

/* header without a hero (e.g. NoHeader pages that still want chrome) */
.hl-header--solid { background: var(--hl-fresh); }

/* 6 ─ Hero ────────────────────────────────────────────────────────────── */
.hl-hero {
    position: relative;
    isolation: isolate;
    color: #ffffff;
}

.hl-hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: var(--hl-orange); }
.hl-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hl-hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--hl-sunrise); opacity: 0.92; }
.hl-hero--fresh .hl-hero__bg { background: var(--hl-teal); }
.hl-hero--fresh .hl-hero__bg::after { background: var(--hl-fresh); }
/* legacy views that still send a .jumbotron-green get the fresh gradient */
.hl-hero:has(.jumbotron-green) .hl-hero__bg::after { background: var(--hl-fresh); }

.hl-hero__body {
    padding: 36px 0 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.hl-hero__body--tall { padding: 56px 0 96px; }
.hl-hero__body > * { margin: 0; }

.hl-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--hl-pill);
    padding: 6px 14px;
    font-size: 13px; line-height: 1.3; color: #ffffff;
}
.hl-eyebrow svg { width: 14px; height: 14px; flex: none; }

.hl-hero__title {
    margin: 0;
    font-weight: 300;
    font-size: 42px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 820px;
    overflow-wrap: anywhere;
}
.hl-hero__title--xl { font-size: 48px; }

.hl-hero__sub {
    margin: 0;
    font-size: 18px;
    line-height: 26px;
    color: #ffffff;
    max-width: 640px;
}
.hl-hero__sub--lg { font-size: 22px; line-height: 32px; }

.hl-hero__hex {
    position: absolute;
    right: max(var(--hl-gutter), calc((100% - var(--hl-container)) / 2 + var(--hl-gutter)));
    bottom: -56px;
    width: 236px;
    z-index: 2;
}

.hl-hero__split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.hl-hero__split > .hl-hero__body { flex: 1 1 440px; max-width: 580px; }

/* legacy @section jumbotron markup rendered inside the hero */
.hl-hero .jumbotron {
    background: none !important;
    margin: 0;
    padding: 36px 0 72px;
    border-radius: 0;
    color: #ffffff;
    font-weight: 300;
}
.hl-hero .jumbotron > .container,
.hl-hero .jumbotron > .container-fluid { max-width: var(--hl-container); padding: 0 var(--hl-gutter); }
.hl-hero .jumbotron h1,
.hl-hero .jumbotron h2 {
    color: #ffffff; font-family: var(--hl-font); font-weight: 300;
    font-size: 42px; line-height: 1.1; text-transform: uppercase; margin: 0 0 14px;
}
.hl-hero .jumbotron p,
.hl-hero .jumbotron .lead { color: #ffffff; font-size: 18px; line-height: 26px; font-weight: 300; margin: 0; max-width: 640px; }

/* 7 ─ Type ────────────────────────────────────────────────────────────── */
.hl-h2 { margin: 0; font-weight: 300; font-size: 35px; line-height: 1.1; color: var(--hl-orange); }
.hl-h2--caps { text-transform: uppercase; }
.hl-h3 { margin: 0; font-weight: 300; font-size: 26px; line-height: 32px; color: var(--hl-teal); }
.hl-h3--ink { color: var(--hl-ink); }
.hl-h4 { margin: 0; font-weight: 300; font-size: 22px; line-height: 28px; color: var(--hl-ink); }
.hl-h5 { margin: 0; font-weight: 500; font-size: 17px; line-height: 20px; color: #000000; }
.hl-lead { margin: 0; font-size: 18px; line-height: 28px; color: var(--hl-teal); }
.hl-p { margin: 0; font-size: 16px; line-height: 24px; }
.hl-small { font-size: 13px; line-height: 19px; }
.hl-caps-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hl-teal); font-weight: 500; line-height: 1.3; }
.hl-ink { color: var(--hl-ink); }
.hl-muted { color: var(--hl-muted); }
.hl-accent { color: var(--hl-orange); }
.hl-nowrap { white-space: nowrap; }
.hl-break { overflow-wrap: anywhere; }
.hl-prose { font-size: 16px; line-height: 24px; }
.hl-prose > * + * { margin-top: 14px; }
.hl-prose p, .hl-prose ul, .hl-prose ol { margin-bottom: 0; }
.hl-prose ul, .hl-prose ol { padding-left: 22px; }
.hl-prose li + li { margin-top: 6px; }

/* 8 ─ Buttons ─────────────────────────────────────────────────────────── */
.hl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: var(--hl-pill);
    padding: 9px 30px;
    font-family: var(--hl-font);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.hl-btn svg { width: 16px; height: 16px; flex: none; }
.hl-btn:active { transform: translateY(1px); }

.hl-btn--primary { background: var(--hl-orange); border-color: var(--hl-orange); color: #ffffff; }
.hl-btn--primary:hover, .hl-btn--primary:focus { background: var(--hl-orange-deep); border-color: var(--hl-orange-deep); color: #ffffff; box-shadow: 0 8px 18px rgba(238, 137, 0, 0.28); }

.hl-btn--outline { background: transparent; border-color: var(--hl-orange); color: var(--hl-orange); }
.hl-btn--outline:hover, .hl-btn--outline:focus { background: var(--hl-orange); color: #ffffff; }

.hl-btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: #ffffff; }
.hl-btn--outline-light:hover, .hl-btn--outline-light:focus { background: #ffffff; border-color: #ffffff; color: var(--hl-orange); }

.hl-btn--ghost-light { background: rgba(255, 255, 255, 0.2); border-color: transparent; color: #ffffff; }
.hl-btn--ghost-light:hover, .hl-btn--ghost-light:focus { background: rgba(255, 255, 255, 0.32); color: #ffffff; }

.hl-btn--white { background: #ffffff; border-color: #ffffff; color: var(--hl-orange); }
.hl-btn--white:hover, .hl-btn--white:focus { background: var(--hl-orange-wash); border-color: var(--hl-orange-wash); color: var(--hl-orange-deep); }

.hl-btn--neutral { background: #ffffff; border: 1px solid var(--hl-line); padding: 10px 26px; color: var(--hl-ink); }
.hl-btn--neutral:hover, .hl-btn--neutral:focus { border-color: var(--hl-ink); color: var(--hl-ink); }

.hl-btn--quiet {
    background: none; border: 0; padding: 10px 6px; color: var(--hl-body);
    text-decoration: underline !important; text-underline-offset: 3px;
}
.hl-btn--quiet:hover, .hl-btn--quiet:focus { color: var(--hl-ink); }

.hl-btn--lg { padding: 11px 38px; font-size: 15px; }
.hl-btn--block { display: flex; width: 100%; }

.hl-btn[disabled], .hl-btn.is-disabled, .hl-btn[aria-disabled="true"] {
    background: var(--hl-line) !important; border-color: var(--hl-line) !important; color: #ffffff !important;
    box-shadow: none !important; cursor: not-allowed; transform: none;
}
.hl-btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.hl-btn.is-busy::after {
    content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5); border-top-color: #ffffff;
    animation: hl-spin 0.7s linear infinite;
}

.hl-link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--hl-teal); text-decoration: none; }
.hl-link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.hl-link-arrow:hover svg { transform: translateX(3px); }

.hl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

/* 9 ─ Forms ───────────────────────────────────────────────────────────── */
.hl-form { display: flex; flex-direction: column; gap: 22px; }
.hl-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 20px; }
.hl-form-grid--name { grid-template-columns: 150px repeat(2, minmax(0, 1fr)); }
.hl-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hl-fieldset > legend { padding: 0; margin: 0 0 4px; font-size: 18px; line-height: 1.35; color: var(--hl-ink); }
.hl-fieldset__head { display: flex; flex-direction: column; gap: 6px; }

.hl-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.hl-label { font-size: 14px; font-weight: 500; color: var(--hl-ink); line-height: 1.35; margin: 0; }
.hl-label .hl-optional { font-weight: 300; color: var(--hl-muted); }
.hl-hint { font-size: 13px; line-height: 19px; color: var(--hl-body); margin: 0; }

.hl-input,
.hl-field .form-control,
.hl-form .form-control {
    display: block;
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    background: var(--hl-field);
    border: 1px solid var(--hl-line);
    border-radius: 3px;
    padding: 0 18px;
    font-family: var(--hl-font);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    color: var(--hl-ink);
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
textarea.hl-input, .hl-field textarea.form-control { height: auto; min-height: 120px; padding: 14px 18px; line-height: 22px; resize: vertical; }
.hl-input::placeholder, .hl-field .form-control::placeholder { color: #a7a19c; font-weight: 300; opacity: 1; }
.hl-input:focus,
.hl-field .form-control:focus,
.hl-form .form-control:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--hl-orange);
    box-shadow: 0 0 0 3px rgba(238, 137, 0, 0.18);
}
.hl-input--lg { height: 58px; font-size: 20px; padding: 0 20px; }
.hl-input--code { letter-spacing: 4px; text-transform: uppercase; }
.hl-input--money { padding-left: 36px; font-size: 18px; }
.hl-money { position: relative; }
.hl-money::before { content: "\00A3"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 500; color: var(--hl-ink); pointer-events: none; }

select.hl-input,
.hl-field select.form-control {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ee8900' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
}

.input-validation-error,
.hl-input.input-validation-error { border-color: var(--hl-danger) !important; background-color: #fffaf8 !important; }
.input-validation-error:focus { box-shadow: 0 0 0 3px rgba(196, 67, 45, 0.18) !important; }
.field-validation-error,
.hl-error { color: var(--hl-danger) !important; font-weight: 300 !important; font-size: 13px; line-height: 19px; }
.field-validation-valid { display: none; }

.hl-check {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15px; line-height: 22px; color: var(--hl-ink); cursor: pointer; margin: 0;
}
.hl-check input[type="checkbox"], .hl-check input[type="radio"] {
    width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--hl-orange); cursor: pointer;
}
.hl-check .hl-hint { display: block; margin-top: 2px; }

.hl-radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.hl-radio-card {
    display: flex; align-items: center; gap: 12px; margin: 0;
    border: 1px solid var(--hl-line); background: var(--hl-field); border-radius: var(--hl-radius);
    padding: 15px 17px; font-size: 15px; line-height: 1.35; color: var(--hl-ink); cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.hl-radio-card:hover { border-color: #c4bdb7; }
.hl-radio-card input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--hl-orange); }
.hl-radio-card:has(input:checked) { border: 2px solid var(--hl-orange); padding: 14px 16px; background: var(--hl-orange-wash); }
.hl-radio-card:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(238, 137, 0, 0.25); }

/* hexagon 1–5 rating (progressively enhances a bound <select>) */
.hl-rating { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.hl-rating__option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; cursor: pointer; margin: 0; }
.hl-rating__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hl-rating__hex { position: relative; width: 70px; aspect-ratio: 293 / 261.7; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--hl-muted); transition: transform 0.15s ease; }
.hl-rating__hex::before,
.hl-rating__hex::after {
    content: ""; position: absolute; z-index: 0;
    -webkit-mask: var(--hl-hex-mask) center / 100% 100% no-repeat; mask: var(--hl-hex-mask) center / 100% 100% no-repeat;
}
.hl-rating__hex::before { inset: 0; background: var(--hl-line); }
.hl-rating__hex::after { inset: 4px 4.5px; background: #ffffff; }
.hl-rating__hex span { position: relative; z-index: 1; }
.hl-rating__text { font-size: 13px; line-height: 1.3; text-align: center; }
.hl-rating__option:hover .hl-rating__hex { transform: translateY(-2px); }
.hl-rating__option:hover .hl-rating__hex::before { background: #f2b65c; }
.hl-rating__option input:checked + .hl-rating__hex { color: #ffffff; font-weight: 500; }
.hl-rating__option input:checked + .hl-rating__hex::before { background: var(--hl-sunrise); }
.hl-rating__option input:checked + .hl-rating__hex::after { display: none; }
.hl-rating__option input:checked ~ .hl-rating__text { color: var(--hl-ink); font-weight: 500; }
.hl-rating__option input:focus-visible + .hl-rating__hex::before { background: var(--hl-teal); }

/* 10 ─ Feedback (alerts, chips) ───────────────────────────────────────── */
.hl-alert,
.validation-summary-errors {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--hl-radius);
    font-size: 15px;
    line-height: 22px;
    margin: 0;
}
.hl-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.hl-alert > div > * + * { margin-top: 4px; }
.hl-alert--info { background: var(--hl-teal-tint); color: #015d70; }
.hl-alert--success { background: #eef6e9; color: #2f5a1c; }
.hl-alert--warning { background: var(--hl-orange-tint); color: #5c3600; }
.hl-alert--danger { background: var(--hl-danger-tint); color: var(--hl-danger-deep); }
.hl-alert .close { margin-left: auto; color: inherit; opacity: 0.7; background: none; border: 0; font-size: 22px; line-height: 1; padding: 0 2px; }

.validation-summary-errors {
    display: block;
    background: var(--hl-danger-tint) !important;
    color: var(--hl-danger-deep) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    border-left: 0;
}
.validation-summary-errors span { display: block; }
.validation-summary-errors ul { margin: 8px 0 0 !important; padding-left: 20px !important; font-size: 14px !important; list-style: disc !important; }
.validation-summary-errors li { color: var(--hl-danger-deep) !important; font-weight: 300 !important; padding-bottom: 2px !important; }
.validation-summary-valid { display: none; }

.hl-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: var(--hl-pill);
    font-size: 13px; font-weight: 500; line-height: 1.25; white-space: nowrap;
    background: var(--hl-mist); color: #595752;
}
.hl-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.hl-chip--progress { background: var(--hl-teal-tint); color: var(--hl-teal-deep); }
.hl-chip--done { background: var(--hl-green-tint); color: var(--hl-green-deep); }
.hl-chip--action { background: var(--hl-orange-tint); color: #8a4f00; }
.hl-chip--hold { background: var(--hl-danger-tint); color: #a3361f; }
.hl-chip--muted { background: var(--hl-mist); color: #595752; }

/* 11 ─ Cards & panels ─────────────────────────────────────────────────── */
.hl-card {
    background: #ffffff;
    border: 1px solid var(--hl-border);
    border-radius: var(--hl-radius);
    overflow: hidden;
}
.hl-card--raised { box-shadow: var(--hl-shadow); }
.hl-card--soft { box-shadow: var(--hl-shadow-sm); }
.hl-card__strip { height: 5px; background: var(--hl-sunrise); }
.hl-card__strip--fresh { background: var(--hl-fresh); }
.hl-card__body { padding: 32px 36px; display: flex; flex-direction: column; gap: 22px; }
.hl-card__body--roomy { padding: 44px; }
.hl-card__foot {
    background: var(--hl-mist);
    border-top: 1px solid var(--hl-border);
    padding: 24px 36px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 18px;
}
.hl-card__foot--warm { background: var(--hl-orange-wash); border-top-color: #f6dfb8; }
.hl-card__foot--success { background: #eef6e9; border-top-color: #d3e8c6; color: #2f5a1c; justify-content: flex-start; }
.hl-card__foot--info { background: var(--hl-teal-tint); border-top-color: #bfe1ea; color: #015d70; justify-content: flex-start; }
.hl-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.hl-panel { background: var(--hl-mist); border-radius: var(--hl-radius); padding: 28px 32px; }
.hl-panel--warm { background: var(--hl-orange-wash); }

.hl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hl-tile {
    background: #ffffff; border: 1px solid var(--hl-border); border-radius: var(--hl-radius);
    box-shadow: var(--hl-shadow-sm); padding: 20px 22px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0;
}
.hl-tile__value { font-size: 24px; line-height: 1.2; color: var(--hl-ink); overflow-wrap: anywhere; }

.hl-list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hl-list-check li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.hl-list-check li::before {
    content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fb24a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hl-link-list { display: flex; flex-direction: column; }
.hl-link-list a {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--hl-border); text-decoration: none;
}
.hl-link-list a:last-child { border-bottom: 1px solid var(--hl-border); }
.hl-link-list__title { font-size: 16px; color: var(--hl-orange); display: block; }
.hl-link-list__text { font-size: 14px; line-height: 20px; color: var(--hl-body); display: block; margin-top: 4px; }
.hl-link-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hl-orange); transition: transform 0.15s ease; }
.hl-link-list a:hover svg { transform: translateX(3px); }

/* 12 ─ Hexagons ───────────────────────────────────────────────────────── */
.hl-hex { position: relative; display: block; aspect-ratio: 293 / 261.7; }
.hl-hex__img,
.hl-hex__fill {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
    -webkit-mask: var(--hl-hex-mask) center / 100% 100% no-repeat; mask: var(--hl-hex-mask) center / 100% 100% no-repeat;
}
.hl-hex__ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hl-hexfill {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    aspect-ratio: 293 / 261.7; width: 48px; color: #ffffff; font-weight: 500;
    -webkit-mask: var(--hl-hex-mask) center / 100% 100% no-repeat; mask: var(--hl-hex-mask) center / 100% 100% no-repeat;
    background: var(--hl-orange);
}
.hl-hexfill svg { width: 42%; height: auto; }
.hl-hexfill--sunrise { background: var(--hl-sunrise); }
.hl-hexfill--fresh { background: var(--hl-fresh); }
.hl-hexfill--danger { background: var(--hl-danger); }
.hl-hexfill--grey { background: var(--hl-line); }
.hl-hexfill--outline { position: relative; background: var(--hl-line); color: var(--hl-stone); font-weight: 300; }
.hl-hexfill--outline::after {
    content: ""; position: absolute; inset: 7% 6.5%; background: #ffffff;
    -webkit-mask: var(--hl-hex-mask) center / 100% 100% no-repeat; mask: var(--hl-hex-mask) center / 100% 100% no-repeat;
}
.hl-hexfill--outline > * { position: relative; z-index: 1; }
.hl-hexfill--xs { width: 32px; font-size: 13px; }
.hl-hexfill--sm { width: 40px; font-size: 15px; }
.hl-hexfill--md { width: 52px; }
.hl-hexfill--lg { width: 96px; }
.hl-hexfill--xl { width: 120px; }

.hl-avatar {
    display: block; flex: none; width: 64px; aspect-ratio: 293 / 261.7; background: var(--hl-mist);
    -webkit-mask: var(--hl-hex-mask) center / 100% 100% no-repeat; mask: var(--hl-hex-mask) center / 100% 100% no-repeat;
}
.hl-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-avatar--sm { width: 40px; }
.hl-avatar--md { width: 64px; }

.hl-person { display: flex; align-items: center; gap: 14px; }
.hl-person__name { font-size: 16px; color: var(--hl-ink); line-height: 1.3; display: block; }
.hl-person__role { font-size: 13px; line-height: 1.35; display: block; }

.hl-collage { position: relative; width: 470px; height: 430px; flex: none; }
.hl-collage .hl-hex { position: absolute; }
.hl-collage .hl-hex:nth-child(1) { left: 0; top: 110px; width: 210px; }
.hl-collage .hl-hex:nth-child(2) { right: 0; top: 0; width: 300px; }
.hl-collage .hl-hex:nth-child(3) { left: 160px; top: 260px; width: 190px; }

/* 13 ─ Journey components ─────────────────────────────────────────────── */
/* Stepper (case tracker) */
.hl-stepper { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.hl-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 6px; }
.hl-step::after { content: ""; position: absolute; top: 25px; left: 50%; width: 100%; height: 3px; border-radius: 2px; background: var(--hl-line); }
.hl-step:last-child::after { display: none; }
.hl-step--done::after { background: var(--hl-sunrise); }
.hl-step__marker { position: relative; z-index: 1; }
.hl-step__marker .hl-hexfill { width: 58px; }
.hl-step__text { display: flex; flex-direction: column; gap: 3px; }
.hl-step__label { font-size: 16px; line-height: 20px; color: var(--hl-ink); }
.hl-step__meta { font-size: 13px; line-height: 17px; }
.hl-step--current .hl-step__meta { color: var(--hl-teal); }
.hl-step--hold .hl-step__meta { color: var(--hl-danger); }
.hl-step--upcoming .hl-step__label { color: var(--hl-muted); }
.hl-pulse {
    width: 14px; height: 14px; border-radius: 50%; background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); animation: hl-pulse 1.8s ease-out infinite;
}

.hl-update { display: flex; gap: 22px; align-items: flex-start; border-top: 4px solid var(--hl-teal); }
.hl-update--hold { border-top-color: var(--hl-danger); }
.hl-update--done { border-top-color: var(--hl-green); }
.hl-update--muted { border-top-color: var(--hl-stone); }
.hl-update--action { border-top-color: var(--hl-orange); }
.hl-update__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hl-update__body > * { margin: 0; }

/* Appointment details */
.hl-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 32px; }
.hl-detail { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.hl-detail__icon {
    width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--hl-orange-tint);
    display: flex; align-items: center; justify-content: center; color: var(--hl-orange);
}
.hl-detail__icon svg { width: 20px; height: 20px; }
.hl-detail__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-detail__label { font-size: 13px; line-height: 1.3; }
.hl-detail__value { font-size: 20px; line-height: 26px; color: var(--hl-ink); overflow-wrap: anywhere; }

.hl-icon-circle {
    width: 48px; height: 48px; flex: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--hl-teal-tint); color: var(--hl-teal);
}
.hl-icon-circle svg { width: 22px; height: 22px; }
.hl-icon-circle--warm { background: var(--hl-orange-tint); color: var(--hl-orange); }

.hl-tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.hl-tip { background: var(--hl-mist); border-radius: var(--hl-radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.hl-tip__title { font-size: 18px; color: var(--hl-ink); line-height: 1.3; }

.hl-stage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px 40px; }
.hl-stage { display: flex; gap: 16px; align-items: flex-start; }
.hl-stage__title { font-size: 17px; font-weight: 500; color: var(--hl-ink); display: block; }
.hl-stage__text { font-size: 15px; line-height: 22px; display: block; margin-top: 6px; }

/* Downloads */
.hl-downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hl-download {
    display: flex; gap: 18px; align-items: center;
    border: 1px solid var(--hl-border); border-radius: var(--hl-radius); background: #ffffff;
    padding: 18px 22px; text-decoration: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hl-download:hover { border-color: var(--hl-orange); box-shadow: var(--hl-shadow-sm); }
.hl-download__thumb { width: 54px; height: 76px; flex: none; object-fit: cover; border-radius: 2px; box-shadow: 0 4px 12px rgba(19, 17, 14, 0.15); }
.hl-download__thumb--brand { background: var(--hl-fresh); display: flex; align-items: center; justify-content: center; }
.hl-download__thumb--brand img { width: 40px; height: auto; box-shadow: none; }
.hl-download__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hl-download__title { font-size: 17px; color: var(--hl-ink); line-height: 1.3; }
.hl-download__meta { font-size: 13px; color: var(--hl-body); }
.hl-download > svg { width: 22px; height: 22px; flex: none; color: var(--hl-orange); }

/* Reviews */
.hl-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.hl-review { background: #ffffff; border-radius: var(--hl-radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hl-review__title { font-size: 15px; font-weight: 500; color: var(--hl-ink); }
.hl-tp-stars { display: inline-flex; gap: 2px; flex: none; }
.hl-tp-stars svg { width: 18px; height: 18px; display: block; }
.hl-tp { display: flex; flex-direction: column; gap: 6px; }
.hl-tp__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hl-tp__label { font-size: 15px; font-weight: 500; color: var(--hl-ink); }
.hl-widget-frame { min-height: 140px; }

/* Signature */
.hl-document {
    position: relative; border: 1px solid var(--hl-border); border-radius: var(--hl-radius);
    background: var(--hl-field); padding: 28px;
}
.hl-document__paper {
    background: #ffffff; box-shadow: 0 6px 24px rgba(19, 17, 14, 0.08);
    padding: 48px 56px; max-height: 520px; overflow: auto; box-sizing: border-box;
    color: #3f3f3f; font-size: 15px; line-height: 24px;
}
.hl-document__paper h1, .hl-document__paper h2, .hl-document__paper h3, .hl-document__paper h4 { color: var(--hl-ink); }
.hl-document__paper table { max-width: 100%; }
.hl-document::after {
    content: ""; position: absolute; left: 29px; right: 29px; bottom: 29px; height: 64px; pointer-events: none;
    background: linear-gradient(180deg, rgba(250, 250, 250, 0), var(--hl-field));
}
.hl-declaration { display: flex; gap: 14px; align-items: flex-start; background: var(--hl-mist); border-radius: var(--hl-radius); padding: 16px 18px; color: var(--hl-ink); font-size: 16px; line-height: 24px; }
.hl-declaration svg { width: 22px; height: 22px; flex: none; color: var(--hl-teal); }
.hl-sig-preview {
    display: flex; flex-direction: column; gap: 6px;
    background: var(--hl-field); border: 1px solid var(--hl-line); border-radius: var(--hl-radius);
    padding: 18px 24px 16px;
}
.hl-sig-preview__name {
    font-family: var(--hl-script); font-size: 34px; line-height: 52px; color: var(--hl-ink);
    border-bottom: 1px dashed var(--hl-stone); padding-bottom: 4px; min-height: 52px; overflow-wrap: anywhere;
}
.hl-steps-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hl-steps-mini li { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 21px; }

.hl-loading { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 56px 24px; text-align: center; }
.hl-spinner {
    width: 44px; height: 44px; border-radius: 50%;
    border: 3px solid var(--hl-orange-tint); border-top-color: var(--hl-orange);
    animation: hl-spin 0.8s linear infinite;
}

/* Result / confirmation */
.hl-result { display: flex; flex-wrap: wrap; gap: 28px 36px; align-items: center; }
.hl-result__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hl-receipt { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--hl-border); border: 1px solid var(--hl-border); border-radius: var(--hl-radius); overflow: hidden; }
.hl-receipt > div { background: #ffffff; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hl-receipt dt { font-size: 13px; font-weight: 300; }
.hl-receipt dd { margin: 0; font-size: 20px; color: var(--hl-ink); overflow-wrap: anywhere; }

/* Progress steps (payments) */
.hl-progress { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.hl-progress li { display: flex; align-items: center; gap: 10px; color: var(--hl-muted); }
.hl-progress li.is-active, .hl-progress li.is-done { color: var(--hl-ink); }

/* Referral share */
.hl-share {
    position: relative; overflow: hidden; border-radius: var(--hl-radius); color: #ffffff;
    background: var(--hl-sunrise); padding: 40px;
    display: flex; flex-direction: column; gap: 20px;
}
.hl-share__deco { position: absolute; right: -60px; top: -40px; width: 300px; opacity: 0.18; filter: brightness(10); pointer-events: none; }
.hl-share > *:not(.hl-share__deco) { position: relative; }
.hl-share__title { margin: 0; font-size: 32px; line-height: 1.15; text-transform: uppercase; font-weight: 300; color: #ffffff; }
.hl-share__link {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    background: #ffffff; border-radius: 40px; padding: 6px 6px 6px 22px; max-width: 560px;
}
.hl-share__link input {
    flex: 1 1 160px; min-width: 0; border: 0; background: transparent; padding: 8px 0;
    font-family: var(--hl-font); font-size: 18px; color: var(--hl-ink); letter-spacing: 0.3px;
}
.hl-share__link input:focus { outline: none; }
.hl-share a:not(.hl-btn) { color: #ffffff; }
.hl-terms { background: rgba(255, 255, 255, 0.14); border-radius: var(--hl-radius); padding: 18px 22px; font-size: 13px; line-height: 20px; }
.hl-terms ol { padding-left: 18px; margin: 8px 0 0; }
.hl-terms li + li { margin-top: 6px; }

/* Consultant referral pages (/friend/{code}, /friend/info-pack/{code}): the consultant leads.
   On phones their photo moves into the hero and the first card overlaps the hero's foot, so the
   consultant and the first action are above the fold. */
.hl-hero-id__photo, .hl-hero-id__role, .hl-hero-person { display: none; }
.hl-hero__hex .hl-hexfill, .hl-hero-id__photo .hl-hexfill, .hl-hero-person__photo .hl-hexfill { width: 100%; }
.hl-hexfill--light { background: #ffffff; color: var(--hl-orange); }

.hl-sidebar--consultant { flex: 0 0 300px; max-width: 300px; }
.hl-card__body.hl-consultant { padding: 24px; gap: 18px; }
.hl-consultant__name { font-size: 24px; line-height: 1.2; color: var(--hl-ink); overflow-wrap: anywhere; }
.hl-consultant__role { font-size: 14px; line-height: 1.35; }
.hl-consultant__lead { font-size: 15px; line-height: 1.35; color: var(--hl-ink); }
.hl-consultant__actions { display: flex; flex-direction: column; gap: 10px; }
.hl-consultant__actions .hl-btn--lg { padding: 10px 16px; font-size: 14px; }
.hl-consultant__actions .hl-btn--quiet { padding: 6px; }
.hl-consultant__talk { border-top: 1px solid #f0eeee; padding-top: 18px; }

.hl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hl-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--hl-pill);
    background: var(--hl-mist); color: #595752; font-size: 12px; font-weight: 500; line-height: 1.4;
}
.hl-tag svg { width: 13px; height: 13px; flex: none; }

.hl-signoff { margin: 4px 0 0; font-size: 15px; line-height: 23px; color: var(--hl-ink); }
.hl-signoff__name { display: block; font-family: var(--hl-script); font-size: 28px; line-height: 44px; color: var(--hl-orange); overflow-wrap: anywhere; }

.hl-pack { display: flex; align-items: center; gap: 28px 36px; padding: 32px 36px; }
.hl-pack > .hl-brochure { margin: 8px 4px; }
.hl-pack__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hl-pack__body > * { margin: 0; }
.hl-brochure--sm { width: 64px; height: 90px; box-shadow: 0 8px 18px rgba(19, 17, 14, 0.18); margin: 4px 0 0 4px; }

.hl-quote { margin: 0; display: flex; gap: 16px; align-items: flex-start; background: var(--hl-orange-wash); border-radius: var(--hl-radius); padding: 18px 20px; }
.hl-quote__text { margin: 0; font-size: 16px; line-height: 24px; color: var(--hl-ink); }
.hl-quote__by { font-size: 13px; line-height: 1.35; }

.hl-fieldset > .hl-legend-title { margin: 0 0 14px; font-size: 30px; line-height: 1.1; color: var(--hl-orange); }

.hl-figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--hl-border); border: 1px solid var(--hl-border); border-radius: var(--hl-radius); overflow: hidden; }
.hl-figures > li { background: #ffffff; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hl-figures__value { font-size: 26px; line-height: 1.2; color: var(--hl-orange); }
.hl-figures__label { font-size: 13px; line-height: 18px; }

.hl-secure-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; }
.hl-secure-note svg { width: 14px; height: 14px; flex: none; }

.hl-inline-sm { display: none; }

@media (max-width: 1279px) {
    .hl-header__cta-name { display: none; }
}

@media (max-width: 960px) {
    .hl-inline-sm { display: inline; }
    .hl-consultant__actions .hl-btn--lg { padding: 12px 20px; font-size: 15px; }
    .hl-page.hl-page--overlap { padding-top: 0; }
    .hl-overlap { position: relative; margin-top: -28px; }
    .hl-layout--aside-first .hl-sidebar { order: 0; }

    /* landing: the photo sits beside "Hello, I'm …" */
    .hl-hero__body.hl-hero-id { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: center; justify-items: start; }
    .hl-hero-id > * { grid-column: 1 / -1; }
    .hl-hero-id > .hl-eyebrow { margin-bottom: 16px; }
    .hl-hero-id > .hl-hero-id__photo { display: block; grid-column: 1; grid-row: 2 / span 2; width: 104px; }
    .hl-hero-id > .hl-hero__title { grid-column: 2; grid-row: 2; align-self: end; font-size: 28px; line-height: 1.08; }
    .hl-hero-id > .hl-hero-id__role { display: block; grid-column: 2; grid-row: 3; align-self: start; margin-top: 6px; font-size: 14px; line-height: 19px; color: #ffffff; }
    .hl-hero-id > .hl-hero__sub { margin-top: 16px; }

    /* info pack: who it's from, above the heading */
    .hl-hero-person { display: flex; align-items: center; gap: 14px; color: #ffffff; }
    .hl-hero-person__photo { width: 76px; flex: none; }
    .hl-hero-person__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .hl-hero-person__from { font-size: 12px; line-height: 1.35; letter-spacing: 1.2px; text-transform: uppercase; }
    .hl-hero-person__name { font-size: 20px; line-height: 26px; overflow-wrap: anywhere; }
    .hl-hero-person__role { font-size: 13px; line-height: 1.35; }
}

@media (max-width: 600px) {
    .hl-pack { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: start; padding: 24px 20px; }
    .hl-pack > .hl-brochure { width: 64px; height: 90px; margin: 0 0 0 4px; box-shadow: 0 8px 18px rgba(19, 17, 14, 0.18); }
    .hl-pack__body { display: contents; }
    .hl-pack__body > * { grid-column: 1 / -1; }
    .hl-pack__body > .hl-pack__title { grid-column: 2; grid-row: 1; align-self: center; font-size: 22px; line-height: 28px; }
    .hl-quote { padding: 14px 16px; }
    .hl-quote > .hl-avatar { display: none; }
    .hl-quote__text { font-size: 15px; line-height: 23px; }
    .hl-fieldset > .hl-legend-title { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .hl-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-figures > li { padding: 16px; }
    .hl-figures__value { font-size: 24px; }
    .hl-card__foot--submit { flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .hl-card__foot--submit .hl-secure-note { justify-content: center; }
    .hl-card__foot--submit .hl-btn--lg, .hl-pack .hl-btn--lg { padding-left: 20px; padding-right: 20px; }
    .hl-signoff__name { font-size: 26px; line-height: 42px; }
}

/* Stats (quick facts) */
.hl-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.hl-stat {
    position: relative; width: 200px; aspect-ratio: 293 / 261.7;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
    background: url("/Content/images/brand/hex-outline-orange.svg") center / 100% 100% no-repeat;
}
.hl-stat:nth-child(even) { background-image: url("/Content/images/brand/hex-outline-teal.svg"); }
.hl-stat:nth-child(odd) { margin-top: 70px; }
.hl-stat__value { font-size: 20px; color: var(--hl-ink); line-height: 1.2; padding: 0 20px; }
.hl-stat__label { font-size: 12px; line-height: 16px; max-width: 124px; }

/* Brochure */
.hl-brochure { width: 92px; height: 129px; object-fit: cover; border-radius: 2px; box-shadow: 0 10px 24px rgba(19, 17, 14, 0.2); transform: rotate(-4deg); flex: none; }

/* Partner */
.hl-partner-logo { max-width: 250px; max-height: 100px; width: auto; height: auto; display: block; }
.hl-partner-photo { width: 100%; border-radius: var(--hl-radius); display: block; }

/* Status / error pages */
.hl-status { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hl-status__art { flex: 0 1 300px; display: flex; justify-content: center; }
.hl-status__hex { position: relative; width: 260px; }
.hl-status__hex > img { width: 100%; height: auto; display: block; }
.hl-status__hex .hl-hexfill { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%, -50%); background: var(--hl-orange-tint); color: var(--hl-orange); }
.hl-status__hex .hl-hexfill svg { width: 64px; height: 64px; }
.hl-status__body { flex: 1 1 520px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hl-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hl-contact-card { border: 1px solid var(--hl-border); border-radius: var(--hl-radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hl-contact-card > svg { width: 24px; height: 24px; color: var(--hl-orange); }
.hl-contact-card__title { font-size: 17px; font-weight: 500; color: var(--hl-ink); }
.hl-contact-card__value { font-size: 20px; color: var(--hl-ink); }

/* Sidebar blocks */
.hl-side { display: flex; flex-direction: column; gap: 10px; }
.hl-side > * { margin: 0; }
.hl-side__text { font-size: 14px; line-height: 21px; }
.hl-side__lines { font-size: 14px; line-height: 22px; color: var(--hl-ink); }
.hl-side__lines span { font-weight: 500; }
.hl-note { display: flex; gap: 12px; align-items: flex-start; background: var(--hl-mist); border-radius: var(--hl-radius); padding: 16px; font-size: 13px; line-height: 19px; }
.hl-note svg { width: 22px; height: 22px; flex: none; color: var(--hl-teal); }

/* 14 ─ Help band & footer ─────────────────────────────────────────────── */
.hl-help { position: relative; isolation: isolate; color: #ffffff; }
.hl-help__bg { position: absolute; inset: 0; overflow: hidden; z-index: -1; background: var(--hl-teal); }
.hl-help__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-help__bg::after { content: ""; position: absolute; inset: 0; background: var(--hl-fresh); opacity: 0.92; }
.hl-help__inner { padding: 88px 0 72px; display: flex; flex-direction: column; gap: 56px; }
.hl-help__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.hl-help__pitch { flex: 1 1 460px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hl-help__title { margin: 0; font-weight: 300; font-size: 35px; line-height: 1.1; text-transform: uppercase; color: #ffffff; }
.hl-help__sub { margin: 0; font-size: 22px; line-height: 30px; color: #ffffff; }
.hl-help__contact { flex: 0 1 340px; display: flex; flex-direction: column; gap: 20px; font-size: 15px; line-height: 22px; }
.hl-help__phone { font-size: 30px; line-height: 36px; color: #ffffff; text-decoration: none; white-space: nowrap; }
.hl-help__phone:hover { color: #ffffff; text-decoration: underline; }
.hl-help a { color: #ffffff; text-decoration: underline; }
.hl-help a.hl-btn, .hl-help a.hl-help__phone { text-decoration: none; }
.hl-help .hl-review { background: rgba(19, 17, 14, 0.88); }
.hl-help .hl-review__title { color: #ffffff; }
.hl-help .hl-review__meta { color: var(--hl-stone); font-size: 12px; }
.hl-help__rating { text-align: center; font-size: 13px; }

.hl-footer { background: var(--hl-charcoal); color: var(--hl-muted); padding: 88px 0 72px; margin: 0; border-top: 0; font-size: inherit; } /* resets Site.css footer{} */
.hl-footer__inner { display: flex; flex-direction: column; gap: 48px; }
.hl-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.hl-footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 16px; }
.hl-footer__col--wide { flex: 2 1 380px; }
.hl-footer__heading { font-size: 16px; color: #ffffff; font-weight: 300; margin: 0; }
.hl-footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hl-footer__links--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; column-gap: 32px; }
.hl-footer a { color: var(--hl-stone); font-size: 14px; text-decoration: none; }
.hl-footer a:hover { color: #ffffff; text-decoration: underline; }
.hl-footer__legal { display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 19px; }
.hl-footer__legal p { margin: 0; }
.hl-footer__secure { display: inline-flex; align-items: center; gap: 8px; }
.hl-footer__secure svg { width: 14px; height: 14px; flex: none; }

.hl-footer-bottom { background: var(--hl-charcoal-deep); color: #ffffff; }
.hl-footer-bottom__inner { padding: 22px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hl-footer-bottom .trustpilot-widget { min-width: 300px; flex: 1 1 300px; }
.hl-social { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hl-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--hl-stone); transition: background-color 0.15s ease, color 0.15s ease; }
.hl-social a:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.hl-social svg { width: 18px; height: 18px; }

/* 15 ─ Bootstrap safety net (views not rebuilt yet still look on-brand) ── */
.btn { font-family: var(--hl-font); font-weight: 300; font-size: 14px; border-radius: var(--hl-pill); padding: 9px 28px; border-width: 2px; line-height: 1.4; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.btn-sm, .btn-group-sm > .btn { padding: 6px 18px; font-size: 13px; }
.btn-lg, .btn-group-lg > .btn { padding: 11px 38px; font-size: 15px; }
.btn-info, .btn-primary, .btn-success, .btn-warning { background-color: var(--hl-orange); border-color: var(--hl-orange); color: #ffffff; }
.btn-info:hover, .btn-primary:hover, .btn-success:hover, .btn-warning:hover,
.btn-info:focus, .btn-primary:focus, .btn-success:focus, .btn-warning:focus,
.btn-info:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled):active {
    background-color: var(--hl-orange-deep); border-color: var(--hl-orange-deep); color: #ffffff; box-shadow: 0 8px 18px rgba(238, 137, 0, 0.28);
}
.btn-outline-info, .btn-outline-primary, .btn-outline-success, .btn-outline-warning { color: var(--hl-orange); border-color: var(--hl-orange); background: transparent; }
.btn-outline-info:hover, .btn-outline-primary:hover, .btn-outline-success:hover, .btn-outline-warning:hover { background: var(--hl-orange); border-color: var(--hl-orange); color: #ffffff; }
.btn-secondary { background: #ffffff; border-color: var(--hl-line); color: var(--hl-body); }
.btn-secondary:hover, .btn-secondary:focus { background: #ffffff; border-color: var(--hl-ink); color: var(--hl-ink); }
.btn-light { background: #ffffff; border: 1px solid var(--hl-border); color: var(--hl-ink); }
.btn-light:hover { background: var(--hl-mist); border-color: var(--hl-line); color: var(--hl-ink); }
.btn-link { color: var(--hl-teal); }
.btn:disabled, .btn.disabled { opacity: 1; background-color: var(--hl-line) !important; border-color: var(--hl-line) !important; color: #ffffff !important; box-shadow: none !important; }

.card { border-color: var(--hl-border); border-radius: var(--hl-radius); }
.card-title { font-weight: 500; color: var(--hl-ink); }
.card.bg-light { background: #ffffff !important; box-shadow: var(--hl-shadow); }
.card.bg-info, .card.bg-info.text-white { background: var(--hl-mist) !important; color: var(--hl-body) !important; border-color: var(--hl-mist); }
.card.bg-info .text-white { color: var(--hl-body) !important; }
.card.bg-info hr { border-color: var(--hl-line); }
.card .text-warning, .text-warning { color: var(--hl-orange) !important; }
.card.bg-success { background: var(--hl-sunrise) !important; border: 0; color: #ffffff; }
.card.bg-success .card-title, .card.bg-success h4, .card.bg-success h5 { color: #ffffff; }

.jumbotron { background-color: var(--hl-mist); border-radius: var(--hl-radius); }
.jumbotron-orange, .jumbotron-green { background-image: none; }

.alert { border: 0; border-radius: var(--hl-radius); font-size: 15px; line-height: 22px; padding: 16px 18px; }
.alert-info { background: var(--hl-teal-tint); color: #015d70; }
.alert-success { background: #eef6e9; color: #2f5a1c; }
.alert-warning { background: var(--hl-orange-tint); color: #5c3600; }
.alert-danger { background: var(--hl-danger-tint); color: var(--hl-danger-deep); }

.form-control { height: 46px; background: var(--hl-field); border: 1px solid var(--hl-line); border-radius: 3px; font-family: var(--hl-font); font-weight: 500; font-size: 15px; color: var(--hl-ink); }
.form-control:focus { background: #ffffff; border-color: var(--hl-orange); box-shadow: 0 0 0 3px rgba(238, 137, 0, 0.18); color: var(--hl-ink); }
textarea.form-control { height: auto; }
.form-text.text-muted, small.text-muted { color: var(--hl-body) !important; }
input[type=text], input[type=number] { color: var(--hl-ink); }

.badge { font-family: var(--hl-font); font-weight: 500; border-radius: var(--hl-pill); padding: 6px 12px; }
.badge-info { background: var(--hl-teal-tint); color: var(--hl-teal-deep); }
.badge-secondary { background: var(--hl-green-tint); color: var(--hl-green-deep); }
.badge-danger { background: var(--hl-danger-tint); color: #a3361f; }
.badge-success { background: var(--hl-green-tint); color: var(--hl-green-deep); }

.text-info { color: var(--hl-teal) !important; }
.bg-info { background-color: var(--hl-teal) !important; }
.table { color: var(--hl-body); }
.table td, .table th { border-top-color: var(--hl-border); }
table tr td.data { color: var(--hl-ink) !important; font-weight: 500 !important; }
.breadcrumb { background: transparent; padding: 0 0 18px; font-size: 14px; }
.breadcrumb-item a { color: var(--hl-teal) !important; font-weight: 500; }
.img-thumbnail { border-color: var(--hl-border); border-radius: var(--hl-radius); }
.text-muted { color: var(--hl-muted) !important; }

/* 16 ─ Utilities ──────────────────────────────────────────────────────── */
.hl-stack { display: flex; flex-direction: column; }
.hl-row { display: flex; flex-wrap: wrap; align-items: center; }
.hl-gap-4 { gap: 4px; } .hl-gap-8 { gap: 8px; } .hl-gap-12 { gap: 12px; } .hl-gap-16 { gap: 16px; }
.hl-gap-20 { gap: 20px; } .hl-gap-24 { gap: 24px; } .hl-gap-32 { gap: 32px; } .hl-gap-48 { gap: 48px; }
.hl-center { text-align: center; }
.hl-mt-0 { margin-top: 0 !important; }
.hl-hidden { display: none !important; }
.hl-show-sm { display: none !important; }
.hl-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl-fade-in { animation: hl-fade-in 0.35s ease both; }

@keyframes hl-spin { to { transform: rotate(360deg); } }
@keyframes hl-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@keyframes hl-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 17 ─ Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hl-header { padding: 0 32px; }
    .hl-nav { margin-left: 0; gap: 28px; }
}

@media (max-width: 960px) {
    :root { --hl-gutter: 20px; }
    .hl-header { min-height: 72px; padding: 0 12px 0 20px; }
    .hl-header__logo { padding: 18px 0; }
    .hl-header__logo img { width: 104px; }
    .hl-burger, .hl-icon-btn { display: inline-flex; }
    .hl-header__cta { display: none; }
    .hl-nav {
        display: none;
        position: absolute; top: calc(100% - 6px); left: 12px; right: 12px;
        flex-direction: column; align-items: stretch; gap: 0; margin: 0;
        background: #ffffff; border-radius: var(--hl-radius); box-shadow: var(--hl-shadow-lg);
        padding: 8px 0; z-index: 30;
    }
    .hl-header.is-open .hl-nav { display: flex; animation: hl-fade-in 0.2s ease both; }
    .hl-nav a { color: var(--hl-ink); font-size: 17px; padding: 14px 22px; border-bottom: 1px solid var(--hl-mist); }
    .hl-nav a:last-child { border-bottom: 0; }
    .hl-nav a::after { display: none; }
    .hl-nav a:hover { color: var(--hl-orange); background: var(--hl-orange-wash); }

    .hl-hero__hex, .hl-collage, .hl-hide-sm { display: none !important; }
    .hl-show-sm { display: flex !important; }
    .hl-hero__body { padding: 18px 0 44px; gap: 12px; }
    .hl-hero__body--tall { padding: 24px 0 56px; }
    .hl-hero__title, .hl-hero .jumbotron h1, .hl-hero .jumbotron h2 { font-size: 30px; }
    .hl-hero__title--xl { font-size: 34px; }
    .hl-hero__sub, .hl-hero .jumbotron p { font-size: 16px; line-height: 23px; }
    .hl-hero__sub--lg { font-size: 18px; line-height: 26px; }
    .hl-hero .jumbotron { padding: 18px 0 44px; }

    .hl-page { padding-top: 40px; padding-bottom: 64px; }
    .hl-layout { gap: 40px; }
    .hl-sidebar { order: 2; max-width: none; flex-basis: 100%; }
    .hl-main { gap: 40px; }

    .hl-h2, h2 { font-size: 27px; }
    .hl-h3 { font-size: 22px; line-height: 28px; }

    .hl-help__inner { padding: 56px 0 48px; gap: 36px; }
    .hl-help__title { font-size: 27px; }
    .hl-help__sub { font-size: 18px; line-height: 26px; }
    .hl-footer { padding: 56px 0 44px; }
    .hl-band > .hl-container { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 600px) {
    .hl-card__body, .hl-card__body--roomy { padding: 22px 20px; }
    .hl-card__foot { padding: 18px 20px; }
    .hl-card__foot .hl-actions, .hl-card__foot .hl-btn { width: 100%; }
    .hl-card__foot .hl-actions .hl-btn { flex: 1 1 100%; }
    .hl-panel { padding: 22px 20px; }
    .hl-share { padding: 28px 22px; }
    .hl-share__title { font-size: 24px; }
    .hl-document { padding: 0; border: 0; background: none; }
    .hl-document::after { left: 1px; right: 1px; bottom: 1px; height: 56px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff); }
    .hl-document__paper { padding: 22px 20px; max-height: 360px; box-shadow: none; border: 1px solid var(--hl-border); border-radius: var(--hl-radius); font-size: 14px; line-height: 22px; }
    .hl-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hl-tile { padding: 14px 16px; }
    .hl-tile__value { font-size: 18px; }
    .hl-tile--wide { grid-column: 1 / -1; }
    .hl-form-grid--name { grid-template-columns: 1fr 1fr; }
    .hl-form-grid--name > :first-child { grid-column: 1 / -1; max-width: 160px; }
    .hl-actions--stack-sm { flex-direction: column; align-items: stretch; }
    .hl-actions--stack-sm .hl-btn { width: 100%; }

    /* vertical stepper on phones */
    .hl-stepper { flex-direction: column; }
    .hl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 0 0 22px; }
    .hl-step:last-child { padding-bottom: 0; }
    .hl-step::after { top: 40px; left: 19px; width: 3px; height: calc(100% - 40px); }
    .hl-step--done::after { background: linear-gradient(180deg, #f9ca23, #ee8900); }
    .hl-step__marker .hl-hexfill { width: 40px; }
    .hl-step__text { padding-top: 7px; }
    .hl-pulse { width: 10px; height: 10px; }
    .hl-update { flex-direction: column; gap: 14px; }

    .hl-stat { width: 150px; }
    .hl-stat:nth-child(odd) { margin-top: 0; }
    .hl-stat__value { font-size: 17px; }
    .hl-stat__label { font-size: 11px; line-height: 14px; max-width: 100px; }

    .hl-rating { gap: 10px; }
    .hl-rating__option { width: calc(20% - 8px); min-width: 54px; }
    .hl-rating__hex { width: 54px; font-size: 18px; }
    .hl-rating__text { font-size: 11px; }

    .hl-footer__links--two { grid-template-columns: 1fr; }
    .hl-footer-bottom .trustpilot-widget { min-width: 0; }
    .hl-detail__value { font-size: 18px; line-height: 24px; }
    .hl-status { gap: 32px; }
    .hl-status__art { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* 18 ─ Print ──────────────────────────────────────────────────────────── */
@media print {
    .hl-header, .hl-help, .hl-footer, .hl-footer-bottom, .hl-hero__hex, .hl-sidebar, .hl-no-print { display: none !important; }
    .hl-hero { color: var(--hl-ink); }
    .hl-hero__bg { display: none; }
    .hl-hero__title, .hl-hero__sub { color: var(--hl-ink); }
    .hl-page { padding: 24px 0; }
    .hl-card--raised { box-shadow: none; }
}
