/* 1stsend public site. BS-11711 */
:root {
    --brand: #e31b38;
    --brand-dark: #b8142c;
    --ink: #16181d;
    --text: #2f3440;
    --muted: #5b6270;
    --line: #e4e6eb;
    --soft: #f6f7f9;
    --white: #ffffff;
    --radius: 10px;
    --wrap: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.5rem; letter-spacing: -.02em; }
h2 { font-size: 1.75rem; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo img { display: block; height: 44px; width: auto; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--brand); text-decoration: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--brand);
    background: var(--brand);
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.4;
    cursor: pointer;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn-outline { background: transparent; color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: var(--white); }
.nav .btn:not(.btn-outline), .nav .btn:not(.btn-outline):hover { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

.account-callout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-top: 36px;
    padding: 20px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    max-width: 780px;
}
.account-callout strong { display: block; color: var(--ink); font-size: 1.05rem; }
.account-callout span { color: var(--muted); font-size: .95rem; }
.account-callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #fff5f6 0%, var(--white) 100%); }
.hero h1 { max-width: 780px; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.page-head { padding: 56px 0 32px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); max-width: 760px; margin: 0; font-size: 1.1rem; }
.section { padding: 56px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--muted); max-width: 760px; margin-bottom: 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); margin-bottom: 8px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .data-note { font-size: .9rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 12px; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; }
.steps li::before {
    content: counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--brand); color: var(--white); font-weight: 700; margin-bottom: 12px;
}
.steps strong { display: block; color: var(--ink); margin-bottom: 4px; }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.crosses li::before { content: "\2715"; }

.callout {
    border-left: 4px solid var(--brand);
    background: #fff5f6;
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 0 0 1.2em;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 600; }

/* Pricing */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: var(--white); }
.plan.featured { border: 2px solid var(--brand); }
.plan .price { font-size: 2.2rem; font-weight: 700; color: var(--ink); line-height: 1.1; margin: 8px 0 4px; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.plan .checks { flex: 1; }
.plan .btn { text-align: center; }

.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stats div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.stats strong { display: block; font-size: 1.9rem; line-height: 1.1; color: var(--ink); margin-bottom: 6px; }
.stats span { color: var(--muted); font-size: .95rem; }

.price-hero { display: grid; gap: 32px; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.price-big { font-size: 3rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 4px 0 16px; letter-spacing: -.02em; }
.price-big small { font-size: 1.1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 860px) { .price-hero { grid-template-columns: minmax(0, 1fr); } .price-big { font-size: 2.4rem; } }

/* Long-form documents */
.doc { max-width: 820px; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .4em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 1.4em; }
.doc blockquote { margin: 0 0 1em; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 32px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 240px; }
.meta-line { color: var(--muted); font-size: .95rem; }

.contact-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }

/* Forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea {
    font: inherit;
    padding: 10px 12px;
    border: 1px solid #c9cdd5;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form-success { border: 1px solid #9bd3ae; background: #eefaf2; color: #155d2e; border-radius: var(--radius); padding: 16px 20px; margin-top: 20px; }
.form-hint { color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--ink); color: #c5c9d2; padding: 44px 0 28px; font-size: .92rem; margin-top: 0; }
.site-footer a { color: var(--white); }
.footer-cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 28px; }
.footer-cols h4 { color: var(--white); font-size: .95rem; margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-legal { border-top: 1px solid #333844; padding-top: 20px; color: #9aa0ac; }
.footer-legal p { margin: 0 0 6px; }

@media (max-width: 640px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.45rem; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 40px 0; }
    .logo img { height: 36px; }
    .nav { gap: 6px 16px; }
}

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
