:root {
    --navy: #122543;
    --blue: #3156e8;
    --muted: #65718a;
    --line: #e0e6ef;
    --light: #f4f7fc
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--navy);
    background: #fff;
    font-size: 16px;
    line-height: 1.5
}

button,
input,
select {
    font: inherit
}

button,
a,
select {
    touch-action: manipulation
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

button {
    border: 1px solid var(--line);
    background: white;
    color: var(--navy);
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 600
}

button:hover {
    background: #edf2ff;
    border-color: #b5c4ff
}

.primary {
    background: var(--blue);
    color: white;
    border-color: var(--blue)
}

.primary:hover {
    background: #2341c4;
    color: white
}

button:disabled {
    opacity: .4;
    cursor: default
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid #f4b741;
    outline-offset: 3px
}

.preview {
    padding: 7px 5%;
    background: var(--navy);
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    gap: 20px;
    justify-content: center
}

.preview span {
    font-weight: 400;
    letter-spacing: 0;
    color: #dce5f8
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    padding: 0 5%;
    margin: auto;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -.7px
}

.mark {
    background: var(--blue);
    color: white;
    width: 43px;
    height: 43px;
    border-radius: 11px;
    font-size: 35px;
    line-height: 38px;
    text-align: center;
    letter-spacing: -4px;
    padding-right: 4px
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: -1px;
    color: var(--muted)
}

.blue {
    color: var(--blue)
}

nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
    font-weight: 600;
    height: 100%;
    align-items: center
}

nav a {
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding-top: 3px
}

nav a.active {
    color: var(--blue);
    border-color: var(--blue)
}

main {
    max-width: 1400px;
    margin: auto;
    padding: 0 5%
}

.intro {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0 38px;
    align-items: center
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
    font-weight: 700
}

.intro h1 {
    font-size: clamp(36px, 4vw, 55px);
    line-height: 1.13;
    letter-spacing: -2px;
    margin: 15px 0 16px;
    font-weight: 750
}

.intro em {
    font-style: normal;
    color: var(--blue)
}

.intro p {
    color: var(--muted);
    margin: 0;
    font-size: 16px
}

.intro-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 42px;
    min-width: 315px;
    padding: 20px 10px
}

.stat {
    display: flex;
    flex-direction: column
}

.stat strong {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -2px
}

.stat span {
    font-size: 14px;
    color: var(--muted)
}

.stat+.stat {
    border-left: 1px solid var(--line);
    padding-left: 35px
}

.intro-note {
    grid-column: span 2;
    background: var(--light);
    padding: 14px 17px;
    border-radius: 9px;
    font-size: 14px;
    display: flex;
    gap: 15px;
    align-items: center
}

.intro-note i {
    color: #a8b4ca
}

.tiny-square {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800
}

.searchline {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #d7dfec;
    border-radius: 12px;
    box-shadow: 0 8px 30px #12254308;
    gap: 16px;
    margin-bottom: 32px
}

.search {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 14px;
    padding-left: 12px
}

.search span {
    font-size: 30px;
    line-height: 1;
    color: var(--blue)
}

input,
select {
    min-width: 0
}

input {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 12px;
    background: white;
    color: var(--navy)
}

.search input {
    border: 0;
    padding: 12px 0;
    width: 100%;
    outline-offset: 0
}

.degreeFilter {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
    padding-left: 22px;
    min-width: 200px;
    font-size: 14px
}

.degreeFilter>span {
    font-size: 12px;
    color: var(--muted)
}

select {
    background: white;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px
}

.degreeFilter select {
    border: 0;
    padding: 0 22px 0 0;
    font-size: 14px
}

.browser-grid {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 32px
}

aside {
    border-right: 1px solid var(--line);
    padding-right: 25px
}

