:root {
    --red: #e31937;
    --red-dark: #b9102a;
    --ink: #0b0b0d;
    --soft: #55565a;
    --line: #d9d9dc;
    --white: #fff;
    --wash: #f7f7f7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1285px, calc(100% - 48px));
    margin: 0 auto;
}

.page-column {
    width: 100%;
    margin: 0 auto;
}

.skip {
    position: fixed;
    top: -5rem;
    left: 1rem;
    z-index: 50;
    padding: .75rem 1rem;
    color: #fff;
    background: #000;
}

.skip:focus {
    top: 1rem;
}

h1,
h2,
p {
    margin-top: 0;
}

h1,
h2 {
    line-height: 1.08;
    letter-spacing: -.04em;
}

h1 {
    margin-bottom: 42px;
    font-size: clamp(52px, 5.4vw, 60px);
    white-space: nowrap;
    text-transform: uppercase;
}

h1 span {
    color: inherit;
}

h2 {
    max-width: 800px;
    margin-bottom: 28px;
    font-size: clamp(34px, 5vw, 46px);
}

.content {
    padding: 58px 0 100px;
}

.brand {
    display: inline-block;
    margin-bottom: 94px;
    color: var(--red);
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
}

.lead {
    max-width: none;
    margin-bottom: 62px;
}

.lead strong {
    display: block;
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.25;
}

.lead p {
    color: var(--ink);
    font-size: 29px;
    line-height: 1.4;
    font-weight: 700;
}

