:root {
    color-scheme: light;
    --accent: #146A94;
    --accent-dark: #0A4D6E;
    --accent-light: #9BD9EB;
    --charcoal: #20292C;
    --slate: #526269;
    --paper: #F2F5F3;
    --white: #FFFFFF;
    --ink: #1D282B;
    --muted: #68777B;
    --line: #CBD5D1;
    --green: #217A54;
    --amber: #A26112;
    --shadow: 0 18px 42px rgba(32, 41, 44, 0.12);
    --content: 1240px;
    --font-display: Bahnschrift, "DIN Alternate", "Arial Narrow", sans-serif;
    --font-body: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
}

body::before {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 4px;
    content: "";
    background: var(--accent);
}

a {
    color: var(--accent-dark);
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

button,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 0.65rem 0.9rem;
    color: var(--white);
    background: var(--charcoal);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2.25rem;
    align-items: center;
    min-height: 76px;
    padding: 0.8rem max(1.25rem, calc((100vw - var(--content)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    color: var(--charcoal);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    color: var(--white);
    background: var(--accent);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: var(--font-display);
    font-size: 1.06rem;
    letter-spacing: 0.01em;
}

.brand small {
    color: var(--slate);
    font-size: 0.76rem;
}

.site-header nav {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.8rem);
    justify-content: center;
}

.site-header nav a {
    color: var(--charcoal);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a:hover {
    color: var(--accent-dark);
}

.review-date {
    color: var(--slate);
    font-size: 0.78rem;
    white-space: nowrap;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: center;
    min-height: 720px;
    padding: 5.5rem max(1.25rem, calc((100vw - var(--content)) / 2));
    color: var(--white);
    background-color: var(--charcoal);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
}

.context-line,
.section-heading > p:first-child,
.product-owner {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.045em;
}

.context-line {
    max-width: 46rem;
    color: var(--paper);
}

.hero h1 {
    max-width: 13ch;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.7vw, 5.8rem);
    font-weight: 760;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.hero-summary {
    max-width: 42rem;
    margin: 1.8rem 0 0;
    color: #DAE1DF;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.2rem;
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    border: 1px solid currentColor;
    color: inherit;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.button-primary {
    border-color: var(--accent);
    color: var(--white);
    background: var(--accent);
}

.button-primary:hover,
.button-small:hover {
    border-color: var(--white);
    background: var(--accent-dark);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.54);
    color: var(--white);
    background: transparent;
}

.button-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.decision-loop {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    min-height: 530px;
    padding: 3.8rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(32, 41, 44, 0.82);
}

.decision-loop::before,
.decision-loop::after {
    position: absolute;
    z-index: 0;
    content: "";
    background: rgba(255, 255, 255, 0.22);
}

.decision-loop::before {
    top: 50%;
    right: 2rem;
    left: 2rem;
    height: 1px;
}

.decision-loop::after {
    top: 2rem;
    bottom: 2rem;
    left: 50%;
    width: 1px;
}

.loop-node {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.35rem;
    color: var(--charcoal);
    background: var(--paper);
}

.loop-node:nth-of-type(odd) {
    background: var(--white);
}

.loop-node span,
.loop-core span {
    font-size: 0.76rem;
    font-weight: 750;
}

.loop-node strong {
    max-width: 13ch;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.02;
}

.loop-node small {
    max-width: 23ch;
    color: var(--slate);
    line-height: 1.35;
}

.loop-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: grid;
    width: 190px;
    min-height: 126px;
    place-content: center;
    padding: 1rem;
    color: var(--white);
    text-align: center;
    background: var(--accent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 12px var(--charcoal);
}

.loop-core strong {
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.12;
}

.loop-arrow {
    position: absolute;
    z-index: 5;
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--charcoal);
    background: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
}

.loop-arrow-one { top: 1.25rem; left: 50%; transform: translateX(-50%); }
.loop-arrow-two { top: 50%; right: 1.25rem; transform: translateY(-50%); }
.loop-arrow-three { bottom: 1.25rem; left: 50%; transform: translateX(-50%); }
.loop-arrow-four { top: 50%; left: 1.25rem; transform: translateY(-50%); }

.scope-section,
.matrix-section,
.cost-section,
.profiles-section {
    max-width: var(--content);
    margin: 0 auto;
    padding: 6rem 1.25rem;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(170px, 0.28fr) minmax(0, 0.72fr);
    gap: 1.5rem 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.section-heading > p:first-child {
    color: var(--accent-dark);
}

.section-heading h2 {
    max-width: 20ch;
    margin: 0;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 760;
    letter-spacing: -0.03em;
    line-height: 1;
}

.section-heading > p:last-child:not(:first-child) {
    grid-column: 2;
    max-width: 64ch;
    margin: -0.3rem 0 0;
    color: var(--slate);
}

.pillar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 2px solid var(--charcoal);
    border-bottom: 1px solid var(--line);
}

.pillar-list article {
    min-height: 275px;
    padding: 1.5rem 1.3rem 1.8rem;
    border-right: 1px solid var(--line);
}

.pillar-list article:last-child {
    border-right: 0;
}

.pillar-list article:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
}

.pillar-list article:nth-child(3) {
    border-right: 0;
}

.pillar-code {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    margin-bottom: 3.3rem;
    color: var(--white);
    background: var(--charcoal);
    font-family: var(--font-display);
    font-weight: 800;
}

.pillar-list h3 {
    margin: 0;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.1;
}

.pillar-list p {
    margin: 0.8rem 0 0;
    color: var(--slate);
    font-size: 0.94rem;
}

.landscape-section,
.methodology-section {
    padding: 6rem max(1.25rem, calc((100vw - var(--content)) / 2));
    color: var(--white);
    background: var(--charcoal);
}

.section-heading-light > p:first-child,
.section-heading-light h2,
.section-heading-light > p:last-child:not(:first-child) {
    color: var(--white);
}

.section-heading-light > p:last-child:not(:first-child) {
    color: #DAE1DF;
}

.landscape-rail {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 4px solid var(--accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.landscape-rail article {
    min-height: 290px;
    padding: 1.7rem;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.landscape-rail article:last-child {
    border-right: 0;
}

.landscape-rail h3 {
    max-width: 15ch;
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.08;
}

.landscape-rail p {
    max-width: 42ch;
    color: #C8D2D0;
}

.vendor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 2rem;
}

.vendor-links a {
    padding: 0.3rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--white);
    font-size: 0.8rem;
    text-decoration: none;
}

.vendor-links a:hover {
    border-color: var(--accent);
}

.product-roster {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 4px 0 0;
    border-top: 1px solid var(--accent);
    list-style: none;
    background: rgba(255, 255, 255, 0.28);
}

.product-roster li {
    display: flex;
    min-height: 88px;
    align-items: center;
    padding: 1rem 1.1rem;
    background: var(--charcoal);
}

.product-roster a {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

.product-roster a:hover {
    text-decoration-color: var(--accent-light);
}

.matrix-key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.84rem;
}

.matrix-key span {
    display: inline-flex;
    gap: 0.48rem;
    align-items: center;
}

.matrix-toolbar {
    display: flex;
    gap: 1rem 2rem;
    align-items: flex-end;
    justify-content: space-between;
    margin: 1.5rem 0 1rem;
}

.matrix-toolbar[hidden] {
    display: none;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-button {
    min-height: 42px;
    padding: 0.48rem 0.78rem;
    border: 1px solid var(--slate);
    color: var(--charcoal);
    background: var(--white);
    cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
    border-color: var(--charcoal);
    color: var(--white);
    background: var(--charcoal);
}

.focus-control {
    display: grid;
    gap: 0.28rem;
    min-width: 220px;
    color: var(--slate);
    font-size: 0.77rem;
    font-weight: 700;
}

.focus-control select {
    min-height: 42px;
    padding: 0.35rem 2rem 0.35rem 0.65rem;
    border: 1px solid var(--slate);
    color: var(--charcoal);
    background: var(--white);
}

.collapsed-vendors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    align-items: center;
    margin: 0 0 1rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--paper);
}

.collapsed-vendors[hidden] {
    display: none;
}

.collapsed-vendors > span {
    color: var(--slate);
    font-size: 0.78rem;
    font-weight: 800;
}

.collapsed-vendor-list {
    display: flex;
    flex: 1 1 20rem;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.collapsed-vendors button {
    min-height: 36px;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--slate);
    color: var(--charcoal);
    background: var(--white);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
}

.collapsed-vendors button:hover {
    border-color: var(--charcoal);
    color: var(--white);
    background: var(--charcoal);
}

.matrix-scroll {
    overflow: auto;
    max-height: 75vh;
    border: 1px solid var(--line);
    box-shadow: inset -14px 0 18px -20px var(--charcoal);
}

#comparison-matrix {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.82rem;
}

