:root {
    --green: #287568;
    --violet: #7858a2;
    --text: #49625b;
    --line: #bcd2c8;
    --pale: #eff7f2;
    --lilac: #f4f0fa;
    --white: #ffffff;
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
html {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
}
a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
a:hover {
    color: var(--violet);
    text-decoration-thickness: 2px;
}
a:active {
    background: var(--lilac);
}
:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 4px;
}
h1 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--green);
    margin: 10px 0 18px;
    overflow-wrap: anywhere;
}
h2 {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -.4px;
    color: var(--green);
    margin: 0 0 20px;
    overflow-wrap: anywhere;
}
h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 7px;
    overflow-wrap: anywhere;
}
p {
    font-size: 16px;
    margin: 0 0 17px;
    overflow-wrap: anywhere;
}
.mast-top,
.primary ul,
main,
.bottom-inner {
    width: min(1220px, calc(100% - 80px));
    margin-inline: auto;
}
.mast {
    border-top: 6px solid var(--violet);
}
.mast-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding-block: 23px;
}
.identity {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    text-decoration: none;
    line-height: 1.2;
}
.identity strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}
.identity > span:last-child {
    font-size: 14px;
    border-left: 1px solid var(--line);
    padding-left: 13px;
}
.rotor {
    width: 32px;
    height: 32px;
    border: 4px solid var(--green);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}
