:root {
    color-scheme: light;
    --ink: #1f2b35;
    --muted: #63727f;
    --blue: #174066;
    --blue-light: #2f6f9d;
    --red: #bb2f38;
    --paper: #ffffff;
    --page: #ebe8df;
    --line: #d6d0c2;
    --cream: #f7f3e8;
    --green: #477a4b;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
}

@font-face {
    font-family: "LegacyBariol";
    src: url("../legacy/fonts/bariol-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LegacyBariolBold";
    src: url("../legacy/fonts/bariol_bold-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LegacyBariolLight";
    src: url("../legacy/fonts/bariol_light-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LegacyTradeGothic";
    src: url("../legacy/fonts/tradegothic-condeighteen-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "LegacyLucida";
    src: url("../legacy/fonts/lucida-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page) url("../legacy/images/bg.jpg") repeat-x top center;
}

body.section-static {
    background: var(--page);
}

a {
    color: var(--blue);
}

.site-shell {
    width: min(1120px, calc(100vw - 32px));
    margin: 0 auto;
    min-width: 0;
}

.site-header {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    display: block;
    width: min(284px, 56vw);
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a,
.button,
.box-actions a,
.nav-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.main-nav a:hover,
.button:hover,
.box-actions a:hover,
.nav-form button:hover {
    border-color: var(--red);
    color: var(--red);
}

.main-nav .nav-link.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.nav-form {
    margin: 0;
}

.site-main {
    padding: 12px 0 56px;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 36px;
    border-top: 1px solid rgba(23, 64, 102, 0.16);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

.footer-brand {
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.footer-brand span {
    color: var(--red);
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--red);
}

.static-page {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    min-width: 0;
}

.static-hero {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(31, 43, 53, 0.12);
    overflow: hidden;
}

.static-hero h1 {
    max-width: 760px;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

.static-hero p:last-child {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

.static-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.static-grid article {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    min-width: 0;
    overflow-wrap: anywhere;
}

.static-grid h2 {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 20px;
}

.static-grid p,
.static-copy p {
    color: var(--muted);
}

.static-copy {
    margin-top: 20px;
    padding: 4px 0 4px 22px;
    border-left: 4px solid var(--red);
}

.static-copy p:last-child {
    margin-bottom: 0;
}

.static-actions {
    margin-top: 24px;
}

.static-actions .button {
    border-color: var(--red);
    background: var(--red);
    color: #ffffff;
}

.static-actions .button:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: #ffffff;
}

.hero-panel,
.work-panel,
.letterbox {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(31, 43, 53, 0.12);
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 32px;
    min-height: 368px;
    padding: 40px;
    overflow: hidden;
}

.hero-copy {
    align-self: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

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

h1 {
    max-width: 720px;
    margin-bottom: 16px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.02;
}

h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.15;
}

.lead {
    max-width: 640px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 18px;
}

.actions,
.box-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button-primary {
    border-color: #8b1f27;
    background: var(--red);
    color: #ffffff;
}

.button-primary:hover {
    border-color: var(--blue);
    color: #ffffff;
    background: var(--blue);
}

.hero-visual {
    display: grid;
    align-content: center;
    gap: 18px;
}

.mini-box,
.jmt-box-card {
    background: var(--blue) url("../legacy/images/jmt-box-bg.png") no-repeat right bottom;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.35);
}

.mini-box {
    min-height: 176px;
    padding: 24px;
}

.box-title,
.box-count,
.box-text {
    display: block;
}

.box-title {
    font-size: 25px;
    font-weight: 700;
}

.box-count {
    margin-top: 10px;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.box-text {
    color: #c7d7e4;
}

.mail-preview {
    border: 1px solid #c5d3de;
    border-radius: 6px;
    background: var(--cream);
    padding: 18px;
}

.mail-preview strong,
.mail-preview code {
    display: block;
}

.mail-preview code {
    margin-top: 8px;
    color: var(--blue);
    overflow-wrap: anywhere;
}

.status-grid,
.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.metric-grid {
    grid-template-columns: repeat(8, minmax(112px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
}

.status-grid article,
.metric-grid article {
    min-height: 94px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    padding: 16px;
}

.status-grid span,
.metric-grid span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
    text-transform: capitalize;
}

.status-grid strong,
.metric-grid strong {
    display: block;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.status-grid .is-good strong {
    color: var(--green);
}

.status-grid .is-warning strong {
    color: var(--red);
}

.work-panel,
.letterbox {
    padding: 26px;
}

.letterbox + .letterbox {
    margin-top: 20px;
}

.auth-panel {
    max-width: 640px;
}

.panel-header {
    margin-bottom: 18px;
}

.slice-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.slice-list li {
    border-left: 4px solid var(--blue-light);
    background: #f8fafb;
    padding: 16px;
}

.slice-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    font-weight: 700;
}

.slice-list strong,
.slice-list em {
    display: block;
}

.slice-list em {
    margin-top: 6px;
    color: var(--muted);
    font-style: normal;
}

.page-heading {
    margin-bottom: 22px;
}

.action-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.jmt-box-card {
    min-height: 190px;
    padding: 24px;
}

.jmt-box-card h2 {
    font-size: 30px;
}

.jmt-box-card p {
    color: #c7d7e4;
}

.box-count-small {
    display: block;
    margin: 10px 0 18px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}

.jmt-box-card.add-box {
    background: #e8e6e0 url("../legacy/images/add-jmt-box-bg.png") no-repeat right bottom;
    color: var(--blue);
    box-shadow: none;
}

.jmt-box-card.add-box p {
    color: var(--muted);
}

.message-table {
    width: 100%;
    border-collapse: collapse;
}

.message-table th,
.message-table td {
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.message-table tr.unread td {
    background: #f7fbff;
    font-weight: 700;
}

.message-table td span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.message-table th {
    color: var(--blue);
    font-size: 13px;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: #e6edf2;
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
}

.status-approved {
    background: #e4f2e4;
    color: var(--green);
}

.status-rejected {
    background: #f5e4e6;
    color: var(--red);
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.message-actions form {
    margin: 0;
}

.inline-action,
.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-check {
    color: var(--muted);
    font-weight: 700;
}

.inline-check input {
    width: auto;
}

.message-body,
.message-meta {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 22px;
}

.message-body pre {
    min-height: 180px;
    margin: 18px 0 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fffdf7;
    padding: 18px;
    white-space: pre-wrap;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.from-line {
    color: var(--muted);
}

.message-meta dl,
.runtime-details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 16px;
    margin: 22px 0 0;
}

.message-meta dt,
.runtime-details dt {
    color: var(--muted);
    font-weight: 700;
}

.message-meta dd,
.runtime-details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.inbound-form {
    display: grid;
    gap: 16px;
}

.inbound-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-weight: 700;
}

.inbound-form .check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.inbound-form .check-row input {
    width: auto;
}

.inbound-form input,
.inbound-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 12px;
    color: var(--ink);
    font: inherit;
}

.form-error {
    border: 1px solid #e7b8bd;
    border-radius: 4px;
    background: #fff2f3;
    color: var(--red);
    padding: 12px 14px;
}

.form-error p {
    margin: 0;
}

.form-error p + p {
    margin-top: 6px;
}

.form-success {
    display: grid;
    gap: 8px;
    border: 1px solid #b8d9bd;
    border-radius: 4px;
    background: #f1fbf2;
    color: var(--green);
    padding: 12px 14px;
}

.form-success code {
    color: var(--ink);
    overflow-wrap: anywhere;
}

.settings-form {
    margin-top: 22px;
}

.code-block {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fffdf7;
    padding: 16px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.runtime-details {
    margin-top: 28px;
}

.account-details {
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.account-api-panel {
    margin-top: 20px;
}

.api-key-form {
    max-width: 520px;
    margin-bottom: 22px;
}

.api-key-table form {
    margin: 0;
}

.roadmap-list {
    display: grid;
    gap: 14px;
}

.roadmap-list article {
    display: grid;
    grid-template-columns: 92px 1fr 130px;
    gap: 18px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 18px;
}

.roadmap-list span {
    color: var(--red);
    font-weight: 700;
}

.roadmap-list p {
    margin-bottom: 0;
    color: var(--muted);
}

.roadmap-list strong {
    justify-self: end;
    color: var(--blue);
}

.section-home {
    background: #faf3dc url("../legacy/images/bg.jpg") repeat-x center 695px;
    font-family: "LegacyBariol", Arial, Helvetica, sans-serif;
}

.section-home .site-shell {
    width: min(950px, calc(100vw - 24px));
}

.section-home .site-header {
    min-height: 126px;
    padding-top: 15px;
    align-items: flex-start;
    gap: 16px;
}

.section-home .brand img {
    width: min(300px, 40vw);
}

.section-home .main-nav {
    gap: 6px;
    margin-top: 36px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 650px;
}

.section-home .main-nav a,
.section-home .nav-form button {
    position: relative;
    display: inline-flex;
    min-width: 108px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    font-family: "LegacyTradeGothic", Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 54px;
    margin-left: 0;
    padding: 0 22px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}

.section-home .main-nav a:nth-of-type(1) {
    z-index: 4;
    background: #b6272e;
}

.section-home .main-nav a:nth-of-type(2) {
    z-index: 3;
    background: #007da9;
}

.section-home .main-nav a:nth-of-type(3) {
    z-index: 2;
    background: #174066;
}

.section-home .main-nav a:nth-of-type(n+4),
.section-home .nav-form button {
    z-index: 1;
    background: #d2cec1;
}

.section-home .main-nav a:nth-of-type(5) {
    z-index: 0;
}

.section-home .main-nav a:hover,
.section-home .nav-form button:hover {
    color: #174066;
    background: #dddddd;
}

.section-home .main-nav .is-active {
    background: #bc2328 !important;
    color: #ffffff;
    box-shadow: inset 0 -5px 0 rgba(255, 255, 255, 0.3);
}

.section-home .site-main {
    padding: 0 6px 56px;
    background:
        url("../legacy/images/vertical-stripes.png") repeat-y left top,
        url("../legacy/images/vertical-stripes.png") repeat-y right top;
}

.section-home .site-footer {
    margin: -28px 6px 58px;
    padding: 24px 34px;
    border-top: 0;
    background: #174066;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.18);
    color: #d8e7f2;
    font-family: "LegacyBariol", Arial, Helvetica, sans-serif;
}

.section-home .footer-brand {
    color: #ffffff;
    font-family: "LegacyBariolBold", Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    text-transform: lowercase;
}

.section-home .footer-brand span {
    color: #e0454d;
}

.section-home .footer-nav a {
    color: #ffffff;
    font-family: "LegacyTradeGothic", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
}

.section-home .footer-nav a:hover {
    color: #9bd2e8;
}

.legacy-home {
    border: 0;
    border-radius: 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    overflow: visible;
    padding: 58px 35px 56px;
}

.legacy-home a {
    color: #bc2328;
}

.legacy-home a.button {
    display: inline-block;
    float: none;
    width: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #bc2328;
    color: #ffffff;
    font-family: "LegacyBariolLight", Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 46px;
    margin: 5px auto 50px;
    padding: 10px 50px 14px;
    text-decoration: none;
}

.legacy-home a.button:hover {
    background: #174066;
    color: #ffffff;
}

#integrations {
    background-color: #ffffff;
    margin: 0 -35px;
    padding: 0 30px;
}

#integrations > h2 {
    max-width: none;
    margin: 0 auto;
    padding: 20px 0 50px;
    color: #174066;
    font-family: "LegacyBariol", Arial, Helvetica, sans-serif;
    font-size: 53px;
    font-weight: 400;
    line-height: 50px;
    text-align: center;
}

#integrations h2 .logo-text {
    font-family: "LegacyBariolBold", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-transform: lowercase;
}

#integrations h2 .logo-text span {
    color: #b6272d;
}

#integrations .integration-intro {
    display: block;
    margin: -64px auto 0;
    padding: 25px 80px 35px;
    color: #174066;
    font-family: "LegacyBariol", Arial, Helvetica, sans-serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 34px;
    text-align: center;
    vertical-align: middle;
}

.legacy-button-row {
    text-align: center;
}

.how-it-works-row {
    position: relative;
    height: 200px;
    margin: 40px -25px 70px;
    padding: 0 30px;
    background: #154168;
    white-space: nowrap;
}

.how-it-works-row-step {
    position: relative;
    display: inline-block;
    width: 32.9%;
    margin-top: -36px;
    padding-top: 0;
    color: #bc2328;
    font-family: "LegacyTradeGothic", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 46px;
    text-align: center;
    text-shadow: 1px 0 1px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    vertical-align: top;
    white-space: normal;
}

.how-it-works-row-step img {
    display: block;
    width: 165px;
    height: 236px;
    margin: 0 auto;
}

.how-it-works-row-step::before {
    position: absolute;
    top: 106px;
    left: -30px;
    width: 58px;
    height: 58px;
    background: url("../legacy/images/how-it-works-arrow.png") no-repeat center top;
    content: "";
}

.how-it-works-row-step:first-child::before {
    display: none;
}

.grey-row {
    clear: both;
    margin: 0 -30px;
    padding: 20px 50px 40px;
    background: #ececec;
    text-align: center;
}

#integrations .integration {
    display: inline-block;
    width: 24% !important;
    min-height: 118px;
    margin-right: 0;
    padding: 0 !important;
    background-image: none !important;
    color: #9f9f9f;
    font-family: "LegacyTradeGothic", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 11px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: top;
}

.integration img {
    display: block;
    width: auto;
    height: 86px;
    margin: 0 auto 8px;
}

#integrations .integration.available {
    color: #b7282e;
}

#do-this {
    clear: both;
    text-align: center;
}

#do-this .button {
    margin-bottom: 0;
}

#do-this h2 {
    margin: 35px 0 20px;
    color: #174066;
    font-family: "LegacyBariolLight", Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 46px;
    text-align: center;
}

#do-this h2 strong {
    display: inline-block;
    border-bottom: 1px solid #007da9;
    font-weight: 400;
}

