/* --- QUICK BRIDGE so existing styles apply to your markup --- */
.calculator-container {
    max-width: 808px;
    margin: 2rem auto;
    padding: 2rem;
}

/* == .container */
.results-container {
    max-width: 808px;
    margin: 2rem auto;
    padding: 2rem;
}

/* == .report   */


.calculator-container h1,
.results-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* == h1 rules  */


.calculator-container form label {
    display: block;
    margin-bottom: 1rem;
}

/* == form label */
.calculator-container form input,
.calculator-container form select,
.calculator-container form textarea {
    width: 100%;
    padding: .5rem;
    margin-top: .25rem;
}


.btn-primary,
.btn-secondary,
.calculator-container button,
.results-container button {
    background: #303090;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 4px;
}


/* result tiles */
.result-item {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.result-item h3 {
    margin: 0 0 .5rem 0;
}

.results-summary .highlight {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 2rem;
}




/* Import Omnes font */
@font-face {
    font-family: 'Omnes';
    src: url('https://snoball.events/wp-content/uploads/2025/05/Omnes-Regular-1-1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Omnes';
    src: url('https://snoball.events/wp-content/uploads/2025/05/Omnes-Semibold-1.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Omnes', sans-serif;
    background-color: #fff;
    color: #222;
}

* {
    box-sizing: border-box;
}

h1,
h2,
h3 {
    font-weight: 600;
    margin: 0.5em 0;
}


/* p {
margin: 0.5em 0;
line-height: 1.4em;
} */
p {
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* two equal columns */
    gap: 24px 40px;
    /* row gap / column gap */
}

.actions {
    text-align: center;
}

.sn-input {
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 2em;
}

.heading-p {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    color: rgb(51, 51, 153);
    font-kerning: none;
    text-decoration-line: none;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
}

.logo {
    width: 180px;
    margin: 1em auto;
    display: block;
}


.calculator-container,
.results-container {
    max-width: 800px;
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 8px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
}


form label {
    display: block;
    margin-top: 1em;
    font-weight: 600;
}


form input,
form select,
form textarea {
    width: 100%;
    padding: 0.8em;
    margin-top: 0.3em;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Omnes', sans-serif;
    font-size: 1em;
}


.btn-primary {
    display: inline-block;
    margin-top: 1.5em;
    padding: 0.8em 1.5em;
    background: linear-gradient(90deg, #1C9DD9, #005082);
    color: #fff;
    text-decoration: none !important;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    min-width: 220px;
    text-align: center;
}


.btn-primary:hover {
    opacity: 0.9;
}


.btn-secondary {
    display: inline-block;
    margin-top: 1.5em;
    padding: 0.8em 1.5em;
    background: #eee;
    color: #222;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}


.btn-secondary:hover {
    background: #ddd;
}


.results-summary {
    text-align: center;
    margin-bottom: 2em;
}


.results-summary .highlight {
    font-size: 2.2em;
    font-weight: 600;
    color: #1C9DD9;
}


.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}


.result-item {
    background: #f9f9f9;
    padding: 1.2em;
    border-radius: 6px;
    text-align: center;
}


.results-actions {
    text-align: center;
    margin-top: 2.5em;
}


.results-actions a,
.results-actions button {
    margin: 0 0.5em;
}


/* ===== Exact look overrides ===== */


/* Big page title at the top */
:where(h1):first-of-type {
    text-align: center !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    margin: 28px 0 28px !important;
    color: rgb(51, 51, 153);
}


/* Card */
.calculator-container,
.results-container {
    max-width: 960px !important;
    margin: 0 auto;
    padding: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    /* box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08) !important;
border: 1px solid #EEF0F3 !important; */
}


/* Logo + hero heading inside the card */
header .logo {
    height: 56px !important;
    margin: 6px auto 8px !important;
    display: block !important;
}

.calculator-container header h1,
.results-container header h1 {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 8px 0 8px !important;
}

.calculator-container header p,
.results-container header p {
    text-align: center !important;
    color: #556270 !important;
    margin: 4px 0 28px !important;
}


/* Labels + fields */
#roi-form label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: rgb(51, 51, 153) !important;
    margin: 18px 0 8px !important;
}

#roi-form input,
#roi-form select,
#roi-form textarea {
    padding: 12px 14px !important;
    border: 1px solid #D7DBE0 !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

#roi-form textarea {
    height: auto;
    min-height: 120px;
}


/* Primary button */
.btn-primary,
.results-actions .btn-primary {
    background: linear-gradient(135deg, #1C9DD9, #005082) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 22px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 8px 18px rgba(0, 80, 130, .22) !important;
}

.btn-primary:hover {
    filter: brightness(1.03);
}


/* Make selects/inputs look tighter on large screens */
@media (min-width: 900px) {

    #roi-form input,
    #roi-form select,
    #roi-form textarea {
        font-size: 15.5px !important;
    }
}


/* Results page tiles (when you test that page) */
.results-summary .highlight {
    font-size: 40px !important;
}

.results-grid {
    gap: 18px !important;
}

.result-item {
    border: 1px solid #EEF0F3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    padding: 18px !important;
}


/* ===== Form layout: two-column pairs ===== */


/* Turn the whole form into a grid */
#roi-form {
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
    gap: 20px 24px;
    /* space between fields */
}


/* Make each label+input stick together */
#roi-form label {
    margin-top: 0 !important;
}