.filtertitle {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.filtertitle h2 {
    font-size: 17px;
    margin: 0
}

.textbtn {
    padding: 0;
    color: var(--blue);
    font-size: 13px;
    border: 0;
    background: transparent
}

.small {
    font-size: 13px
}

.muted {
    color: var(--muted)
}

.states {
    max-height: 460px;
    overflow: auto;
    padding-right: 5px;
    scrollbar-width: thin
}

.state {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    padding: 12px;
    margin-bottom: 3px;
    border-radius: 7px;
    gap: 8px
}

.state b {
    font-size: 12px;
    color: var(--muted);
    background: #edf1f7;
    padding: 1px 7px;
    border-radius: 5px
}

.state.selected {
    background: #ebf0ff;
    color: var(--blue);
    font-weight: 700
}

.state.selected b {
    background: #d8e3ff;
    color: var(--blue)
}

.helpbox {
    margin-top: 30px;
    background: #f0f4ff;
    padding: 20px;
    border-radius: 10px
}

.helpicon {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-weight: 700
}

.helpbox h3 {
    font-size: 16px;
    margin: 12px 0 8px
}

.helpbox p {
    font-size: 13px;
    color: var(--muted)
}

.helpbox button {
    font-size: 14px;
    width: 100%;
    color: var(--blue);
    border-color: #cbd7ff;
    background: white
}

.resulttop {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.resulttop h2 {
    font-size: 27px;
    letter-spacing: -.7px;
    margin: 6px 0
}

.resulttop p {
    margin: 0
}

.sort {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 122px
}

.sort select {
    font-size: 13px
}

.source-note {
    font-size: 12px;
    line-height: 1.5;
    color: #63708a;
    padding: 12px 0 18px
}

.card {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow .2s
}

.card:hover {
    box-shadow: 0 7px 24px #1225430b
}

.cardmain {
    padding: 22px;
    display: flex;
    gap: 18px
}

.monogram {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf1ff;
    color: #365ac7;
    font-family: Georgia, serif;
    font-size: 22px;
    border-radius: 11px;
    border: 1px solid #e0e8ff
}

.card:nth-child(3n+2) .monogram {
    background: #edf8f6;
    color: #247168;
    border-color: #d4ece7
}

.card:nth-child(3n) .monogram {
    background: #fff4e6;
    color: #9b6128;
    border-color: #f4e6d2
}

.cardbody {
    min-width: 0;
    flex: 1
}

.card h3 {
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -.3px;
    margin: 0 0 5px
}

.location {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 13px
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.chip {
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 3px 8px;
    background: #fafbfd;
    color: #4d5e7b
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 20px
}

.facts small {
    display: block;
    color: var(--muted);
    font-size: 12px
}

.facts b {
    font-size: 14px;
    font-weight: 600
}

.cardbottom {
    padding: 12px 22px;
    background: #fafbfe;
    border-top: 1px solid #eaf0f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px
}

.branchpreview {
    font-size: 13px;
    color: #556782;
    max-width: 48%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.cardactions {
    display: flex;
    gap: 10px
}

.cardactions button {
    font-size: 13px;
    padding: 9px 13px
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 0
}

.pagination span {
    font-size: 13px;
    color: var(--muted)
}

.pagination button {
    font-size: 13px
}

.connectbanner {
    background: var(--navy);
    color: white;
    padding: 36px 42px;
    border-radius: 15px;
    margin: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.connectbanner .eyebrow {
    color: #a6bbff
}

.connectbanner h2 {
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -.6px;
    margin: 12px 0
}

.connectbanner p {
    color: #b7c5dd;
    font-size: 14px
}

.connectbanner button {
    white-space: nowrap;
    color: var(--blue);
    padding: 14px 22px
}

footer {
    padding: 30px 5%;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    color: var(--muted)
}

footer .brand {
    font-size: 18px;
    color: var(--navy)
}

footer .mark {
    width: 35px;
    height: 35px;
    font-size: 28px;
    line-height: 31px
}

dialog {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 25px 100px #071a4855;
    padding: 35px;
    width: min(740px, 94vw);
    max-height: 90vh;
    color: var(--navy)
}

dialog::backdrop {
    background: #0c1b3c99;
    backdrop-filter: blur(4px)
}

.close {
    position: absolute;
    right: 14px;
    top: 12px;
    border: 0;
    padding: 2px 12px;
    font-size: 27px;
    z-index: 1
}

.detailhead {
    padding: 10px 32px 18px 0
}

.detailhead h2 {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.7px;
    margin: 18px 0 10px
}

.detailgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.detailgrid>div {
    background: white;
    padding: 16px
}

.detailgrid small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px
}

.detailgrid p {
    margin: 0;
    font-size: 14px;
    overflow-wrap: anywhere
}

.detailsection {
    padding: 16px 0;
    border-bottom: 1px solid var(--line)
}

.detailsection h3 {
    font-size: 16px;
    margin: 0 0 8px
}

.detailsection p {
    font-size: 14px;
    margin: 0;
    color: var(--muted);
    white-space: pre-line
}

.detailfoot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 20px
}

.detailfoot p {
    font-size: 12px;
    color: var(--muted);
    max-width: 65%
}

.formhead h2 {
    font-size: 28px;
    letter-spacing: -.6px;
    margin: 8px 0
}

.formhead p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.steps {
    display: flex;
    justify-content: space-between;
    margin: 26px 0;
    border-block: 1px solid var(--line);
    padding: 16px 0;
    font-size: 14px;
    color: #7c879a
}

.steps b {
    font-weight: 500;
    margin-left: 4px
}

.steps .on {
    color: var(--blue);
    font-weight: 700
}

.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.formgrid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 14px;
    font-weight: 600
}

.formgrid select,
.formgrid input {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    padding: 12px
}

.formgrid small {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted)
}

.full {
    grid-column: span 2
}

.fullbutton {
    width: 100%;
    margin-top: 12px
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin: 23px 0 14px
}

.consent input {
    width: 17px;
    height: 17px;
    flex-shrink: 0
}

.demo-note {
    font-size: 12px;
    background: #f2f5fb;
    padding: 12px;
    border-radius: 6px;
    color: var(--muted)
}

.formactions {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 12px
}

.reviewrow {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    overflow-wrap: anywhere
}

.reviewrow span {
    color: var(--muted)
}

.doneicon {
    margin: 25px auto;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #e7f6ee;
    color: #26754e;
    font-size: 36px;
    text-align: center;
    line-height: 66px
}

#donePanel {
    text-align: center
}

