*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --navy: #0a3552;
    --navy-deep: #06263b;
    --teal: #2db7a3;
    --teal-dark: #178b7d;
    --cream: #f5f2ea;
    --mist: #edf5f3;
    --white: #ffffff;
    --ink: #13242d;
    --muted: #5f7078;
    --line: #dce6e4;
    --danger: #8d2828;
    --success: #176947;
    --shadow: 0 24px 70px rgba(7, 42, 61, 0.12);
    --radius-sm: 16px;
    --radius: 26px;
    --radius-lg: 38px;
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
a,
input,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(45, 183, 163, 0.55);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(4rem, 7vw, 7rem);
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 200;
    padding: .75rem 1rem;
    background: var(--white);
    color: var(--navy);
    border-radius: 10px;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(10, 53, 82, .08);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--navy);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -.025em;
    text-decoration: none;
}

.brand > span:last-child > span {
    color: var(--teal-dark);
}

.brand-mark {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: var(--navy);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: .92rem;
    font-weight: 700;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--teal-dark);
}

.site-nav .nav-cta {
    padding: .65rem 1rem;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
}

.site-nav .nav-cta:hover {
    color: var(--white);
    background: var(--navy-deep);
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: var(--mist);
}

.menu-button span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--navy);
}

.hero {
    min-height: min(820px, calc(100svh - 74px));
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 38, 59, .95) 0%, rgba(6, 38, 59, .77) 42%, rgba(6, 38, 59, .18) 72%, rgba(6, 38, 59, .08) 100%),
        url('/assets/img/nursehero.webp') center 32% / cover no-repeat,
        linear-gradient(135deg, #0a3552, #2a6f79);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 29, 45, .02), rgba(5, 29, 45, .2));
}

.hero-grid {
    position: relative;
    z-index: 2;
    padding-block: clamp(5rem, 10vw, 9rem);
}

.hero-copy {
    max-width: 760px;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 1rem;
    color: #a7eee2;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--teal-dark);
}

.hero h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(3rem, 7vw, 6.9rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.hero h1 span {
    color: #9be4da;
}

.hero-lead {
    max-width: 680px;
    margin: 1.8rem 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions,
.launch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-note {
    margin-top: 1.3rem;
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .78rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--teal);
    color: #052c32;
}

.button-primary:hover {
    background: #44c8b5;
}

.button-light {
    background: var(--white);
    color: var(--navy);
}

.button-dark {
    background: var(--navy);
    color: var(--white);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, .58);
    color: var(--white);
    background: transparent;
}

.button-full {
    width: 100%;
}

.intro-section {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

h2,
h3 {
    color: var(--navy);
    letter-spacing: -.035em;
}

h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.6vw, 4.6rem);
    line-height: 1.02;
}

.intro-copy {
    max-width: 680px;
    color: #344951;
    font-size: 1.08rem;
}

.intro-copy p:first-child {
    margin-top: 0;
}