@media (max-width: 860px) {
    .site-header,
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .main-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .hero-panel {
        padding: 26px;
    }

    .static-page {
        max-width: 100%;
    }

    .static-hero {
        padding: 28px;
    }

    .status-grid,
    .slice-list,
    .dashboard-grid,
    .static-grid {
        grid-template-columns: 1fr;
    }

    .action-heading {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        justify-content: flex-start;
        max-width: 100%;
    }

    .roadmap-list article {
        grid-template-columns: 1fr;
    }

    .roadmap-list strong {
        justify-self: start;
    }

    .section-home .site-shell {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 0 12px;
    }

    .section-home {
        overflow-x: hidden;
    }

    .section-home .site-header {
        min-height: 0;
    }

    .section-home .site-footer {
        align-items: center;
        margin: -18px 0 42px;
        text-align: center;
    }

    .section-home .footer-nav {
        justify-content: center;
    }

    .section-home .brand img {
        width: min(323px, 78vw);
    }

    .section-home .main-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(106px, 1fr));
        width: 100%;
        gap: 6px;
        margin-top: 6px;
    }

    .section-home .main-nav a,
    .section-home .nav-form button {
        min-height: 40px;
        margin-left: 0;
        padding: 0 14px;
        background: #174066 !important;
        clip-path: none;
        font-size: 16px;
        line-height: 40px;
        text-align: center;
    }

    .section-home .main-nav .is-active {
        background: #bc2328 !important;
    }

    .section-home .site-main {
        padding: 0 0 42px;
        background: none;
    }

    .legacy-home {
        padding: 30px 18px 38px;
    }

    #integrations {
        margin: 0 -18px;
        padding: 0 18px;
    }

    #integrations > h2 {
        padding: 12px 0 32px;
        font-size: 30px;
        line-height: 32px;
    }

    #integrations .integration-intro {
        margin-top: -42px;
        padding: 20px 0 28px;
        font-size: 22px;
        line-height: 26px;
    }

    .how-it-works-row {
        height: auto;
        margin: 26px -18px 34px;
        padding: 18px;
        white-space: normal;
    }

    .how-it-works-row-step {
        display: block;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
        font-size: 26px;
        line-height: 34px;
    }

    .how-it-works-row-step + .how-it-works-row-step {
        margin-top: 28px;
    }

    .how-it-works-row-step::before {
        display: none;
    }

    .grey-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 8px;
        margin: 0 -18px;
        padding: 22px 14px 28px;
    }

    #integrations .integration {
        width: 100% !important;
    }

    .legacy-home a.button {
        font-size: 26px;
        line-height: 34px;
        padding: 8px 28px 12px;
    }

    #do-this h2 {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 0 12px;
    }

    .site-header {
        gap: 14px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .main-nav a,
    .nav-form button {
        width: 100%;
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
        text-align: center;
        white-space: normal;
    }

    .static-hero {
        padding: 24px 20px;
    }

    .static-hero h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .static-hero p:last-child {
        font-size: 16px;
    }

    .static-grid article {
        min-height: 0;
        padding: 20px;
    }

    .static-copy {
        padding-left: 16px;
    }

    .static-actions .button {
        width: 100%;
        min-height: 44px;
        white-space: normal;
    }

    .footer-nav a {
        overflow-wrap: anywhere;
    }

    .section-home .site-shell {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 0 12px;
    }

    .section-home .main-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 330px;
        margin-right: auto;
        margin-left: auto;
    }

    .section-home .main-nav .nav-link:first-child {
        grid-column: 1 / -1;
    }

    .section-home .main-nav a,
    .section-home .nav-form button {
        padding: 0 8px;
        font-size: 15px;
    }

    #integrations > h2 {
        max-width: 310px;
        font-size: 28px;
        line-height: 31px;
        overflow-wrap: anywhere;
    }

    #integrations h2 .logo-text {
        display: block;
    }

    #integrations {
        margin: 0;
        padding: 0;
    }

    #integrations .integration-intro {
        padding-right: 0;
        padding-left: 0;
        max-width: 310px;
        overflow-wrap: anywhere;
    }

    .how-it-works-row {
        max-width: 330px;
        margin-right: 0;
        margin-left: 0;
        padding-right: 12px;
        padding-left: 12px;
    }

    .how-it-works-row-step img {
        max-width: 100%;
        height: auto;
    }

    .grey-row {
        max-width: 330px;
        margin-right: 0;
        margin-left: 0;
    }

    #do-this {
        max-width: 330px;
        margin-right: auto;
        margin-left: auto;
    }

    #do-this h2 {
        max-width: 310px;
        margin-right: auto;
        margin-left: auto;
        overflow-wrap: anywhere;
    }

    #do-this .button {
        max-width: 100%;
        white-space: normal;
    }

    .section-home .site-footer {
        padding: 22px 18px;
    }

    .footer-nav {
        gap: 10px 14px;
    }
}
