:root {
    --forest-950: #111714;
    --forest-900: #212e28;
    --forest-800: #314438;
    --forest-700: #415a50;
    --forest-600: #537364;
    --forest-500: #69917d;
    --forest-200: #c3d3cb;
    --forest-100: #e1e9e5;
    --forest-50: #f0f4f2;
    --terra-700: #945338;
    --terra-600: #b46446;
    --terra-500: #eba587;
    --terra-200: #f7dbcf;
    --cream: #f5f0e6;
    --paper: #fffdf9;
    --ink: #17201c;
    --muted: #58645e;
    --line: rgba(65, 90, 80, 0.18);
    --accent: var(--forest-600);
    --accent-soft: var(--forest-100);
    --shadow: 0 24px 70px rgba(33, 46, 40, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.solution-mcp {
    --accent: var(--terra-600);
    --accent-soft: var(--terra-200);
}

a {
    color: inherit;
}

.skip-link {
    background: white;
    left: 1rem;
    padding: 0.75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 100;
}

.skip-link:focus {
    top: 1rem;
}

.shell {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 1.5rem;
}

.site-header {
    background: rgba(245, 240, 230, 0.9);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
}

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

.brand img {
    display: block;
    height: 30px;
    width: auto;
}

.nav-actions {
    align-items: center;
    display: flex;
    gap: 1.5rem;
}

.language-switcher {
    align-items: center;
    color: var(--forest-500);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.3rem;
}

.language-switcher a {
    background: transparent;
    border: 0;
    color: var(--forest-600);
    cursor: pointer;
    font: inherit;
    padding: 0.25rem 0.15rem;
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
    color: var(--forest-950);
}

.language-switcher a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--terra-600);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25rem;
}

.nav-link {
    color: var(--forest-800);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--terra-700);
}

.button {
    align-items: center;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0.65rem;
    color: white;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 700;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.88rem 1.25rem;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    box-shadow: 0 12px 28px rgba(33, 46, 40, 0.18);
    transform: translateY(-2px);
}