#donePanel p {
    color: var(--muted);
    font-size: 14px
}

.nextbox {
    text-align: left;
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    margin-top: 24px
}

.infohero {
    padding: 65px 0 30px;
    max-width: 740px
}

.infohero h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin: 15px 0
}

.infohero p {
    color: var(--muted)
}

.infogrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 20px 0 50px
}

.infocard {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.infocard>span {
    font-size: 29px;
    color: var(--blue);
    font-family: Georgia, serif
}

.infocard h2 {
    font-size: 20px
}

.infocard p {
    color: var(--muted);
    font-size: 14px
}

.empty {
    text-align: center;
    padding: 60px 25px;
    background: var(--light);
    border-radius: 10px
}

[hidden] {
    display: none !important
}

@media(min-width:1600px) {

    main,
    header {
        max-width: 1500px
    }
}

@media(max-width:1000px) {
    header {
        gap: 20px
    }

    nav {
        gap: 17px
    }

    .brand {
        font-size: 19px
    }

    .headercta {
        font-size: 13px
    }

    .browser-grid {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 23px
    }

    aside {
        padding-right: 18px
    }

    .cardbottom {
        flex-wrap: wrap
    }

    .branchpreview {
        max-width: 100%;
        width: 100%
    }

    .cardactions {
        margin-left: auto
    }

    .intro-side {
        min-width: 260px;
        gap: 20px
    }

    .stat+.stat {
        padding-left: 20px
    }

    .facts {
        grid-template-columns: 1fr 1fr
    }

    .facts>div:last-child {
        grid-column: span 2
    }

    footer p {
        display: none
    }
}

@media(max-width:720px) {
    .preview {
        font-size: 10px;
        gap: 8px;
        padding: 7px 4%;
        text-align: center
    }

    .preview span {
        max-width: 270px;
        font-size: 10px
    }

    header {
        height: auto;
        min-height: 85px;
        flex-wrap: wrap;
        padding: 17px 5% 0;
        gap: 13px
    }

    .brand {
        font-size: 18px
    }

    .brand small {
        font-size: 8px
    }

    .mark {
        width: 37px;
        height: 37px;
        font-size: 31px;
        line-height: 32px
    }

    .headercta {
        padding: 9px 11px;
        font-size: 12px
    }

    nav {
        order: 3;
        width: 100%;
        height: 42px;
        justify-content: center;
        gap: 34px;
        font-size: 13px
    }

    .intro {
        padding: 32px 0 25px;
        display: block
    }

    .intro h1 {
        font-size: 39px
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.4px
    }

    .intro p {
        font-size: 14px
    }

    .intro-side {
        display: flex;
        gap: 25px;
        padding: 20px 0 0;
        align-items: center
    }

    .stat {
        flex-direction: row;
        gap: 9px;
        align-items: center
    }

    .stat strong {
        font-size: 27px;
        letter-spacing: -1px
    }

    .stat span {
        font-size: 11px;
        max-width: 70px
    }

    .stat+.stat {
        padding-left: 22px
    }

    .intro-note {
        display: none
    }

    .searchline {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        margin-bottom: 24px
    }

    .search {
        flex-basis: 100%;
        padding: 0 5px
    }

    .search input {
        font-size: 14px
    }

    .degreeFilter {
        border: 0;
        padding: 0 5px;
        min-width: 0;
        flex: 1
    }

    .searchline>.primary {
        font-size: 13px;
        padding: 12px
    }

    .browser-grid {
        display: block
    }

    aside {
        border: 0;
        padding: 0
    }

    .filtertitle h2 {
        font-size: 16px
    }

    aside>.small {
        display: none
    }

    .states {
        display: flex;
        gap: 6px;
        max-height: none;
        overflow-x: auto;
        margin: 12px 0 24px;
        padding-bottom: 6px
    }

    .state {
        width: auto;
        flex-shrink: 0;
        border: 1px solid var(--line);
        padding: 9px 12px;
        font-size: 13px
    }

    .helpbox {
        display: none
    }

    .resulttop h2 {
        font-size: 23px
    }

    .sort {
        min-width: 100px
    }

    .source-note {
        font-size: 11px
    }

    .cardmain {
        padding: 17px;
        gap: 12px
    }

    .monogram {
        width: 44px;
        height: 44px;
        font-size: 18px
    }

    .card h3 {
        font-size: 17px
    }

    .location {
        font-size: 12px
    }

    .facts {
        gap: 10px
    }

    .facts b {
        font-size: 13px
    }

    .facts small {
        font-size: 11px
    }

    .cardbottom {
        padding: 12px 16px
    }

    .cardactions {
        width: 100%;
        margin: 0
    }

    .cardactions button {
        flex: 1;
        font-size: 12px
    }

    .connectbanner {
        padding: 26px;
        display: block;
        margin: 30px 0
    }

    .connectbanner h2 {
        font-size: 26px
    }

    .connectbanner button {
        margin-top: 8px
    }

    .connectbanner p {
        font-size: 13px
    }

    footer {
        flex-wrap: wrap;
        font-size: 11px;
        padding-block: 22px
    }

    dialog {
        padding: 25px 20px
    }

    .formhead h2 {
        font-size: 24px;
        padding-right: 16px
    }

    .steps {
        font-size: 12px
    }

    .formgrid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .full {
        grid-column: auto
    }

    .detailhead h2 {
        font-size: 25px
    }

    .detailgrid>div {
        padding: 12px
    }

    .detailfoot {
        flex-direction: column;
        align-items: stretch
    }

    .detailfoot p {
        max-width: 100%
    }

    .reviewrow {
        grid-template-columns: 100px 1fr;
        font-size: 13px
    }

    .infohero {
        padding-top: 35px
    }

    .infohero h1 {
        font-size: 34px
    }

    .infogrid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .infocard {
        padding: 22px
    }
}