.section-muted {
    background: #f9fbfa;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 1.06rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step-card {
    min-height: 280px;
    padding: clamp(1.4rem, 2.6vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.step-number {
    display: block;
    margin-bottom: 3.2rem;
    color: var(--teal-dark);
    font-weight: 900;
}

.step-card h3 {
    margin: 0 0 .65rem;
    font-size: 1.35rem;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

.split-section {
    position: relative;
}

.professional-section {
    background: var(--white);
}

.family-section {
    background: var(--mist);
}

.split-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.split-grid-reverse .split-copy {
    order: 2;
}

.split-grid-reverse .form-card {
    order: 1;
}

.split-copy {
    position: sticky;
    top: 110px;
}

.split-copy > p:not(.eyebrow):not(.scope-note) {
    color: var(--muted);
    font-size: 1.08rem;
}

.feature-list {
    display: grid;
    gap: .85rem;
    padding: 0;
    margin: 2rem 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.9rem;
    font-weight: 700;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal-dark);
    font-weight: 900;
}

.scope-note {
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--teal);
    background: rgba(45, 183, 163, .08);
    color: #425960;
    font-size: .92rem;
}

.form-card {
    padding: clamp(1.3rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow);
}

.form-card-light {
    background: var(--white);
    color: var(--ink);
}

.form-card-heading {
    margin-bottom: 1.7rem;
}

.form-card h3 {
    margin: .35rem 0 .55rem;
    color: inherit;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.form-card-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.form-card-light .form-card-heading p {
    color: var(--muted);
}

.form-kicker {
    color: #9be4da;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.form-card-light .form-kicker {
    color: var(--teal-dark);
}

.lead-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.field {
    display: grid;
    gap: .42rem;
}

.field label {
    font-size: .86rem;
    font-weight: 800;
}

.field input,
.field select {
    width: 100%;
    min-height: 50px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    padding: .72rem .85rem;
    background: rgba(255, 255, 255, .1);
    color: var(--white);
}

.field select option {
    color: var(--ink);
}

.form-card-light .field input,
.form-card-light .field select {
    border-color: #cbd9d6;
    background: #fbfdfc;
    color: var(--ink);
}

.checkbox {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: .75rem;
    align-items: start;
    color: rgba(255, 255, 255, .8);
    font-size: .86rem;
}

.form-card-light .checkbox {
    color: #4b5f66;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: .15rem;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.alert,
.privacy-notice {
    padding: .9rem 1rem;
    border-radius: 12px;
    font-size: .9rem;
}

.alert-success {
    background: #daf5e9;
    color: var(--success);
}

.alert-error {
    background: #fde8e8;
    color: var(--danger);
}

.privacy-notice {
    border: 1px solid #cfdfdc;
    background: #f5faf9;
    color: #435a61;
}

.launch-section {
    background: var(--white);
}

.launch-card {
    padding: clamp(2rem, 6vw, 5rem);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 80% 0%, rgba(45, 183, 163, .26), transparent 34%),
        var(--navy-deep);
    color: var(--white);
}

.launch-card h2 {
    color: var(--white);
}

.launch-card > div:first-child {
    max-width: 780px;
}

.launch-card > div:first-child > p:last-child {
    color: rgba(255, 255, 255, .76);
}

.site-footer {
    padding-block: 3rem 2rem;
    background: #041d2d;
    color: rgba(255, 255, 255, .72);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: start;
}

.brand-footer {
    color: var(--white);
}

.footer-grid > div:first-child p {
    max-width: 500px;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    font-weight: 700;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: .82rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-disclaimer {
    max-width: 560px;
    text-align: right;
}

.legal-page {
    min-height: 100svh;
    padding-block: 4rem;
    background: var(--cream);
}

.legal-container {
    width: min(calc(100% - 2rem), 820px);
    margin-inline: auto;
}

.legal-container .brand {
    margin-bottom: 4rem;
}

.legal-container h1 {
    margin: 0 0 1.5rem;
    color: var(--navy);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: .95;
    letter-spacing: -.05em;
}

.legal-container h2 {
    margin-top: 2.4rem;
    font-size: 1.6rem;
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .split-copy {
        position: static;
    }

    .split-grid-reverse .split-copy,
    .split-grid-reverse .form-card {
        order: initial;
    }
}

@media (max-width: 820px) {
    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + .5rem);
        display: none;
        padding: .8rem;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        min-height: 46px;
        display: flex;
        align-items: center;
        padding-inline: .75rem;
        border-radius: 10px;
    }

    .menu-button {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 0;
    }

    .hero-media {
        background:
            linear-gradient(180deg, rgba(6, 38, 59, .22) 0%, rgba(6, 38, 59, .8) 58%, rgba(6, 38, 59, .98) 100%),
            url('/assets/img/nursehero.webp') 62% 20% / cover no-repeat,
            linear-gradient(135deg, #0a3552, #2a6f79);
    }

    .hero-grid {
        padding-top: clamp(16rem, 64vw, 26rem);
        padding-bottom: 4rem;
    }

    .hero-copy {
        max-width: 650px;
    }

    .hero h1 {
        font-size: clamp(3rem, 11vw, 5.4rem);
    }
}

@media (max-width: 600px) {
    .section {
        padding-block: clamp(3.2rem, 13vw, 4.6rem);
    }

    .container {
        width: min(calc(100% - 1.5rem), var(--container));
    }

    .hero-grid {
        padding-top: 15rem;
    }

    .hero h1 {
        font-size: clamp(2.85rem, 13.4vw, 4.4rem);
    }

    .hero-actions,
    .launch-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .button,
    .launch-actions .button {
        width: 100%;
    }

    .steps-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .step-card {
        min-height: auto;
    }

    .step-number {
        margin-bottom: 2rem;
    }

    .form-card,
    .launch-card {
        border-radius: 24px;
    }

    .footer-grid,
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 390px) {
    .brand {
        font-size: 1.05rem;
    }

    .brand-mark {
        width: 29px;
        height: 29px;
    }

    .hero-grid {
        padding-top: 13rem;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 13.8vw, 3.7rem);
    }

    .form-card {
        padding: 1.15rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .header-inner {
        min-height: 58px;
    }

    .hero-grid {
        padding-block: 4rem 3rem;
    }

    .hero-media {
        background:
            linear-gradient(90deg, rgba(6, 38, 59, .96), rgba(6, 38, 59, .52)),
            url('/assets/img/nursehero.webp') center 28% / cover no-repeat,
            linear-gradient(135deg, #0a3552, #2a6f79);
    }

    .hero h1 {
        font-size: clamp(2.3rem, 7vw, 4.5rem);
    }

    .hero-lead {
        margin-top: 1rem;
    }

    .hero-actions {
        margin-top: 1.2rem;
    }

    .hero-note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Professional directory demo */
.directory-hero,
.profile-hero {
    background: linear-gradient(180deg, #edf5f3 0%, #ffffff 100%);
}

.directory-hero {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.directory-hero-inner {
    max-width: 860px;
}

.directory-hero h1,
.profile-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.6rem, 5.6vw, 5.4rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.directory-hero p:last-child {
    max-width: 760px;
    margin: 1.2rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.directory-section {
    padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.demo-disclaimer {
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid #d8e7e4;
    border-radius: 14px;
    background: #f7fbfa;
    color: #38515a;
}

.directory-filters {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.directory-filters > div:not(.directory-filter-actions) {
    display: grid;
    gap: .45rem;
}

.directory-filters label {
    color: var(--navy);
    font-size: .84rem;
    font-weight: 800;
}

.directory-filters input,
.directory-filters select {
    width: 100%;
    min-height: 48px;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
}

.directory-filter-actions {
    display: flex;
    gap: .6rem;
}

.directory-clear {
    border-color: var(--line);
    background: var(--white);
    color: var(--navy);
}

.directory-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0 1.5rem;
}

.directory-results-head h2 {
    font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.directory-results-head > p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.directory-empty {
    padding: 2rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--mist);
    color: var(--muted);
    text-align: center;
}

.professional-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.professional-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(7, 42, 61, .07);
}

.professional-card.is-featured {
    border-color: rgba(45, 183, 163, .7);
    box-shadow: 0 18px 48px rgba(23, 139, 125, .12);
}

.professional-card-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.professional-avatar {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.professional-avatar-large {
    width: 104px;
    height: 104px;
    border-radius: 28px;
    font-size: 1.55rem;
}

.professional-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .5rem;
}

.demo-badge,
.featured-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
}

.demo-badge {
    background: #eef2f4;
    color: #4c6068;
}

.featured-badge {
    background: #dff7f2;
    color: #0e7469;
}

.professional-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
}

.professional-card h3 a {
    color: var(--navy);
    text-decoration: none;
}

.professional-card h3 a:hover,
.profile-link:hover {
    color: var(--teal-dark);
}

.professional-category {
    margin: .45rem 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.profile-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.professional-card-section p,
.professional-card-meta p {
    margin: 0;
    color: #344951;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.profile-tags span {
    display: inline-flex;
    padding: .36rem .62rem;
    border-radius: 999px;
    background: var(--mist);
    color: #21434b;
    font-size: .82rem;
    font-weight: 700;
}

.professional-card-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.professional-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.reviews-placeholder {
    color: var(--muted);
    font-size: .82rem;
}

.profile-link {
    color: var(--navy);
    font-weight: 850;
    text-decoration: none;
}

.profile-hero {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.profile-back {
    display: inline-flex;
    margin-bottom: 1.5rem;
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.profile-hero-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
}

.profile-hero-copy {
    max-width: 820px;
}

.profile-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.profile-role {
    margin: .7rem 0 0;
    color: var(--teal-dark);
    font-weight: 800;
}

.profile-hero-copy > p:last-child {
    max-width: 720px;
    color: var(--muted);
}

.profile-content {
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1.5rem;
    align-items: start;
}

.profile-main {
    display: grid;
    gap: 1rem;
}

.profile-panel,
.profile-summary,
.demo-contact-box {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 40px rgba(7, 42, 61, .06);
}

.profile-panel {
    padding: 1.4rem;
}

.profile-panel h2 {
    margin-bottom: 1rem;
    font-size: 1.55rem;
}

.profile-tags-large span {
    padding: .5rem .75rem;
}

.profile-list {
    margin: 0;
    padding-left: 1.25rem;
}

.profile-list li + li {
    margin-top: .45rem;
}

.profile-note,
.reviews-empty {
    color: var(--muted);
}

.profile-summary {
    overflow: hidden;
}

.profile-summary > div {
    padding: 1rem 1.1rem;
}

.profile-summary > div + div {
    border-top: 1px solid var(--line);
}

.profile-summary strong {
    display: block;
    color: var(--navy);
    line-height: 1.35;
}

.demo-contact-box {
    margin-top: 1rem;
    padding: 1.1rem;
    background: var(--mist);
}

.demo-contact-box strong {
    color: var(--navy);
}

.demo-contact-box p {
    margin-bottom: 0;
    color: var(--muted);
}

@media (max-width: 980px) {
    .directory-filters {
        grid-template-columns: 1fr 1fr;
    }

    .directory-filter-actions {
        align-self: stretch;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .demo-contact-box {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .professional-card-grid,
    .directory-filters,
    .professional-card-meta,
    .profile-sidebar {
        grid-template-columns: 1fr;
    }

    .directory-results-head {
        align-items: start;
        flex-direction: column;
        gap: .75rem;
    }

    .directory-filter-actions {
        flex-wrap: wrap;
    }

    .directory-filter-actions .button {
        flex: 1 1 140px;
    }

    .profile-hero-card {
        grid-template-columns: 1fr;
    }

    .professional-avatar-large {
        width: 86px;
        height: 86px;
    }
}

.footer-bottom .trg-credit { display: block; margin-top: .35rem; }

/* Positioning headline: maintain readable line lengths on desktop and mobile. */
.hero h1.hero-statement {
    max-width: 840px;
    font-size: clamp(2.8rem, 5.4vw, 5.1rem);
    line-height: 1.07;
    letter-spacing: -.045em;
}

@media (max-width: 767px) {
    .hero h1.hero-statement {
        font-size: clamp(2.2rem, 8.7vw, 3.3rem);
        line-height: 1.09;
        letter-spacing: -.036em;
    }
}
