/*
Theme Name: SalesToHub Theme
Theme URI: https://salestohub.local/
Author: SalesToHub
Description: Cohesive landing-style theme for SalesToHub pages.
Version: 2.1.0
Text Domain: salestohub-theme
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
    --bg: #f7f8f4;
    --paper: #ffffff;
    --ink: #101214;
    --muted: #5d6670;
    --line: #d9ded4;
    --line-dark: #111315;
    --blue: #1463ff;
    --green: #00a667;
    --orange: #ff6a2a;
    --acid: #dfff52;
    --shadow: 10px 10px 0 #111315;
    --max: 1200px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(16, 18, 20, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(16, 18, 20, 0.055) 1px, transparent 1px),
        var(--bg);
    background-size: 42px 42px, 42px 42px, auto;
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-shell,
.site-header-inner {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 248, 244, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--line-dark);
}

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

.site-branding {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 950;
    letter-spacing: -0.055em;
    font-size: 23px;
}

.site-logo-image {
    width: 44px;
    height: 44px;
    display: block;
    border: 2px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    color: #32383e;
    font-size: 14px;
    font-weight: 800;
}

.site-nav a:hover {
    color: var(--blue);
}

.site-main {
    min-height: 60vh;
}

/* Inner pages */
.inner-page {
    padding: 76px 0 92px;
}

.inner-page h1 {
    margin: 0 0 18px;
    font-size: clamp(46px, 6vw, 82px);
    line-height: 0.86;
    letter-spacing: -0.08em;
    text-transform: uppercase;
}

.inner-page h2 {
    margin: 32px 0 10px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 950;
    color: var(--blue);
}

.inner-page p,
.inner-page li {
    color: #303942;
    font-size: 18px;
    font-weight: 550;
    max-width: 74ch;
}

.inner-page .wp-block-group {
    border: 2px solid var(--line-dark);
    background: var(--paper);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.inner-page-content .content-section {
    display: grid;
    gap: 14px;
}

.inner-page-content .content-section h2 {
    margin-top: 26px;
}

.pricing-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0 18px;
}

.pricing-card {
    border: 2px solid var(--line-dark);
    background: #fff;
    padding: 16px;
    box-shadow: 7px 7px 0 var(--line-dark);
}

.pricing-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.pricing-card .price {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
    color: var(--blue);
}

.pricing-card p {
    margin: 0;
    font-size: 14px;
    color: #303942;
}

@media (max-width: 860px) {
    .pricing-card-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA forms rendered by plugin */
.cta-form {
    display: grid;
    gap: 13px;
    margin: 0;
    border: 2px solid var(--line-dark);
    background: #ecefe9;
    box-shadow: 8px 8px 0 #9aa39a;
    padding: 20px;
}

.cta-form .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cta-form label > span {
    font-size: 11px;
    font-weight: 950;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    display: inline-block;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
    width: 100%;
    min-height: 48px;
    border: 2px solid var(--line-dark);
    background: #f8faf6;
    color: var(--ink);
    padding: 0 12px;
    font: inherit;
    box-shadow: 4px 4px 0 #c8d0c3;
}

.cta-form textarea {
    min-height: 104px;
    padding-top: 12px;
}

.cta-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border: 2px solid var(--line-dark);
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 6px 6px 0 var(--line-dark);
    cursor: pointer;
}

.cta-form button:hover {
    transform: translate(-2px, -2px);
}

.cta-notice {
    border: 2px solid var(--line-dark);
    background: #fff;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
}

.cta-notice-success {
    border-color: #0d7049;
}

.cta-notice-error {
    border-color: #8f2d2d;
}

.contact-inline {
    color: #3f4954;
    font-size: 12px;
    margin: 0;
}

/* Footer */
.site-footer {
    padding: 46px 0;
    color: #3f4650;
    border-top: 2px solid var(--line-dark);
    background: #e6ebe4;
}

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

.footer-col h3 {
    margin: 0 0 8px;
    color: #12161a;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li + li {
    margin-top: 6px;
}

