:root {
    --page-max: 1180px;
}

.seo-page {
    background: var(--paper);
}

.seo-page .site-header {
    position: relative;
}

.seo-hero,
.seo-section,
.seo-footer {
    padding: clamp(48px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.seo-hero {
    background: var(--ink);
    color: var(--paper);
    border-bottom: 1px solid var(--line-light);
}

.seo-inner {
    width: min(100%, var(--page-max));
    margin: 0 auto;
}

.seo-kicker {
    margin-bottom: 28px;
    color: var(--lime);
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.seo-hero h1,
.seo-section h2,
.seo-card h3 {
    font-family: var(--display);
    letter-spacing: -.05em;
    line-height: .98;
    text-transform: uppercase;
}

.seo-hero h1 {
    max-width: 920px;
    font-size: clamp(2.8rem, 7.8vw, 7.1rem);
}

.seo-hero h1 em,
.seo-section h2 em {
    color: var(--lime);
    font-style: normal;
}

.seo-lead {
    max-width: 720px;
    margin-top: 32px;
    color: rgba(241, 238, 233, .82);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.65;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.seo-button {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    padding: 0 19px;
    border: 1px solid var(--ink);
    background: var(--lime);
    color: var(--ink);
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.seo-button--light {
    border-color: var(--line-light);
    background: transparent;
    color: var(--paper);
}

.seo-section {
    border-bottom: 1px solid var(--line-dark);
}

.seo-section--dark {
    background: var(--steel);
    color: var(--paper);
}

.seo-section h2 {
    max-width: 720px;
    font-size: clamp(2rem, 5vw, 4.8rem);
}

.seo-section > .seo-inner > p {
    max-width: 760px;
    margin-top: 22px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 42px;
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
}

.seo-card {
    min-height: 230px;
    padding: 25px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.seo-card span {
    color: var(--lime);
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 700;
}

.seo-card h3 {
    margin-top: 50px;
    font-size: 1.35rem;
}

.seo-card p,
.seo-list li {
    margin-top: 12px;
    line-height: 1.65;
}

.seo-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 48px;
    margin-top: 32px;
    list-style: none;
}

.seo-list li {
    padding: 18px 0;
    border-top: 1px solid var(--line-dark);
}

.seo-list strong {
    display: block;
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.seo-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
    border-top: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
}

.seo-related a {
    min-height: 138px;
    padding: 22px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--display);
    font-size: 1.25rem;
    letter-spacing: -.04em;
    line-height: 1;
    text-transform: uppercase;
}

.seo-related a:hover {
    background: var(--lime);
}

.seo-footer {
    background: var(--ink);
    color: var(--paper);
}

.seo-footer p {
    max-width: 600px;
    margin-top: 18px;
    color: rgba(241, 238, 233, .75);
}

.seo-footer .seo-actions { margin-top: 28px; }

@media (max-width: 760px) {
    .seo-grid,
    .seo-related,
    .seo-list { grid-template-columns: 1fr; }
    .seo-card { min-height: 190px; }
}

/* Homepage discovery links */
.service-paths .service-grid a {
    min-height: 300px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    transition: background .25s ease, color .25s ease;
}

.service-paths .service-grid a:hover {
    background: var(--lime);
    color: var(--ink);
}

.service-paths .service-grid a > span {
    color: var(--lime);
    font-family: var(--mono);
    font-size: .61rem;
    font-weight: 700;
}

.service-paths .service-grid a:hover > span,
.service-paths .service-grid a:hover p,
.service-paths .service-grid a:hover strong {
    color: var(--ink);
}

.service-paths .service-grid h3 {
    margin-top: auto;
    font-family: var(--display);
    font-size: clamp(1.55rem, 2.6vw, 2.7rem);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.service-paths .service-grid p {
    margin-top: 15px;
    color: var(--paper-2);
    font-size: .81rem;
    line-height: 1.65;
}

.service-paths .service-grid strong {
    margin-top: 20px;
    color: var(--lime);
    font-family: var(--mono);
    font-size: .52rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
