/* Layout for the pages added after the homepage. Loaded separately so these
   rules still apply if the main stylesheet is cached. */

a.logo,
a.logo:hover,
a.logo:visited,
a.logo:focus {
    text-decoration: none;
    color: inherit;
}

.page-main {
    display: block;
    padding: 8.75rem 0 5rem;
    background: #ffffff;
}

.legal-prose h1,
.lead-intro h1 {
    margin-top: 0;
    color: #1e293b;
    font-size: 2.4rem;
    line-height: 1.15;
}

.legal-prose {
    max-width: 760px;
}

.legal-prose p,
.legal-prose li {
    font-size: 1.05rem;
    line-height: 1.7;
}

.step-tracker {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    list-style: none;
    margin: 0.25rem 0 1.75rem;
    padding: 0;
}

.step-tracker li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 8.5rem;
    list-style: none;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: center;
}

.step-tracker li::marker {
    content: none;
}

.step-tracker li + li::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    right: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.step-index {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #ffffff;
    color: #94a3b8;
    font-weight: 700;
}

.step-tracker li[aria-current="step"] {
    color: #0f172a;
}

.step-tracker li[aria-current="step"] .step-index,
.step-tracker li.is-complete .step-index {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.step-tracker li[aria-current="step"] .step-index {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #2563eb;
}

.money-input {
    position: relative;
}

.money-input span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #0f172a;
    font-size: 1rem;
    pointer-events: none;
}

.money-input input {
    padding-left: 30px;
}