.story p {
    color: var(--ink);
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

.form-card > p {
    color: var(--ink);
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

.story {
    max-width: none;
}

.performance-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(440px, 1.08fr);
    gap: 36px 64px;
    align-items: start;
}

.story::before {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-bottom: 34px;
    background: var(--red);
}

.performance-grid > h2 {
    grid-column: 1 / -1;
    max-width: 1100px;
    margin-bottom: 0;
    color: var(--ink);
}

.story .proof-subhead {
    margin: 0 0 22px;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

.story p {
    max-width: 740px;
    margin-bottom: 22px;
}

.story .both {
    color: var(--red);
    font-size: 28px;
    font-weight: 700;
}

.performance-showcase {
    min-width: 0;
}

.chart-card {
    margin: 0 0 64px;
}

.chart-card:last-child {
    margin-bottom: 0;
}

.chart-frame {
    overflow: hidden;
}

.chart-frame h3 {
    margin: 0 0 12px;
    padding: 0;
    font-size: 22px;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.chart-frame .september-heading {
    font-size: clamp(18px, 2vw, 24px);
    text-transform: uppercase;
}

.chart-frame .monthly-heading {
    text-align: center;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    text-transform: uppercase;
}

.monthly-heading span {
    display: block;
}

.monthly-heading .monthly-primary {
    margin-bottom: 8px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.monthly-heading .monthly-primary span {
    display: inline;
}

.monthly-heading .monthly-vs {
    margin: 0 .12em;
    font-size: .62em;
    font-weight: 900;
    vertical-align: .12em;
}

.chart-frame > img {
    width: 100%;
    height: auto;
}

.performance-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.performance-table th {
    padding: 14px 16px;
    color: #fff;
    background: var(--red);
    text-align: left;
}

.performance-table th:last-child,
.performance-table td:last-child {
    text-align: right;
}

.performance-table td {
    padding: 12px 16px;
    border: 0;
}

.performance-table tbody tr:nth-child(even) {
    background: #f1f2f3;
}

.performance-table .set-name {
    color: var(--red);
}

.performance-table .set-row td {
    font-size: 22px;
}

.performance-table .positive {
    color: #07963e;
}

.performance-table .negative {
    color: var(--red);
}

.performance-table.monthly-table tbody tr {
    background: #fff;
}

.performance-table.monthly-table tbody tr.shade {
    background: #f1f2f3;
}

.monthly-table th:first-child,
.monthly-table td:first-child {
    width: 46%;
}

.monthly-table th:nth-child(2),
.monthly-table td:nth-child(2),
.monthly-table th:nth-child(3),
.monthly-table td:nth-child(3) {
    width: 27%;
    text-align: left;
}

.monthly-table .year-row td {
    padding: 10px 16px;
    color: var(--ink);
    background: #d9dce0;
    text-align: left;
    font-weight: 900;
}

.story .audit-copy {
    margin: 40px 2px 0;
    font-size: 25px;
}

.audit-copy span {
    display: block;
}

.audit-copy span + span {
    margin-top: 1.45em;
}

.story .qualifier {
    max-width: 740px;
    margin: 32px 0 0;
    padding: 0;
    border: 0;
    color: var(--ink);
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
}

.story .post-quotes-copy {
    margin-top: 32px;
}

.press-quotes {
    margin-top: 30px;
}

.press-quote {
    display: block;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.press-quote blockquote {
    margin: 0;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -.025em;
}

.press-source {
    display: block;
    margin-top: 12px;
    font-size: 17px;
    font-weight: 900;
}

.form-card {
    width: 100%;
    max-width: 680px;
    margin-top: 34px;
    padding-top: 42px;
    border-top: 1px solid var(--line);
}

.form-card h2 {
    margin-bottom: 16px;
}

.form-card > p {
    margin-bottom: 42px;
}

.form-grid {
    display: grid;
    gap: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #bfc0c3;
    border-radius: 0;
}

input:focus,
select:focus {
    outline: 2px solid rgba(227, 25, 55, .16);
    border-color: var(--red);
}

.phone-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
}

.button {
    width: 100%;
    min-height: 58px;
    margin-top: 30px;
    border: 0;
    color: #fff;
    background: var(--red);
    font-weight: 700;
    cursor: pointer;
}

.button:hover {
    background: var(--red-dark);
}

.button:focus {
    outline: 3px solid rgba(227, 25, 55, .25);
    outline-offset: 2px;
}


/*
|--------------------------------------------------------------------------
| PHP FORM MESSAGES
|--------------------------------------------------------------------------
*/

.form-message {
    margin: 0 0 28px;
    padding: 14px 16px;
    border-left: 4px solid;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.form-message-success {
    color: #07863b;
    background: #f0faf4;
    border-color: #07863b;
}

.form-message-error {
    color: var(--red-dark);
    background: #fff4f5;
    border-color: var(--red);
}


/*
|--------------------------------------------------------------------------
| CONTACT
|--------------------------------------------------------------------------
*/

.form-contact {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.form-contact span {
    display: block;
    margin-bottom: 6px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
}

.form-contact a {
    display: block;
    color: var(--ink);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
}

.form-contact a:hover {
    color: var(--red);
}


@media (min-width: 1340px) {

    .lead p {
        white-space: nowrap;
        letter-spacing: -1.5px;
    }

}


@media (max-width: 860px) {

    h1 {
        white-space: normal;
    }

    .performance-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .performance-showcase {
        width: min(100%, 680px);
    }

}


@media (max-width: 600px) {

    body {
        font-size: 17px;
    }

    .container {
        width: min(100% - 32px, 1080px);
    }

    .content {
        padding: 36px 0 72px;
    }

    .brand {
        margin-bottom: 68px;
        font-size: 48px;
    }

    h1 {
        font-size: 48px;
        white-space: normal;
    }

    h2 {
        font-size: 34px;
    }

    .lead strong {
        font-size: 24px;
    }

    .lead p {
        font-size: 23px;
    }

    .story p,
    .story .both,
    .form-card > p {
        font-size: 22px;
    }

    .lead {
        margin-bottom: 60px;
    }

    .form-card {
        margin-top: 34px;
        padding-top: 42px;
    }

    .phone-row {
        grid-template-columns: 130px 1fr;
    }

    .chart-card {
        margin-bottom: 46px;
    }

    .chart-frame h3 {
        font-size: 20px;
    }

    .performance-table {
        font-size: 16px;
    }

    .performance-table .set-row td {
        font-size: 18px;
    }

    .performance-table th,
    .performance-table td {
        padding: 10px 9px;
    }

    .monthly-heading .monthly-primary {
        font-size: 20px;
    }

    .story .qualifier {
        font-size: 22px;
    }

    .story .audit-copy {
        margin-top: 32px;
        font-size: 20px;
    }

    .story .proof-subhead {
        font-size: 22px;
    }

    .press-quotes {
        margin-top: 26px;
    }

    .press-quote blockquote {
        font-size: 27px;
    }

    .form-contact span {
        font-size: 25px;
    }

    .form-contact a {
        font-size: 32px;
    }

}
.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    padding: 30px 16px;
    background: black;
}

.legal-btn {
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: #f4f4f4;
    font: inherit;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
}

.legal-btn:hover {
    opacity: .65;
}

.legal-divider {
    color: #f4f4f4;
}

/* PDF popup */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: black;
}

.pdf-modal.is-open {
    display: flex;
}

.reader {
    display: flex;
    flex-direction: column;
    width: min(1100px, 100%);
    height: 94dvh;
    overflow: hidden;
    background: black;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
}

.reader-header,
.reader-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    color: #fff;
    border-bottom: 1px solid #393e44;
}

.reader-title {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 1px;
}

.close-btn {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.book-stage {
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
}

.page-wrap {
    flex: 0 0 auto;
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    overflow: visible;
    background: #fff;
}

#pdf-canvas {
    display: block;
    max-width: none;
}

.loading {
    color: #fff;
    text-align: center;
}

.reader-footer {
    justify-content: center;
    border-top: 1px solid #393e44;
    border-bottom: 0;
}

.page-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #555b62;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.page-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.page-info {
    min-width: 100px;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .legal-links {
        gap: 12px;
        padding: 24px 8px;
    }

    .legal-btn {
        font-size: 9px;
        letter-spacing: .5px;
    }

    .reader {
        height: 88vh;
    }

    .book-stage {
        padding: 8px;
    }
}
