:root {
    --ink: #17252a;
    --muted: #5b6a70;
    --teal: #159eaa;
    --teal-dark: #0d7680;
    --teal-pale: #e8f7f7;
    --cyan: #79d2d7;
    --plum: #92278f;
    --plum-dark: #6f176d;
    --soft: #f4f7f7;
    --line: #dce5e6;
    --white: #fff;
    --shadow: 0 20px 50px rgba(23, 37, 42, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--teal-dark);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--plum);
    text-decoration: none;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.035em;
}

h1,
.h1 {
    font-size: clamp(2.75rem, 6vw, 5.8rem);
}

h2,
.h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3,
.h3 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.container {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
    min-width: 0;
}

.container--narrow {
    max-width: 980px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Shared header */
.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 229, 230, .75);
    background: rgba(255,255,255,.98);
}

.site-header__inner {
    min-height: 104px;
    display: grid;
    grid-template-columns: 140px 1fr 185px;
    align-items: center;
    gap: 36px;
}

.site-brand img {
    display: block;
    width: 128px;
    max-height: 92px;
    object-fit: contain;
}

.header-partner {
    justify-self: end;
}

.header-partner img {
    display: block;
    width: 175px;
    max-width: 100%;
    filter: drop-shadow(.25rem .25rem .25rem rgba(0, 0, 255, .4));
}

.primary-navigation ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 42px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation a {
    position: relative;
    display: block;
    padding: 39px 0 35px;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 650;
}

.primary-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 28px;
    left: 0;
    height: 2px;
    background: var(--plum);
    transform: scaleX(0);
}

.primary-navigation a.active,
.primary-navigation a:hover {
    color: var(--plum);
}

.primary-navigation a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

/* Buttons and shared section elements */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 750;
    letter-spacing: .01em;
}

.button--primary {
    color: var(--white);
    background: var(--plum);
}

.button--primary:hover {
    color: var(--white);
    background: var(--plum-dark);
}

.button--secondary {
    border-color: rgba(23,37,42,.22);
    color: var(--ink);
    background: rgba(255,255,255,.7);
}

.button--secondary:hover {
    border-color: var(--plum);
    color: var(--plum);
    background: var(--white);
}

.button--dark {
    color: var(--white);
    background: var(--ink);
}

.button--dark:hover {
    color: var(--white);
    background: var(--teal-dark);
}

.button--light {
    color: var(--plum-dark);
    background: var(--white);
}

.button--outline-light {
    border-color: rgba(255,255,255,.75);
    color: var(--white);
}

.button--outline-light:hover {
    color: var(--plum-dark);
    background: var(--white);
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--plum);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section {
    padding: clamp(76px, 9vw, 120px) 0;
}

.section--soft {
    background: var(--soft);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 44px;
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    font-weight: 750;
}

/* Homepage */
.home-hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background-color: var(--cyan);
    background-image: linear-gradient(90deg, rgba(121,210,215,.98) 0%, rgba(121,210,215,.94) 40%, rgba(121,210,215,.20) 66%, rgba(255,255,255,.05) 100%), url('media/static/banner-home-bg.jpg');
    background-position: center;
    background-size: cover;
}

.home-hero::after {
    content: "";
    position: absolute;
    top: 30px;
    right: max(3vw, calc((100vw - 1180px) / 2));
    bottom: 0;
    width: min(42vw, 520px);
    background: url('media/static/banner-home-overlay4.webp') center bottom / contain no-repeat;
}

.home-hero__inner {
    min-height: 660px;
    display: flex;
    align-items: center;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    width: 58%;
    padding: 72px 0 86px;
}

.home-hero h1 {
    margin-bottom: 22px;
    font-weight: 750;
}

.home-hero h1 span {
    color: var(--white);
}

.home-hero__lead {
    max-width: 590px;
    font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -34px;
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 12px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.trust-strip__grid > div {
    display: flex;
    flex-direction: column;
    padding: 4px 28px;
    border-right: 1px solid var(--line);
}

.trust-strip__grid > div:last-child {
    border-right: 0;
}

.trust-strip strong {
    color: var(--plum);
    font-size: 1.25rem;
}

.trust-strip span {
    color: var(--muted);
    font-size: .85rem;
}

.section--intro {
    padding-top: clamp(98px, 11vw, 150px);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(45px, 8vw, 110px);
    align-items: start;
}

.intro-copy {
    padding-top: 42px;
    color: var(--muted);
    font-size: 1.18rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    min-height: 390px;
    padding: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(23,37,42,.05);
}

.feature-card--teal {
    color: var(--white);
    border-color: var(--teal-dark);
    background: var(--teal-dark);
}

.feature-card--plum {
    color: var(--white);
    border-color: var(--plum);
    background: var(--plum);
}

.feature-card--teal h3,
.feature-card--plum h3 {
    color: var(--white);
}

.feature-card__number {
    position: absolute;
    top: 22px;
    right: 28px;
    color: rgba(23,37,42,.15);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -.08em;
}

.feature-card--teal .feature-card__number,
.feature-card--plum .feature-card__number {
    color: rgba(255,255,255,.17);
}

.feature-card__icon {
    width: 58px;
    height: 58px;
    margin: 72px 0 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--plum);
    background: var(--teal-pale);
    font-size: 1.45rem;
}

