:root {
    --landing-primary: var(--brand);
    --landing-primary-dark: var(--brand-dark);
    --landing-ink: var(--ink);
    --landing-muted: var(--muted);
    --landing-paper: var(--bg-gradient);
    --landing-line: var(--line);
    --landing-nav-bg: rgba(255, 255, 255, 0.85);
    --landing-nav-border: rgba(0, 0, 0, 0.08);
    --landing-nav-link: var(--ink);
    --landing-login-text: var(--ink);
    --landing-login-border: var(--line);
    --landing-login-hover-border: var(--brand);
    --landing-signup-text: #fff;
    --landing-toggle-bg: var(--brand-soft);
    --landing-toggle-border: var(--brand);
    --landing-toggle-hover-bg: var(--brand-soft);
    --landing-toggle-hover-border: var(--brand-dark);
    --landing-toggle-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    --landing-hero-bg: var(--bg-gradient);
    --landing-hero-copy: var(--muted);
    --landing-hero-note: var(--muted);
    --landing-secondary-action-bg: rgba(255, 255, 255, 0.68);
    --landing-panel-bg: rgba(255, 255, 255, 0.65);
    --landing-panel-border: var(--line);
    --landing-panel-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
    --landing-card-bg: rgba(255, 255, 255, 0.55);
    --landing-card-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    --landing-card-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    --landing-section-alt-bg: rgba(255, 255, 255, 0.25);
    --landing-section-card-bg: rgba(255, 255, 255, 0.55);
    --landing-preview-metric-bg: var(--brand-soft);
    --landing-icon-bg: var(--brand-soft);
    --landing-image-bg: rgba(255, 255, 255, 0.35);
    --landing-input-bg: rgba(255, 255, 255, 0.7);
    --landing-label: var(--ink);
    --landing-placeholder: var(--muted);
    --landing-footer-copy: var(--muted);
    --landing-preview-muted: var(--muted);
    --landing-preview-dot: var(--brand);
    --landing-success: var(--green);
    --landing-auth-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.landing-page {
    background: var(--bg-gradient);
    color: var(--landing-muted);
    font-family: "Roboto Slab", Georgia, serif;
}

.landing-page .main-nav {
    background: var(--landing-nav-bg);
    border-bottom: 1px solid var(--landing-nav-border);
    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.landing-page .navbar-scrolled {
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.25);
}

.landing-page .nav-shell {
    align-items: center;
    display: flex;
    width: 100%;
}

.landing-page .nav-brand-wrap {
    flex: 0 0 auto;
}

.landing-page .brand-mark {
    color: var(--landing-ink);
    display: inline-block;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    padding: 1.1rem 0;
}

.landing-page .navbar {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    margin: 0 auto;
}

.landing-page .navbar > li {
    position: relative;
}

.landing-page .services-nav-dropdown {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--landing-nav-border);
    border-radius: 0.5rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
    left: 50%;
    list-style: none;
    margin: 0;
    max-height: 80vh;
    min-width: 18rem;
    opacity: 0;
    overflow-y: auto;
    padding: 0.5rem;
    pointer-events: none;
    position: absolute;
    top: calc(100% - 0.4rem);
    transform: translate(-50%, -0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    visibility: hidden;
    z-index: 60;
}

.landing-page .services-nav-item:hover .services-nav-dropdown,
.landing-page .services-nav-item:focus-within .services-nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.landing-page .services-nav-dropdown a {
    color: var(--landing-nav-link);
    display: block;
    font-size: 0.78rem;
    padding: 0.65rem 0.75rem;
    white-space: nowrap;
}

.landing-page .services-nav-dropdown a:hover,
.landing-page .services-nav-dropdown a:focus-visible {
    background: var(--landing-toggle-bg);
    color: var(--landing-primary);
}

.landing-page.services-page .brand-mark {
    font-family: "Roboto Slab", Georgia, serif;
}

@media (max-width: 1023.98px) {
    .landing-page .nav-actions .login-link,
    .landing-page .nav-actions .signup-link {
        display: none !important;
    }

    .landing-page .navbar:not(.mobile-open) {
        display: none !important;
    }

    .landing-page .main-nav {
        position: relative;
    }

    .landing-page .navbar.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(85vh - 60px);
        overflow-y: auto;
        background: var(--landing-panel-bg);
        border-bottom: 1px solid var(--landing-nav-border);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
        padding: 0.5rem 0 1rem;
        margin-top: 0;
        border-radius: 0 0 12px 12px;
        z-index: 50;
    }

    .landing-page .navbar.mobile-open > li > a {
        padding: 0.65rem 1.2rem;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }

    .landing-page .navbar.mobile-open > li > a.active::before {
        display: none;
    }

    .landing-page .services-nav-dropdown {
        display: none;
    }

    .landing-page .mobile-actions {
        padding: 0.5rem 1rem 0;
    }

    .landing-page .mobile-actions .signup-link,
    .landing-page .mobile-actions .login-link {
        display: flex !important;
        width: 100%;
        margin: 0.4rem 0 0 0;
        padding: 0.65rem 1rem;
        justify-content: center;
    }
}

.landing-page .navbar > li > a {
    color: var(--landing-nav-link);
    display: block;
    font-size: 0.82rem;
    padding: 1.3rem 0.8rem;
    transition: color 0.2s ease;
}

.landing-page .navbar > li > a:hover,
.landing-page .navbar > li > a.active {
    color: var(--landing-primary);
}

.landing-page .navbar > li > a.active::before {
    background: var(--landing-primary);
    bottom: 0.9rem;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 1.5rem;
}

.landing-page .login-link,
.landing-page .signup-link {
    align-items: center;
    border-radius: 3px;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin-left: 0.55rem;
    white-space: nowrap;
    padding: 0.65rem 1rem;
    transition: all 0.2s ease;
}

.landing-page .login-link {
    background: transparent;
    border: 1px solid var(--landing-line);
    color: var(--landing-login-text);
}

.landing-page .login-link:hover {
    border-color: var(--landing-login-hover-border);
    color: var(--landing-primary);
}

.landing-page .signup-link {
    background: var(--landing-primary);
    color: var(--landing-signup-text);
}

.landing-page .signup-link:hover {
    background: var(--landing-primary-dark);
    color: #fff;
}

.landing-page .nav-actions {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    margin-left: auto;
}

/* Removed local theme toggle styles (moved to theme.css) */

.landing-page .menu-mobile {
    color: var(--landing-ink);
    height: 3rem;
    width: 3rem;
}

.landing-page .menu-mobile svg {
    height: 1.75rem;
    width: 1.75rem;
}

.landing-page .menu-mobile .close,
.landing-page .menu-mobile.show .open {
    display: none;
}

.landing-page .menu-mobile.show .close {
    display: block;
}