.footer-col a {
    color: #2d3744;
    font-size: 14px;
    font-weight: 700;
}

.footer-col a:hover {
    color: #111;
}

.footer-meta {
    border-top: 1px solid #bbc4b8;
    padding-top: 12px;
    font-size: 14px;
}

.footer-meta p {
    margin: 4px 0;
}

@media (max-width: 940px) {
    .site-nav ul {
        display: none;
    }
}

@media (max-width: 860px) {
    .site-shell,
    .site-header-inner {
        width: min(var(--max), calc(100% - 28px));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-form .cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage classes moved from inline DB CSS */
.sth-page * { box-sizing: border-box; }
.sth-page { font-family: Inter, system-ui, sans-serif; color: #101214; background: linear-gradient(90deg, rgba(16, 18, 20, 0.055) 1px, transparent 1px), linear-gradient(rgba(16, 18, 20, 0.055) 1px, transparent 1px), radial-gradient(circle at 20% 0%, rgba(20, 99, 255, 0.14), transparent 32rem), radial-gradient(circle at 90% 10%, rgba(255, 106, 42, 0.16), transparent 28rem), #f7f8f4; background-size: 42px 42px, 42px 42px, auto, auto, auto; line-height: 1.45; }
.sth-page a { color: inherit; text-decoration: none; }
.sth-c { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.sth-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; border: 2px solid #111315; background: #dfff52; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; box-shadow: 5px 5px 0 #111315; }
.sth-dot { width: 8px; height: 8px; background: #00a667; border: 2px solid #101214; }
.sth-hero { padding: 86px 0 62px; }
.sth-herogrid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 44px; align-items: center; }
.sth-brand { display: flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -0.055em; font-size: 23px; }
.sth-logo { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid #101214; background: linear-gradient(135deg, #1463ff, #7ee7ff 52%, #dfff52); box-shadow: 5px 5px 0 #101214; font-size: 12px; letter-spacing: -0.08em; }
.sth-hero h1 { margin: 25px 0 22px; font-size: clamp(52px, 7.2vw, 106px); line-height: 0.82; letter-spacing: -0.09em; max-width: 920px; text-transform: uppercase; }
.sth-mark { display: inline-block; background: #101214; color: #fff; padding: 0 0.08em 0.04em; }
.sth-copy { max-width: 680px; color: #37404a; font-size: 20px; font-weight: 550; }
.sth-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.sth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border: 2px solid #111315; background: #fff; font-weight: 900; font-size: 14px; box-shadow: 6px 6px 0 #111315; }
.sth-btnp { background: #1463ff; color: #fff; }
.sth-btns { background: #dfff52; }
.sth-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; max-width: 720px; }
.sth-metric { padding: 18px; border: 2px solid #111315; background: #fff; box-shadow: 7px 7px 0 #111315; }
.sth-metric strong { display: block; font-size: 25px; letter-spacing: -0.055em; }
.sth-metric span { color: #5d6670; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.04em; }
.sth-form { position: relative; padding: 28px; border: 2px solid #111315; background: #fff; box-shadow: 18px 18px 0 #101214; }
.sth-form::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: #dfff52; border: 2px solid #111315; z-index: -1; }
.sth-page section { padding: 92px 0; }
.sth-head { display: grid; grid-template-columns: 0.72fr 1fr; gap: 32px; align-items: end; margin-bottom: 38px; }
.sth-page h2.kicker { margin: 0; color: #1463ff; text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 950; }
.sth-title { display: block; margin: 10px 0 0; font-size: clamp(36px, 4.8vw, 68px); line-height: 0.92; letter-spacing: -0.075em; text-transform: uppercase; }
.sth-sc { color: #38414a; font-size: 18px; font-weight: 550; margin: 0; }
.sth-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sth-card { border: 2px solid #111315; background: #fff; padding: 28px; min-height: 260px; box-shadow: 9px 9px 0 #111315; }
.sth-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid #111315; background: #dfff52; font-weight: 950; margin-bottom: 24px; box-shadow: 5px 5px 0 #111315; }
.sth-card h3 { margin: 0 0 10px; font-size: 24px; line-height: 1; letter-spacing: -0.05em; text-transform: uppercase; }
.sth-card p { color: #5d6670; margin: 0; font-weight: 520; }
.sth-process { counter-reset: step; display: grid; gap: 14px; }
.sth-step { counter-increment: step; display: grid; grid-template-columns: 90px 1fr 250px; gap: 24px; align-items: center; padding: 20px; border: 2px solid #111315; background: #fff; box-shadow: 8px 8px 0 #111315; }
.sth-step::before { content: "0" counter(step); width: 66px; height: 66px; display: grid; place-items: center; background: #1463ff; color: #fff; border: 2px solid #111315; font-weight: 950; font-size: 20px; box-shadow: 5px 5px 0 #111315; }
.sth-step h3 { margin: 0 0 5px; font-size: 24px; letter-spacing: -0.05em; text-transform: uppercase; }
.sth-step p,.sth-step span { margin: 0; color: #5d6670; font-weight: 550; }
.sth-step span { justify-self: end; color: #101214; font-weight: 950; text-transform: uppercase; }
.sth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sth-panel { border: 2px solid #111315; padding: 34px; background: #fff; box-shadow: 10px 10px 0 #111315; }
.sth-panel h3 { margin: 0 0 14px; font-size: 40px; line-height: 0.94; letter-spacing: -0.07em; text-transform: uppercase; }
.sth-check { display: grid; gap: 13px; margin-top: 25px; }
.sth-table { width: 100%; border-collapse: collapse; border: 2px solid #111315; background: #fff; }
.sth-table th,.sth-table td { text-align: left; padding: 17px; border-bottom: 2px solid #111315; color: #303942; font-weight: 570; }
.sth-table th { color: #101214; background: #dfff52; font-weight: 950; text-transform: uppercase; }
.sth-test { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 30px; align-items: center; padding: 38px; border: 2px solid #111315; background: #101214; color: #fff; box-shadow: 14px 14px 0 #ff6a2a; }
.sth-test h2.kicker { color: #dfff52; }
.sth-test blockquote { margin: 0; font-size: clamp(30px, 4.2vw, 58px); line-height: 0.94; letter-spacing: -0.075em; font-weight: 950; text-transform: uppercase; }
.sth-test .sth-qm { margin: 12px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 17px; line-height: 1.45; font-weight: 550; }
.sth-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.sth-tag { padding: 13px 16px; border: 2px solid #111315; background: #fff; font-weight: 950; box-shadow: 5px 5px 0 #111315; text-transform: uppercase; font-size: 13px; letter-spacing: 0.025em; }
.sth-faq { display: grid; gap: 12px; }
.sth-faq details { border: 2px solid #111315; background: #fff; padding: 20px 22px; box-shadow: 6px 6px 0 #111315; }
.sth-bottom { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 30px; align-items: center; padding: 44px; background: linear-gradient(135deg, rgba(223,255,82,.82), rgba(189,238,255,.9)), #fff; border: 2px solid #111315; box-shadow: 18px 18px 0 #111315; }
.sth-bottom h3 { margin: 13px 0 14px; font-size: clamp(40px, 5.5vw, 76px); line-height: 0.86; letter-spacing: -0.085em; text-transform: uppercase; }
@media (max-width: 940px) {
    .sth-herogrid,.sth-head,.sth-split,.sth-test,.sth-bottom { grid-template-columns: 1fr; }
    .sth-cards { grid-template-columns: 1fr; }
    .sth-step { grid-template-columns: 70px 1fr; }
    .sth-step span { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
    .sth-c { width: min(100% - 28px, 1200px); }
    .sth-hero { padding-top: 56px; }
    .sth-trust { grid-template-columns: 1fr; }
    .sth-bottom,.sth-test,.sth-panel,.sth-form { padding: 24px; }
}
