:root {
    --cantant-50: #eefafb;
    --cantant-100: #d5f5f6;
    --cantant-200: #b7f2f4;
    --cantant-300: #7ddae2;
    --cantant-400: #3ec0c8;
    --cantant-500: #0898a0;
    --cantant-600: #077f86;
    --cantant-700: #06656c;
    --cantant-800: #055158;
    --cantant-900: #044c50;
    --cantant-950: #082f2f;
    --cantant-ink: #272b31;
    --cantant-muted: #617287;
    --cantant-navy: #0a2333;
    --cantant-highlight: #15d2dd;

    --color-primary: var(--cantant-500);
    --color-primary-dark: var(--cantant-600);
    --color-text: var(--cantant-ink);
    --color-muted: var(--cantant-muted);
    --color-border: #e2e8f0;
    --color-bg: #ffffff;
    --color-bg-muted: var(--cantant-50);
    --color-accent: var(--cantant-50);
    --radius: 12px;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --container: 1120px;
    --font-body: "DM Sans", system-ui, sans-serif;
    --font-display: "Space Grotesk", "DM Sans", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

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

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

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

.section {
    padding: 4rem 0;
}
.section--muted {
    background: var(--color-bg-muted);
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin: 0 0 0.75rem;
}
.section-heading p {
    color: var(--color-muted);
    margin: 0;
}

.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}
.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.5rem 0 1rem;
}
.page-header .lead {
    color: var(--color-muted);
    max-width: 640px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lead {
    font-size: 1.125rem;
    color: var(--color-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
}
.btn--primary:hover {
    background: var(--color-primary-dark);
    color: #fff;
}
.btn--ghost {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}
.btn--ghost:hover {
    background: var(--color-bg-muted);
}
.btn--sm {
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
}
.btn--block {
    width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a:not(.btn) {
    color: var(--color-muted);
    font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:not(.btn):hover {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
}

.hero {
    padding: 5rem 0 4rem;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    margin: 0.75rem 0 1rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-card {
    background: linear-gradient(135deg, var(--cantant-50), #ffffff);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 4px);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.hero-card h3 {
    margin-top: 0;
    font-family: var(--font-display);
}
.hero-card ul {
    padding-left: 1.1rem;
    color: var(--color-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.125rem;
}
.feature-card p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: calc(var(--radius) + 4px);
    background: var(--color-accent);
    border: 1px solid var(--cantant-100);
}

.cta-banner h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
}
.cta-banner p {
    margin: 0;
    color: var(--color-muted);
}

.pricing-toggle {
    display: inline-flex;
    padding: 0.25rem;
    background: var(--color-bg-muted);
    border-radius: 999px;
    margin: 0 auto 2rem;
    border: 1px solid var(--color-border);
}

.pricing-toggle__btn {
    border: 0;
    background: transparent;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-muted);
}

.pricing-toggle__btn.is-active {
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.section .container > .pricing-toggle {
    display: flex;
    width: fit-content;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) + 2px);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.pricing-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
}

.pricing-card__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.pricing-card__tagline,
.pricing-card__note {
    color: var(--color-muted);
    margin: 0;
    font-size: 0.9375rem;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-card__amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-card__period {
    color: var(--color-muted);
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.pricing-card__features li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.625rem;
    color: var(--color-muted);
}

.pricing-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
}

.blog-card__body {
    padding: 1.25rem;
}
.blog-card__date {
    color: var(--color-muted);
    font-size: 0.875rem;
}
.blog-card__title {
    margin: 0.5rem 0;
    font-size: 1.125rem;
    line-height: 1.35;
}
.blog-card__title a {
    color: inherit;
}
.blog-card__excerpt {
    color: var(--color-muted);
}
.blog-card__link {
    font-weight: 600;
}

.blog-post__header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.15;
}

.blog-post__excerpt {
    color: var(--color-muted);
    font-size: 1.125rem;
}
.blog-post__content {
    margin-top: 2rem;
}
.prose p {
    margin: 0 0 1rem;
    color: #334155;
}

.back-link {
    margin-bottom: 1rem;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.faq-grid h3 {
    margin-top: 0;
}
.faq-grid p {
    color: var(--color-muted);
    margin-bottom: 0;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-logo--footer {
    color: #fff;
}
.site-footer__tagline {
    color: #94a3b8;
    max-width: 320px;
}
.site-footer h4 {
    color: #fff;
    margin: 0 0 0.75rem;
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 0.5rem;
}
.site-footer a {
    color: #cbd5e1;
}
.site-footer a:hover {
    color: #fff;
}
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.text-center {
    text-align: center;
}
.empty-state {
    color: var(--color-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .hero__inner,
    .cta-banner,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        text-align: center;
        flex-direction: column;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        display: none;
    }

    .site-nav.is-open {
        display: flex;
    }
}

/* Custom theme styles (Tailwind pages & shared components) */

.faq-item.is-open {
    border-color: rgb(8 152 160 / 0.35);
}

.faq-item.is-open .faq-trigger {
    color: var(--cantant-500);
}

.text-gradient-hero {
    background-image: linear-gradient(
        102deg,
        var(--cantant-600) 8%,
        var(--cantant-900) 93%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-blog-header {
    background-image: linear-gradient(
        273deg,
        rgb(15, 129, 135) 0%,
        rgb(4, 76, 80) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-testimonial {
    background-image: linear-gradient(
        293deg,
        var(--cantant-ink) 0%,
        var(--cantant-500) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-faq-blockquote {
    background-image: linear-gradient(
        0deg,
        rgb(39, 43, 49) 0%,
        rgb(8, 148, 156) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.text-gradient-stats {
    background-image: linear-gradient(
        359deg,
        var(--cantant-highlight) 0%,
        rgb(255, 255, 255) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.testimonial-marquee {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
}

.testimonial-marquee-track {
    animation: testimonial-marquee 70s linear infinite;
}

@keyframes testimonial-marquee {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-marquee-track {
        animation: none;
    }

    .about-hero-photo {
        animation: none;
        opacity: 1;
    }
}

/* About page hero photo animations */

.about-hero-photo {
    opacity: 0;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
}

.about-hero-photo--tl {
    animation-name: about-photo-tl;
    animation-delay: 0.5s;
}

.about-hero-photo--tr {
    animation-name: about-photo-tr;
    animation-delay: 0.9s;
}

.about-hero-photo--bl {
    animation-name: about-photo-bl;
    animation-delay: 1s;
}

.about-hero-photo--br {
    animation-name: about-photo-br;
    animation-delay: 1s;
}

@keyframes about-photo-tl {
    from {
        opacity: 0;
        transform: translate(-36px, -36px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes about-photo-tr {
    from {
        opacity: 0;
        transform: translate(36px, -36px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes about-photo-bl {
    from {
        opacity: 0;
        transform: translate(-36px, 36px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes about-photo-br {
    from {
        opacity: 0;
        transform: translate(36px, 36px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Scroll / load reveal animations */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal="left"] {
    transform: translateX(-28px);
}

[data-reveal="right"] {
    transform: translateX(28px);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Blog article prose */

.blog-prose {
    color: #272b31;
    font-size: 1rem;
    line-height: 1.75;
}

.blog-prose > :first-child {
    margin-top: 0;
}

.blog-prose p {
    margin: 0 0 1.25rem;
    line-height: 1.75;
}

.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    line-height: 1.35;
    color: #272b31;
    margin: 2rem 0 1rem;
}

.blog-prose h2 {
    font-size: 1.5rem;
}

.blog-prose h3 {
    font-size: 1.25rem;
}

.blog-prose h4,
.blog-prose h5,
.blog-prose h6 {
    font-size: 1.0625rem;
    margin: 1.5rem 0 0.75rem;
}

.blog-prose ul,
.blog-prose ol {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.blog-prose ul {
    list-style: disc;
}

.blog-prose ol {
    list-style: decimal;
}

.blog-prose li {
    margin-bottom: 0.5rem;
}

.blog-prose li > p {
    margin: 0;
}

.blog-prose a {
    color: #0898a0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-prose a:hover {
    color: #077f86;
}

.blog-prose img {
    display: block;
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 1rem;
}

.blog-prose strong {
    font-weight: 700;
}

/* Multi-business hero collaboration cursor */

[data-multi-hero-cursor].is-cursor-active,
[data-multi-hero-cursor].is-cursor-active * {
    cursor: none !important;
}

.multi-hero-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease;
    transform: translate3d(-9999px, -9999px, 0);
    will-change: transform;
}

.multi-hero-cursor.is-visible {
    opacity: 1;
}

.multi-hero-cursor img {
    display: block;
    width: 69px;
    height: 65px;
    transform: translate(-2px, -2px);
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .multi-hero-cursor {
        display: none;
    }
}

/* Cookie consent banner */

.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 10000;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(1rem);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.cookie-consent.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.cookie-consent__panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgb(8 152 160 / 0.18);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 18px 48px -20px rgb(8 152 160 / 0.35);
}

.cookie-consent__title {
    margin: 0 0 0.35rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #272b31;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #617287;
}

.cookie-consent__link {
    color: #0898a0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__link:hover {
    color: #077f86;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-consent__btn {
    border: 0;
    border-radius: 0.625rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.cookie-consent__btn--primary {
    background: #0898a0;
    color: #fff;
}

.cookie-consent__btn--primary:hover {
    background: #077f86;
}

.cookie-consent__btn--secondary {
    border: 1px solid #d5e3e8;
    background: #fff;
    color: #272b31;
}

.cookie-consent__btn--secondary:hover {
    border-color: #0898a0;
    color: #0898a0;
}

@media (min-width: 768px) {
    .cookie-consent__panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.25rem 1.75rem;
    }

    .cookie-consent__actions {
        flex-shrink: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent {
        transition: none;
    }
}