.landing-page .landing-gallery {
    background: var(--landing-ink);
    height: clamp(18rem, 48vw, 34rem);
    margin-top: var(--site-header-h);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.landing-page .landing-gallery-track,
.landing-page .landing-slide {
    height: 100%;
    width: 100%;
}

.landing-page .landing-slide {
    inset: 0;
    opacity: 0;
    position: absolute;
    transform: scale(1.03);
    transition: opacity 0.7s ease, transform 1.1s ease;
}

.landing-page .landing-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.landing-page .landing-slide img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.landing-page .landing-gallery-copy {
    align-items: flex-start;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 5%;
    max-width: 38rem;
    position: absolute;
    text-align: left;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
    top: 0;
    width: 55%;
    z-index: 1;
}

.landing-page .landing-gallery-copy .hero-title,
.landing-page .landing-gallery-copy .hero-copy {
    color: #fff;
    max-width: 38rem;
}

.landing-page .landing-gallery-copy .hero-copy {
    margin: 0;
}

.landing-page .landing-gallery-copy .hero-actions {
    margin-top: 1.4rem;
}

.landing-page .landing-gallery-copy .action-secondary {
    background: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

@media (max-width: 639px) {
    .landing-page .landing-gallery {
        height: 15rem;
    }

    .landing-page .landing-gallery-copy {
        left: 1.25rem;
        max-width: calc(100% - 2.5rem);
        width: calc(100% - 2.5rem);
    }

    .landing-page .landing-gallery-copy .hero-title {
        font-size: 2rem;
    }

    .landing-page .landing-gallery-copy .hero-copy {
        font-size: 0.9rem;
    }
}

.landing-page .hero-section {
    background: var(--landing-hero-bg);
    min-height: 720px;
    overflow: hidden;
    padding-top: 5rem;
}

.landing-page .section[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.landing-page .section[data-scroll-reveal="top"] {
    transform: translateY(-2.5rem);
}

.landing-page .section[data-scroll-reveal="right"] {
    transform: translateX(3rem);
}

.landing-page .section[data-scroll-reveal="left"] {
    transform: translateX(-3rem);
}

.landing-page .section[data-scroll-reveal].is-scroll-visible {
    opacity: 1;
    transform: translate(0);
}

.landing-page .scroll-reveal-child {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.65s ease var(--reveal-delay), transform 0.65s ease var(--reveal-delay);
}

.landing-page .section[data-scroll-reveal="right"] .scroll-reveal-child {
    transform: translateX(1.25rem);
}

.landing-page .section[data-scroll-reveal="left"] .scroll-reveal-child {
    transform: translateX(-1.25rem);
}

.landing-page .section[data-scroll-reveal="top"] .scroll-reveal-child {
    transform: translateY(-1.25rem);
}

.landing-page .scroll-reveal-child.is-scroll-visible {
    opacity: 1;
    transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .section[data-scroll-reveal],
    .landing-page .scroll-reveal-child {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.landing-page #content > #hero {
    min-height: auto;
    padding-bottom: 2rem;
    padding-top: 0;
}

.landing-page #workflow {
    padding-bottom: 2rem;
}

.landing-page #team {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.landing-page #testimonials {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.landing-page #faq {
    padding-top: 2rem;
}

.landing-page .hero-section::after {
    background: rgba(15, 118, 110, 0.09);
    border-radius: 50%;
    content: "";
    height: 430px;
    position: absolute;
    right: -190px;
    top: 120px;
    width: 430px;
    z-index: -1;
}

.landing-page .eyebrow {
    color: var(--landing-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.landing-page .hero-title {
    color: var(--landing-ink);
    font-size: clamp(2.35rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 1.35rem;
    max-width: 38rem;
}

.landing-page .hero-title span,
.landing-page .section-header h2 span,
.landing-page .workflow-preview h2 span,
.landing-page .section-heading span,
.landing-page .solution-card h3 span,
.landing-page .team-card h3 span,
.landing-page .testimonial-card h3 span,
.landing-page .faq-list h2 span,
.landing-page .contact-panel h2 span {
    color: var(--landing-primary);
}

.landing-page .hero-copy {
    color: var(--landing-hero-copy);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 36rem;
}

.landing-page .typed-word {
    border-right: 2px solid var(--landing-primary);
    display: inline;
    font-size: 0.86em;
    min-width: 10ch;
    padding-right: 0.15rem;
}

.landing-page .hero-art {
    align-items: center;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: center;
    margin: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
}

.landing-page .hero-art img {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: min(100%, 28rem);
}

.landing-page .hero-tailone-layout {
    align-items: center;
    display: grid;
    gap: 3rem 5rem;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    padding-top: 0;
}

.landing-page .hero-copy-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-self: start;
    text-align: left;
    width: 100%;
}

.landing-page .hero-copy-content .typed-word {
    white-space: nowrap;
}

.landing-page .hero-copy-content .hero-title,
.landing-page .hero-copy-content .hero-copy {
    max-width: 44rem;
}

.landing-page .hero-copy-content .hero-title,
.landing-page .hero-copy-content .hero-copy,
.landing-page .hero-copy-content .hero-actions {
    width: 100%;
}

.landing-page .hero-tailone-layout .hero-preview-column {
    grid-column: 1 / -1;
    margin: 0 auto;
    max-width: 60rem;
    width: 100%;
}

.landing-page .hero-preview-column {
    margin-left: auto;
}

.landing-page .hero-art span {
    color: var(--landing-primary-dark);
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
    max-width: 9rem;
    text-align: center;
}

.landing-page .hero-art-typed {
    border-right: 2px solid var(--landing-primary);
    min-height: 2.7rem;
    padding-right: 0.2rem;
}

@media (max-width: 800px) {
    .landing-page .hero-tailone-layout {
        gap: 2rem;
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .landing-page .hero-copy-content {
        justify-self: stretch;
        text-align: center;
    }

    .landing-page .hero-copy-content .hero-actions {
        justify-content: center;
    }

    .landing-page .hero-tailone-layout .hero-preview-column {
        grid-column: auto;
    }
}

.landing-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.landing-page .action-primary,
.landing-page .action-secondary {
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem 1.35rem;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.landing-page .action-primary {
    background: var(--landing-primary);
    color: #fff;
}

.landing-page .action-primary:hover {
    background: var(--landing-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.landing-page .action-secondary {
    background: var(--landing-secondary-action-bg);
    border-color: var(--landing-line);
    color: var(--landing-ink);
}

.landing-page .action-secondary:hover {
    border-color: var(--landing-primary);
    color: var(--landing-primary);
    transform: translateY(-2px);
}

.landing-page .workflow-preview,
.landing-page .contact-panel {
    background: var(--landing-panel-bg);
    border: 1px solid var(--landing-panel-border);
    box-shadow: var(--landing-panel-shadow);
}

.landing-page .workflow-preview {
    animation: preview-rise 0.7s ease both;
}

.landing-page .preview-bar {
    align-items: center;
    border-bottom: 1px solid var(--landing-line);
    display: flex;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
}

.landing-page .preview-bar > span {
    background: var(--landing-preview-dot);
    border-radius: 50%;
    height: 0.45rem;
    width: 0.45rem;
}

.landing-page .preview-bar small {
    color: var(--landing-preview-muted);
    font-size: 0.65rem;
    margin-left: auto;
}

.landing-page .preview-label,
.landing-page .preview-metrics small {
    color: var(--landing-preview-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.landing-page .workflow-preview h2 {
    color: var(--landing-ink);
    font-size: 1.5rem;
    font-weight: 700;
}

.landing-page .workflow-preview h2 + strong {
    color: var(--green);
    font-size: 0.8rem;
}

.landing-page .preview-metrics {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.5rem;
}

.landing-page .preview-metrics > div {
    background: var(--landing-preview-metric-bg);
    padding: 0.75rem;
}

.landing-page .preview-metrics b,
.landing-page .preview-metrics small {
    display: block;
}

.landing-page .preview-metrics b {
    color: var(--landing-ink);
    font-size: 1.15rem;
}

.landing-page .preview-metrics small {
    margin-top: 0.2rem;
    text-transform: none;
}

.landing-page .preview-list {
    margin-top: 1.5rem;
}

.landing-page .preview-list > div {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.landing-page .preview-list i {
    align-items: center;
    background: var(--landing-icon-bg);
    border-radius: 50%;
    color: var(--landing-primary-dark);
    display: flex;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 700;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.landing-page .preview-list span {
    flex: 1;
}

.landing-page .preview-list b,
.landing-page .preview-list small {
    display: block;
}

.landing-page .preview-list b {
    color: var(--landing-ink);
    font-size: 0.78rem;
}

.landing-page .preview-list small {
    color: var(--landing-preview-muted);
    font-size: 0.66rem;
    margin-top: 0.15rem;
}

.landing-page .preview-list em {
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 700;
}

.landing-page .preview-list .ready {
    color: var(--green);
}
.landing-page .preview-list .review {
    color: var(--amber);
}
.landing-page .preview-list .pending {
    color: var(--blue);
}

.landing-page .section-header {
    margin: 0 auto 3rem;
    max-width: 48rem;
    text-align: center;
}

.landing-page .section-header h2,
.landing-page .section-heading {
    color: var(--landing-ink);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.45rem 0 0.8rem;
}

.landing-page .section-header > p:not(.eyebrow),
.landing-page .section-copy {
    color: var(--landing-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.landing-page .solution-card {
    background: var(--landing-section-card-bg);
    border-bottom: 2px solid var(--landing-line);
    padding: 1.7rem;
    transition:
        border-color 0.25s ease,
        transform 0.25s ease;
}

.landing-page .solution-card:hover {
    border-color: var(--landing-primary);
    transform: translateY(-5px);
}

.landing-page .solution-card > b {
    color: var(--landing-primary);
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.3rem;
}

.landing-page .solution-card h3,
.landing-page .team-card h3 {
    color: var(--landing-ink);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.landing-page .solution-card p,
.landing-page .team-card p {
    color: var(--landing-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.landing-page .services-intro {
    margin-bottom: 3.5rem;
}

.landing-page.services-page {
    font-family: var(--font-body);
}

/* Keep the shared header and footer identical to the other public pages */
.landing-page.services-page .main-nav,
.landing-page.services-page .site-footer {
    font-family: "Roboto Slab", Georgia, serif;
}

.landing-page.services-page #content {
    padding-top: var(--site-header-h);
}

.landing-page.services-page #services {
    padding-top: 2rem;
}

.landing-page.services-page h1,
.landing-page.services-page h2,
.landing-page.services-page h3 {
    font-family: var(--font-heading);
}

.landing-page.services-page .section-header h1 {
    color: var(--landing-ink);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.45rem 0 0.8rem;
}

.landing-page.services-page .section-header > p:not(.eyebrow) {
    font-size: var(--font-size-base);
    line-height: var(--line-height);
}

.landing-page.services-page .services-intro {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.landing-page.services-page .services-intro .eyebrow {
    border-bottom: 2px solid var(--landing-primary);
    display: inline-block;
    font-size: 1rem;
    padding-bottom: 0.35rem;
}

.landing-page .services-accordion {
    border-top: 1px solid var(--landing-line);
}

.landing-page .service-item {
    border-bottom: 1px solid var(--landing-line);
    scroll-margin-top: 6rem;
}

.landing-page .service-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--landing-ink);
    cursor: pointer;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 4rem 1fr 2rem;
    padding: 1.45rem 0;
    text-align: left;
    width: 100%;
}

.landing-page .service-trigger:hover .service-name,
.landing-page .service-item.is-open .service-name {
    color: var(--landing-primary);
}

.landing-page .service-number {
    color: var(--landing-primary);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.landing-page .service-name {
    color: var(--landing-ink);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.landing-page .service-toggle {
    align-items: center;
    border: 1px solid var(--landing-line);
    color: var(--landing-primary);
    display: flex;
    font-size: 1.35rem;
    font-weight: 400;
    height: 2rem;
    justify-content: center;
    line-height: 1;
    width: 2rem;
}

.landing-page .service-panel {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transform: translateY(-0.75rem);
    transition:
        max-height 0.6s ease,
        opacity 0.35s ease,
        padding 0.6s ease,
        transform 0.6s ease;
}

.landing-page .service-item.is-open .service-panel {
    max-height: 60rem;
    opacity: 1;
    padding: 0.5rem 0 2.5rem;
    transform: translateY(0);
}

.landing-page .service-media {
    align-items: center;
    background: var(--landing-section-card-bg);
    display: flex;
    min-height: 20rem;
    order: 2;
    overflow: hidden;
}

.landing-page .service-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
    width: 100%;
}

.landing-page .service-content {
    align-self: center;
    order: 1;
    padding: 1rem 0;
}

.landing-page .service-content h3 {
    color: var(--landing-ink);
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.landing-page .service-content h2 {
    color: var(--landing-ink);
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.8rem;
}

.landing-page .service-content h2 span,
.landing-page .service-content h3 span {
    color: var(--landing-primary);
}

.landing-page .service-content > p:not(.eyebrow) {
    color: var(--landing-muted);
    font-size: var(--font-size-sm);
    line-height: var(--line-height);
    max-width: 34rem;
}

.landing-page .service-content ul {
    color: var(--landing-muted);
    display: grid;
    gap: 0.55rem;
    margin: 1.25rem 0 1.5rem;
    padding-left: 2rem;
}

.landing-page .service-content li {
    font-size: var(--font-size-sm);
    line-height: var(--line-height);
    padding-left: 1.25rem;
    position: relative;
}

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

.landing-page .service-content .action-primary {
    display: inline-flex;
}

.landing-page .service-item[data-reveal="center"] .service-panel > *,
.landing-page .service-item[data-reveal="radial"] .service-panel > * {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
    transform: scale(0.94);
}

.landing-page .service-item[data-reveal="left"] .service-panel > * {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
    transform: translateX(-1.5rem);
}

.landing-page .service-item[data-reveal="right"] .service-panel > * {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
    transform: translateX(1.5rem);
}

.landing-page .service-item[data-reveal="bottom"] .service-panel > * {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease;
    transform: translateY(1.5rem);
}

.landing-page .service-item.is-open .service-panel > * {
    transform: translate(0) scale(1);
}

@media (max-width: 767.98px) {
    .landing-page .service-trigger {
        gap: 0.8rem;
        grid-template-columns: 2.7rem 1fr 2rem;
        padding: 1.2rem 0;
    }

    .landing-page .service-number {
        font-size: 1.1rem;
    }

    .landing-page .service-name {
        font-size: 0.86rem;
    }

    .landing-page .service-panel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .landing-page .service-media {
        order: 1;
    }

    .landing-page .service-content {
        order: 2;
    }

    .landing-page .service-item.is-open .service-panel {
        max-height: 80rem;
    }

    .landing-page .service-media {
        min-height: 16rem;
    }

    .landing-page .service-content {
        padding: 0;
    }
}

.landing-page .workflow-section {
    background: var(--landing-section-alt-bg);
}

.landing-page .steps {
    margin-top: 2rem;
}

.landing-page .steps > div {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}

.landing-page .steps > div > b {
    align-items: center;
    background: var(--landing-primary);
    color: white;
    display: flex;
    flex-shrink: 0;
    font-size: 0.85rem;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.landing-page .steps strong,
.landing-page .steps small {
    display: block;
}

.landing-page .steps strong {
    color: var(--landing-ink);
    font-size: 1rem;
}

.landing-page .steps small {
    color: var(--landing-muted);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-top: 0.25rem;
}

.landing-page .site-footer a {
    color: var(--landing-primary);
    font-weight: 700;
}

.landing-page .team-card {
    background: var(--landing-card-bg);
    border: 1px solid var(--landing-line);
    border-bottom: 2px solid var(--landing-line);
    border-radius: 8px;
    box-shadow: var(--landing-card-shadow);
    padding: 1.5rem;
    text-align: center;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.landing-page .team-card img {
    background: var(--landing-image-bg);
    display: block;
    height: 12rem;
    margin: 0 auto 1.1rem;
    object-fit: contain;
    width: 12rem;
}

.landing-page .team-card:hover {
    border-color: var(--landing-primary);
    box-shadow: var(--landing-card-hover-shadow);
    transform: translateY(-6px);
}

.landing-page .faq-list {
    border-top: 1px solid var(--landing-line);
}

.landing-page .faq-list details {
    border-bottom: 1px solid var(--landing-line);
    padding: 1.1rem 0;
}

.landing-page .faq-list summary {
    color: var(--landing-ink);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    list-style: none;
    padding-right: 2rem;
    position: relative;
}

.landing-page .faq-list summary::-webkit-details-marker {
    display: none;
}

.landing-page .faq-list summary::after {
    color: var(--landing-primary);
    content: "+";
    font-size: 1.4rem;
    position: absolute;
    right: 0;
    top: -0.35rem;
}

.landing-page .faq-list details[open] summary::after {
    content: "-";
}

.landing-page .faq-list details p {
    color: var(--landing-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    max-width: 42rem;
}

.landing-page .testimonials-section {
    background: var(--landing-section-alt-bg);
}

.landing-page .testimonial-card {
    background: var(--landing-panel-bg);
    border: 1px solid var(--landing-line);
    border-top: 3px solid var(--landing-primary);
    border-radius: 8px;
    box-shadow: var(--landing-card-shadow);
    padding: 1.6rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.landing-page .testimonial-card:hover {
    box-shadow: var(--landing-card-hover-shadow);
    transform: translateY(-4px);
}

.landing-page .quote-mark {
    color: var(--landing-primary);
    font-size: 2.5rem;
    font-weight: 700;
    height: 2rem;
    line-height: 1;
}

.landing-page .testimonial-card > p {
    color: var(--landing-ink);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0.8rem 0 1.2rem;
}

.landing-page .testimonial-card strong,
.landing-page .testimonial-card small {
    display: block;
}

.landing-page .testimonial-card strong {
    color: var(--landing-ink);
    font-size: 0.85rem;
}

.landing-page .testimonial-card small {
    color: var(--landing-primary);
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.landing-page .contact-panel {
    padding: 3rem;
}

.landing-page .contact-panel label {
    color: var(--landing-label);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.landing-page .contact-panel input:not(.phone-number-input):not(.country-search),
.landing-page .contact-panel textarea {
    background: var(--landing-input-bg);
    border: 1px solid var(--landing-line);
    color: var(--landing-ink);
    display: block;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.45rem;
    padding: 0.8rem 1rem;
    width: 100%;
}

.landing-page .contact-panel input:focus:not(.phone-number-input):not(.country-search),
.landing-page .contact-panel textarea:focus {
    border-color: var(--landing-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
    outline: none;
}

.landing-page .success-message {
    color: var(--landing-success);
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 1rem;
}

.landing-page .site-footer {
    background: var(--landing-panel-bg);
    border-top: 1px solid var(--landing-line);
    padding: 3rem 1.5rem 1.5rem;
}

.landing-page .footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.landing-page .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .landing-page .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .landing-page .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.landing-page .footer-col h3 {
    color: var(--landing-ink);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-page .footer-col h3 span {
    color: var(--landing-primary);
}

.landing-page .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-page .footer-col ul li a {
    color: var(--landing-footer-copy);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-page .footer-col ul li a:hover {
    color: var(--landing-primary);
}

.landing-page .footer-address {
    display: flex;
    gap: 0.75rem;
    font-style: normal;
    color: var(--landing-footer-copy);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.landing-page .footer-address-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.landing-page .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-page .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--landing-footer-copy);
    font-size: 0.9rem;
    text-decoration: none;
}

.landing-page .footer-contact-item:not(.footer-hours):hover {
    color: var(--landing-primary);
}

.landing-page .footer-map-col {
    display: flex;
    flex-direction: column;
}

.landing-page .footer-map-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--landing-line);
}

.landing-page .footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.landing-page .footer-map-link {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--landing-primary);
    text-decoration: none;
    font-weight: 500;
}

.landing-page .footer-map-link:hover {
    text-decoration: underline;
}

.landing-page .footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid var(--landing-line);
    width: 100%;
    box-sizing: border-box;
}

.landing-page .footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .landing-page .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.landing-page .footer-bottom p {
    color: var(--landing-footer-copy);
    font-size: 0.85rem;
    margin: 0;
}

.landing-page .footer-bottom .footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.landing-page .footer-bottom .footer-actions a {
    color: var(--landing-footer-copy);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-page .footer-bottom .footer-actions a:hover {
    color: var(--landing-primary);
}

.landing-page .back-top {
    background: var(--landing-primary);
    bottom: 1.2rem;
    color: white;
    display: none;
    font-size: 1.2rem;
    height: 2.6rem;
    line-height: 2.3rem;
    position: fixed;
    right: 1.2rem;
    text-align: center;
    width: 2.6rem;
    z-index: 30;
}

.landing-page .back-top.visible {
    display: block;
}

.landing-page .preloader {
    background: var(--landing-paper);
    inset: 0;
    position: fixed;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
    z-index: 60;
}

.landing-page .preloader span {
    border: 3px solid var(--landing-line);
    border-radius: 50%;
    border-top-color: var(--landing-primary);
    height: 2rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2rem;
}

.landing-page.loaded-success .preloader {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

@keyframes preview-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1023px) {
    .landing-page .nav-shell {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
    }

    .landing-page .nav-brand-wrap {
        flex: 1 1 auto;
    }

    .landing-page .nav-actions {
        margin-left: 0;
    }

    .landing-page .navbar.mobile-open {
        display: flex !important;
    }

    .landing-page .navbar {
        box-shadow: 0 10px 22px rgba(23, 32, 43, 0.08);
        padding: 0.5rem 0 1rem;
        width: 100%;
    }

    .landing-page .navbar > li,
    .landing-page .navbar > li > a {
        width: 100%;
    }

    .landing-page .navbar > li > a {
        padding: 0.7rem 1rem;
        text-align: center;
    }

    .landing-page .navbar > li > a.active::before {
        bottom: 0.25rem;
    }

    .landing-page .navbar .login-link,
    .landing-page .navbar .signup-link {
        margin: 0.3rem 1rem;
        width: calc(100% - 2rem);
    }

    .landing-page .hero-section {
        padding-top: 5rem;
    }
}

@media (max-width: 639px) {
    .landing-page .brand-mark {
        font-size: 1.4rem;
        padding: 0.8rem 0;
    }

    .landing-page .nav-actions {
        gap: 0.4rem;
    }

    .landing-page .login-link,
    .landing-page .signup-link {
        font-size: 0.75rem;
        margin-left: 0;
        padding: 0.55rem 0.7rem;
    }

    .landing-page .theme-toggle {
        height: 2.1rem;
        width: 2.1rem;
    }

    .landing-page .contact-panel {
        padding: 1.5rem;
    }

    .landing-page .preview-metrics {
        gap: 0.35rem;
    }

    .landing-page .preview-metrics > div {
        padding: 0.55rem;
    }

    .landing-page .site-footer .footer-actions {
        gap: 0.8rem;
    }

    .landing-page .hero-art {
        padding: 0.8rem;
    }

    .landing-page .hero-art img {
        height: 6rem;
        width: 9rem;
    }
}

.landing-page .main-nav,
.landing-page .site-footer {
    background: rgba(247, 248, 246, 0.94);
    border-color: rgba(15, 118, 110, 0.12);
}

.landing-page .navbar > li > a {
    color: var(--landing-ink);
}

.landing-page .navbar .signup-link {
    background: var(--landing-primary);
    color: var(--landing-signup-text);
}

.landing-page .hero-section {
    background: var(--bg-gradient);
}

.landing-page .hero-copy {
    color: var(--landing-muted);
}

.landing-page .hero-art {
    background: var(--brand-soft);
    border-color: transparent;
}

.landing-page .action-primary,
.landing-page .action-secondary,
.landing-page .navbar .login-link,
.landing-page .navbar .signup-link,
.landing-page button {
    border-radius: 4px;
}

.landing-page .bg-white,
.landing-page .workflow-preview,
.landing-page .contact-panel,
.landing-page .testimonial-card {
    background: var(--landing-panel-bg) !important;
    color: var(--landing-muted);
}

.landing-page .solution-card,
.landing-page .team-card {
    background: rgba(255,255,255,0.5);
    border-color: var(--landing-line);
}

.landing-page .workflow-section,
.landing-page .testimonials-section {
    background: rgba(255,255,255,0.2);
}

.landing-page .site-footer {
    border-top-color: var(--landing-line);
    padding: 1.5rem 0;
}

.landing-page .site-footer .brand-mark {
    font-size: 1.75rem;
    padding: 1.3rem 0;
}

.landing-page .site-footer p,
.landing-page .site-footer a:not(.brand-mark) {
    font-size: 0.78rem;
    line-height: normal;
}

/* Optional dark theme, enabled by theme toggle */
html[data-theme=dark] .landing-page {
    --landing-ink: var(--ink);
    --landing-muted: var(--muted);
    --landing-paper: var(--bg-gradient);
    --landing-line: var(--line);
    background: var(--bg-gradient);
    color: var(--muted);
}

html[data-theme=dark] .landing-page .main-nav,
html[data-theme=dark] .landing-page .site-footer {
    background: var(--surface);
    border-color: var(--line);
    backdrop-filter: blur(8px);
}

html[data-theme=dark] .landing-page .brand-mark,
html[data-theme=dark] .landing-page .hero-title,
html[data-theme=dark] .landing-page .section-heading,
html[data-theme=dark] .landing-page .section-header h2,
html[data-theme=dark] .landing-page .workflow-preview h2,
html[data-theme=dark] .landing-page .team-card h3,
html[data-theme=dark] .landing-page .testimonial-card strong,
html[data-theme=dark] .landing-page .faq-list summary {
    color: var(--ink);
}

html[data-theme=dark] .landing-page .navbar > li > a,
html[data-theme=dark] .landing-page .hero-copy,
html[data-theme=dark] .landing-page .section-header > p:not(.eyebrow),
html[data-theme=dark] .landing-page .section-copy,
html[data-theme=dark] .landing-page .solution-card p,
html[data-theme=dark] .landing-page .team-card p,
html[data-theme=dark] .landing-page .testimonial-card > p,
html[data-theme=dark] .landing-page .faq-list details p,
html[data-theme=dark] .landing-page .site-footer p {
    color: var(--muted);
}

html[data-theme=dark] .landing-page .hero-section {
    background: transparent;
}

html[data-theme=dark] .landing-page .bg-white,
html[data-theme=dark] .landing-page .workflow-preview,
html[data-theme=dark] .landing-page .contact-panel,
html[data-theme=dark] .landing-page .testimonial-card {
    background: var(--surface) !important;
    color: var(--muted);
    border-color: var(--line);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

html[data-theme=dark] .landing-page .solution-card,
html[data-theme=dark] .landing-page .team-card {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme=dark] .landing-page .workflow-section,
html[data-theme=dark] .landing-page .testimonials-section {
    background: transparent;
}

html[data-theme=dark] .landing-page .hero-art {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

html[data-theme=dark] .landing-page .preview-metrics > div {
    background: var(--surface-soft);
}

html[data-theme=dark] .landing-page .contact-panel label,
html[data-theme=dark] .landing-page .contact-panel input,
html[data-theme=dark] .landing-page .contact-panel textarea {
    color: var(--ink);
}

html[data-theme=dark] .landing-page .contact-panel input:not(.phone-number-input),
html[data-theme=dark] .landing-page .contact-panel textarea {
    background: var(--surface-soft);
    border-color: var(--line);
}

html[data-theme=dark] .landing-page .contact-panel input::placeholder,
html[data-theme=dark] .landing-page .contact-panel textarea::placeholder {
    color: var(--muted);
}

html[data-theme=dark] .landing-page .action-secondary {
    background: var(--surface-soft);
    border-color: var(--line);
    color: var(--ink);
}

html[data-theme=dark] .landing-page .theme-toggle {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
}

/* Keep the Tailone illustration clean and unframed. */
.landing-page .hero-art,
html[data-theme=dark] .landing-page .hero-art {
    background: transparent;
    border: 0;
    box-shadow: none;
}

html[data-theme=dark] .landing-page .theme-toggle:hover {
    background: var(--brand-soft);
}

html[data-theme=dark] .landing-page .theme-icon-sun {
    display: none;
}

html[data-theme=dark] .landing-page .theme-icon-moon {
    display: block;
}

/* ── About Page Styles ── */
.about-image-panel {
    align-items: center;
    background: var(--landing-section-card-bg);
    border-bottom: 2px solid var(--landing-line);
    display: flex;
    justify-content: center;
    min-height: 20rem;
    overflow: hidden;
}

.about-image-panel img {
    height: 100%;
    max-height: 28rem;
    object-fit: contain;
    width: 100%;
}

html[data-theme="dark"] .about-image-panel {
    background: var(--surface-soft);
    border-color: var(--line);
}

.management-card {
    display: grid;
    grid-template-columns: 20% 80%;
    overflow: hidden;
    padding: 0;
}

.management-card-image {
    align-items: center;
    background: var(--landing-section-card-bg);
    display: flex;
    justify-content: center;
    min-height: 18rem;
    overflow: hidden;
}

.management-card-image img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.management-card-content {
    padding: 1.7rem;
}

html[data-theme="dark"] .management-card-image {
    background: var(--surface-soft);
}

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

    .management-card-image {
        min-height: 14rem;
    }
}

.about-page .about-intro {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.about-page .about-intro .eyebrow {
    border-bottom: 2px solid var(--landing-primary);
    display: inline-block;
    font-size: 1rem;
    padding-bottom: 0.35rem;
}

.about-page .about-intro h2 {
    max-width: 52rem;
}

.about-page .management-intro {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.about-page .management-intro .eyebrow {
    border-bottom: 2px solid var(--landing-primary);
    display: inline-block;
    font-size: 1rem;
    padding-bottom: 0.35rem;
}

/* ── Terms Page Styles ── */
.terms-page .terms-content {
    max-width: 52rem;
}

.terms-page .terms-content h2 {
    color: var(--landing-ink);
    font-size: 1.35rem;
    margin: 2.25rem 0 0.75rem;
}

.terms-page .terms-content h2:first-child {
    margin-top: 0;
}

.terms-page .terms-content p,
.terms-page .terms-content li {
    color: var(--landing-muted);
    font-size: var(--font-size-sm);
    line-height: 1.8;
}

.terms-page .terms-content ul {
    list-style: disc;
    margin: 0.75rem 0 0 1.25rem;
}

/* ── Home: rotating services globe ── */
.landing-page .services-globe-layout {
    align-items: center;
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr 1.1fr;
}

.landing-page .services-globe {
    --globe-dot: 37, 99, 235;
    aspect-ratio: 1;
    cursor: grab;
    margin: 0 auto;
    max-width: 34rem;
    position: relative;
    touch-action: pan-y;
    user-select: none;
    width: 100%;
}

.landing-page .services-globe.is-dragging {
    cursor: grabbing;
}

.landing-page .services-globe::before {
    background: radial-gradient(circle, var(--brand-soft) 0%, transparent 62%);
    border-radius: 50%;
    content: "";
    inset: 6%;
    position: absolute;
}

.landing-page .services-globe-canvas {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

/* Without JS the links show as a simple wrapped list */
.landing-page .services-globe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 40%;
    position: relative;
}

.landing-page .services-globe.is-ready .services-globe-tags {
    display: block;
    inset: 0;
    padding: 0;
    position: absolute;
}

.landing-page .services-globe-tags a {
    -webkit-user-drag: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 8px 20px -10px rgba(15, 23, 42, 0.35);
    color: var(--brand-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.landing-page .services-globe.is-ready .services-globe-tags a {
    left: 50%;
    position: absolute;
    top: 50%;
    will-change: transform, opacity;
}

.landing-page .services-globe-tags a:hover,
.landing-page .services-globe-tags a:focus-visible {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    opacity: 1 !important;
    outline: none;
}

.landing-page .services-globe-tags a.is-back {
    pointer-events: none;
}

.landing-page .services-globe-points {
    display: grid;
    gap: 0.7rem;
    margin: 1.5rem 0 1.2rem;
}

.landing-page .services-globe-points li {
    color: var(--landing-ink);
    font-size: 0.95rem;
    padding-left: 1.8rem;
    position: relative;
}

.landing-page .services-globe-points li::before {
    background: var(--brand-soft);
    border-radius: 50%;
    color: var(--brand);
    content: "\2713";
    font-size: 0.7rem;
    font-weight: 800;
    height: 1.2rem;
    left: 0;
    line-height: 1.2rem;
    position: absolute;
    text-align: center;
    top: 0.15rem;
    width: 1.2rem;
}

.landing-page .services-globe-hint {
    color: var(--landing-muted);
    font-size: 0.82rem;
    font-style: italic;
    margin-bottom: 1.4rem;
}

html[data-theme=dark] .landing-page .services-globe {
    --globe-dot: 96, 165, 250;
}

html[data-theme=dark] .landing-page .services-globe-tags a {
    color: var(--ink);
}

html[data-theme=dark] .landing-page .services-globe-points li {
    color: var(--ink);
}

@media (max-width: 1023px) {
    .landing-page .services-globe-layout {
        gap: 2.5rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .landing-page .services-globe-tags a {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

/* ── Home: workflow "live return tracker" ── */
.landing-page .flow {
    align-items: start;
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 3rem;
}

.landing-page .flow-tracker-wrap {
    position: sticky;
    top: calc(var(--site-header-h, 4.5rem) + 2rem);
}

.landing-page .flow-tracker {
    --p: 17;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
    padding: 1.25rem 1.4rem 1.4rem;
}

.landing-page .flow-tracker-bar {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 0.4rem;
    margin: -0.2rem -1.4rem 1.2rem;
    padding: 0 1.4rem 0.9rem;
}

.landing-page .flow-tracker-bar span {
    border-radius: 50%;
    height: 0.6rem;
    width: 0.6rem;
}

.landing-page .flow-tracker-bar span:nth-child(1) { background: #f87171; }
.landing-page .flow-tracker-bar span:nth-child(2) { background: #fbbf24; }
.landing-page .flow-tracker-bar span:nth-child(3) { background: #34d399; }

.landing-page .flow-tracker-bar small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
}

.landing-page .flow-tracker-head {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.landing-page .flow-ring-wrap {
    flex-shrink: 0;
    height: 4.5rem;
    position: relative;
    width: 4.5rem;
}

.landing-page .flow-ring {
    height: 100%;
    transform: rotate(-90deg);
    width: 100%;
}

.landing-page .flow-ring circle {
    fill: none;
    stroke-width: 6;
}

.landing-page .flow-ring-track {
    stroke: var(--brand-soft);
}

.landing-page .flow-ring-fill {
    stroke: var(--brand);
    stroke-dasharray: 100;
    stroke-dashoffset: calc(100 - var(--p));
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease, stroke 0.4s ease;
}

.landing-page .flow-tracker.is-complete .flow-ring-fill {
    stroke: var(--green);
}

.landing-page .flow-ring-wrap b {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 0.95rem;
    inset: 0;
    justify-content: center;
    position: absolute;
}

.landing-page .flow-tracker-head small {
    color: var(--muted);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-page .flow-tracker-head strong {
    color: var(--ink);
    display: block;
    font-size: 1.2rem;
    margin: 0.1rem 0 0.35rem;
}

.landing-page .flow-pill {
    background: var(--brand-soft);
    border-radius: 999px;
    color: var(--brand);
    display: inline-block;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
}

.landing-page .flow-tracker.is-complete .flow-pill {
    background: rgba(22, 163, 74, 0.12);
    color: var(--green);
}

/* Scenes: one per step, cross-faded */
.landing-page .flow-scenes {
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 1rem;
    height: 13.5rem;
    margin: 1.25rem 0;
    overflow: hidden;
    position: relative;
}

.landing-page .flow-scene {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 1.2rem 1.4rem;
    position: absolute;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
    visibility: hidden;
}

.landing-page .flow-tracker[data-active="1"] [data-scene="1"],
.landing-page .flow-tracker[data-active="2"] [data-scene="2"],
.landing-page .flow-tracker[data-active="3"] [data-scene="3"],
.landing-page .flow-tracker[data-active="4"] [data-scene="4"],
.landing-page .flow-tracker[data-active="5"] [data-scene="5"],
.landing-page .flow-tracker[data-active="6"] [data-scene="6"] {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.landing-page .flow-rows p,
.landing-page .flow-fields p,
.landing-page .flow-files p {
    align-items: center;
    display: flex;
    font-size: 0.85rem;
    gap: 0.75rem;
    justify-content: space-between;
}

.landing-page .flow-rows p + p {
    border-top: 1px solid var(--line);
    margin-top: 0.55rem;
    padding-top: 0.55rem;
}

.landing-page .flow-rows span,
.landing-page .flow-fields span,
.landing-page .flow-files span {
    color: var(--muted);
}

.landing-page .flow-rows b {
    color: var(--ink);
}

.landing-page .flow-rows .flow-rows-total b {
    color: var(--green);
    font-size: 1.15rem;
}

.landing-page .flow-chip {
    align-self: flex-start;
    background: rgba(22, 163, 74, 0.12);
    border-radius: 999px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
}

/* Bars that fill when their scene becomes active */
.landing-page .flow-fields,
.landing-page .flow-files {
    display: grid;
    gap: 0.85rem;
}

.landing-page .flow-fields span {
    flex: 0 0 7.5rem;
}

.landing-page .flow-fields i,
.landing-page .flow-files i {
    background: var(--line);
    border-radius: 999px;
    flex: 1;
    height: 0.5rem;
    overflow: hidden;
    position: relative;
}

.landing-page .flow-fields i::after,
.landing-page .flow-files i::after {
    background: linear-gradient(90deg, var(--brand), #38bdf8);
    border-radius: inherit;
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    width: 0;
}

.landing-page .flow-tracker[data-active="2"] .flow-fields i::after,
.landing-page .flow-tracker[data-active="3"] .flow-files i::after {
    width: var(--w);
}

.landing-page .flow-fields p:nth-child(2) i::after,
.landing-page .flow-files p:nth-child(2) i::after { transition-delay: 0.15s; }
.landing-page .flow-fields p:nth-child(3) i::after,
.landing-page .flow-files p:nth-child(3) i::after { transition-delay: 0.3s; }
.landing-page .flow-fields p:nth-child(4) i::after { transition-delay: 0.45s; }

.landing-page .flow-files b {
    background: var(--brand-soft);
    border-radius: 0.4rem;
    color: var(--brand);
    flex-shrink: 0;
    font-size: 0.65rem;
    padding: 0.35rem 0.4rem;
}

.landing-page .flow-files span {
    flex: 0 0 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-page .flow-checks {
    display: grid;
    gap: 0.7rem;
}

.landing-page .flow-checks li {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 0.88rem;
    gap: 0.65rem;
}

.landing-page .flow-checks li::before {
    background: var(--green);
    border-radius: 50%;
    color: #fff;
    content: "\2713";
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    height: 1.35rem;
    line-height: 1.35rem;
    text-align: center;
    transform: scale(0);
    transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
    width: 1.35rem;
}

.landing-page .flow-tracker[data-active="5"] .flow-checks li::before { transform: scale(1); }
.landing-page .flow-checks li:nth-child(2)::before { transition-delay: 0.2s; }
.landing-page .flow-checks li:nth-child(3)::before { transition-delay: 0.4s; }

.landing-page .flow-stamp {
    align-self: center;
    border: 3px solid var(--green);
    border-radius: 0.6rem;
    color: var(--green);
    font-family: "Roboto Slab", serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.1;
    opacity: 0;
    padding: 0.35rem 1.1rem 0.45rem;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(-8deg) scale(1.8);
    transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1) 0.1s, opacity 0.3s ease 0.1s;
}

.landing-page .flow-stamp small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.landing-page .flow-tracker[data-active="6"] .flow-stamp {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
}

.landing-page .flow-track {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.landing-page .flow-track::before {
    background: var(--green);
    content: "";
    height: 2px;
    left: 16.66%;
    opacity: 0.35;
    position: absolute;
    right: 16.66%;
    top: 0.45rem;
}

.landing-page .flow-track li {
    align-items: center;
    flex: 1;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 0.35rem;
    position: relative;
}

.landing-page .flow-track li::before {
    background: var(--green);
    border: 3px solid var(--surface);
    border-radius: 50%;
    content: "";
    height: 1rem;
    width: 1rem;
}

/* Stage checklist */
.landing-page .flow-stages {
    display: grid;
    gap: 0.4rem;
    grid-template-columns: repeat(6, 1fr);
}

.landing-page .flow-stages button {
    background: transparent;
    border: 0;
    border-top: 3px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    padding-top: 0.5rem;
    transition: border-color 0.3s ease, color 0.3s ease;
    width: 100%;
}

.landing-page .flow-stages button.is-done {
    border-color: var(--brand);
    color: var(--ink);
}

.landing-page .flow-stages button.is-current {
    border-color: var(--brand);
    color: var(--brand);
}

.landing-page .flow-tracker.is-complete .flow-stages button {
    border-color: var(--green);
}

.landing-page .flow-tracker.is-complete .flow-stages button.is-current {
    color: var(--green);
}

.landing-page .flow-stages button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

/* Steps column */
.landing-page .flow-steps {
    position: relative;
}

.landing-page .flow-steps ol {
    display: grid;
    gap: 1.5rem;
}

.landing-page .flow-line {
    background: var(--line);
    border-radius: 2px;
    display: none;
    position: absolute;
    width: 2px;
}

.landing-page .flow-steps.is-ready .flow-line {
    display: block;
}

.landing-page .flow-line span {
    background: linear-gradient(var(--brand), #38bdf8);
    border-radius: inherit;
    display: block;
    height: 0;
    transition: height 0.5s ease;
    width: 100%;
}

.landing-page .flow-step {
    align-items: start;
    border: 1px solid transparent;
    border-radius: 1.25rem;
    cursor: pointer;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: 3rem 1fr;
    min-height: 9.5rem;
    opacity: 0.5;
    padding: 1.4rem 1.25rem;
    position: relative;
    transition: opacity 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.landing-page .flow-step.is-done {
    opacity: 0.8;
}

.landing-page .flow-step.is-active {
    background: var(--surface);
    border-color: var(--line);
    box-shadow: 0 20px 40px -24px rgba(37, 99, 235, 0.45);
    opacity: 1;
    transform: translateX(6px);
}

.landing-page .flow-step b {
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    display: flex;
    font-size: 0.85rem;
    height: 3rem;
    justify-content: center;
    position: relative;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    width: 3rem;
    z-index: 1;
}

.landing-page .flow-step.is-done b {
    border-color: var(--brand);
    color: var(--brand);
}

.landing-page .flow-step.is-active b {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 0 0 6px var(--brand-soft);
    color: #fff;
}

.landing-page .flow-step h3 {
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0.55rem 0 0.35rem;
}

.landing-page .flow-step p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Tablet / phone: tracker becomes a compact sticky progress bar */
@media (max-width: 1023px) {
    .landing-page .flow {
        gap: 1.5rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .landing-page .flow-tracker-wrap {
        top: 0.75rem;
        z-index: 5;
    }

    .landing-page .flow-tracker {
        padding: 0.9rem 1rem;
    }

    .landing-page .flow-tracker-bar,
    .landing-page .flow-scenes,
    .landing-page .flow-tracker-head small,
    .landing-page .flow-pill {
        display: none;
    }

    .landing-page .flow-ring-wrap {
        height: 3.2rem;
        width: 3.2rem;
    }

    .landing-page .flow-ring-wrap b {
        font-size: 0.75rem;
    }

    .landing-page .flow-tracker-head strong {
        font-size: 1rem;
        margin: 0;
    }

    .landing-page .flow-stages {
        margin-top: 0.75rem;
    }

    .landing-page .flow-step {
        min-height: 0;
    }

    .landing-page .flow-step.is-active {
        transform: none;
    }
}

@media (max-width: 639px) {
    .landing-page .flow-stages button {
        font-size: 0.62rem;
    }

    .landing-page .flow-step {
        gap: 0.9rem;
        grid-template-columns: 2.5rem 1fr;
        padding: 1.1rem 1rem;
    }

    .landing-page .flow-step b {
        height: 2.5rem;
        width: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .flow-scene,
    .landing-page .flow-step,
    .landing-page .flow-line span,
    .landing-page .flow-ring-fill,
    .landing-page .flow-stamp,
    .landing-page .flow-checks li::before,
    .landing-page .flow-fields i::after,
    .landing-page .flow-files i::after {
        transition: none;
    }
}

/* ── Footer: link lists match the body text, with a tick per item ── */
.landing-page .site-footer .footer-col ul li a,
.landing-page .site-footer a.footer-contact-item {
    color: var(--landing-muted);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
}

.landing-page .site-footer .footer-col ul li a {
    align-items: center;
    display: inline-flex;
    gap: 0.6rem;
}

.landing-page .site-footer .footer-col ul li a::before {
    background: var(--brand-soft);
    border-radius: 50%;
    color: var(--brand);
    content: "\2713";
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    height: 1.15rem;
    line-height: 1.15rem;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
    width: 1.15rem;
}

.landing-page .site-footer .footer-col ul li a:hover,
.landing-page .site-footer a.footer-contact-item:hover {
    color: var(--landing-primary);
}

.landing-page .site-footer .footer-col ul li a:hover::before {
    background: var(--brand);
    color: #fff;
}

.landing-page .back-top {
    border-radius: 50%;
    box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.7);
    transition: transform 0.2s ease, background 0.2s ease;
}

.landing-page .back-top:hover {
    background: var(--landing-primary-dark);
    transform: translateY(-3px);
}

/* ── About page: less space under the header, and tick bullets for "What we help with" ── */
.about-page .section.about-first { padding-top: 1.5rem; }
.about-page .about-help-list { list-style: none; padding: 0; }
.about-page .about-help-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--landing-line);
    border-radius: 10px;
    background: var(--brand-soft, rgba(37, 99, 235, 0.06));
    color: var(--landing-ink);
    font-weight: 600;
    font-size: 0.92rem;
}
.about-page .about-help-list li::before {
    content: "\2713";
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--landing-primary, #2563eb);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35rem;
    text-align: center;
}
/* Public pages leave room for the fixed header with pt-24 (96px), but the header is shorter (63px, 49px on
   phones), which left a strip under it (About, Refer & Earn, Terms). Match the header's real height. */
.landing-page main#content.pt-24 { padding-top: 63px; }
@media (max-width: 639px) { .landing-page main#content.pt-24 { padding-top: 49px; } }

/* ── Footer background: the company name, large and faint, filling the footer behind its content ── */
.landing-page .site-footer { position: relative; overflow: hidden; isolation: isolate; }
.landing-page .site-footer > .footer-main,
.landing-page .site-footer > .footer-bottom { position: relative; z-index: 1; }
.landing-page .footer-wordmark {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font: 900 17.5vw/1 "Roboto Slab", Georgia, serif;  /* "CovrentTax" on one line, across the footer */
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: #c3d5fb;  /* solid royal-blue tint (was #dbe5f8, too dull), so the shadow falls only outside the letters */
    /* falling shadow, down and to the right, like the reference: a crisp edge plus a soft cast shadow */
    text-shadow: 3px 4px 0 rgba(29, 78, 216, 0.16), 8px 12px 18px rgba(29, 78, 216, 0.20);
    pointer-events: none;
    user-select: none;
}
.landing-page .footer-wordmark .tax { color: #a9c3f9; }
html[data-theme="dark"] .landing-page .footer-wordmark { color: #1f2839; text-shadow: 3px 4px 0 rgba(0, 0, 0, 0.35), 8px 12px 14px rgba(0, 0, 0, 0.45), 14px 22px 34px rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .landing-page .footer-wordmark .tax { color: #1d3152; }

/* First section right under the header: a small gap instead of the full section padding (Terms, like About) */
.landing-page main#content.pt-24 > .section:first-child { padding-top: 1.5rem; }

/* Terms page intro styled like the About page intro: left-aligned, underlined eyebrow, large heading with the blue accent */
.terms-page .about-intro { max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
.terms-page .about-intro .eyebrow {
    border-bottom: 2px solid var(--landing-primary);
    display: inline-block;
    font-size: 1rem;
    padding-bottom: 0.35rem;
}
.terms-page .about-intro h1 {
    color: var(--landing-ink);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.45rem 0 0.8rem;
}
.terms-page .about-intro h1 span { color: var(--landing-primary); }
html[data-theme=dark] .terms-page .about-intro h1 { color: var(--ink); }

/* Terms sections as cards, like the About page */
.terms-page .terms-content { max-width: none; }
.terms-page .terms-content .solution-card p { color: var(--landing-muted); font-size: var(--font-size-sm); line-height: 1.8; margin: 0 0 0.6rem; }
.terms-page .terms-content .solution-card p:last-child { margin-bottom: 0; }

/* Services menu in dark mode: it kept the white panel while the links turned light, so nothing showed */
html[data-theme=dark] .landing-page .services-nav-dropdown {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme=dark] .landing-page .services-nav-dropdown a { color: #e2e8f0; }
html[data-theme=dark] .landing-page .services-nav-dropdown a:hover,
html[data-theme=dark] .landing-page .services-nav-dropdown a:focus-visible {
    background: rgba(37, 99, 235, 0.22);
    color: #93c5fd;
}

/* ── Contact Us (Nov 2026): US and India branch cards ─────────────────────── */
.contact-page .about-intro h1 { color: var(--landing-ink); font-size: 2rem; font-weight: 700; line-height: 1.25; margin: 0.45rem 0 0.8rem; }
.contact-page .about-intro h1 span { color: var(--landing-primary); }
.contact-page .about-intro > p:not(.eyebrow) { color: var(--landing-muted); line-height: 1.7; }

.contact-branches { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.contact-branch {
    background: var(--landing-section-card-bg);
    border: 1px solid var(--landing-line);
    border-radius: 1.1rem;
    box-shadow: var(--landing-card-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 1.6rem;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
/* a thin colour band along the top of each card */
.contact-branch::before { content: ""; height: 4px; inset: 0 0 auto 0; position: absolute;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-primary-dark)); }
.contact-branch--in::before { background: linear-gradient(90deg, #f59e0b, var(--landing-primary) 55%, #16a34a); }
.contact-branch:hover { border-color: var(--landing-primary); box-shadow: var(--landing-card-hover-shadow); transform: translateY(-4px); }

.contact-branch__head { align-items: center; display: flex; gap: 0.9rem; margin-bottom: 1.25rem; }
.contact-branch__flag { border-radius: 0.35rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); flex: none; height: 28px; object-fit: cover; width: 40px; }
.contact-branch__tag { color: var(--landing-primary); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; margin: 0; text-transform: uppercase; }
.contact-branch h2 { color: var(--landing-ink); font-size: 1.3rem; font-weight: 700; line-height: 1.3; margin: 0.1rem 0 0; }
.contact-branch h2 span { color: var(--landing-primary); }
.contact-branch__cur { background: var(--landing-icon-bg); border-radius: 999px; color: var(--landing-primary); font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.08em; margin-left: auto; padding: 0.3rem 0.7rem; }

.contact-branch__list { display: grid; gap: 0.85rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.contact-branch__list li { align-items: flex-start; color: var(--landing-muted); display: flex; font-size: 0.92rem; gap: 0.75rem; line-height: 1.6; }
.contact-branch__list address { font-style: normal; }
.contact-branch__list a { color: var(--landing-ink); font-weight: 600; text-decoration: none; }
.contact-branch__list a:hover { color: var(--landing-primary); text-decoration: underline; }
.contact-ico { color: var(--landing-primary); flex: none; height: 1.2rem; margin-top: 0.15rem; width: 1.2rem; }
.contact-muted { font-style: italic; }

.contact-branch__map { border: 1px solid var(--landing-line); border-radius: 0.8rem; margin-top: auto; overflow: hidden; }
.contact-branch__map iframe { border: 0; display: block; height: 13rem; width: 100%; }
.contact-branch__dir { align-items: center; align-self: flex-start; color: var(--landing-primary); display: inline-flex; font-size: 0.85rem;
    font-weight: 700; gap: 0.35rem; margin-top: 0.8rem; text-decoration: none; }
.contact-branch__dir .contact-ico { height: 1rem; margin: 0; transition: transform 0.2s ease; width: 1rem; }
.contact-branch__dir:hover .contact-ico { transform: translateX(3px); }

.contact-help { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-top: 2.5rem; }
.contact-help__item { background: var(--landing-section-card-bg); border-bottom: 2px solid var(--landing-line); border-radius: 0.9rem;
    color: var(--landing-muted); display: flex; flex-direction: column; font-size: 0.86rem; gap: 0.35rem; line-height: 1.6;
    padding: 1.3rem 1.4rem; text-decoration: none; transition: border-color 0.25s ease, transform 0.25s ease; }
.contact-help__item strong { color: var(--landing-ink); font-size: 1rem; }
.contact-help__item:hover { border-color: var(--landing-primary); transform: translateY(-3px); }
.contact-help__ico { align-items: center; background: var(--landing-icon-bg); border-radius: 0.7rem; display: inline-flex; height: 2.4rem;
    justify-content: center; margin-bottom: 0.35rem; width: 2.4rem; }
.contact-help__ico .contact-ico { margin: 0; }

html[data-theme=dark] .contact-page .about-intro h1,
html[data-theme=dark] .contact-branch h2,
html[data-theme=dark] .contact-branch__list a,
html[data-theme=dark] .contact-help__item strong { color: var(--ink); }
html[data-theme=dark] .contact-branch,
html[data-theme=dark] .contact-help__item { background: rgba(15, 23, 42, 0.55); border-color: rgba(148, 163, 184, 0.22); }
html[data-theme=dark] .contact-branch__list li,
html[data-theme=dark] .contact-help__item { color: #cbd5e1; }
@media (prefers-reduced-motion: reduce) {
    .contact-branch, .contact-help__item, .contact-branch__dir .contact-ico { transition: none; }
    .contact-branch:hover, .contact-help__item:hover { transform: none; }
}
.terms-page .terms-content .solution-card p strong { color: var(--landing-ink); }
.terms-page .terms-content .solution-card a { color: var(--landing-primary); font-weight: 600; }
html[data-theme=dark] .terms-page .terms-content .solution-card p strong { color: var(--ink); }
.contact-branch__soon { align-items: center; background: var(--landing-icon-bg); border: 1px dashed var(--landing-line); border-radius: 0.8rem;
    color: var(--landing-muted); display: flex; flex: 1; flex-direction: column; font-size: 0.88rem; gap: 0.4rem; justify-content: center;
    line-height: 1.6; margin-top: auto; min-height: 13rem; padding: 1.5rem; text-align: center; }
.contact-branch__soon strong { color: var(--landing-ink); font-size: 1rem; }
.contact-branch__soon .contact-help__ico { background: var(--landing-section-card-bg); }
.contact-branch__soon .contact-branch__dir { align-self: center; }
html[data-theme=dark] .contact-branch__soon { background: rgba(37, 99, 235, 0.08); border-color: rgba(148, 163, 184, 0.25); color: #cbd5e1; }
html[data-theme=dark] .contact-branch__soon strong { color: var(--ink); }