/* Force wide fields (like textarea, email, company) to span full width */
#roi-form textarea,
#roi-form input[type="email"],
#roi-form input[type="text"],
#roi-form button,
#roi-form select:only-child {
    grid-column: 1 / -1;
    /* span both columns */
}


/* Button centered across two columns */
#roi-form button.btn-primary {
    justify-self: center;
}


/* ===== Pixel-match layout to the PDF ===== */


/* Page title (outside the card) */
:where(h1):first-of-type {
    text-align: center !important;
    font-family: 'Omnes', Arial, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    font-size: 64px !important;
    margin: 32px 0 24px !important;
    color: rgb(51, 51, 153);
}


/* Card container */
.calculator-container {
    max-width: 1300px !important;
    margin: 0 auto 80px !important;
    padding: 40px 36px !important;
    background: #fff !important;
    border-radius: 16px !important;
    /* border:1px solid #EEF0F3!important; */
    /* box-shadow:0 12px 32px rgba(15,23,42,.08)!important; */
}


/* Logo + hero heading inside card */
header .logo {
    height: 56px !important;
    display: block !important;
    margin: 6px auto 10px !important;
}

.calculator-container header h1 {
    text-align: center !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    font-size: 36px !important;
    margin: 8px 0 !important;
}

.calculator-container header p {
    text-align: center !important;
    color: #556270 !important;
    margin: 6px 0 28px !important;
}


/* Typography + colors (exact look) */
#roi-form label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: rgb(51, 51, 153) !important;
    margin: 0 0 8px !important;
}

#roi-form input,
#roi-form select,
#roi-form textarea {
    background: #fff !important;
    color: rgb(51, 51, 153) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    padding: 12px 14px !important;
    border: 1px solid #D7DBE0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    outline: none !important;
}

#roi-form textarea {
    height: auto;
    min-height: 120px;
}

#roi-form input::placeholder,
#roi-form textarea::placeholder {
    color: #8A94A6;
}


/* Primary button (gradient) */
.btn-primary {
    display: inline-block;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 14px 22px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    color: #fff !important;
    background: rgb(189, 61, 186) !important;
    box-shadow: 0 8px 18px rgba(0, 80, 130, .22) !important;
}

.btn-primary:hover {
    filter: brightness(1.03);
}


/* ---- Two-column grid like the PDF ---- */
/* #roi-form{display:grid; grid-template-columns:1fr 1fr; column-gap:84px; row-gap:20px;} */


/* Each label+control wrapped by JS becomes a neat box */
/* #roi-form .field{display:flex; flex-direction:column;} */


/* Full-width rows (make these span both columns) */
#roi-form .field:has(#industry),
#roi-form .field:has(#company),
#roi-form .field:has(#email),
#roi-form .field:has(#eventDetails),
#roi-form .field:has(button) {
    grid-column: 1 / -1;
}

/* Tighten top/bottom spacing around the button row */
#roi-form .field:has(button) {
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}


/* Small screens fall back to single column */
@media (max-width: 720px) {
    #roi-form {
        grid-template-columns: 1fr;
    }
}


