:root {
    --ink: #10231d;
    --muted: #5e6c67;
    --green: #0c7653;
    --lime: #c8f15a;
    --paper: #f5f7f2;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; }

.site-header, footer { width: min(1180px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.site-header { height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font: 800 21px "Manrope", sans-serif; text-decoration: none; }
.brand-mark { width: 29px; height: 29px; padding: 6px; display: flex; align-items: end; gap: 3px; border-radius: 8px; background: var(--ink); }
.brand-mark i { width: 4px; border-radius: 2px; background: var(--lime); transform: skew(-12deg); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 12px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.main-nav { display: flex; align-items: center; gap: 14px; }
.main-nav a { color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); }
.header-link { padding-bottom: 4px; color: var(--green); font-weight: 700; text-decoration: none; border-bottom: 1px solid #0c765366; }
.language-nav { display: flex; gap: 3px; padding: 3px; border: 1px solid #d6ded8; border-radius: 9px; background: #fff; }
.language-nav a { padding: 4px 6px; color: #75817c; border-radius: 5px; font-size: 10px; font-weight: 700; text-decoration: none; }
.language-nav a:hover, .language-nav a[aria-current="page"] { color: #fff; background: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[dir="rtl"] .chat-preview { text-align: right; transform: rotate(1deg); }
[dir="rtl"] .preview-brand { margin-left: 0; margin-right: auto; }

.hero { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 90px 0 80px; text-align: center; }
.eyebrow, .section-heading > span, .cta > div:first-child > span { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); }
h1, h2 { margin: 0; font-family: "Manrope", sans-serif; letter-spacing: -.055em; line-height: .99; }
h1 { max-width: 950px; margin: 25px auto 28px; font-size: clamp(48px, 7.5vw, 94px); }
h1 em { color: var(--green); font-style: normal; }
.hero-copy { max-width: 680px; margin: auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.actions { margin-top: 35px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.primary { color: var(--white); background: var(--green); box-shadow: 0 9px 24px #0c76532b; }
.secondary { border: 1px solid #cdd5cf; background: #fff8; }
.contact-note { margin: 18px 0 0; color: #7d8884; font-size: 13px; }
.contact-note a { color: var(--green); }

.chat-preview { width: min(580px, 100%); margin: 80px auto 0; overflow: hidden; text-align: left; border: 1px solid #d7ded8; border-radius: 22px; background: white; box-shadow: 0 30px 80px #143a2c17; transform: rotate(-1deg); }
.preview-header { padding: 17px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf0ed; }
.preview-header small { display: block; margin-top: 2px; color: #83908a; font-size: 11px; }
.online { width: 11px; height: 11px; border-radius: 50%; background: #28be74; box-shadow: 0 0 0 4px #def7e9; }
.preview-brand { margin-left: auto; color: #89938f; font-size: 12px; font-weight: 700; }
.preview-body { min-height: 245px; padding: 34px 24px; display: flex; flex-direction: column; gap: 14px; background: #fbfcfa; }
.bubble { max-width: 78%; margin: 0; padding: 12px 16px; border-radius: 16px; line-height: 1.45; }
.bubble.user { align-self: flex-end; color: white; background: var(--green); border-bottom-right-radius: 5px; }
.bubble.assistant { align-self: flex-start; background: #eaf0eb; border-bottom-left-radius: 5px; }

.video-showcase { padding: 90px max(20px, calc((100% - 1180px) / 2)); background: var(--ink); }
.video-heading { margin-bottom: 42px; color: var(--white); text-align: center; }
.video-heading > span { color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.video-heading h2 { margin-top: 16px; font-size: clamp(40px, 5.5vw, 68px); }
.video-showcase video { width: 100%; max-height: 665px; display: block; border: 1px solid #ffffff24; border-radius: 22px; background: #000; box-shadow: 0 30px 80px #0005; }

.features { padding: 110px max(20px, calc((100% - 1180px) / 2)); background: var(--white); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2 { max-width: 650px; font-size: clamp(40px, 5.5vw, 68px); }
.feature-grid { margin-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dfe4df; }
.feature-grid article { padding: 32px 42px 10px 0; }
.feature-grid article + article { padding-left: 36px; border-left: 1px solid #dfe4df; }
.number { color: var(--green); font: 700 13px "Manrope", sans-serif; }
.feature-grid h3 { margin: 46px 0 14px; font: 700 22px "Manrope", sans-serif; }
.feature-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.cta { width: min(1180px, calc(100% - 40px)); margin: 90px auto; padding: 70px; display: flex; justify-content: space-between; gap: 40px; color: white; border-radius: 28px; background: var(--ink); }
.cta > div:first-child > span { color: var(--lime); }
.cta h2 { margin-top: 18px; font-size: clamp(42px, 5.5vw, 68px); }
.cta-action { align-self: end; }
.cta-action p { margin: 0 0 25px; color: #bac7c1; line-height: 1.6; }
.light { color: var(--ink); background: var(--lime); }
.light b { margin-left: 20px; font-size: 20px; }

footer { min-height: 110px; color: #7b8782; border-top: 1px solid #d9dfda; font-size: 13px; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-mark { width: 24px; height: 24px; padding: 5px; }

.page-hero { width: min(900px, calc(100% - 40px)); margin: auto; padding: 90px 0 70px; text-align: center; }
.page-hero h1 { margin-top: 24px; font-size: clamp(44px, 6.5vw, 78px); }
.page-hero .hero-copy { max-width: 760px; }
.content-section { padding: 90px max(20px, calc((100% - 980px) / 2)); background: var(--white); }
.content-section + .content-section { border-top: 1px solid #e2e7e3; }
.content-intro { max-width: 750px; margin: 0 auto 54px; text-align: center; }
.content-intro h2 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 56px); }
.content-intro p, .content-card p, .prose p { color: var(--muted); line-height: 1.7; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid #dfe4df; border-radius: 20px; background: #dfe4df; }
.content-grid.three { grid-template-columns: repeat(3, 1fr); }
.content-card { padding: 34px; background: var(--white); }
.content-card .number { display: block; margin-bottom: 30px; }
.content-card h2, .content-card h3 { margin: 0 0 13px; font: 700 21px "Manrope", sans-serif; }
.content-card p { margin: 0; }
.content-card ul, .check-list { margin: 18px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.question-list { display: grid; gap: 12px; max-width: 760px; margin: auto; }
.question-list p { margin: 0; padding: 18px 22px; border: 1px solid #dfe4df; border-radius: 12px; background: #fbfcfa; font-weight: 600; }
.faq-list { max-width: 850px; margin: auto; }
.faq-list details { padding: 24px 0; border-bottom: 1px solid #dfe4df; }
.faq-list summary { cursor: pointer; font: 700 19px "Manrope", sans-serif; }
.faq-list p { margin: 14px 0 0; color: var(--muted); line-height: 1.7; }
.simple-cta { padding: 70px 20px; text-align: center; background: var(--paper); }
.simple-cta h2 { margin-bottom: 24px; font-size: clamp(34px, 5vw, 54px); }

.solution-hero { max-width: 1050px; padding-bottom: 95px; }
.solution-hero h1 { max-width: 1020px; font-size: clamp(43px, 6.8vw, 82px); }
.solution-hero .actions { margin-top: 34px; }
.solution-problem { padding: 100px max(20px, calc((100% - 980px) / 2)); color: var(--white); background: var(--ink); }
.solution-problem > span, .section-kicker { display: block; margin-bottom: 22px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.solution-problem > span { color: var(--lime); }
.solution-problem h2 { max-width: 950px; font-size: clamp(34px, 5vw, 57px); line-height: 1.12; }
.solution-split, .solution-control { padding: 100px max(20px, calc((100% - 980px) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.solution-split h2, .solution-control h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.solution-split p, .solution-control p { color: var(--muted); font-size: 18px; line-height: 1.75; }
.source-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d9dfda; }
.source-list li { padding: 17px 4px; border-bottom: 1px solid #d9dfda; font-weight: 600; }
.source-list li::before { content: '✓'; margin-right: 13px; color: var(--green); }
.solution-control { background: var(--white); }
.solution-control p { padding: 32px; border-left: 3px solid var(--green); background: var(--paper); }
.solution-result { padding: 110px max(20px, calc((100% - 980px) / 2)); text-align: center; }
.solution-result h2 { max-width: 900px; margin: auto; font-size: clamp(36px, 5.5vw, 62px); line-height: 1.08; }
.related-solutions { padding: 95px max(20px, calc((100% - 1080px) / 2)); background: var(--white); }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.related-grid a { min-height: 78px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #dfe4df; border-radius: 12px; font-weight: 700; text-decoration: none; }
.related-grid a:hover { color: var(--green); border-color: #9bc6b3; }
.related-grid b { color: var(--green); font-size: 20px; }

.article-hub-hero { max-width: 980px; }
.article-hub-hero .hero-copy, .article-hero .hero-copy { margin-top: 30px; }
.article-list { width: min(1080px, calc(100% - 40px)); margin: 0 auto 100px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { min-height: 310px; padding: 36px; display: flex; flex-direction: column; border: 1px solid #dfe4df; border-radius: 20px; background: var(--white); }
.article-card > span { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-card h2 { margin: 28px 0 15px; font-size: clamp(25px, 3vw, 34px); line-height: 1.08; }
.article-card h2 a { text-decoration: none; }
.article-card p { margin: 0 0 28px; color: var(--muted); line-height: 1.65; }
.pagination { width: min(1080px, calc(100% - 40px)); margin: -62px auto 100px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.pagination a, .pagination-pages span { min-width: 44px; min-height: 44px; padding: 10px 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfe4df; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; }
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination-pages { grid-column: 2; display: flex; gap: 8px; }
.pagination-pages span[aria-current="page"] { border-color: var(--green); background: var(--green); color: var(--white); }
.pagination-direction:first-child { justify-self: start; }
.pagination-direction:last-child { justify-self: end; grid-column: 3; }
.article-link { margin-top: auto; color: var(--green); font-weight: 700; text-decoration: none; }
.article-link b { margin-left: 6px; }
.article-hero { padding-bottom: 60px; }
.article-hero h1 { max-width: 1050px; font-size: clamp(42px, 6vw, 72px); }
.breadcrumbs { margin-bottom: 45px; display: flex; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-underline-offset: 3px; }
.article-layout { width: min(1080px, calc(100% - 40px)); margin: 0 auto 100px; display: grid; grid-template-columns: minmax(0, 720px) 280px; align-items: start; justify-content: space-between; gap: 70px; }
.article-prose { padding: 54px 0; }
.article-prose > section + section { margin-top: 58px; padding-top: 58px; border-top: 1px solid #dfe4df; }
.article-prose h2 { margin-bottom: 24px; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.article-prose p { color: var(--muted); font-size: 18px; line-height: 1.8; }
.minasflow-recommendation { padding: 38px; border: 1px solid #b8d6c7 !important; border-radius: 18px; background: #f0f8f3; }
.recommendation-label { display: block; margin-bottom: 18px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.minasflow-recommendation .button { margin-top: 14px; }
.article-aside { position: sticky; top: 28px; margin-top: 64px; padding: 26px; border: 1px solid #dfe4df; border-radius: 16px; background: var(--white); }
.article-aside > strong { font: 700 18px "Manrope", sans-serif; }
.article-aside ul { margin: 20px 0 25px; padding: 0; list-style: none; }
.article-aside li + li { border-top: 1px solid #e7ebe8; }
.article-aside li a { padding: 13px 0; display: block; color: var(--muted); font-size: 13px; line-height: 1.4; text-decoration: none; }
.article-aside li a:hover { color: var(--green); }
.article-aside .button { width: 100%; min-height: 46px; padding: 0 14px; font-size: 13px; }
.article-prose h3 { margin: 30px 0 8px; font: 700 21px "Manrope", sans-serif; }

@media (max-width: 760px) {
    .site-header { width: calc(100% - 24px); min-height: 104px; height: auto; padding: 12px 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; }
    .site-header .brand { grid-column: 1; grid-row: 1; }
    .main-nav { grid-column: 1 / -1; grid-row: 3; width: 100%; gap: 18px; overflow-x: auto; padding: 3px 0 7px; }
    .main-nav a { flex: 0 0 auto; }
    .header-actions { display: contents; }
    .header-link { grid-column: 2; grid-row: 1; justify-self: end; max-width: 130px; padding-bottom: 2px; font-size: 12px; line-height: 1.2; text-align: right; }
    .language-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; gap: 2px; }
    .language-nav a { flex: 1; padding: 5px 2px; text-align: center; }
    .hero { padding-top: 45px; }
    .chat-preview { margin-top: 55px; }
    .video-showcase { padding-top: 65px; padding-bottom: 65px; }
    .video-heading { margin-bottom: 28px; }
    .video-showcase video { border-radius: 14px; }
    .features { padding-top: 80px; padding-bottom: 80px; }
    .section-heading { display: block; }
    .section-heading h2 { margin-top: 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid article, .feature-grid article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid #dfe4df; }
    .feature-grid h3 { margin-top: 20px; }
    .cta { margin: 45px auto; padding: 42px 28px; display: block; }
    .cta-action { margin-top: 42px; }
    .cta-action .button { width: 100%; min-width: 0; padding: 0 16px; gap: 10px; }
    .cta-action .button span { min-width: 0; overflow-wrap: anywhere; }
    .light b { flex: 0 0 auto; margin-left: auto; }
    footer { padding: 28px 0; flex-wrap: wrap; gap: 20px; }
    footer p { margin: 0; }
    .page-hero { padding: 55px 0; }
    .content-section { padding-top: 65px; padding-bottom: 65px; }
    .content-grid, .content-grid.three { grid-template-columns: 1fr; }
    .article-list { margin-bottom: 65px; grid-template-columns: 1fr; }
    .article-card { min-height: 0; padding: 28px; }
    .pagination { margin-top: -35px; margin-bottom: 65px; grid-template-columns: 1fr 1fr; }
    .pagination-pages { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
    .pagination-direction { grid-row: 2; }
    .pagination-direction:last-child { grid-column: 2; }
    .article-layout { margin-bottom: 65px; display: block; }
    .article-prose { padding-top: 25px; }
    .article-prose p { font-size: 17px; }
    .minasflow-recommendation { padding: 27px; }
    .minasflow-recommendation .button { width: 100%; padding-inline: 12px; text-align: center; }
    .article-aside { position: static; margin-top: 20px; }
    .solution-hero { padding-bottom: 65px; }
    .solution-problem { padding-top: 70px; padding-bottom: 70px; }
    .solution-split, .solution-control { padding-top: 70px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 38px; }
    .solution-control p { margin: 0; padding: 25px; }
    .solution-result { padding-top: 75px; padding-bottom: 75px; }
    .related-solutions { padding-top: 70px; padding-bottom: 70px; }
    .related-grid { grid-template-columns: 1fr; }
}

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