#comparison-matrix caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#comparison-matrix th,
#comparison-matrix td {
    min-width: 108px;
    padding: 0.72rem 0.56rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
    background: var(--white);
}

#comparison-matrix thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    height: 110px;
    color: var(--white);
    background: var(--charcoal);
    vertical-align: bottom;
}

#comparison-matrix thead th a {
    display: block;
    max-width: 10ch;
    margin: 0 auto;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.9rem;
    line-height: 1.05;
    text-decoration-color: var(--accent-light);
}

.vendor-header-content {
    display: flex;
    min-height: 84px;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    justify-content: flex-end;
}

#comparison-matrix thead th .column-collapse-button {
    min-height: 26px;
    padding: 0.2rem 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: var(--white);
    background: transparent;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

#comparison-matrix thead th .column-collapse-button:hover:not(:disabled) {
    color: var(--charcoal);
    background: var(--white);
}

#comparison-matrix thead th .column-collapse-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

#comparison-matrix th:first-child,
#comparison-matrix td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 258px;
    max-width: 258px;
    text-align: left;
}

#comparison-matrix thead th:first-child {
    z-index: 5;
    padding: 1rem;
}

#comparison-matrix tbody th {
    color: var(--charcoal);
    background: var(--white);
    font-weight: 700;
    line-height: 1.25;
}