/* —— ROI grid (boxes only) —— */
.roi-grid {
    margin: 24px auto 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 84px;
}


.roi-grid .roi-card {
    margin: 0;
    padding: 18px;
    border: 1px solid rgb(201, 73, 193);
    border-radius: 14px;
    background: #fff;
}

.roi-card .label{
    color: rgb(201, 73, 193);
    font-weight: 600;
}

.roi-grid .roi-card legend {
    font-weight: 600;
    color: rgb(201, 73, 193);
    /* purple section title */
    padding: 0 8px;
    font-size: 18px;
}


.roi-grid .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.roi-grid label {
    font-weight: 700;
    font-size: 14px;
    color: #2C2C2C;
}


.roi-grid input,
.roi-grid select,
.roi-grid textarea {
    width: auto;
    border: 1px solid #D9D7E8;
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
    font-size: 16px;
    color: #1B1B1B;
    box-shadow: none;
    outline: none;
}

.roi-grid textarea {
    min-height: 120px;
}


.roi-grid .input-with-prefix {
    position: relative;
}

.roi-grid .input-with-prefix > span {
    position: absolute;
    left: 12px;
    top: 55%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #8A86A6;
    padding-right: 10px;
    border-right: 1px solid #D7DBE0;
    height: 90%;
    display: flex;
    align-items: center;
}

.roi-grid .input-with-prefix input {
    padding-left: 28px;
}


.roi-grid .hint {
    font-size: 12px;
    color: #8A86A6;
}


.roi-grid .half {
    width: 100%;
}

.roi-grid .full {
    grid-column: 1 / -1;
}


.roi-grid .actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.roi-grid .btn-primary {
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #1C9DD9, #005082);
    box-shadow: 0 8px 18px rgba(0, 80, 130, .22);
    cursor: pointer;
}


/* Responsive: single column on small screens */
@media (max-width: 820px) {
    .roi-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    :where(h1):first-of-type {
        font-size: 44px !important;
    }

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

    .heading-p {
        font-size: 16px;
    }

    .calculator-container {
        padding: 24px !important;
    }
}

/* Results container */
.results-container {
    padding: 40px;
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 16px;
    /*box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);*/
}

/* Header */
.results-container header {
    text-align: center;
    margin-bottom: 32px;
}

.results-container header .logo {
    height: 60px;
    margin-bottom: 16px;
}

.results-container header h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.results-container header p {
    color: #556270;
    font-size: 18px;
}

/* Summary Highlight */
.results-summary {
    text-align: center;
    margin-bottom: 40px;
}

.results-summary h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #333399;
}

.results-summary .highlight {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #1C9DD9;
    margin-bottom: 8px;
}

.results-summary small {
    font-size: 14px;
    color: #777;
}

/* Grid layout for metrics */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.result-item {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-item h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1C9DD9;
}

.result-item p {
    font-size: 16px;
    color: #333;
}

/* Hover effect */
.result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Actions */
.results-actions {
    text-align: center;
    margin-top: 16px;
}

.results-actions button,
.results-actions a {
    margin: 0 8px;
}

#roi-results-container {
    margin: 0;
    padding: 18px;
    border: 1px solid #333399;
    border-radius: 14px;
    background: #fff;
}

#roi-results-container.calculator-container {
    padding: 60px 80px !important;
    max-width: 930px !important;
}

.roi-result-container .heading h1 {
    text-align: left !important;
    margin-top: 0 !important;
}

.roi-result-container .heading-p {
    text-align: left !important;
}

.roi-result-container .roi-estimate {
    text-align: left !important;
    margin-bottom: 20px;
}

.roi-result-container .roi-estimate h2,
.roi-result-container .roi-estimate small {
    color: rgb(189, 61, 186);
    font-size: 64px;
    margin: 0;
    font-weight: 400;
}
.roi-result-container #roiValue {
    margin-bottom: 8px;
    color: rgb(189, 61, 186);
    font-size: 86px;
    margin-top: 0px;
    font-weight: 600;
}

.roi-result-container .roi-estimate small {
    color: rgb(204, 216, 229);
}

.roi-result-container .numbers {
    padding: 30px 0 50px 0;
    border-bottom: 2px solid rgb(245, 176, 236);
}

