/* Shared typography contract. Keep layout and illustration sizing in evolution.css. */
:root{--font-ui:Sora,Arial,sans-serif;--body-weight:500;--tracking-display:-.025em;--tracking-title:-.015em;--tracking-small:-.01em}
html[lang=vi]{--font-ui:'Be Vietnam Pro',Arial,sans-serif;--body-weight:400}
html[lang] body{font-family:var(--font-ui);font-weight:var(--body-weight);letter-spacing:0;font-kerning:normal}
html[lang] :is(h1,h2,h3,h4,button,input,textarea,select,.button,svg text){font-family:var(--font-ui)}
html[lang] :is(h1,h2,h3,h4){font-weight:600}
html[lang] :is(h1,h2,h3,h4) em{font-family:inherit;font-weight:inherit;letter-spacing:inherit}
html[lang] .hero h1{letter-spacing:var(--tracking-display)}
html[lang] #focus>.section-heading h2,
html[lang] #why .why-intro h2,
html[lang] #work .section-heading h2,
html[lang] #contact .contact-layout>h2,
html[lang] .q-story-intro h2,
html[lang] .contact-dialog h2{letter-spacing:var(--tracking-title)}
html[lang] .feature-copy h3,
html[lang] #enterprise .feature-copy h3,
html[lang] #work .delivery-title h3,
html[lang] #why .research-step h3,
html[lang] .care-painted h4,
html[lang] .enterprise-transform .network-caption>b{letter-spacing:var(--tracking-small);font-weight:600}
html[lang] .qos-centered>.qos-functions>span{font-family:var(--font-ui)}
html[lang] .section .kicker{display:block;text-align:left;justify-self:start;align-self:start;font-weight:600;letter-spacing:.08em;line-height:1.7}
html[lang] #focus>.section-heading>.kicker,
html[lang] #work>.section-heading>.kicker{text-align:left;width:100%}
/* qOS is a product wordmark; retain the same drawing in both languages. */
html[lang] .enterprise-transform .qos-centered .qos-chip b.qos-type{font-family:Sora,Arial,sans-serif}

/* Chapter introductions are centered on the full section width. */
html[lang] #focus>.section-heading,
html[lang] #work>.section-heading{display:block;text-align:center}
html[lang] #focus>.section-heading>.kicker,
html[lang] #work>.section-heading>.kicker{margin:0 0 2px;padding-top:0;text-align:left}
html[lang] #focus>.section-heading>div,
html[lang] #work>.section-heading>div{width:100%;min-width:0;margin:0 auto}
html[lang] #focus>.section-heading h2,
html[lang] #work>.section-heading h2{margin:0 auto;text-align:center}