#comparison-matrix tr.group-row th {
    position: sticky;
    left: 0;
    z-index: 4;
    padding: 0.6rem 1rem;
    border-bottom-color: var(--charcoal);
    color: var(--white);
    background: var(--slate);
    font-family: var(--font-display);
    font-size: 0.9rem;
}

#comparison-matrix tr.group-row td {
    border-bottom-color: var(--charcoal);
    background: var(--paper);
}

#comparison-matrix a.status-link {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 50%;
    text-decoration: none;
}

.status {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: var(--muted);
}

.status-confirmed {
    border-color: var(--green);
    background: var(--green);
}

.status-partial {
    border-color: var(--amber);
    background: linear-gradient(90deg, var(--amber) 50%, transparent 50%);
}

.status-unconfirmed {
    border-color: var(--muted);
    background: transparent;
}

#comparison-matrix .is-dimmed {
    opacity: 0.25;
}

#comparison-matrix .is-focused {
    box-shadow: inset 3px 0 var(--accent), inset -3px 0 var(--accent);
}

#comparison-matrix thead .is-focused {
    color: var(--white);
    background: var(--accent-dark);
}

.matrix-summary {
    margin: 0.75rem 0 0;
    color: var(--slate);
    font-size: 0.82rem;
}

.cost-section {
    border-top: 1px solid var(--line);
}

.cost-finding {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.2rem 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.4rem;
    border-left: 5px solid var(--accent);
    color: var(--white);
    background: var(--charcoal);
}

.cost-finding strong {
    grid-row: 1 / 3;
    color: var(--accent-light);
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 0.92;
}

.cost-finding span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 760;
}

.cost-finding small {
    color: #C8D2D0;
    line-height: 1.4;
}

