/* Base */

body,
body *:not(html):not(style):not(br):not(tr):not(code) {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
    position: relative;
}

body {
    -webkit-text-size-adjust: none;
    background-color: #f8fafc;
    color: #334155;
    height: 100%;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    width: 100% !important;
}

p,
ul,
ol,
blockquote {
    line-height: 1.6;
    text-align: start;
}

a {
    color: #4f46e5;
    text-decoration: underline;
}

a img {
    border: none;
}

/* Typography */

h1 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    text-align: start;
    letter-spacing: -0.025em;
}

h2 {
    color: #1e293b;
    font-size: 17px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: start;
}

h3 {
    color: #334155;
    font-size: 15px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
    text-align: left;
}

p {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: left;
}

p.sub {
    font-size: 13px;
    color: #64748b;
}

img {
    max-width: 100%;
    border-radius: 8px;
}

/* Layout */

.wrapper {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f8fafc;
    margin: 0;
    padding: 24px 0;
    width: 100%;
}

.content {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header */

.header {
    padding: 12px 0 24px 0;
    text-align: center;
}

.header a {
    color: #0f172a;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.03em;
}

/* Logo */

.logo {
    height: 48px;
    margin-top: 0;
    margin-bottom: 0;
    max-height: 48px;
    width: auto;
}

/* Body */

.body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    background-color: #f8fafc;
    border-bottom: none;
    border-top: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.inner-body {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    background-color: #ffffff;
    border-color: #e2e8f0;
    border-radius: 12px;
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    padding: 0;
    width: 570px;
}

.inner-body a {
    word-break: break-all;
}

/* Subcopy */

.subcopy {
    border-top: 1px solid #e2e8f0;
    margin-top: 24px;
    padding-top: 20px;
}

.subcopy p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Footer */

.footer {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 570px;
    margin: 0 auto;
    padding: 24px 0;
    text-align: center;
    width: 570px;
}

.footer p {
    color: #94a3b8;
    font-size: 12px;
    text-align: center;
}

.footer a {
    color: #94a3b8;
    text-decoration: underline;
}

/* Tables */

.table table {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 24px auto;
    width: 100%;
    border-collapse: collapse;
}

.table th {
    border-bottom: 2px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    padding-bottom: 8px;
    text-align: left;
}

.table td {
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.content-cell {
    max-width: 100vw;
    padding: 40px;
}

/* Buttons */

.action {
    -premailer-cellpadding: 0;
    -premailer-cellspacing: 0;
    -premailer-width: 100%;
    margin: 24px auto;
    padding: 0;
    text-align: center;
    width: 100%;
    float: unset;
}

.button {
    -webkit-text-size-adjust: none;
    border-radius: 8px;
    color: #fff !important;
    display: inline-block;
    overflow: hidden;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s;
}

.button-blue,
.button-primary {
    background-color: #4f46e5;
    border-bottom: 10px solid #4f46e5;
    border-left: 20px solid #4f46e5;
    border-right: 20px solid #4f46e5;
    border-top: 10px solid #4f46e5;
}

.button-green,
.button-success {
    background-color: #10b981;
    border-bottom: 10px solid #10b981;
    border-left: 20px solid #10b981;
    border-right: 20px solid #10b981;
    border-top: 10px solid #10b981;
}

.button-red,
.button-error {
    background-color: #f43f5e;
    border-bottom: 10px solid #f43f5e;
    border-left: 20px solid #f43f5e;
    border-right: 20px solid #f43f5e;
    border-top: 10px solid #f43f5e;
}

/* Panels */

.panel {
    border-left: #4f46e5 solid 4px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
}

.panel-content {
    background-color: #f8fafc;
    color: #475569;
    padding: 16px 20px;
}

.panel-content p {
    color: #475569;
    font-size: 14px;
    margin-bottom: 0;
}

.panel-item {
    padding: 0;
}

.panel-item p:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Utilities */

.break-all {
    word-break: break-all;
}

@media only screen and (max-width: 600px) {
    .desktop-columns,
    .desktop-columns tbody,
    .desktop-columns tr,
    .desktop-columns td.column-cell {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .desktop-columns td.column-spacer {
        display: none !important;
    }
    .competition-card {
        width: 273px !important;
        max-width: 100% !important;
        margin: 0 auto 20px auto !important;
    }
}