.button.secondary {
    background: transparent;
    border-color: var(--forest-700);
    color: var(--forest-800);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero {
    isolation: isolate;
    overflow: hidden;
    padding: 7.5rem 0 6.5rem;
    position: relative;
}

.hero::before,
.hero::after {
    border-radius: 999px;
    content: "";
    filter: blur(4px);
    pointer-events: none;
    position: absolute;
    z-index: -1;
}

.hero::before {
    background: radial-gradient(circle, var(--accent-soft), transparent 68%);
    height: 38rem;
    right: -12rem;
    top: -13rem;
    width: 38rem;
}

.hero::after {
    background: radial-gradient(circle, var(--terra-200), transparent 70%);
    bottom: -14rem;
    height: 28rem;
    left: -11rem;
    width: 28rem;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 5rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

.eyebrow {
    align-items: center;
    color: var(--terra-700);
    display: flex;
    font-size: 0.76rem;
    font-weight: 800;
    gap: 0.55rem;
    letter-spacing: 0.13em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.eyebrow::before {
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent);
    content: "";
    height: 0.5rem;
    width: 0.5rem;
}

h1 {
    color: var(--forest-950);
    font-size: clamp(2.75rem, 5.5vw, 5.25rem);
    letter-spacing: -0.065em;
    line-height: 0.94;
    max-width: 760px;
}

.hero h1 span {
    color: var(--accent);
    display: block;
}

.hero-lead {
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
    margin-top: 1.7rem;
    max-width: 680px;
}

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

.micro-note {
    color: var(--forest-700);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 1rem;
}

.product-visual {
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid rgba(65, 90, 80, 0.16);
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.visual-bar {
    align-items: center;
    background: var(--forest-900);
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    font-size: 0.72rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
}

.visual-status {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.visual-status::before {
    background: #8fceb0;
    border-radius: 50%;
    content: "";
    height: 0.48rem;
    width: 0.48rem;
}

.visual-content {
    display: grid;
    gap: 0.8rem;
    min-height: 350px;
    padding: 1.2rem;
}

.chat-bubble {
    border-radius: 1rem;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 85%;
    padding: 0.85rem 1rem;
}

.chat-bubble.user {
    align-self: end;
    background: var(--forest-700);
    color: white;
    justify-self: end;
}

.chat-bubble.agent {
    align-self: start;
    background: var(--forest-50);
    color: var(--forest-900);
    justify-self: start;
}

.source-strip {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    color: var(--muted);
    display: flex;
    font-size: 0.75rem;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.72rem 0.8rem;
}

.source-strip strong {
    color: var(--forest-800);
}

.flow-visual {
    align-content: center;
    background: var(--forest-950);
    grid-template-columns: 1fr auto 1fr;
}

.flow-node {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    color: white;
    padding: 1.2rem;
    text-align: center;
}

.flow-node strong,
.flow-node small {
    display: block;
}

.flow-node small {
    color: rgba(255, 255, 255, 0.62);
    margin-top: 0.4rem;
}

.flow-arrow {
    color: var(--terra-500);
    font-size: 1.8rem;
    font-weight: 800;
}

.flow-log {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.8rem;
    color: #bdd2c8;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    grid-column: 1 / -1;
    line-height: 1.8;
    padding: 1rem;
}

.dash-visual {
    background: #fff;
    grid-template-columns: repeat(2, 1fr);
}

.metric {
    background: var(--forest-50);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1rem;
}

.metric small,
.metric strong {
    display: block;
}

.metric small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.metric strong {
    color: var(--forest-900);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.budget-list {
    border: 1px solid var(--line);
    border-radius: 1rem;
    grid-column: 1 / -1;
    padding: 1rem;
}

.budget-row {
    display: grid;
    font-size: 0.76rem;
    gap: 0.7rem;
    grid-template-columns: 5rem 1fr 3rem;
    margin: 0.75rem 0;
}

.budget-track {
    align-self: center;
    background: var(--forest-100);
    border-radius: 99px;
    height: 0.48rem;
    overflow: hidden;
}

.budget-track span {
    background: var(--accent);
    display: block;
    height: 100%;
}

.section {
    padding: 6rem 0;
}

.section.white {
    background: var(--paper);
}

.section.dark {
    background: var(--forest-900);
    color: white;
}

.section-heading {
    display: grid;
    gap: 2rem;
    grid-template-columns: 0.85fr 1.15fr;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--terra-700);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section h2 {
    color: var(--forest-950);
    font-size: clamp(2rem, 3.25vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.section.dark h2 {
    color: white;
}

.section-intro {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.7;
}

.section.dark .section-intro {
    color: rgba(255, 255, 255, 0.68);
}

.steps,
.capabilities {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
}

.step,
.capability {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.35rem;
}

.step-number {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.step h3,
.capability h3 {
    color: var(--forest-900);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.8rem 0 0.45rem;
}

.step p,
.capability p {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.capabilities {
    grid-template-columns: repeat(3, 1fr);
}

.capability {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.capability::before {
    background: var(--terra-500);
    border-radius: 0.18rem;
    content: "";
    display: block;
    height: 0.55rem;
    width: 0.55rem;
}

.capability h3 {
    color: white;
}

.capability p {
    color: rgba(255, 255, 255, 0.64);
}

.split-panel {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.info-panel {
    background: var(--forest-100);
    border-radius: 1.2rem;
    padding: 2rem;
}

.info-panel.accent {
    background: var(--terra-200);
}

.info-panel .mini-label {
    color: var(--forest-700);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-panel h3 {
    color: var(--forest-900);
    font-size: 1.45rem;
    margin: 0.7rem 0;
}

.info-panel p {
    color: var(--forest-800);
    line-height: 1.65;
}

.conversion {
    background: var(--forest-900);
    color: white;
    padding: 6rem 0;
}

.conversion-grid {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
}

.conversion h2 {
    font-size: clamp(2rem, 3.25vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.conversion p {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    margin-top: 1rem;
}

.contact-list {
    list-style: none;
    margin-top: 1.6rem;
}

.contact-list li {
    color: rgba(255, 255, 255, 0.82);
    margin: 0.7rem 0;
}

.calendar-card {
    background: var(--cream);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    padding: 0.6rem;
}

.calendar-card iframe {
    background: white;
    border: 0;
    border-radius: 0.85rem;
    display: block;
    height: 600px;
    width: 100%;
}

.related {
    background: var(--paper);
    padding: 4rem 0;
}

.related-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.related-heading h2 {
    color: var(--forest-900);
    font-size: 1.7rem;
}

.related-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
}

.related-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.4rem;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.related-card:hover {
    border-color: var(--terra-500);
    transform: translateY(-2px);
}

.related-card span {
    color: var(--terra-700);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.related-card strong {
    color: var(--forest-900);
    font-size: 1.15rem;
}

.site-footer {
    background: var(--forest-950);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
    padding: 2rem 0;
}

.footer-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.footer-row img {
    filter: brightness(0) invert(1);
    height: 23px;
    opacity: 0.92;
}

@media (max-width: 900px) {
    .hero {
        padding: 5.5rem 0 4.5rem;
    }

    .hero-grid,
    .section-heading,
    .conversion-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 3rem;
    }

    .product-visual {
        margin: 0 auto;
        max-width: 600px;
        transform: none;
        width: 100%;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .shell {
        padding: 0 1rem;
    }

    .site-nav {
        min-height: 68px;
    }

    .nav-actions .nav-link {
        display: none;
    }

    .nav-actions .button {
        padding: 0.7rem 0.85rem;
    }

    .nav-actions {
        gap: 0.75rem;
    }

    .section {
        padding: 4.3rem 0;
    }

    .steps,
    .capabilities,
    .split-panel,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .calendar-card {
        border-radius: 0.85rem;
        margin-inline: -0.4rem;
        padding: 0.35rem;
    }

    .calendar-card iframe {
        height: 680px;
    }

    .related-heading,
    .footer-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

/* Descriptive headings and readable answers on both language versions. */
.hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.6rem); line-height: 1.04; }
.faq-list { margin-top: 2rem; max-width: 850px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; color: var(--forest-950); }
.faq-list p { color: var(--muted); line-height: 1.7; margin-top: 1rem; }
.demo-label { padding: 0.7rem 1.25rem; font-size: 0.75rem; color: var(--muted); background: var(--paper); margin: 0; }
.language-switcher a:not([aria-current]) { text-decoration: none; }
.language-suggestion {
    position: fixed; bottom: 1rem; left: 1rem; z-index: 1001;
    display: flex; align-items: center; gap: 1rem;
    max-width: calc(100vw - 2rem); padding: 0.8rem 1rem;
    color: #fff; background: #213e32; border-radius: 0.75rem;
    box-shadow: 0 4px 24px #0002; font-size: 0.875rem;
}
.language-suggestion a { color: inherit; text-decoration: underline; }
.language-suggestion button { color: inherit; background: none; border: 0; cursor: pointer; font-size: 1.5rem; padding: 0 0.25rem; }