.cost-scroll {
    overflow: auto;
    border: 1px solid var(--line);
    box-shadow: inset -14px 0 18px -20px var(--charcoal);
}

.cost-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.82rem;
}

.cost-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cost-table th,
.cost-table td {
    padding: 0.95rem 0.9rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    background: var(--white);
    line-height: 1.45;
}

.cost-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    color: var(--white);
    background: var(--charcoal);
    font-family: var(--font-display);
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.cost-table thead th:nth-child(1) { width: 15%; }
.cost-table thead th:nth-child(2) { width: 18%; }
.cost-table thead th:nth-child(3) { width: 25%; }
.cost-table thead th:nth-child(4) { width: 27%; }
.cost-table thead th:nth-child(5) { width: 15%; }

.cost-table tbody th {
    position: sticky;
    left: 0;
    z-index: 2;
    border-left: 4px solid transparent;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 0.92rem;
}

.cost-table tbody tr:nth-child(even) th,
.cost-table tbody tr:nth-child(even) td {
    background: var(--paper);
}

.cost-table tbody tr:hover th {
    border-left-color: var(--accent);
}

.cost-table a {
    color: var(--accent-dark);
    font-weight: 760;
    text-underline-offset: 0.16em;
}

.price-secondary {
    display: inline-block;
    margin-top: 0.28rem;
    color: var(--slate);
    font-size: 0.74rem;
    font-weight: 700;
}

.cost-note {
    max-width: 92ch;
    margin: 1rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
    color: var(--slate);
    font-size: 0.82rem;
}

.profiles-section {
    padding-top: 3rem;
}

.product-profile {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: 4rem 0 5rem;
    border-top: 2px solid var(--charcoal);
}

.product-profile:nth-of-type(even) .profile-media {
    order: 2;
}

.profile-media {
    align-self: start;
}

.profile-media a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.profile-media img {
    width: 100%;
    height: auto;
}

.profile-media p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.profile-content {
    position: relative;
    z-index: 1;
}

.profile-content > header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.product-owner {
    color: var(--accent-dark);
}

.profile-content h3 {
    margin: 0;
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3.8rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.product-tags {
    display: flex;
    max-width: 250px;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.product-tags span {
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--line);
    color: var(--slate);
    background: var(--white);
    font-size: 0.72rem;
    line-height: 1.3;
}

.profile-summary {
    max-width: 64ch;
    margin: 1.3rem 0 1.7rem;
    color: var(--slate);
    font-size: 1.07rem;
}

.finding-grid {
    border-top: 1px solid var(--charcoal);
}

.finding-grid section {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.finding-grid h4,
.finding-grid p {
    margin: 0;
}

.finding-grid h4 {
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 0.98rem;
}

.finding-grid p {
    color: var(--slate);
    font-size: 0.91rem;
    line-height: 1.52;
}

.finding-grid section[data-pillar="email"] h4::before { content: "E  "; color: var(--accent-dark); }
.finding-grid section[data-pillar="website"] h4::before { content: "W  "; color: var(--accent-dark); }
.finding-grid section[data-pillar="crm"] h4::before { content: "C  "; color: var(--accent-dark); }
.finding-grid section[data-pillar="intelligence"] h4::before { content: "I  "; color: var(--accent-dark); }
.finding-grid section[data-pillar="access"] h4::before { content: "A  "; color: var(--accent-dark); }
.finding-grid section[data-pillar="ai"] h4::before { content: "AI  "; color: var(--accent-dark); }

.evidence-limit {
    margin: 1.2rem 0;
    padding-left: 0.9rem;
    border-left: 3px solid var(--accent);
    color: var(--slate);
    font-size: 0.86rem;
}

.source-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    align-items: center;
}

.button-small {
    min-height: 39px;
    border-color: var(--charcoal);
    color: var(--white);
    background: var(--charcoal);
    font-size: 0.82rem;
}

.source-links > a:not(.button) {
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--accent);
}

.method-grid section {
    min-height: 220px;
    padding: 1.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.method-grid section:nth-child(even) {
    border-right: 0;
}

.method-grid h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.28rem;
}