.feature-card--teal .feature-card__icon,
.feature-card--plum .feature-card__icon {
    color: var(--ink);
    background: var(--white);
}

.feature-card p {
    color: var(--muted);
}

.feature-card--teal p,
.feature-card--plum p {
    color: rgba(255,255,255,.82);
}

.integration-layout {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: clamp(60px, 10vw, 140px);
    align-items: center;
}

.integration-copy > p:not(.eyebrow) {
    max-width: 680px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 1.08rem;
}

.integration-logos {
    display: grid;
    gap: 18px;
}

.integration-logos a {
    min-height: 135px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(23,37,42,.06);
}

.integration-logos img {
    max-width: 220px;
    max-height: 76px;
    object-fit: contain;
}

.product-logo {
    width: 245px;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
}

.home-cta {
    padding: clamp(70px, 8vw, 100px) 0;
    color: var(--white);
    background: var(--plum);
}

.home-cta__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(45px, 8vw, 100px);
    align-items: center;
}

.home-cta h2 {
    margin: 0;
    color: var(--white);
}

.home-cta .eyebrow {
    color: var(--cyan);
}

/* Secondary-page compatibility */
.font14 {
    font-size: .875rem !important;
}

.font18 {
    font-size: 1.125rem !important;
}

.font21 {
    font-size: 1.313rem !important;
}

.font24 {
    font-size: 1.5rem !important;
}

.font28 {
    font-size: 1.75rem !important;
}

.bg-lightgrey {
    background: var(--soft) !important;
}

.bg-grey {
    background: #d7dddf !important;
}

.bg-cyan {
    background: var(--cyan) !important;
}

.bg-lightblue {
    background: #c9eff0 !important;
}

.bg-turquoise {
    color: #fff;
    background: var(--teal) !important;
}

.bg-purple {
    color: #fff;
    background: var(--plum) !important;
}