.roi-result-container .numbers h3 {
    color: rgb(51, 51, 153);
    font-size: 62px;
    margin-top: 0;
    margin-bottom: 20px;
}

.roi-result-container .numbers span {
    font-size: 14px;
    font-style: normal;
    color: rgb(51, 51, 153);
    margin: 30px 0;
}

.roi-result-container .numbers p {
    font-size: 28px;
    font-style: normal;
    color: rgb(51, 51, 153);
    margin: 0;
}

.roi-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 50px;
    border: 2px solid rgb(245, 176, 236);
    border-radius: 12px;
    margin-top: 30px;
}

.roi-box h2 {
    font-size: 64px;
    font-weight: 300;
    color: rgb(201, 73, 193);
    margin: 0;
}

.prepared-company {
    margin-bottom: 80px;
}

.prepared-company h4 {
    margin-top: 40px;
    font-size: 24px;
    font-weight: 400;
    color: rgb(51, 51, 153);
}

.prepared-company h2 {
    font-size: 32px;
    font-weight: 600;
    color: rgb(51, 51, 153);
    margin-top: 8px;
    word-break: break-all;
}

.next-step h3 {
    font-size: 54px;
    font-weight: 400;
    font-style: normal;
    color: rgb(201, 73, 193);
    margin: 0;
}

.next-step p {
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    color: rgb(51, 51, 153);
    margin-bottom: 15px !important;
    max-width: 400px;
    line-height: 1.5;
}

.next-step-img img {
    max-width: 250px;
    height: auto;
    margin-top: 20px;
}

.next-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    max-width: 750px;
}

#shareReport {
    min-width: 100%;
    text-align: center;
    display: block;
    margin-top: 30px;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    color: #343399;
    text-decoration: none;
}

#shareReport:hover {
    color: #be3dba
}

#industryName {
    font-weight: bold;
}

.footer-logo{
    margin-top: -20px;
    text-align: center;
}

.footer-logo img{
    width: 141.722px;
    height: 188.733px;
}

@media (max-width: 767px) {
    #roi-form label{
        font-size: 14px !important;
    }
    .roi-grid .field{
        gap: 4px;
    }
    .card-grid{
        gap: 15px;
    }
    .roi-grid{
        margin-bottom: 24px;
    }
    .results-container{
        margin: 20px auto;
    }
    .roi-result-container .roi-estimate h2,
    .roi-result-container #roiValue,
    .roi-result-container .roi-estimate small {
        font-size: 44px;
    }
    .roi-result-container .numbers span{
        font-size: 12px;
    }
    .roi-result-container .roi-estimate {
        margin-bottom: 10px;
    }

    .roi-box {
        flex-direction: column;
        padding: 40px 50px;
        gap: 20px;
        align-items: start;
    }
    .roi-box {
        font-size: 14px;
    }
    .next-step {
        flex-direction: column;
    }

    .roi-result-container .numbers h3 {
        font-size: 46px;
        font-weight: 600;
    }

    .roi-result-container .numbers {
        padding: 20px 0;
    }
    .roi-result-container .numbers p{
        font-size: 22px;
    }

    .prepared-company h2 {
        font-size: 24px;
    }

    #roi-results-container.calculator-container {
        padding: 18px 16px 50px 16px !important;
        margin: 0  12px 100px 12px !important;
    }
    #roi-results-container .logo{
        max-width: 124px;
    }

    .roi-box h2 {
        font-size: 44px;
        text-align: left !important;
    }

    .prepared-company {
        margin-bottom: 30px;
    }

    .prepared-company h4 {
        margin-top: 20px;
        margin-bottom: 0;
        font-size: 18px;
    }

    .next-step {
        margin-top: 10px;
    }

    .next-step h3 {
        font-size: 36px;
    }
    .next-step p{
        font-size: 18px;
    }
    .next-step-img img{
        max-width: 196px;
    }
    .next-step .left-side{
        width: 100%;
    }
    .next-step .left-side .btn-primary{
        display: block;
        width: 70%;
        margin: 0 auto;
    }
    .footer-logo{
        margin-bottom: 0;
        margin-top: 10px;
    }
    .footer-logo img{
        width: auto;
        height: auto;
        max-width: 148px;
    }
}