.rotor::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--violet);
    left: 7px;
    top: 7px;
}
.rotor::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    background: var(--green);
    top: -7px;
    left: 9px;
    border-radius: 2px;
}
.utility-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
}
.utility-links a {
    padding-block: 7px;
}
.primary {
    background: var(--pale);
    border-block: 1px solid var(--line);
}
.primary ul {
    display: flex;
    padding: 0;
    list-style: none;
}
.primary li {
    flex: 1;
    min-width: 0;
}
.primary a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
.primary a > span {
    color: var(--violet);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.primary a:hover,
.primary a[aria-current="page"] {
    border-color: var(--violet);
    background: var(--white);
}
main {
    padding-block: 28px 0;
}
.opening {
    background: var(--pale);
    padding: 26px 30px 24px;
    border-left: 6px solid var(--green);
}
.opening p {
    margin-bottom: 0;
}
.kicker {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.7px;
    font-weight: 700;
    color: var(--violet);
}
.market-strip {
    background: var(--lilac);
    margin-top: 18px;
    padding: 20px 25px;
}
.market-strip dl {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.market-strip dl > div {
    flex: 1 1 260px;
    min-width: 0;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}
.market-strip dt {
    font-size: 13px;
    line-height: 1.5;
}
.market-strip dd {
    margin: 0 0 7px;
    color: var(--violet);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.market-strip dd span {
    font-size: 14px;
    font-weight: 400;
}
.siblings ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 9px 22px;
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid var(--line);
}
.siblings a {
    display: inline-block;
    padding-block: 5px;
    font-size: 14px;
}
.siblings a[aria-current="page"] {
    color: var(--violet);
    font-weight: 700;
}
.chapter-nav {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.chapter-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    list-style: decimal inside;
    margin: 0;
    padding: 0;
}
.chapter-nav li {
    font-size: 13px;
    color: var(--violet);
}
.chapter-nav a {
    display: inline;
    line-height: 2;
}
.chapter {
    padding: 30px 0 12px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 20px;
}
.section-heading {
    display: flex;
    align-items: baseline;
    gap: 13px;
    margin-bottom: 18px;
}
.section-heading h2 {
    margin: 0;
    min-width: 0;
}
.section-number {
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    border-bottom: 2px solid var(--violet);
}
table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 20px 0 19px;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
th,
td {
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
}
thead th {
    background: var(--green);
    color: white;
    font-weight: 600;
}
tbody th {
    font-weight: 700;
    color: var(--green);
}
tbody tr:nth-child(even) {
    background: var(--pale);
}
.perspective {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
}
.perspective > header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    background: var(--pale);
    padding: 15px 22px;
}
.perspective > header h2 {
    margin: 0;
}
.perspective-number {
    color: var(--violet);
    font-size: 14px;
    font-weight: 700;
}
.perspective-02,
.perspective-04 {
    border-left-color: var(--violet);
}
.perspective-02 > header,
.perspective-04 > header {
    background: var(--lilac);
}
.topic-roll {
    padding: 0 22px;
}
.topic-row {
    padding: 15px 0 14px;
    border-top: 1px solid var(--line);
}
.topic-row p {
    margin: 0;
}
.topic-row a {
    text-decoration: none;
}
.topic-row a:hover {
    text-decoration: underline;
}
.article-related,
.service-directory,
.local-services {
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}
.topic-index {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
}
.topic-index li {
    flex: 1 1 420px;
    min-width: 0;
    border-top: 1px solid var(--line);
}
.topic-index a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 0;
    text-decoration: none;
}
.topic-index a:hover span {
    text-decoration: underline;
}
.topic-index span {
    font-size: 17px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.topic-index small {
    font-size: 12px;
    color: var(--text);
}
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-list li {
    flex: 1 1 250px;
    min-width: 0;
    border-bottom: 1px dotted var(--line);
}
.service-list a {
    display: inline-block;
    padding: 10px 0;
    font-size: 15px;
}
.text-button {
    display: inline-block;
    padding: 9px 17px;
    border: 1px solid var(--green);
    margin-top: 20px;
    text-decoration: none;
}
.bibliography {
    padding: 28px 0;
}
.bibliography h2 {
    color: var(--violet);
}
.bibliography ol {
    margin: 0;
    padding-left: 24px;
}
.bibliography li {
    font-size: 13px;
    line-height: 1.7;
    padding: 0 0 8px 3px;
    overflow-wrap: anywhere;
}
.bottom {
    border-top: 5px solid var(--green);
    background: var(--pale);
}
.bottom-inner {
    padding-block: 23px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    font-size: 13px;
}
.bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.compare-tool {
    padding: 30px 0 10px;
    border-bottom: 1px solid var(--line);
}
fieldset {
    border: 1px solid var(--line);
    padding: 14px 20px 20px;
    margin: 0 0 20px;
    min-width: 0;
}
legend {
    padding-inline: 8px;
    font-weight: 700;
    color: var(--violet);
}
.input-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
}
.input-cell {
    flex: 1 1 300px;
    min-width: 0;
}
label {
    display: block;
    font-size: 14px;
    margin-bottom: 7px;
}
input {
    width: 100%;
    font: inherit;
    font-size: 16px;
    border: 1px solid var(--green);
    border-radius: 0;
    padding: 10px 12px;
    color: var(--text);
    background: white;
}
button {
    font: inherit;
    font-size: 16px;
    padding: 11px 22px;
    border: 1px solid var(--green);
    background: var(--green);
    color: white;
    cursor: pointer;
}
button:hover {
    background: var(--violet);
    border-color: var(--violet);
}
button:active {
    background: #567d71;
}
.button-secondary {
    background: white;
    color: var(--green);
}
.button-secondary:hover {
    color: white;
}
.calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}
output:not(:empty) {
    display: block;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--violet);
    background: var(--lilac);
    white-space: pre-line;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.calculation-note {
    margin-top: 18px;
}
@media (max-width: 900px) {
    .mast-top,
    .primary ul,
    main,
    .bottom-inner {
        width: calc(100% - 40px);
    }
    .primary a {
        padding-inline: 9px;
        gap: 7px;
        font-size: 14px;
    }
    .market-strip dl > div {
        flex-basis: 190px;
    }
    .topic-index li {
        flex-basis: 320px;
    }
}
@media (max-width: 650px) {
    .mast-top,
    .primary ul,
    main,
    .bottom-inner {
        width: calc(100% - 32px);
    }
    .mast-top {
        gap: 13px;
        padding-block: 17px;
    }
    .identity {
        gap: 9px;
    }
    .identity > span:last-child {
        font-size: 12px;
        padding-left: 9px;
    }
    .utility-links {
        width: 100%;
        justify-content: space-between;
    }
    .primary ul {
        flex-wrap: wrap;
    }
    .primary li {
        flex-basis: 50%;
    }
    .primary a {
        padding: 11px 6px;
        font-size: 13px;
    }
    main {
        padding-top: 20px;
    }
    .opening {
        padding: 20px 18px;
        border-left-width: 4px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    p {
        font-size: 16px;
    }
    .market-strip {
        padding: 20px;
    }
    .market-strip dl > div {
        flex-basis: 100%;
        padding-top: 12px;
        border-top: 1px solid #d3c5e6;
    }
    .market-strip dl > div:first-child {
        border: 0;
        padding: 0;
    }
    .chapter-nav ol {
        flex-direction: column;
        gap: 5px;
    }
    .chapter-nav li {
        line-height: 1.6;
    }
    .section-heading {
        gap: 9px;
        align-items: baseline;
    }
    .section-number {
        font-size: 11px;
    }
    .perspective > header {
        padding: 14px;
        gap: 10px;
    }
    .topic-roll {
        padding-inline: 14px;
    }
    .topic-index li,
    .service-list li {
        flex-basis: 100%;
    }
    table,
    tbody,
    tr,
    td,
    tbody th {
        display: block;
        width: 100%;
    }
    thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    tbody tr {
        border-bottom: 1px solid var(--line);
        padding: 10px 0;
    }
    tbody th,
    td {
        padding: 6px 12px;
        border: 0;
    }
    td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: var(--green);
    }
    fieldset {
        padding: 13px 14px 18px;
    }
    .input-cell {
        flex-basis: 100%;
    }
}
@media print {
    .mast,
    .bottom,
    .chapter-nav,
    .siblings,
    .article-related,
    .compare-tool {
        display: none;
    }
    main {
        width: 100%;
    }
    .chapter {
        break-inside: avoid;
    }
    a {
        color: inherit;
    }
}