.bg-silver {
    background: linear-gradient(90deg, #fff, #e6eaeb 25%, #e0e5e6 75%, #fff);
}

.txt-turquoise {
    color: var(--teal);
}

.txt-purple {
    color: var(--plum);
}

mark {
    padding: 0;
    color: var(--teal-dark);
    background: transparent;
}

mark.purple {
    color: var(--plum);
}

.banner {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background: var(--soft) center / cover no-repeat;
}

.banner h1 {
    margin-top: 68px;
    color: var(--teal-dark);
}

.banner--home {
    background-image: url('media/static/banner-home-bg.jpg');
}

.banner--contact {
    background-image: url('media/static/banner-contact-bg-202607160419.webp');
}

.banner--about {
    background-image: url('media/static/banner-about-bg-20260716.webp');
}

.banner--events {
    background-image: url('media/static/banner-features-bg-202607160425.webp');
}

.banner--services {
    background-image: url('media/static/banner-services-bg-202607160409.webp');
}

.banner-grid .row {
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: var(--line);
}

.banner-grid .row > div {
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: var(--line);
}

.banner-grid .row .row,
.banner-grid .row .row > div {
    border-top-width: 0;
}

.banner-grid p,
.banner-grid address {
    margin: 0;
    font-size: 1.12rem;
}

.banner-grid-call {
    color: #fff;
    background: var(--plum);
    font-size: 2rem;
}

.banner-grid-phone {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    font-weight: 300;
}

.banner-grid-clock span {
    font-size: 2rem;
    font-weight: 700;
}

.banner-grid-clock span span {
    color: var(--teal);
}

.banner-grid-clock .col:last-child {
    min-height: 106px;
    background: url('media/static/clock-ico.png') center / contain no-repeat;
}

.col-count-2 {
    column-count: 2;
    column-gap: 5rem;
}

ul.info-list {
    padding: 0;
}

ul.info-list li {
    position: relative;
    display: inline-block;
    margin-bottom: 1.6rem;
    padding-left: 1.2rem;
    break-inside: avoid;
}

ul.info-list li::before {
    content: "–";
    position: absolute;
    left: 0;
}

.packages-grid {
    margin-bottom: 2.5rem;
    overflow-x: auto;
}

.packages-grid table {
    min-width: 760px;
}

.packages-grid table th {
    border: 0;
    text-align: right;
    vertical-align: middle;
}

.packages-grid table thead th,
.packages-grid table td {
    border: 1px solid var(--line);
    text-align: center;
    vertical-align: middle;
}

.packages-grid table td {
    font-size: 1.5rem;
}

.packages-grid .plan-name {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    letter-spacing: -.02em;
}

.packages-grid table td i {
    color: var(--teal);
}

.packages-grid table tbody th {
    position: relative;
    z-index: 2;
    font-size: .9rem;
}

.packages-grid table thead .packages-phone-bg {
    position: relative;
    border: 0;
}

.packages-grid table thead .packages-phone-bg div {
    width: 260px !important;
    height: 540px !important;
    position: absolute;
    top: 38px;
    right: -18px !important;
    background: url('media/static/packages-phone-bg.png') top right / contain no-repeat;
}

.packages-grid .table-striped tbody tr:nth-of-type(odd) td {
    background: #eef2f2;
}

.packages-grid .table-striped tbody tr:nth-of-type(odd) th span {
    display: inline-block;
    padding: .7rem;
    color: #fff;
    background: var(--teal);
}

.package-espresso h2 {
    padding: 0 3rem 1rem;
}

.package-espresso div {
    padding: .6rem 3rem;
    color: #fff;
    background: var(--teal);
}

.package-espresso div::after {
    content: "";
    width: 120px;
    height: 210px;
    position: absolute;
    right: 0;
    bottom: -15px;
    background: url('media/static/coffee-ico.png') center / contain no-repeat;
}

.contact-form {
    margin-top: 5rem;
    padding: 3rem 5rem;
    border-radius: 18px;
}

.about-intro-title {
    max-width: 1040px;
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    line-height: 1.3;
    letter-spacing: -.02em;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
    width: 100%;
    margin-bottom: 2rem;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
}

/* Footer */
.site-footer {
    padding: 76px 0 28px;
    background: #112127;
    color: rgba(255,255,255,.72);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.3fr .6fr .8fr;
    gap: 70px;
}

.footer-brand img {
    width: 120px;
    padding: 8px;
    border-radius: 12px;
    background: var(--white);
}

.footer-summary {
    max-width: 430px;
    margin-top: 22px;
}

.site-footer h2 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

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

.site-footer a {
    color: rgba(255,255,255,.84);
}

.site-footer a:hover {
    color: var(--cyan);
}

.site-footer address {
    font-style: normal;
}

.footer-contact {
    margin-top: 18px;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: .72rem;
}

@media (max-width: 991px) {
    .site-header__inner {
        min-height: 86px;
        grid-template-columns: 112px 1fr 48px;
        gap: 15px;
    }

    .site-brand img {
        width: 102px;
        max-height: 76px;
    }

    .header-partner {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .header-partner img {
        width: 115px;
        filter: drop-shadow(.15rem .15rem .2rem rgba(0, 0, 255, .35));
    }

    .menu-toggle {
        display: block;
        grid-column: 3;
        grid-row: 1;
    }

    .primary-navigation {
        display: none;
        grid-column: 1 / -1;
        padding: 0 0 20px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-navigation ul {
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--line);
        flex-direction: column;
    }

    .primary-navigation a {
        padding: 12px 2px;
        border-bottom: 1px solid var(--line);
    }

    .primary-navigation a::after {
        display: none;
    }

    .home-hero {
        min-height: 610px;
    }

    .home-hero::after {
        right: -70px;
        width: 54vw;
        opacity: .86;
    }

    .home-hero__inner {
        min-height: 610px;
    }

    .home-hero__content {
        width: 67%;
    }

    .trust-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .trust-strip__grid > div:nth-child(2) {
        border-right: 0;
    }

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

    .feature-card {
        min-height: 0;
    }

    .feature-card__icon {
        margin: 48px 0 30px;
    }

    .split-layout,
    .integration-layout,
    .home-cta__inner {
        grid-template-columns: 1fr;
    }

    .intro-copy {
        padding-top: 0;
    }

    .site-footer__grid {
        grid-template-columns: 1.2fr .8fr;
    }

    .site-footer__grid > div:last-child {
        grid-column: 1 / -1;
    }

    .col-count-2 {
        column-count: 1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-partner {
        display: none;
    }

    .site-header__inner {
        grid-template-columns: 1fr 48px;
    }

    .menu-toggle {
        grid-column: 2;
    }

    .home-hero {
        min-height: 680px;
        background-image: linear-gradient(180deg, rgba(121,210,215,.98) 0%, rgba(121,210,215,.95) 55%, rgba(121,210,215,.45) 100%), url('media/static/banner-home-bg.jpg');
    }

    .home-hero::after {
        top: auto;
        right: -20px;
        bottom: 0;
        width: 72vw;
        height: 43%;
        opacity: .72;
        background-position: right bottom;
    }

    .home-hero__inner {
        min-height: 680px;
        align-items: flex-start;
    }

    .home-hero__content {
        width: 100%;
        padding-top: 62px;
    }

    .home-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .button-group {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .trust-strip {
        margin-top: -24px;
    }

    .trust-strip__grid {
        padding: 20px 6px;
        border-radius: 14px;
    }

    .trust-strip__grid > div {
        padding: 2px 14px;
    }

    .trust-strip strong {
        font-size: 1.05rem;
    }

    .trust-strip span {
        font-size: .75rem;
    }

    .section {
        padding: 72px 0;
    }

    .feature-card {
        padding: 28px;
        border-radius: 18px;
    }

    .integration-logos a {
        min-height: 110px;
    }

    .banner {
        min-height: 300px;
    }

    .banner h1 {
        margin-top: 40px;
    }

    .contact-form {
        padding: 2rem 1.25rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .site-footer__grid > div:last-child {
        grid-column: auto;
    }

    .site-footer__bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
