/*
 * TCM — TheCloudMarket homepage styles.
 *
 * Loaded only on the static front page (see tcm_enqueue_home_assets() in
 * functions.php). These styles are scoped to the markup rendered by the
 * tcm/homepage block pattern.
 */

:root{--ink:#111c34;--ink2:#1a2945;--muted:#617083;--lime:#c8f361;--paper:#f6f8f7;--line:#dfe5e3;--white:#fff;--max:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font:400 16px/1.6 "DM Sans",Arial,sans-serif;background:white}
.tcm-home h1,.tcm-home h2,.tcm-home h3,.tcm-home p{margin-top:0}
.tcm-home h1,.tcm-home h2,.tcm-home h3{font-family:Manrope,"DM Sans",sans-serif;line-height:1.13;letter-spacing:-.045em}
.tcm-home a{color:inherit;text-decoration:none}
.tcm-home button,.tcm-home a{-webkit-tap-highlight-color:transparent}
.tcm-home a:focus-visible,.tcm-home button:focus-visible{outline:3px solid #8cb326;outline-offset:4px}
.tcm-home .wrap{width:min(calc(100% - 64px),var(--max));margin:auto}
.tcm-home .button{display:inline-flex;justify-content:center;align-items:center;gap:24px;min-height:54px;padding:13px 19px;border:1px solid transparent;border-radius:5px;background:var(--lime);color:var(--ink);font:700 14px/1.2 Manrope,sans-serif;transition:transform .2s,background .2s}
.tcm-home .button:hover{transform:translateY(-2px);background:#dbff86}
.tcm-home .button svg{width:16px;height:16px;flex:none}
.tcm-home header{height:78px;background:var(--ink);color:white;position:relative;z-index:10}
.tcm-home .nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:25px}
.tcm-home .brand{display:inline-flex;align-items:center;flex:none}
.tcm-home .brand img{display:block;width:auto;height:68px}
.tcm-home .navlinks{display:flex;align-items:center;gap:34px;margin-left:auto;font:600 14px Manrope,sans-serif}
.tcm-home .navlinks a:not(.button):hover{color:var(--lime)}
.tcm-home .nav .button{min-height:42px;padding:10px 15px;margin-left:10px;font-size:13px}
.tcm-home .menu{display:none;background:none;border:0;color:white;cursor:pointer;font:700 14px Manrope}
.tcm-home .hero{background:var(--ink);color:white;overflow:hidden}
.tcm-home .hero-grid{min-height:620px;display:grid;grid-template-columns:1.07fr .93fr;align-items:center;gap:65px;padding-top:60px;padding-bottom:82px}
.tcm-home .hero h1{font-size:clamp(45px,5vw,74px);max-width:720px;margin:0 0 25px;font-weight:700}
.tcm-home .hero h1 em{color:var(--lime);font-style:normal}
.tcm-home .hero p{font-size:18px;line-height:1.7;color:#c1ccda;max-width:580px;margin-bottom:34px}
.tcm-home .hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.tcm-home .text-link{font:700 14px Manrope,sans-serif;border-bottom:1px solid currentColor;padding-bottom:5px}
.tcm-home .text-link:hover{color:var(--lime)}
.tcm-home .system{position:relative;width:100%;min-height:440px;border:1px solid #50617c;border-radius:8px;background:radial-gradient(circle at 70% 15%,#2e4262 0,transparent 52%),#172641;padding:28px;box-shadow:22px 22px 0 #1b2a44}
.tcm-home .system-head{display:flex;justify-content:space-between;align-items:center;color:#c2cbda;font:700 11px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding-bottom:20px;border-bottom:1px solid #465773}
.tcm-home .system-head span:last-child{color:var(--lime)}
.tcm-home .clouds{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:24px}
.tcm-home .clouds span{border:1px solid #687b97;border-radius:4px;padding:13px 5px;text-align:center;font:700 14px Manrope,sans-serif;color:white}
.tcm-home .connector{height:40px;width:1px;background:#8292a9;margin:auto;position:relative}
.tcm-home .connector:after{content:"";position:absolute;bottom:0;left:-3px;width:7px;height:7px;border-radius:50%;background:var(--lime)}
.tcm-home .system-core{border:1px solid #97b743;border-radius:7px;padding:20px 22px;background:var(--lime);color:var(--ink)}
.tcm-home .system-core small{display:block;font:700 10px Manrope,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px}
.tcm-home .system-core strong{font:800 24px Manrope,sans-serif;letter-spacing:-.05em}
.tcm-home .system-bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.tcm-home .system-bottom div{min-height:82px;border:1px solid #5a6c86;border-radius:5px;padding:13px 11px;font:700 12px/1.35 Manrope,sans-serif;color:#edf3f8}
.tcm-home .system-bottom b{display:block;color:var(--lime);font:700 11px Manrope,sans-serif;margin-bottom:8px}
.tcm-home .cloud-strip{background:var(--lime);color:var(--ink)}
.tcm-home .cloud-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.tcm-home .cloud-inner p{font:700 12px Manrope,sans-serif;text-transform:uppercase;letter-spacing:.12em;margin:0}
.tcm-home .cloud-names{display:flex;gap:58px;align-items:center;font:800 23px Manrope,sans-serif;letter-spacing:-.055em}
.tcm-home section{scroll-margin-top:30px}
.tcm-home .section-pad{padding:110px 0}
.tcm-home .section-title{font-size:clamp(34px,3.6vw,52px);max-width:740px;margin:0 0 21px;font-weight:700}
.tcm-home .section-lead{max-width:690px;color:var(--muted);font-size:18px;line-height:1.7}
.tcm-home .challenge{background:var(--paper)}
.tcm-home .challenge-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px}
.tcm-home .challenge .section-title{max-width:500px}
.tcm-home .challenge-intro{font-size:18px;color:#546478;line-height:1.75;margin-bottom:28px}
.tcm-home .problem-list{border-top:1px solid #cdd7d5}
.tcm-home .problem{display:grid;grid-template-columns:40px 1fr;gap:18px;padding:23px 0;border-bottom:1px solid #cdd7d5}
.tcm-home .problem span{font:700 14px Manrope;color:#667b60}
.tcm-home .problem h3{font-size:19px;letter-spacing:-.035em;margin:0 0 6px}
.tcm-home .problem p{color:var(--muted);margin:0;font-size:15px}
.tcm-home .services .toprow{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:40px}
.tcm-home .services .section-lead{max-width:430px;margin:0 0 5px}
.tcm-home .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}
.tcm-home .card{background:#f4f7f5;border:1px solid var(--line);border-radius:6px;padding:28px;min-height:405px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.tcm-home .card:hover{transform:translateY(-5px);box-shadow:0 20px 40px rgba(17,28,52,.08)}
.tcm-home .card .mark{width:52px;height:52px;display:grid;place-items:center;border:1px solid #a9c075;border-radius:6px;margin:0 0 27px}
.tcm-home .mark svg{width:28px;height:28px;stroke:#253b35;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.tcm-home .card h3{font-size:23px;margin:0 0 13px}
.tcm-home .card p{color:#617083;font-size:15px;line-height:1.7}
.tcm-home .card .outcome{border-top:1px solid #d5dfdb;padding-top:18px;margin-top:auto;font:700 13px/1.5 Manrope,sans-serif;color:#253b35}
.tcm-home .card .outcome span{display:block;color:#74887b;text-transform:uppercase;font-size:10px;letter-spacing:.14em;margin-bottom:6px}
.tcm-home .unified{background:#182943;color:white}
.tcm-home .unified-grid{display:grid;grid-template-columns:.87fr 1.13fr;gap:85px;align-items:center}
.tcm-home .unified .section-title{max-width:540px}
.tcm-home .unified p{color:#bfcbd8;font-size:17px;line-height:1.75}
.tcm-home .unified .text-link{display:inline-block;margin-top:20px;color:var(--lime)}
.tcm-home .journey{display:grid;gap:10px}
.tcm-home .journey-row{background:#233752;border:1px solid #526580;border-radius:5px;padding:23px;display:flex;align-items:center;gap:21px}
.tcm-home .journey-row:nth-child(2){margin-left:35px}
.tcm-home .journey-row:nth-child(3){margin-left:70px}
.tcm-home .journey-row .digit{width:39px;height:39px;flex:none;border-radius:50%;border:1px solid #a1bb6e;color:var(--lime);display:grid;place-items:center;font:800 13px Manrope}
.tcm-home .journey-row b{display:block;font:700 16px Manrope}
.tcm-home .journey-row small{display:block;color:#afc0d1;font-size:13px;margin-top:2px}
.tcm-home .difference .section-title{max-width:790px}
.tcm-home .benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:54px;border-top:1px solid var(--line)}
.tcm-home .benefit{padding:34px 28px 0 0;border-right:1px solid var(--line);margin-right:28px}
.tcm-home .benefit:last-child{border:0;margin-right:0}
.tcm-home .benefit .symbol{font:800 32px/1 Manrope;color:#88ae33;margin-bottom:30px}
.tcm-home .benefit h3{font-size:19px;margin:0 0 12px}
.tcm-home .benefit p{font-size:15px;color:var(--muted);line-height:1.7}
.tcm-home .cta{background:var(--lime);padding:77px 0}
.tcm-home .cta-grid{display:flex;align-items:center;justify-content:space-between;gap:50px}
.tcm-home .cta h2{font-size:clamp(32px,3.7vw,53px);max-width:710px;margin:0 0 15px}
.tcm-home .cta p{margin:0;max-width:650px;color:#35452b;font-size:17px}
.tcm-home .cta .button{background:var(--ink);color:white;white-space:nowrap}
.tcm-home .cta .button:hover{background:#314361}
.tcm-home footer{background:var(--ink);color:white;padding:42px 0}
.tcm-home .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.tcm-home footer p{margin:8px 0 0;color:#9cacc0;font-size:14px}
.tcm-home .footer-links{display:flex;gap:25px;font-size:14px}
.tcm-home .footer-links a:hover{color:var(--lime)}
@media(max-width:1000px){.tcm-home .hero-grid{gap:35px}.tcm-home .system{padding:20px}.tcm-home .challenge-grid,.tcm-home .unified-grid{gap:55px}.tcm-home .benefits{grid-template-columns:repeat(2,1fr);row-gap:35px}.tcm-home .benefit:nth-child(2){border:0}.tcm-home .cloud-names{gap:30px}}
@media(max-width:760px){
	.tcm-home .wrap{width:min(calc(100% - 38px),var(--max))}
	.tcm-home header{height:78px}.tcm-home .brand img{height:64px}.tcm-home .menu{display:block}
	.tcm-home .navlinks{display:none;position:absolute;left:0;right:0;top:78px;background:var(--ink);padding:18px 20px 25px;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #45556e}
	.tcm-home .navlinks.open{display:flex}.tcm-home .navlinks a:not(.button){padding:12px 0}.tcm-home .nav .button{margin:12px 0 0}
	.tcm-home .hero-grid{grid-template-columns:1fr;min-height:0;padding:68px 0 72px;gap:50px}.tcm-home .hero h1{font-size:clamp(43px,9vw,65px)}.tcm-home .hero p{font-size:17px}
	.tcm-home .system{max-width:540px;min-height:0;box-shadow:11px 11px 0 #1b2a44}
	.tcm-home .cloud-inner{align-items:flex-start;flex-direction:column;padding:20px 0;gap:12px}.tcm-home .cloud-names{width:100%;justify-content:space-between;font-size:18px;gap:8px}
	.tcm-home .section-pad{padding:75px 0}.tcm-home .challenge-grid,.tcm-home .unified-grid{grid-template-columns:1fr;gap:25px}
	.tcm-home .services .toprow{display:block}.tcm-home .services .section-lead{max-width:670px}
	.tcm-home .cards{grid-template-columns:1fr}.tcm-home .card{min-height:0}.tcm-home .card .mark{margin:25px 0}.tcm-home .card .outcome{margin-top:15px}
	.tcm-home .unified-grid{gap:40px}.tcm-home .benefits{margin-top:35px}
	.tcm-home .cta-grid{align-items:flex-start;flex-direction:column;gap:30px}
	.tcm-home .footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:490px){
	.tcm-home .hero h1{font-size:42px}.tcm-home .hero-actions{gap:22px}
	.tcm-home .system{padding:16px}.tcm-home .system-core{padding:15px}.tcm-home .system-core strong{font-size:19px}.tcm-home .system-bottom div{font-size:10px;padding:10px 7px;min-height:80px}.tcm-home .clouds span{font-size:12px}
	.tcm-home .cloud-names{font-size:15px}.tcm-home .benefits{grid-template-columns:1fr;gap:0}.tcm-home .benefit,.tcm-home .benefit:nth-child(2){border-right:0;border-bottom:1px solid var(--line);padding:25px 0;margin:0}.tcm-home .benefit:last-child{border:0}
	.tcm-home .journey-row:nth-child(2),.tcm-home .journey-row:nth-child(3){margin-left:0}.tcm-home .journey-row{padding:17px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tcm-home .button,.tcm-home .card{transition:none}}