.method-grid p {
    max-width: 58ch;
    color: #CBD5D2;
}

.site-footer {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content);
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.site-footer div {
    display: flex;
    gap: 0.35rem 1.3rem;
    flex-wrap: wrap;
}

.site-footer span,
.site-footer a {
    color: var(--slate);
    font-size: 0.82rem;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto 1fr;
    }

    .review-date {
        display: none;
    }

    .site-header nav {
        justify-content: flex-end;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 15ch;
    }

    .decision-loop {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .pillar-list {
        grid-template-columns: 1fr 1fr;
    }

    .pillar-list article {
        border-bottom: 1px solid var(--line);
    }

    .pillar-list article:nth-child(even) {
        border-right: 0;
    }

    .pillar-list article:nth-child(3) {
        border-right: 1px solid var(--line);
    }

    .pillar-list article:nth-child(-n+3) {
        border-bottom: 1px solid var(--line);
    }

    .pillar-list article:last-child {
        border-bottom: 0;
        border-right: 0;
    }

    .product-roster {
        grid-template-columns: 1fr 1fr;
    }

    .product-profile {
        grid-template-columns: 1fr;
    }

    .product-profile:nth-of-type(even) .profile-media {
        order: 0;
    }

    .profile-media {
        max-width: 780px;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 120px;
    }

    .site-header {
        display: block;
        padding: 0.7rem 1rem 0.55rem;
    }

    .brand {
        margin-bottom: 0.55rem;
    }

    .site-header nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.3rem;
        white-space: nowrap;
    }

    .site-header nav a {
        font-size: 0.78rem;
    }

    .hero {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 13vw, 4.6rem);
    }

    .decision-loop {
        display: flex;
        min-height: 0;
        flex-direction: column;
        padding: 1rem;
    }

    .decision-loop::before,
    .decision-loop::after,
    .loop-arrow {
        display: none;
    }

    .loop-core {
        position: static;
        order: 5;
        width: 100%;
        min-height: 100px;
        transform: none;
        box-shadow: none;
    }

    .loop-node {
        min-height: 138px;
    }

    .scope-section,
    .matrix-section,
    .cost-section,
    .profiles-section,
    .landscape-section,
    .methodology-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p:last-child:not(:first-child) {
        margin-top: 1rem;
    }

    .pillar-list,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .product-roster {
        grid-template-columns: 1fr;
    }

    .pillar-list article,
    .landscape-rail article,
    .method-grid section,
    .pillar-list article:nth-child(2),
    .method-grid section:nth-child(even) {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .pillar-list article:last-child {
        grid-column: auto;
    }

    .pillar-list article:nth-child(3) {
        border-right: 0;
    }

    .landscape-rail article,
    .method-grid section,
    .method-grid section:nth-child(even) {
        border-bottom-color: rgba(255, 255, 255, 0.28);
    }

    .pillar-code {
        margin-bottom: 1.6rem;
    }

    .matrix-toolbar {
        display: block;
    }

    .cost-finding {
        grid-template-columns: 1fr;
    }

    .cost-finding strong {
        grid-row: auto;
    }

    .focus-control {
        margin-top: 1rem;
    }

    .product-profile {
        padding-top: 5rem;
    }

    .profile-content > header {
        display: block;
    }

    .product-tags {
        max-width: none;
        justify-content: flex-start;
        margin-top: 0.85rem;
    }

    .finding-grid section {
        grid-template-columns: 1fr;
        gap: 0.32rem;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .site-header,
    .hero-actions,
    .matrix-toolbar,
    .site-footer {
        display: none;
    }

    .hero,
    .landscape-section,
    .methodology-section {
        color: var(--ink);
        background: var(--white);
    }

    .decision-loop {
        color: var(--ink);
        background: var(--white);
    }

    .matrix-scroll {
        overflow: visible;
        max-height: none;
    }

    #comparison-matrix {
        transform-origin: top left;
    }

    .product-profile {
        break-inside: avoid;
    }
}