/* One balanced footer row on desktop; natural wrapping on small screens. */
html[lang] footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;align-items:center}
html[lang] footer .footer-brand{display:flex;align-items:center;gap:12px;min-width:0}
html[lang] footer .footer-brand img{flex:0 0 64px;margin:0}
html[lang] footer .footer-brand span{margin:0;min-width:0;line-height:1.6}
html[lang] footer .footer-links{display:flex;align-items:center;justify-content:flex-end;gap:24px;white-space:nowrap}
html[lang] footer .footer-copyright{display:block;text-align:center;margin:0;font-size:12px;line-height:1.6;letter-spacing:0;color:#526176}
@media(max-width:1000px){
 html[lang] footer{grid-template-columns:1fr 1fr;gap:12px 20px}
 html[lang] footer .footer-brand{grid-column:1/-1}
 html[lang] footer .footer-copyright{text-align:left}
}
@media(max-width:540px){
 html[lang] footer{grid-template-columns:1fr}
 html[lang] footer .footer-links{justify-content:center;grid-row:2;gap:24px}
 html[lang] footer .footer-copyright{text-align:center}
}

/* Compact contact actions, with a simple open arrow. */
html[lang] header nav .nav-contact,
html[lang] #contact .button[data-contact-form]{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:42px;padding:10px 16px;border:1px solid #efad32;border-radius:10px;background:linear-gradient(145deg,#ffd273,#fcaf25);color:#071e47;font-size:14px;font-weight:600;line-height:20px;box-shadow:inset 0 1px 0 #ffffff80,0 2px 5px #bd7b1610;white-space:nowrap}
html[lang] #contact .button[data-contact-form]{min-height:46px;padding:12px 18px;font-size:15px}
html[lang] header nav .nav-contact .button-arrow,
html[lang] #contact .button[data-contact-form] .button-arrow{display:inline-flex!important;flex:0 0 18px;width:18px;height:18px;margin:0;background:transparent;border-radius:0;color:inherit}
html[lang] header nav .nav-contact .button-arrow svg,
html[lang] #contact .button[data-contact-form] .button-arrow svg{width:17px;height:17px;stroke-width:1.7}
html[lang] header nav .nav-contact:hover,
html[lang] #contact .button[data-contact-form]:hover{background:linear-gradient(145deg,#ffdb8c,#ffbd42);box-shadow:0 4px 10px #bd7b1620;transform:translateY(-1px)}


/* Product gateways: two equally prominent destinations. */
.hero-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:490px;margin:30px 0 0}
.hero-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-radius:14px;border:1px solid #e8ae42;background:linear-gradient(135deg,#ffdc8a,#fcaf25);color:#071e47;box-shadow:inset 0 1px #ffffff80,0 5px 16px #071e4708;transition:transform .2s,box-shadow .2s}
.hero-product-qos{background:linear-gradient(135deg,#eef9ff,#d8efff);border-color:#9dd9fa}
.hero-product-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.hero-product small{font-size:11px;line-height:1.5;font-weight:500;color:#294254}
.hero-product strong{font-size:24px;line-height:1.25;letter-spacing:-.6px;font-weight:700}
.hero-product-arrow{display:grid;place-items:center;flex:0 0 32px;height:32px;border:1px solid #071e4733;border-radius:50%;color:#071e47}
.hero-product-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hero-product:hover{transform:translateY(-3px);box-shadow:0 9px 22px #071e4715}
.hero-product:hover svg{transform:translate(1px,-1px)}
html[lang] footer .footer-nav{grid-column:1/-1;position:static;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 30px;padding:17px 0 0;margin-top:2px;border:0;border-top:1px solid #dce5ee;background:transparent;font-size:13px;line-height:1.6;z-index:auto}
html[lang] footer .footer-nav a{color:#344963;transition:color .2s}
html[lang] footer .footer-nav a:hover{color:#007fbe}
@media(max-width:1100px){
 header .menu{display:inline-flex}
 html[lang] header #nav{display:none;position:absolute;top:100%;left:0;right:0;padding:24px 6%;background:#fff;flex-direction:column;align-items:stretch;border-bottom:1px solid #c9d4e1;gap:18px}
 html[lang] header #nav.open{display:flex}
 header #nav .language-toggle,header #nav .nav-contact{align-self:flex-start}
}
@media(max-width:480px){.hero-products{gap:10px}.hero-product{padding:14px 12px;gap:8px}.hero-product small{font-size:10px}.hero-product strong{font-size:22px}.hero-product-arrow{flex-basis:26px;height:26px}html[lang] footer .footer-nav{gap:12px 20px}}
@media(prefers-reduced-motion:reduce){.hero-product,.hero-product-arrow svg{transition:none}.hero-product:hover,.hero-product:hover svg{transform:none}}

/* Slim product links: open space, restrained accents, clear wordmarks. */
.hero-products{display:flex;flex-wrap:wrap;gap:14px;max-width:none;margin-top:30px}
.hero-product{position:relative;flex:0 1 215px;min-height:58px;padding:12px 18px 12px 13px;gap:11px;border-radius:999px;border:1px solid #d7e6ef;background:#fff;box-shadow:0 3px 10px #0b355007;transition:border-color .25s,box-shadow .25s,transform .25s,background .25s}
.hero-product-qos{border-color:#e5ddcb;background:#fff}
.hero-product-copy{flex:1;gap:0}
.hero-product small{display:none}
.hero-product strong{font-size:18px;line-height:1.3;letter-spacing:-.35px;font-weight:600}
.product-emblem{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#edf8ff;color:#0099eb}
.hero-product-qos .product-emblem{background:#fff7e6;color:#c99022}
.product-emblem svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;fill:none}
.hero-product-arrow{flex:0 0 18px;height:18px;border:0;border-radius:0;color:#40617b}
.hero-product-arrow svg{width:15px;height:15px}
.hero-product:hover{background:#f7fcff;border-color:#6fc7f5;transform:translateY(-2px);box-shadow:0 6px 20px #0099eb12}
.hero-product-qos:hover{background:#fffdf8;border-color:#f1c36d;box-shadow:0 6px 20px #c9902212}
@media(max-width:480px){.hero-products{gap:10px}.hero-product{flex:1 1 0;min-width:0;min-height:56px;padding:11px 12px;gap:8px}.hero-product strong{font-size:16px}.product-emblem{flex-basis:28px;width:28px;height:28px}.hero-product-arrow{flex-basis:14px}.hero-product-arrow svg{width:14px;height:14px}}
@media(prefers-reduced-motion:reduce){.hero-product{transition:none}.hero-product:hover{transform:none}}

/* Stronger product accents while retaining the compact silhouette. */
.hero-product{min-height:62px;padding:13px 19px 13px 14px;border-radius:18px;isolation:isolate;overflow:hidden}
.hero-product-care{background:linear-gradient(125deg,#0c315b,#071e47);border-color:#244b74;color:#fff;box-shadow:inset 0 1px #ffffff25,0 6px 18px #071e471c}
.hero-product-qos{background:linear-gradient(125deg,#ffda79,#fcaf25);border-color:#efb541;color:#071e47;box-shadow:inset 0 1px #ffffffa0,0 6px 18px #d3931918}
.hero-product strong{font-size:19px;font-weight:600;letter-spacing:-.35px}
.hero-product .product-emblem{border-radius:11px;width:34px;height:34px;flex-basis:34px}
.hero-product-care .product-emblem{background:#00a4fe26;color:#73d5ff;box-shadow:inset 0 0 0 1px #7bd9ff30}
.hero-product-qos .product-emblem{background:#fff7;color:#76500b;box-shadow:inset 0 0 0 1px #fff9}
.hero-product-care .hero-product-arrow{color:#8cddff}
.hero-product-qos .hero-product-arrow{color:#071e47}
.hero-product-care:hover{background:linear-gradient(125deg,#124574,#0a2b56);border-color:#4bace2;box-shadow:0 9px 24px #071e472b;transform:translateY(-2px)}
.hero-product-qos:hover{background:linear-gradient(125deg,#ffe49a,#ffbe42);border-color:#e9ad32;box-shadow:0 9px 24px #cf941e28;transform:translateY(-2px)}
.hero-product:focus-visible{outline:3px solid #00a4fe;outline-offset:4px}
@media(max-width:480px){.hero-product{min-height:58px;padding:11px 12px;border-radius:16px}.hero-product strong{font-size:17px}.hero-product .product-emblem{width:28px;height:28px;flex-basis:28px;border-radius:9px}}
@media(prefers-reduced-motion:reduce){.hero-product:hover{transform:none}}

/* Refined product actions: flat surfaces and a quieter visual rhythm. */
.hero-products{gap:12px}
.hero-product{flex:0 1 200px;min-height:54px;padding:14px 18px;gap:12px;border-radius:9px;box-shadow:none}
.hero-product-care{background:#071e47;border-color:#071e47;color:#fff;box-shadow:none}
.hero-product-qos{background:#fff8e8;border-color:#e9cf98;color:#071e47;box-shadow:none}
.hero-product strong{font-size:17px;font-weight:600;letter-spacing:-.2px}
.hero-product .product-emblem{width:20px;height:20px;flex:0 0 20px;border-radius:0;background:transparent;box-shadow:none}
.hero-product-care .product-emblem{color:#7cd7ff}
.hero-product-qos .product-emblem{color:#b78019}
.product-emblem svg{width:18px;height:18px}
.hero-product-care .hero-product-arrow{color:#c8e8f8}
.hero-product-qos .hero-product-arrow{color:#8a691f}
.hero-product-arrow svg{width:14px;height:14px;stroke-width:1.5}
.hero-product-care:hover{background:#10315c;border-color:#10315c;box-shadow:0 4px 12px #071e4712;transform:translateY(-1px)}
.hero-product-qos:hover{background:#fff0ce;border-color:#dfba72;box-shadow:0 4px 12px #b780190c;transform:translateY(-1px)}
@media(max-width:480px){.hero-product{flex:1 1 0;min-height:52px;padding:13px 14px;gap:9px;border-radius:9px}.hero-product strong{font-size:16px}.hero-product .product-emblem{width:18px;height:18px;flex-basis:18px}}
@media(prefers-reduced-motion:reduce){.hero-product:hover{transform:none}}

/* Section product links follow the same restrained detailing. */
html[lang] .feature-copy>.button.bright{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:48px;margin-top:18px;padding:13px 18px;border:1px solid #f1c770;border-radius:9px;background:#ffcf6b;color:#071e47;font-size:14px;font-weight:600;line-height:20px;box-shadow:none;transition:background .2s,border-color .2s,transform .2s}
html[lang] .feature-copy>.button.bright .button-arrow{flex:0 0 18px;width:18px;height:18px;color:#193750;background:transparent;border:0;border-radius:0;margin:0}
html[lang] .feature-copy>.button.bright .button-arrow svg{width:16px;height:16px;stroke-width:1.5}
html[lang] .feature-copy>.button.bright:hover{background:#ffdd92;border-color:#ffdd92;transform:translateY(-1px)}
@media(prefers-reduced-motion:reduce){html[lang] .feature-copy>.button.bright{transition:none}html[lang] .feature-copy>.button.bright:hover{transform:none}}

/* Content-sized product buttons, with MeliCare in the logo blue. */
.hero-products .hero-product{flex:0 0 auto;width:auto;min-width:0;min-height:44px;padding:10px 14px;gap:9px}
.hero-products .hero-product-copy{flex:0 0 auto}
.hero-products .hero-product strong{font-size:16px;line-height:22px}
.hero-products .hero-product .product-emblem{flex-basis:18px;width:18px;height:18px}
.hero-products .hero-product .hero-product-arrow{flex-basis:14px;width:14px;height:14px;margin-left:4px}
.hero-products .hero-product-care{background:#00a4fe;border-color:#00a4fe;color:#071e47}
.hero-products .hero-product-care .product-emblem,
.hero-products .hero-product-care .hero-product-arrow{color:#071e47}
.hero-products .hero-product-care:hover{background:#29b3ff;border-color:#29b3ff}
html[lang] .feature-copy>.button.bright{min-height:44px;padding:10px 14px;gap:16px}
html[lang] #healthcare .feature-copy>.button.bright{background:#ffcf6b;border-color:#f1c770;color:#071e47}
html[lang] #healthcare .feature-copy>.button.bright:hover{background:#ffdd92;border-color:#ffdd92}

/* Hero product links: softly sculpted pills with open arrow detailing. */
.hero-products{gap:14px;align-items:center}
.hero-products .hero-product{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:auto;min-width:0;min-height:48px;padding:12px 22px;gap:22px;border:1px solid transparent;border-radius:999px;overflow:hidden;transition:transform .22s,box-shadow .22s,background .22s}
.hero-products .hero-product-care{background:linear-gradient(145deg,#24b5ff,#00a4fe);border-color:#00a4fe;color:#062b48;box-shadow:inset 0 1px 0 #ffffff50,0 4px 12px #00a4fe18}
.hero-products .hero-product-qos{background:linear-gradient(145deg,#fffaf0,#fff1d2);border-color:#f3cc7a;color:#684609;box-shadow:inset 0 1px 0 #ffffff,0 4px 12px #b97d0010}
.hero-products .hero-product .product-emblem,.hero-products .hero-product small{display:none}
.hero-products .hero-product-copy{flex:0 0 auto}
.hero-products .hero-product strong{font-size:16px;font-weight:600;letter-spacing:0;line-height:22px}
.hero-products .hero-product .hero-product-arrow{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;margin:0;border:0;border-radius:0;background:transparent;color:inherit;transition:transform .22s}
.hero-products .hero-product .hero-product-arrow svg{width:18px;height:18px;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-products .hero-product-care:hover{background:linear-gradient(145deg,#3cbeff,#00a4fe);box-shadow:0 6px 18px #00a4fe25}
.hero-products .hero-product-qos:hover{background:linear-gradient(145deg,#fff6e3,#ffe4a8);box-shadow:0 6px 18px #b97d0018}
.hero-products .hero-product:hover{transform:translateY(-2px)}
.hero-products .hero-product:hover .hero-product-arrow{background:transparent;transform:translate(2px,-2px)}
.hero-products .hero-product:focus-visible{outline:2px solid #071e47;outline-offset:4px}
@media(max-width:480px){.hero-products{gap:12px}.hero-products .hero-product{padding:11px 19px;gap:18px;min-height:46px}.hero-products .hero-product strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.hero-products .hero-product,.hero-products .hero-product .hero-product-arrow{transition:none}.hero-products .hero-product:hover,.hero-products .hero-product:hover .hero-product-arrow{transform:none}}

/* Product icons sit directly beside the wordmark, without extra containers. */
.hero-products .hero-product{gap:10px;padding-left:18px;padding-right:20px}
.hero-products .hero-product .product-emblem{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;background:none;border:0;border-radius:0;box-shadow:none;color:inherit}
.hero-products .hero-product .product-emblem svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-products .hero-product-care .product-emblem svg{width:18px;height:18px}
.hero-products .hero-product .hero-product-arrow{margin-left:8px}
@media(max-width:480px){.hero-products .hero-product{gap:8px;padding-left:16px;padding-right:17px}.hero-products .hero-product .hero-product-arrow{margin-left:5px}}

/* A luminous edge and compact icon medallion give each product its own identity. */
.hero-products .hero-product{position:relative;isolation:isolate;padding:8px 19px 8px 9px;gap:10px;min-height:50px;transition:transform .25s,box-shadow .25s,background .25s}
.hero-products .hero-product-care{background:linear-gradient(120deg,#55c6ff 0%,#00a4fe 65%,#0099ed 100%);border-color:#009fee;box-shadow:inset 0 1px 0 #ffffff85,0 5px 16px #00a4fe25}
.hero-products .hero-product-qos{background:linear-gradient(120deg,#fff7dd 0%,#ffe1a0 65%,#ffd47a 100%);border-color:#edc16d;box-shadow:inset 0 1px 0 #ffffffcc,0 5px 16px #d69b2020;color:#51390e}
.hero-products .hero-product .product-emblem{width:30px;height:30px;flex-basis:30px;border-radius:50%;background:#ffffff4a;box-shadow:inset 0 1px 0 #ffffff70;color:#073552}
.hero-products .hero-product-qos .product-emblem{background:#ffffff80;color:#75500e}
.hero-products .hero-product .product-emblem svg{width:20px;height:20px;stroke-width:1.7}
.hero-products .hero-product::after{content:"";position:absolute;inset:-80% auto -80% -50%;width:25%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#ffffff50,transparent);opacity:0;pointer-events:none;transition:left .6s ease,opacity .25s}
.hero-products .hero-product:hover::after{left:130%;opacity:1}
.hero-products .hero-product-care:hover{background:linear-gradient(120deg,#6dceff,#17adff 65%,#00a4fe);box-shadow:inset 0 1px 0 #ffffff80,0 8px 22px #00a4fe35}
.hero-products .hero-product-qos:hover{background:linear-gradient(120deg,#fff8e7,#ffe4ac 65%,#ffd580);box-shadow:inset 0 1px 0 #ffffffcc,0 8px 22px #d69b202b}
@media(max-width:480px){.hero-products .hero-product{padding:7px 16px 7px 8px;gap:8px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.hero-products .hero-product,.hero-products .hero-product::after{transition:none}.hero-products .hero-product::after{display:none}}

/* Stronger MeliCare wordmark contrast on the bright brand blue. */
html[lang] .hero-products .hero-product-care strong{color:#03182f;font-size:17px;font-weight:800;letter-spacing:0;line-height:22px}

/* Match the qOS wordmark to the MeliCare action. */
html[lang] .hero-products .hero-product-qos strong{color:#03182f;font-size:17px;font-weight:800;letter-spacing:0;line-height:22px}
